mediawiki.action.watch.ajax: Don't get wgPageName

Follows-up r113737 / 72c33b452369. Client-side page caching
for logged-in users should no longer be a concern by now :)

Change-Id: Ifeefa22fb2e0fc05833bf89123d744314429fe36
This commit is contained in:
Kevin Israel 2014-07-17 00:59:52 -04:00
parent 34b8d8d611
commit b85c90911f

View 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)