Open main menu
Home
Random
Log in
Settings
Give to Wikipedia
About KidzSearch Wiki
Disclaimers
KidzSearch Wiki
Search
Changes
kidzsearch.com
>
wiki
>
WikidataIB
← Earlier diff
Newer diff →
Module:WikidataIB
(view source)
Revision as of 14:15, 13 September 2020
3 bytes added
,
14:15, 13 September 2020
no edit summary
Line 719:
Line 719:
-- if it's not supplied, use the id for the current page
-- if it's not supplied, use the id for the current page
local qid = args.qid or ""
local qid = args.qid or ""
−
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
+
--
if qid == "" then qid = mw.wikibase.getEntityIdForCurrentPage() end
-- if there's no Wikidata item for the current page return nil
-- if there's no Wikidata item for the current page return nil
if not qid then return false, input_parm end
if not qid then return false, input_parm end
Admin
Bureaucrats
,
Interface administrators
,
Suppressors
,
Administrators
740,207
edits