dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5a153d
)
Language::lc() is non-static
author
Rob Church
<robchurch@users.mediawiki.org>
Wed, 15 Aug 2007 15:32:18 +0000
(15:32 +0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Wed, 15 Aug 2007 15:32:18 +0000
(15:32 +0000)
includes/SpecialVersion.php
patch
|
blob
|
history
diff --git
a/includes/SpecialVersion.php
b/includes/SpecialVersion.php
index
7fe253e
..
a6a132e
100644
(file)
--- a/
includes/SpecialVersion.php
+++ b/
includes/SpecialVersion.php
@@
-148,10
+148,14
@@
class SpecialVersion {
/** Callback to sort extensions by type */
function compare( $a, $b ) {
- if ( $a['name'] === $b['name'] )
+ global $wgLang;
+ if( $a['name'] === $b['name'] ) {
return 0;
- else
- return Language::lc( $a['name'] ) > Language::lc( $b['name'] ) ? 1 : -1;
+ } else {
+ return $wgLang->lc( $a['name'] ) > $wgLang->lc( $b['name'] )
+ ? 1
+ : -1;
+ }
}
function formatCredits( $name, $version = null, $author = null, $url = null, $description = null) {