Expose ID of relevant page in JS variables
Bug: 53774 Change-Id: I06cd037804daba59e4f42e3be5f2883a82fcaa27
This commit is contained in:
parent
5755a29497
commit
650aa90f38
1 changed files with 1 additions and 0 deletions
|
|
@ -3154,6 +3154,7 @@ class OutputPage extends ContextSource {
|
|||
'wgMonthNames' => $lang->getMonthNamesArray(),
|
||||
'wgMonthNamesShort' => $lang->getMonthAbbreviationsArray(),
|
||||
'wgRelevantPageName' => $relevantTitle->getPrefixedDBkey(),
|
||||
'wgRelevantArticleId' => $relevantTitle->getArticleId(),
|
||||
);
|
||||
|
||||
if ( $user->isLoggedIn() ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue