For backwards compatibility with cached HTML generated by MediaWiki 1.17, re-introduc...
authorRoan Kattouw <catrope@users.mediawiki.org>
Tue, 20 Sep 2011 09:16:25 +0000 (09:16 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Tue, 20 Sep 2011 09:16:25 +0000 (09:16 +0000)
resources/mediawiki/mediawiki.js

index 7da2821..5770fc8 100644 (file)
@@ -1175,6 +1175,11 @@ window.mw = window.mediaWiki = new ( function( $ ) {
                        } );
                        return names;
                };
+               
+               /**
+                * For backwards-compatibility with Squid-cached pages. Loads mw.user
+                */
+               this.go = function() { mw.loader.load( 'mediawiki.user' ); };
 
                /* Cache document ready status */