Jump to content

Module:Official website: Difference between revisions

no edit summary
(Created page with "local makeUrl = require('Module:URL')._url local p = {} -- Wrapper for pcall which returns nil on failure. local function quickPcall(func) local success, result = pcall(fun...")
 
No edit summary
Line 88: Line 88:
local function renderUrl(options)
local function renderUrl(options)
if not options.url and not options.wikidataurl then
if not options.url and not options.wikidataurl then
local entity = mw.wikibase.getEntityObject() or {}
local qid = entity.id
local qid = entity.id
local result = '<strong class="error">' ..
local result = '<strong class="error">' ..
New page reviewers
3,052

edits