Bmansurov has uploaded a new change for review.
https://gerrit.wikimedia.org/r/172416
Change subject: Remove page description from Special:MobileOptions
......................................................................
Remove page description from Special:MobileOptions
Change-Id: Ic8a6ad86aeb3ce861d432c4f32aa51b2d6e4af14
---
M i18n/en.json
M i18n/qqq.json
M includes/specials/SpecialMobileOptions.php
3 files changed, 0 insertions(+), 9 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/16/172416/1
diff --git a/i18n/en.json b/i18n/en.json
index 2ecdba1..f2c3f5c1 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -258,7 +258,6 @@
"mobile-frontend-settings-alpha": "Experimental mode",
"mobile-frontend-settings-alpha-description": "Enter dangerous and
unexplored mobile territory. Get even more experimental features, but with more
danger of bugs.",
"mobile-frontend-settings-beta": "Beta",
- "mobile-frontend-settings-description": "Customize your experience on
your mobile device with these mobile specific site settings.",
"mobile-frontend-settings-site-description": "{{SITENAME}} is available
in $1 {{PLURAL:$1|language|languages}}. All available versions are listed
below",
"mobile-frontend-settings-site-header": "{{SITENAME}} Languages",
"mobile-frontend-sign-in-error-heading": "Whoops",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index dc3a713..5af3b9b 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -285,7 +285,6 @@
"mobile-frontend-settings-alpha": "<!--[[File:Mobile Contributions
Quarterly Review 3 2013.pdf|page=32|thumb|The message in action]]-->\nHeading
for alpha mode on settings page
([//commons.wikimedia.org/w/index.php?title=File%3AMobile_Contributions_Quarterly_Review_3_2013.pdf&page=32
screenshot]). This is a highly experimental mode where there might be bugs.
Feel free to simply translate it with the equivalent of the word \"alpha\" when
translating to other languages.\n\nPreviously, it was called \"Dragons Mode\".",
"mobile-frontend-settings-alpha-description": "Disclaimer about dangers
and excitement that come with being in an alpha mode",
"mobile-frontend-settings-beta": "Text for beta on settings
page.\n{{Identical|Beta}}",
- "mobile-frontend-settings-description": "Text at top of the settings
page explaining its purpose",
"mobile-frontend-settings-site-description": "Shown on
[[Special:MobileOptions]]. Parameters:\n* $1 - the number of other language
versions for this wiki",
"mobile-frontend-settings-site-header": "Heading for the
Special:MobileOptions/Language page - only visible to non JavaScript users",
"mobile-frontend-sign-in-error-heading": "Heading for when an error
occurred. You can translate \"Error\" instead.",
diff --git a/includes/specials/SpecialMobileOptions.php
b/includes/specials/SpecialMobileOptions.php
index 1d26d43..8e936d6 100644
--- a/includes/specials/SpecialMobileOptions.php
+++ b/includes/specials/SpecialMobileOptions.php
@@ -94,7 +94,6 @@
$html = Html::openElement( 'form',
array( 'class' => 'mw-mf-settings', 'method' => 'POST',
'action' => $action )
);
- $aboutMessage = $this->msg(
'mobile-frontend-settings-description' )->parse();
$token = $user->isLoggedIn() ? Html::hidden( 'token',
$user->getEditToken() ) : '';
$returnto = Html::hidden( 'returnto',
$this->returnToTitle->getFullText() );
@@ -139,12 +138,6 @@
}
}
- // @codingStandardsIgnoreStart Long line
- $html .= <<<HTML
- <p>
- {$aboutMessage}
- </p>
-HTML;
foreach( $options as $key => $data ) {
if ( isset( $data['type'] ) && $data['type'] ===
'hidden' ) {
$html .= Html::element( 'input',
--
To view, visit https://gerrit.wikimedia.org/r/172416
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic8a6ad86aeb3ce861d432c4f32aa51b2d6e4af14
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Bmansurov <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits