r51390 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r51389
|
r51390
|
r51391
>
Date:
08:16, 3 June 2009
Author:
shinjiman
Status:
reverted
Tags:
Comment:
follow up
r51128
, adding type check for $wgUser->getOption( 'variantconversion' ) whether it is 0 (disabled) or null (have not been set).
Modified paths:
/trunk/phase3/languages/LanguageConverter.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/languages/LanguageConverter.php
—
—
@@ -430,7 +430,7 @@
431
431
432
432
/* disable entire conversion engine if the user had been disabled it */
433
433
$variantConv = $wgUser->getOption( 'variantconversion' );
434
- if ( ( $wgEnableVariants == true ) && ( $variantConv == 0 ) ) {
434
+ if ( ( $wgEnableVariants == true ) && ( $variantConv === 0 ) ) {
435
435
$wgEnableVariants = false;
436
436
}
437
437
Follow-up revisions
Revision
Commit summary
Author
Date
r51460
Revert
r51128
, and its follow-up revisions
r51129
,
r51130
,
r51390
....
werdna
09:48, 4 June 2009
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r51128
* (
bug 18958
) Added ability to disable entire variant conversion engine per u...
shinjiman
18:13, 28 May 2009
Status & tagging log
09:51, 4 June 2009
Werdna
(
talk
|
contribs
)
changed the
status
of r51390
[
removed:
new
added:
reverted]