r89478 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r89477
|
r89478
|
r89479
>
Date:
21:19, 4 June 2011
Author:
platonides
Status:
ok
Tags:
Comment:
Follow up
r60599
. Make normalizeUnicode() work even if $wgContLang is still not set,
just as it did before (eg. getGPCVal() check). This allows for early calls before
MediaWiki is completely initialised.
Modified paths:
/trunk/phase3/includes/WebRequest.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/WebRequest.php
—
—
@@ -227,7 +227,7 @@
228
228
}
229
229
} else {
230
230
global $wgContLang;
231
- $data = $wgContLang->normalize( $data );
231
+ $data = isset( $wgContLang ) ? $wgContLang->normalize( $data ) : UtfNormal::cleanUp( $data );
232
232
}
233
233
return $data;
234
234
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r60599
Fix for
bug 9413
and the related Malayalam issue reported on wikitech-l....
tstarling
08:28, 4 January 2010
Status & tagging log
05:55, 2 July 2011
😂
(
talk
|
contribs
)
changed the
status
of r89478
[
removed:
new
added:
ok]