http://www.mediawiki.org/wiki/Special:Code/MediaWiki/95912
Revision: 95912
Author: jpostlethwaite
Date: 2011-08-31 22:09:42 +0000 (Wed, 31 Aug 2011)
Log Message:
-----------
Converted spaces to tabs, removed third parameter from $wgRequest->getText().
See bug #30271
Modified Paths:
--------------
trunk/extensions/CentralNotice/special/SpecialBannerAllocation.php
Modified: trunk/extensions/CentralNotice/special/SpecialBannerAllocation.php
===================================================================
--- trunk/extensions/CentralNotice/special/SpecialBannerAllocation.php
2011-08-31 22:04:50 UTC (rev 95911)
+++ trunk/extensions/CentralNotice/special/SpecialBannerAllocation.php
2011-08-31 22:09:42 UTC (rev 95912)
@@ -23,15 +23,15 @@
$locationSubmitted = false;
- $this->project = $wgRequest->getText( 'project', 'wikipedia',
$wgNoticeProject );
- $this->language = $wgRequest->getText( 'language', $wgLanguageCode );
+ $this->project = $wgRequest->getText( 'project',
$wgNoticeProject );
+ $this->language = $wgRequest->getText( 'language',
$wgLanguageCode );
- // If the form has been submitted, the country code should be passed
along.
- $locationSubmitted = $wgRequest->getVal( 'country' );
- $this->location = $locationSubmitted ? $locationSubmitted :
$this->location;
+ // If the form has been submitted, the country code should be
passed along.
+ $locationSubmitted = $wgRequest->getVal( 'country' );
+ $this->location = $locationSubmitted ? $locationSubmitted :
$this->location;
- // Convert submitted location to boolean value. If it true, showList()
will be called.
- $locationSubmitted = (boolean) $locationSubmitted;
+ // Convert submitted location to boolean value. If it true,
showList() will be called.
+ $locationSubmitted = (boolean) $locationSubmitted;
// Begin output
$this->setHeaders();
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs