Yurik has uploaded a new change for review.
https://gerrit.wikimedia.org/r/101804
Change subject: Minor formatting fixes
......................................................................
Minor formatting fixes
Change-Id: If781081ba95ec626f7d0a927e9ee16114f1a96cd
---
M includes/CarrierConfig.php
M includes/PageRenderingHooks.php
M includes/ZeroSpecialPage.php
3 files changed, 3 insertions(+), 6 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ZeroRatedMobileAccess
refs/changes/04/101804/1
diff --git a/includes/CarrierConfig.php b/includes/CarrierConfig.php
index 4c12f1e..c7b7009 100644
--- a/includes/CarrierConfig.php
+++ b/includes/CarrierConfig.php
@@ -501,8 +501,7 @@
return $arr;
}
- static function normalizeAdmins( $admins )
- {
+ static function normalizeAdmins( $admins ) {
$admins = array_unique( $admins );
sort( $admins );
return array_values( $admins );
diff --git a/includes/PageRenderingHooks.php b/includes/PageRenderingHooks.php
index 1fb15d9..91d606c 100644
--- a/includes/PageRenderingHooks.php
+++ b/includes/PageRenderingHooks.php
@@ -940,8 +940,7 @@
* Create redirect URL for m.* and zero.* root pages
* @return string
*/
- public function getLandingRedirect()
- {
+ public function getLandingRedirect() {
$config = $this->getConfig();
if ( $config === null ) {
// Staying consistent with the current behaviour -
redirect to en.*.*
diff --git a/includes/ZeroSpecialPage.php b/includes/ZeroSpecialPage.php
index 6cb8fd2..0b0cfbf 100644
--- a/includes/ZeroSpecialPage.php
+++ b/includes/ZeroSpecialPage.php
@@ -188,8 +188,7 @@
* @param array $redir that describes how redirect should be rendered
* @return string HTML
*/
- private function renderWarning( $redir )
- {
+ private function renderWarning( $redir ) {
// Show warning text (navigating away from the free site)
$reject = Html::rawElement(
'a',
--
To view, visit https://gerrit.wikimedia.org/r/101804
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If781081ba95ec626f7d0a927e9ee16114f1a96cd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ZeroRatedMobileAccess
Gerrit-Branch: master
Gerrit-Owner: Yurik <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits