Merge "Use wgRelevantPageTitle when setting up talk overlay"

This commit is contained in:
jenkins-bot 2019-06-25 10:21:53 +00:00 committed by Gerrit Code Review
commit 62090bcd69
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
// page)
// (https://www.mediawiki.org/wiki/Manual:Using_custom_namespaces#Creating_a_custom_namespace)
// The method to get associated namespaces will change later (maybe), see T487
pageTitle = mw.Title.newFromText( mw.config.get( 'wgPageName' ) );
pageTitle = mw.Title.newFromText( mw.config.get( 'wgRelevantPageName' ) );
talkTitle = title ? mw.Title.newFromText( title ) : pageTitle.getTalkPage();
// Check that there is a valid page and talk title