Index: trunk/tools/mwmultiversion/wmf-config/MWMultiVersion.php |
— | — | @@ -142,7 +142,6 @@ |
143 | 143 | } |
144 | 144 | return self::$mwversion; |
145 | 145 | } |
146 | | - |
147 | 146 | |
148 | 147 | /** |
149 | 148 | * Factory method to get an instance of MWMultiVersion used for calls to /w/thumb.php on upload.wikmedia.org. |
— | — | @@ -164,8 +163,7 @@ |
165 | 164 | public static function getInstanceForMaintenance( ) { |
166 | 165 | if (!isset(self::$mwversion)) { |
167 | 166 | self::$mwversion = new self; |
168 | | - self::$mwversion->site = $site; |
169 | | - self::$mwversion->lang = $lang; |
| 167 | + self::$mwversion->setSiteInfoForMaintenance(); |
170 | 168 | } |
171 | 169 | return self::$mwversion; |
172 | 170 | } |