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
(from parent 1:
5c8e60f
)
Fix the undefined variable and undefined property notices caused by r60763.
author
Philip Tzou
<philip@users.mediawiki.org>
Thu, 7 Jan 2010 18:02:33 +0000
(18:02 +0000)
committer
Philip Tzou
<philip@users.mediawiki.org>
Thu, 7 Jan 2010 18:02:33 +0000
(18:02 +0000)
languages/LanguageConverter.php
patch
|
blob
|
history
diff --git
a/languages/LanguageConverter.php
b/languages/LanguageConverter.php
index
3105ab4
..
7bd487d
100644
(file)
--- a/
languages/LanguageConverter.php
+++ b/
languages/LanguageConverter.php
@@
-30,6
+30,7
@@
class LanguageConverter {
var $mFlags;
var $mDescCodeSep = ':', $mDescVarSep = ';';
var $mUcfirst = false;
+ var $mHeaderVariant;
const CACHE_VERSION_KEY = 'VERSION 6';
@@
-543,7
+544,8
@@
class LanguageConverter {
* @return string converted text
* @public
*/
- function convert( $text ) {
+ function convert( $text, $isTitle ) {
+ global $wgDisableLangConversion;
if ( $wgDisableLangConversion ) return $text;
$plang = $this->getPreferredVariant();