r51854 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51853‎ | r51854 | r51855 >
Date:19:08, 14 June 2009
Author:ialex
Status:deferred
Tags:
Comment:
Extensions are now case-insensitively sorted on Special:Extensions
Modified paths:
  • /trunk/extensions/Configure/CHANGELOG (modified) (history)
  • /trunk/extensions/Configure/Configure.settings.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/CHANGELOG
@@ -2,7 +2,8 @@
33 Localisation updates are done on betawiki and aren't listed here.
44
55 0.14.4 - 14 June 2009
6 - Added support for Widgets extension.
 6+ * Extensions are now case-insensitively sorted on Special:Extensions.
 7+ * Added support for Widgets extension.
78
89 0.14.3 - 11 June 2009
910 Updated Semantic MediaWiki extension.
Index: trunk/extensions/Configure/Configure.settings.php
@@ -104,7 +104,7 @@
105105 * Callback to sort extensions
106106 */
107107 public static function compExt( $e1, $e2 ) {
108 - return strcmp( $e1['name'], $e2['name'] );
 108+ return strcasecmp( $e1['name'], $e2['name'] );
109109 }
110110
111111 /**

Status & tagging log