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

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch, reviewed

--- Comment #3 from Krinkle <[email protected]> 2012-01-20 11:50:42 UTC ---
(wikibits.js)
window.importScript = function( page ) {
    var uri = mw.config.get( 'wgScript' ) + '?title=' +
        mw.util.wikiUrlencode( page ) +
        '&action=raw&ctype=text/javascript';
    return importScriptURI( uri );
};


yes, it uses mw.util. Dependency must be added, no-brainer. Thanks!

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to