Merge "Update formatting"
[lhc/web/wiklou.git] / resources / mediawiki / mediawiki.jqueryMsg.js
index 5539d4d..70b9be9 100644 (file)
@@ -44,7 +44,7 @@
                        //
                        // Only 'text', 'parse', and 'escaped' are supported, and the
                        // actual escaping for 'escaped' is done by other code (generally
-                       // through jqueryMsg).
+                       // through mediawiki.js).
                        //
                        // However, note that this default only
                        // applies to direct calls to jqueryMsg. The default for mediawiki.js itself
                        var page, anchor, url;
 
                        page = nodes[0];
-                       url = mw.util.wikiGetlink( page );
+                       url = mw.util.getUrl( page );
 
                        // [[Some Page]] or [[Namespace:Some Page]]
                        if ( nodes.length === 1 ) {