Page MenuHomePhabricator

Uncaught ReferenceError: categoryTreeLoadChildren is not defined
Closed, DeclinedPublic

Description

When I open
https://www.wikidata.org/wiki/Wikidata:Task_forces?uselang=en&debug=1

I get the error

Uncaught ReferenceError: categoryTreeLoadChildren is not defined

from this line:

categoryTreeLoadChildren("Task_forces", {"mode": 20,"hideprefix": 20,"showcount": false,"namespaces": false,"depth": 1}, document.getElementById("ct-1-95818").parentNode);


Version: unspecified
Severity: normal

Details

Reference
bz60836

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:53 AM
bzimport set Reference to bz60836.
bzimport added a subscriber: Unknown Object (MLST).

Confirming.

<div class="CategoryTreeTag" data-ct-mode="20" data-ct-options="{&quot;mode&quot;:20,&quot;hideprefix&quot;:20,&quot;showcount&quot;:false,&quot;namespaces&quot;:false}"><script type="text/javascript" id="ct-1-21627">
<![CDATA[
categoryTreeLoadChildren("Task_forces", {"mode":20,"hideprefix":20,"showcount":false,"namespaces":false,"depth":1}, document.getElementById("ct-1-21627").parentNode);
]]>
</script></div>

Only occurrence in the codebase is in http://git.wikimedia.org/blob/mediawiki%2Fextensions%2FCategoryTree.git/05bafcafdbd3e5b959dba593b8656c24ef0d4a54/CategoryTreeFunctions.php#L447 and only recent commit I see is http://git.wikimedia.org/commitdiff/mediawiki%2Fextensions%2FCategoryTree.git/3aff44cc1726a08797200d279c954fe5314049df