Index: trunk/extensions/CentralNotice/special/SpecialBannerAllocation.php |
— | — | @@ -23,15 +23,15 @@ |
24 | 24 | |
25 | 25 | $locationSubmitted = false; |
26 | 26 | |
27 | | - $this->project = $wgRequest->getText( 'project', 'wikipedia', $wgNoticeProject ); |
28 | | - $this->language = $wgRequest->getText( 'language', $wgLanguageCode ); |
| 27 | + $this->project = $wgRequest->getText( 'project', $wgNoticeProject ); |
| 28 | + $this->language = $wgRequest->getText( 'language', $wgLanguageCode ); |
29 | 29 | |
30 | | - // If the form has been submitted, the country code should be passed along. |
31 | | - $locationSubmitted = $wgRequest->getVal( 'country' ); |
32 | | - $this->location = $locationSubmitted ? $locationSubmitted : $this->location; |
| 30 | + // If the form has been submitted, the country code should be passed along. |
| 31 | + $locationSubmitted = $wgRequest->getVal( 'country' ); |
| 32 | + $this->location = $locationSubmitted ? $locationSubmitted : $this->location; |
33 | 33 | |
34 | | - // Convert submitted location to boolean value. If it true, showList() will be called. |
35 | | - $locationSubmitted = (boolean) $locationSubmitted; |
| 34 | + // Convert submitted location to boolean value. If it true, showList() will be called. |
| 35 | + $locationSubmitted = (boolean) $locationSubmitted; |
36 | 36 | |
37 | 37 | // Begin output |
38 | 38 | $this->setHeaders(); |