r112993 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r112992
|
r112993
|
r112994
>
Date:
00:08, 5 March 2012
Author:
reedy
Status:
ok
Tags:
Comment:
Bug 34979
- [Regression] PHP fatal error in SpecialWikiSets.php
Only build a sorted list of wikis if the set object is valid, otherwise use an empty array
Modified paths:
/trunk/extensions/CentralAuth/specials/SpecialWikiSets.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/CentralAuth/specials/SpecialWikiSets.php
—
—
@@ -131,13 +131,13 @@
132
132
} else {
133
133
$usage = wfMsgExt( 'centralauth-editset-nouse', 'parse' );
134
134
}
135
+ $sortedWikis = $set->getWikisRaw();
136
+ sort( $sortedWikis );
135
137
} else {
136
138
$usage = '';
139
+ $sortedWikis = array();
137
140
}
138
141
139
- $sortedWikis = $set->getWikisRaw();
140
- sort( $sortedWikis );
141
-
142
142
# Make an array of the opposite list of wikis
143
143
# (all databases *excluding* the defined ones)
144
144
$restWikis = array();
Follow-up revisions
Revision
Commit summary
Author
Date
r113035
MFT
r110933
,
r111011
,
r111218
,
r112751
,
r112925
,
r112993
reedy
14:31, 5 March 2012
r113037
MFT
r110703
,
r110933
,
r111011
,
r111218
,
r112520
,
r112524
,
r112660
,
r112687
,
r...
reedy
14:59, 5 March 2012
Status & tagging log
14:59, 5 March 2012
Reedy
(
talk
|
contribs
)
changed the
tags
for r112993
[
removed:
1.19]
14:32, 5 March 2012
Reedy
(
talk
|
contribs
)
changed the
tags
for r112993
[
removed:
1.19wmf1]
10:10, 5 March 2012
MaxSem
(
talk
|
contribs
)
changed the
status
of r112993
[
removed:
new
added:
ok]
00:14, 5 March 2012
Krinkle
(
talk
|
contribs
)
changed the
tags
for r112993
[
added:
1.19,1.19wmf1]