mediawiki.action.watch.ajax: Don't get wgPageName
authorKevin Israel <pleasestand@live.com>
Thu, 17 Jul 2014 04:59:52 +0000 (00:59 -0400)
committerKevin Israel <pleasestand@live.com>
Thu, 17 Jul 2014 05:05:12 +0000 (01:05 -0400)
Follows-up r113737 / 72c33b452369. Client-side page caching
for logged-in users should no longer be a concern by now :)

Change-Id: Ifeefa22fb2e0fc05833bf89123d744314429fe36

resources/src/mediawiki.page/mediawiki.page.watch.ajax.js

index 15e9aba..d252f0e 100644 (file)
@@ -6,7 +6,7 @@
  */
 ( function ( mw, $ ) {
        // The name of the page to watch or unwatch
-       var title = mw.config.get( 'wgRelevantPageName', mw.config.get( 'wgPageName' ) );
+       var title = mw.config.get( 'wgRelevantPageName' );
 
        /**
         * Update the link text, link href attribute and (if applicable)