https://bugzilla.wikimedia.org/show_bug.cgi?id=64765

            Bug ID: 64765
           Summary: [Regression] mediawiki.toc.js: show/hide toggle
                    missing on many pages in wmf-production
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: code-update-regression
          Severity: major
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: krinklem...@gmail.com
       Web browser: ---
   Mobile Platform: ---

https://en.wikipedia.org/wiki/New_Zealand_European


mw.loader.getState('mediawiki.toc')
"registered"

mw.loader.getVersion('mediawiki.toc')
"20140502T152855Z"

mw.loader.getVersion('mediawiki.util')
"20140501T184229Z"

mw.loader.moduleRegistry['mediawiki.util']
Object {version: 1398969749, dependencies: Array[3], group: null, source:
"local", state: "ready"…}

mw.loader.moduleRegistry['mediawiki.util'].dependencies
["jquery.client", "jquery.mwExtension", "mediawiki.notify"]

mw.util.init
function (){util.$content=(function(){var
i,l,$content,selectors;selectors=['.mw-body-primary','.mw-body','#bodyContent','#mw_contentholder','#article','#content','#mw-content-text','body'];for(i=0,
l=selectors.length;i<l;i++){$content=$(selectors[i]).first();if($content.length){return
$content;}}return util.$content;})();}


As of
https://github.com/wikimedia/mediawiki-core/commit/d7a40c8c8ae5b15907787443946d46cf77713e27#diff-a0826ebc584f93f08f0de55899ca3e89R197,

that should have "mediawiki.util" in its dependencies.

Looks like only half of that change got deployed. The init code from mw.util
was removed, but the dependency never made it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to