D3r1ck01 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/269464

Change subject: Special page nearby lack intro sentence
......................................................................

Special page nearby lack intro sentence

* The Nearby special page lacked an intro sentece like other special
pages telling the users what the special page is all about. Intro sentence
has been added now to tell users what the extension is all about.

Bug: T120520
Change-Id: I1b755be143e90431aa8f1d429e18e73544071474
---
M i18n/en.json
M i18n/qqq.json
M includes/specials/SpecialNearby.php
3 files changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/64/269464/1

diff --git a/i18n/en.json b/i18n/en.json
index 755b5f5..36eeb63 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -245,6 +245,7 @@
        "mobile-frontend-nearby-requirements-guidance": "Try a different 
browser or enable JavaScript if you've disabled it.",
        "mobile-frontend-nearby-title": "Nearby",
        "mobile-frontend-nearby-sectiontext": "Near the topic of this page",
+       "mobile-frontend-nearby-summary": "Reveals information concerning 
interesting location around your current location(IP address) images if 
available.",
        "mobile-frontend-news-items": "In the news",
        "mobile-frontend-opt-in-explain": "By joining the beta, you will get 
access to the latest experimental features which may be subject to software 
defects.",
        "mobile-frontend-overlay-close": "Close",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 1f9b628..96c1aef 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -243,6 +243,7 @@
        "mobile-frontend-nearby-requirements-guidance": "Message explaining 
actions user can take when keying error 
{{msg-mw|mobile-frontend-nearby-requirements}}",
        "mobile-frontend-nearby-title": "Title of 
[[Special:Nearby]].\n{{Identical|Nearby}}",
        "mobile-frontend-nearby-sectiontext": "Name of the link, which links 
the user to [[Special:Nearby]] if the article has coordinates.",
+       "mobile-frontend-nearby-summary": "Introduction to tell the users what 
the special page does",
        "mobile-frontend-news-items": "The title that will appear before the 
element with the mf-itn selector.",
        "mobile-frontend-opt-in-explain": "Used as description for the \"Beta\" 
in [[Special:MobileOptions]], if the beta is not enabled.",
        "mobile-frontend-overlay-close": "Text for the button in an overlay 
that, when clicked, dismisses the overlay.\n{{Identical|Close}}",
diff --git a/includes/specials/SpecialNearby.php 
b/includes/specials/SpecialNearby.php
index fc03bad..e31c0af 100644
--- a/includes/specials/SpecialNearby.php
+++ b/includes/specials/SpecialNearby.php
@@ -30,6 +30,7 @@
                // set config
                $output->addJsConfigVars( 'wgMFNearbyRange', 
$this->getMFConfig()->get( 'MFNearbyRange' ) );
                $output->setPageTitle( wfMessage( 
'mobile-frontend-nearby-title' )->escaped() );
+               $output->addWikiText( wfMessage( 
'mobile-frontend-nearby-summary' )->escaped() );
 
                $html =
                        Html::openElement( 'div',

-- 
To view, visit https://gerrit.wikimedia.org/r/269464
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1b755be143e90431aa8f1d429e18e73544071474
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: D3r1ck01 <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to