Open main menu
Home
Random
Log in
Settings
Give to Wikipedia
About KidzSearch Wiki
Disclaimers
KidzSearch Wiki
Search
Changes
kidzsearch.com
>
wiki
>
Taxonbar
← Earlier diff
Newer diff →
Module:Taxonbar
(view source)
Revision as of 20:08, 22 June 2022
28 bytes removed
,
20:08, 22 June 2022
m
KS update 1.2
Line 144:
Line 144:
local parentArgs = copyTable(frame:getParent().args)
local parentArgs = copyTable(frame:getParent().args)
local currentTitle = mw.title.getCurrentTitle()
local currentTitle = mw.title.getCurrentTitle()
−
--
local currentEntityId = mw.wikibase.getEntityIdForCurrentPage()
+
local currentEntityId = mw.wikibase.getEntityIdForCurrentPage()
−
+
−
local currentEntityId = ''
local stringArgs = false
local stringArgs = false
local fromTitleCount, firstRow, rowCount = 1, 0, 0
local fromTitleCount, firstRow, rowCount = 1, 0, 0
Line 467:
Line 466:
categories[1] = ''
categories[1] = ''
categories[4] = '[[Category:Taxonbars with invalid from parameters]]'
categories[4] = '[[Category:Taxonbars with invalid from parameters]]'
−
errors = errors .. mw.text.tag('strong', {class='error'}, 'Error: "' ..
+
errors = errors .. mw.text.tag('strong', {class='error'}, 'Error: "' ..
parentArgs['from'..f] .. '" is not a valid Wikidata entity ID.<br />')
parentArgs['from'..f] .. '" is not a valid Wikidata entity ID.<br />')
end
end
Admin
Bureaucrats
,
Interface administrators
,
Suppressors
,
Administrators
771,840
edits