Jack Phoenix has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/338311 )
Change subject: Remove wgSupressPageSubtitle global technical debt
......................................................................
Remove wgSupressPageSubtitle global technical debt
Bug: T143145
Change-Id: Icbed68aeacf57717b21a8606c700e569110ca401
---
M specials/SpecialCreateTopList.class.php
M specials/SpecialEditTopList.class.php
2 files changed, 0 insertions(+), 10 deletions(-)
Approvals:
Jack Phoenix: Verified; Looks good to me, approved
diff --git a/specials/SpecialCreateTopList.class.php
b/specials/SpecialCreateTopList.class.php
index 9fe60c3..fe305d8 100644
--- a/specials/SpecialCreateTopList.class.php
+++ b/specials/SpecialCreateTopList.class.php
@@ -11,8 +11,6 @@
return ( !empty( $val ) );
}
- global $wgSupressPageSubtitle;
-
$out = $this->getOutput();
$request = $this->getRequest();
$user = $this->getUser();
@@ -32,9 +30,6 @@
// include resources (CSS and JS)
$out->addModuleStyles( 'ext.toplists.editor.styles' );
$out->addModules( 'ext.toplists.editor.scripts' );
-
- // hide special page subtitle
- $wgSupressPageSubtitle = true;
TopListHelper::clearSessionItemsErrors();
diff --git a/specials/SpecialEditTopList.class.php
b/specials/SpecialEditTopList.class.php
index 5e89f4f..62fb8d9 100644
--- a/specials/SpecialEditTopList.class.php
+++ b/specials/SpecialEditTopList.class.php
@@ -18,8 +18,6 @@
}
public function execute( $editListName ) {
- global $wgSupressPageSubtitle;
-
$out = $this->getOutput();
$request = $this->getRequest();
$user = $this->getUser();
@@ -43,9 +41,6 @@
// include resources (CSS and JS)
$out->addModuleStyles( 'ext.toplists.editor.styles' );
$out->addModules( 'ext.toplists.editor.scripts' );
-
- // hide special page subtitle
- $wgSupressPageSubtitle = true;
$errors = array();
$listName = null;
--
To view, visit https://gerrit.wikimedia.org/r/338311
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Icbed68aeacf57717b21a8606c700e569110ca401
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TopLists
Gerrit-Branch: master
Gerrit-Owner: SamanthaNguyen <[email protected]>
Gerrit-Reviewer: Jack Phoenix <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits