r36202 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r36201
|
r36202
|
r36203
>
Date:
21:34, 11 June 2008
Author:
simetrical
Status:
old
Tags:
Comment:
I think every string that evaluates to boolean false will be unaffected by this code block anyway (can't capitalize numbers), but we want a strict check here anyway.
Modified paths:
/trunk/phase3/includes/SpecialCategories.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/SpecialCategories.php
—
—
@@ -32,7 +32,7 @@
33
33
function __construct( $from ) {
34
34
parent::__construct();
35
35
$from = str_replace( ' ', '_', $from );
36
- if( $from != '' ) {
36
+ if( $from !== '' ) {
37
37
global $wgCapitalLinks, $wgContLang;
38
38
if( $wgCapitalLinks ) {
39
39
$from = $wgContLang->ucfirst( $from );
Status & tagging log
15:28, 12 September 2011
Meno25
(
talk
|
contribs
)
changed the
status
of r36202
[
removed:
ok
added:
old]