Summary: Collection: bookcreator.js fails when using Resource
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Collection

The Collection extension has a feature that when book creation is active, the
user can hover over any wiki link and a popup will appear offering to add the
linked page to the current book.

This feature is currently broken (using up-to-date phase3 and collection
checkouts from svn). I strongly suspect that the introduction of the
ResourceLoader broke this extension.

The errors in the Chromium console are:

Uncaught ReferenceError: jQuery is not defined

Uncaught ReferenceError: $ is not defined

Uncaught ReferenceError: jQuery is not defined

The Collection extension asks for JQuery by calling $wgOut->includeJQuery();
but can't find it afterwards (Collection.hooks.php:257). After changing this
code so the Collection extension uses its own JQuery library (which comes
bundled with the extension), the error above go away, but there is a new error: 

Uncaught ReferenceError: wgServer is not defined 

IMHO this should be fixed before the Resource Loader is deployed on Wikimedia

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to