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
(parent:
66d3eb5
)
Collapse nested if statements
author
Reedy
<reedy@wikimedia.org>
Tue, 22 Jul 2014 19:19:41 +0000
(20:19 +0100)
committer
Reedy
<reedy@wikimedia.org>
Mon, 28 Jul 2014 14:55:13 +0000
(14:55 +0000)
Change-Id: I1cecfe5884edb98c8ad0a441f4d82288d597f631
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
6bea931
..
9685747
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-1291,10
+1291,8
@@
class OutputPage extends ContextSource {
continue;
}
$wgContLang->findVariantLink( $category, $title, true );
- if ( $category != $origcategory ) {
- if ( array_key_exists( $category, $categories ) ) {
- continue;
- }
+ if ( $category != $origcategory && array_key_exists( $category, $categories ) ) {
+ continue;
}
$text = $wgContLang->convertHtml( $title->getText() );
$this->mCategories[] = $title->getText();