Index: trunk/extensions/CentralAuth/SpecialWikiSets.php |
— | — | @@ -42,8 +42,8 @@ |
43 | 43 | $this->buildMainView(); |
44 | 44 | } |
45 | 45 | } else { |
46 | | - if ( $subpage && !is_numeric( $subpage ) ) { |
47 | | - $set = WikiSet::newFromName( $subpage ); |
| 46 | + if ( $subpage ) { |
| 47 | + $set = is_numeric( $subpage ) ? WikiSet::newFromId( $subpage ) : WikiSet::newFromName( $subpage ); |
48 | 48 | if ( $set ) { |
49 | 49 | $subpage = $set->getID(); |
50 | 50 | } else { |
Property changes on: trunk/extensions/CentralAuth/SpecialWikiSets.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
51 | 51 | Merged /branches/wmf/1.17wmf1/extensions/CentralAuth/SpecialWikiSets.php:r81956 |