Last modified: 2014-10-13 14:39:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62836, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60836 - Uncaught ReferenceError: categoryTreeLoadChildren is not defined
Uncaught ReferenceError: categoryTreeLoadChildren is not defined
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
CategoryTree (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: javascript
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-04 18:18 UTC by Helder
Modified: 2014-10-13 14:39 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Helder 2014-02-04 18:18:04 UTC
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);
-----------------------------------------------------------------
Comment 1 Andre Klapper 2014-02-05 15:14:12 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links