Index: trunk/extensions/CategorySortHeaders/CategorySortHeaders_body.php |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | } |
51 | 51 | |
52 | 52 | $m = array(); |
53 | | - if ( preg_match( '/^[^\n^]*\^([^\n^]*)\^/', $string, $m ) ) { |
| 53 | + if ( preg_match( '/^\^([^\n^]*)\^/', $string, $m ) ) { |
54 | 54 | return $m[1]; |
55 | 55 | } else { |
56 | 56 | // Probably shouldn't happen. |
Index: trunk/extensions/CategorySortHeaders/CategorySortHeaders.php |
— | — | @@ -11,7 +11,7 @@ |
12 | 12 | * in LocalSettings.php. It defines its own Collation that is |
13 | 13 | * roughly equivalent to 'uppercase', and thus can't be used |
14 | 14 | * with 'uca-default' or any other custom collation. |
15 | | - * Additionally, this extension requires at least MediaWiki 1.17. |
| 15 | + * Additionally, this extension requires at least MediaWiki 1.19. |
16 | 16 | * |
17 | 17 | * To install: |
18 | 18 | * Add to the bottom of LocalSettings.php: |