Index: trunk/extensions/Translate/TranslateUtils.php |
— | — | @@ -159,9 +159,9 @@ |
160 | 160 | ); |
161 | 161 | |
162 | 162 | foreach ( $rows as $row ) { |
163 | | - if ( $row->page_namespace === NS_MEDIAWIKI ) { |
| 163 | + if ( $row->page_namespace === (string)NS_MEDIAWIKI ) { |
164 | 164 | self::$pageExists[$row->page_title] = true; |
165 | | - } else { |
| 165 | + } elseif ( $row->page_namespace === (string)NS_MEDIAWIKI_TALK ) { |
166 | 166 | self::$talkExists[$row->page_title] = true; |
167 | 167 | } |
168 | 168 | } |