diff options
author | Daimona Eaytoy <daimona.wiki@gmail.com> | 2018-05-31 23:43:04 +0200 |
---|---|---|
committer | Daimona Eaytoy <daimona.wiki@gmail.com> | 2018-06-04 11:07:54 +0000 |
commit | a0d4370f8e85c6e0f71c6998e1a3a2c335850cb2 (patch) | |
tree | df15d6fca1e63895dca8d272ae4b8a4ecc85beef | |
parent | 708f51c2c60b970549f463776faa38318fd11d21 (diff) | |
download | mediawikicore-a0d4370f8e85c6e0f71c6998e1a3a2c335850cb2.tar.gz mediawikicore-a0d4370f8e85c6e0f71c6998e1a3a2c335850cb2.zip |
Use the old linkshere-related messages without "-2"
As follow-up of I68a8639a61237c67deb61aefd5360dea3cced6cd, we can now go
back to the old messages, which have a clearer name and don't need
furher customization.
Bug: T189860
Change-Id: Ie8cbebe286bc18d016949ff05e7aef18e6aa8952
-rw-r--r-- | includes/specials/SpecialWhatlinkshere.php | 4 | ||||
-rw-r--r-- | languages/i18n/en.json | 6 | ||||
-rw-r--r-- | languages/i18n/qqq.json | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/includes/specials/SpecialWhatlinkshere.php b/includes/specials/SpecialWhatlinkshere.php index 942346e14514..c2adf8d74e09 100644 --- a/includes/specials/SpecialWhatlinkshere.php +++ b/includes/specials/SpecialWhatlinkshere.php @@ -208,7 +208,7 @@ class SpecialWhatLinksHere extends IncludableSpecialPage { if ( $hidelinks || $hidetrans || $hideredirs || $hideimages ) { $out->addHTML( $this->getFilterPanel() ); } - $msgKey = is_int( $namespace ) ? 'nolinkshere-ns-2' : 'nolinkshere-2'; + $msgKey = is_int( $namespace ) ? 'nolinkshere-ns' : 'nolinkshere'; $link = $this->getLinkRenderer()->makeLink( $this->target, null, @@ -292,7 +292,7 @@ class SpecialWhatLinksHere extends IncludableSpecialPage { $this->target->isRedirect() ? [ 'redirect' => 'no' ] : [] ); - $msg = $this->msg( 'linkshere-2' ) + $msg = $this->msg( 'linkshere' ) ->params( $this->target->getPrefixedText() ) ->rawParams( $link ) ->parseAsBlock(); diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 8add41f99768..3f4df1fa8d32 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -2527,9 +2527,9 @@ "whatlinkshere-title": "Pages that link to \"$1\"", "whatlinkshere-summary": "", "whatlinkshere-page": "Page:", - "linkshere-2": "The following pages link to <strong>$2</strong>:", - "nolinkshere-2": "No pages link to <strong>$2</strong>.", - "nolinkshere-ns-2": "No pages link to <strong>$2</strong> in the chosen namespace.", + "linkshere": "The following pages link to <strong>$2</strong>:", + "nolinkshere": "No pages link to <strong>$2</strong>.", + "nolinkshere-ns": "No pages link to <strong>$2</strong> in the chosen namespace.", "isredirect": "redirect page", "istemplate": "transclusion", "isimage": "file link", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index 8f5f01fa5c1e..88ca880eaea4 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -2727,9 +2727,9 @@ "whatlinkshere-title": "Title of the special page [[Special:WhatLinksHere]]. This page appears when you click on the 'What links here' button in the toolbox. $1 is the name of the page concerned.", "whatlinkshere-summary": "{{doc-specialpagesummary|whatlinkshere}}", "whatlinkshere-page": "{{Identical|Page}}", - "linkshere-2": "This message is the header line of the [[Special:WhatLinksHere/$1]] page generated by clicking \"What links here\" in the sidebar toolbox.\n\nIt is followed by a navigation bar built using {{msg-mw|Viewprevnext}}.\n\nParameters:\n* $1 - Plain page title\n* $2 - HTML link to the page.", - "nolinkshere-2": "Used in [[Special:WhatLinksHere]] if empty. Parameters:\n* $1 - Plain page title\n* $2 - HTML link to the page.\nSee also:\n* {{msg-mw|Nolinkshere-ns-2}}", - "nolinkshere-ns-2": "Used in [[Special:WhatLinksHere]] if empty. Parameters:\n* $1 - Plain page title\n* $2 - HTML link to the page.\nSee also:\n* {{msg-mw|Nolinkshere-2}}", + "linkshere": "This message is the header line of the [[Special:WhatLinksHere/$1]] page generated by clicking \"What links here\" in the sidebar toolbox.\n\nIt is followed by a navigation bar built using {{msg-mw|Viewprevnext}}.\n\nParameters:\n* $1 - Plain page title\n* $2 - HTML link to the page.", + "nolinkshere": "Used in [[Special:WhatLinksHere]] if empty. Parameters:\n* $1 - Plain page title\n* $2 - HTML link to the page.\nSee also:\n* {{msg-mw|Nolinkshere-ns}}", + "nolinkshere-ns": "Used in [[Special:WhatLinksHere]] if empty. Parameters:\n* $1 - Plain page title\n* $2 - HTML link to the page.\nSee also:\n* {{msg-mw|Nolinkshere}}", "isredirect": "Displayed in [[Special:WhatLinksHere]] (see [{{fullurl:Special:WhatLinksHere/Project:Translator|hidelinks=1}} Special:WhatLinksHere/Project:Translator] for example).\n\n{{Identical|Redirect page}}", "istemplate": "Means that a page (a template, specifically) is used as <code><nowiki>{{Page name}}</nowiki></code>.\nDisplayed in [[Special:WhatLinksHere]] (see [[Special:WhatLinksHere/Template:New portal]] for example).\nIf you are not sure how to translate this term, think of something like \"inclusion\", \"embedding\", or \"insertion\".\n{{Identical|Transclusion}}", "isimage": "This message is displayed on [[Special:WhatLinksHere]] for images. It means that the image is used on the page (as opposed to just being linked to like an non-image page).\n{{Identical|File link}}", |