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:
parent
34b8d8d611
commit
b85c90911f
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue