r42338 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42337‎ | r42338 | r42339 >
Date:17:09, 22 October 2008
Author:ialex
Status:old
Tags:
Comment:
Added Special:Configure, Special:Extensions and Special:ViewConfig to "Wiki data and tools" group on Special:SpecialPages
Modified paths:
  • /trunk/extensions/Configure/CHANGELOG (modified) (history)
  • /trunk/extensions/Configure/Configure.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/CHANGELOG
@@ -1,6 +1,10 @@
22 This file lists changes on this extension.
33 Localisation updates are done on betawiki and aren't listed here.
44
 5+0.8.7 - 22 October 2008
 6+ Added Special:Configure, Special:Extensions and Special:ViewConfig to
 7+ "Wiki data and tools" group on Special:SpecialPages.
 8+
59 0.8.6 - 21 October 2008
610 Updated Collection extension.
711
Index: trunk/extensions/Configure/Configure.php
@@ -17,7 +17,7 @@
1818 'url' => 'http://www.mediawiki.org/wiki/Extension:Configure',
1919 'description' => 'Allow authorised users to configure the wiki by a web-based interface',
2020 'descriptionmsg' => 'configure-desc',
21 - 'version' => '0.8.6',
 21+ 'version' => '0.8.7',
2222 );
2323
2424 ## Configuration part
@@ -164,6 +164,13 @@
165165 ## Helper for configuration settings
166166 $wgAutoloadClasses['ConfigurationSettings'] = $dir . 'Configure.settings.php';
167167
 168+## Groups
 169+if( isset( $wgSpecialPageGroups ) && is_array( $wgSpecialPageGroups ) ){
 170+ $wgSpecialPageGroups['Configure'] = 'wiki';
 171+ $wgSpecialPageGroups['Extensions'] = 'wiki';
 172+ $wgSpecialPageGroups['ViewConfig'] = 'wiki';
 173+}
 174+
168175 ## Diff stuff
169176 $wgAutoloadClasses['ConfigurationDiff'] = $dir . 'Configure.diff.php';
170177 $wgAutoloadClasses['CorePreviewConfigurationDiff'] = $dir . 'Configure.diff.php';

Status & tagging log