Move Special:ChangeContentModel to the pagetools special page group
authorumherirrender <umherirrender_de.wp@web.de>
Thu, 3 Dec 2015 19:13:42 +0000 (20:13 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Thu, 3 Dec 2015 19:13:42 +0000 (20:13 +0100)
Acting on pages, so that group is better than the default of "other"
The group is shown on Special:Specialpages

Change-Id: I0d9734fa31775332fb8935bf4fc63ad3fb8a2852

includes/specials/SpecialChangeContentModel.php

index b0def59..b702ca0 100644 (file)
@@ -220,4 +220,8 @@ class SpecialChangeContentModel extends FormSpecialPage {
                $out->setPageTitle( $this->msg( 'changecontentmodel-success-title' ) );
                $out->addWikiMsg( 'changecontentmodel-success-text', $this->title );
        }
+
+       protected function getGroupName() {
+               return 'pagetools';
+       }
 }