jenkins-bot has submitted this change and it was merged.
Change subject: Replace deprecated configuration variable $wgSpecialPageGroups
......................................................................
Replace deprecated configuration variable $wgSpecialPageGroups
With the getGroupName() method overridden for SpecialTemplateSandbox.
Change-Id: I9b8153985e53e0f67a3ec0e9b44498b8d0a7290b
---
M SpecialTemplateSandbox.php
M TemplateSandbox.php
M extension.json
3 files changed, 4 insertions(+), 4 deletions(-)
Approvals:
Anomie: Looks good to me, approved
jenkins-bot: Verified
diff --git a/SpecialTemplateSandbox.php b/SpecialTemplateSandbox.php
index 2e28cd6..fdf5471 100644
--- a/SpecialTemplateSandbox.php
+++ b/SpecialTemplateSandbox.php
@@ -17,6 +17,10 @@
parent::__construct( 'TemplateSandbox' );
}
+ protected function getGroupName() {
+ return 'wiki';
+ }
+
/**
* @return ScopedCallback to clean up
*/
diff --git a/TemplateSandbox.php b/TemplateSandbox.php
index 84f1812..f81e560 100644
--- a/TemplateSandbox.php
+++ b/TemplateSandbox.php
@@ -59,7 +59,6 @@
$wgExtensionMessagesFiles['TemplateSandbox'] = __DIR__ .
'/TemplateSandbox.i18n.php';
$wgExtensionMessagesFiles['TemplateSandboxAlias'] = __DIR__ .
'/TemplateSandbox.alias.php';
$wgSpecialPages['TemplateSandbox'] = 'SpecialTemplateSandbox';
-$wgSpecialPageGroups['TemplateSandbox'] = 'wiki';
$wgHooks['EditPage::importFormData'][] =
'TemplateSandboxHooks::importFormData';
$wgHooks['EditPage::showStandardInputs:options'][] =
'TemplateSandboxHooks::injectOptions';
$wgHooks['AlternateEditPreview'][] =
'TemplateSandboxHooks::templateSandboxPreview';
diff --git a/extension.json b/extension.json
index 23eea0f..a3bf777 100644
--- a/extension.json
+++ b/extension.json
@@ -9,9 +9,6 @@
"SpecialPages": {
"TemplateSandbox": "SpecialTemplateSandbox"
},
- "SpecialPageGroups": {
- "TemplateSandbox": "wiki"
- },
"MessagesDirs": {
"TemplateSandbox": [
"i18n"
--
To view, visit https://gerrit.wikimedia.org/r/205990
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9b8153985e53e0f67a3ec0e9b44498b8d0a7290b
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/TemplateSandbox
Gerrit-Branch: master
Gerrit-Owner: Ricordisamoa <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: Jackmcbarn <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits