Bmansurov has uploaded a new change for review.
https://gerrit.wikimedia.org/r/240089
Change subject: Use correct wording for last modified on Special:EditWatchlist
......................................................................
Use correct wording for last modified on Special:EditWatchlist
Bug: T112802
Change-Id: I4c29d8c4645cf228393e2c15fc2ddbdc89866205
---
M i18n/en.json
M includes/specials/SpecialMobileEditWatchlist.php
2 files changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/89/240089/1
diff --git a/i18n/en.json b/i18n/en.json
index 910de97..c78d03a 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -198,6 +198,7 @@
"mobile-frontend-last-modified-minutes": "Last modified {{PLURAL:$1|$1
minute|$1 minutes}} ago",
"mobile-frontend-last-modified-months": "Last modified {{PLURAL:$1|$1
month|$1 months}} ago",
"mobile-frontend-last-modified-seconds": "Last modified {{PLURAL:$1|$1
second|$1 seconds}} ago",
+ "mobile-frontend-last-modified-with-user": "Last edited on $1, at $2",
"mobile-frontend-last-modified-with-user-days": "[$4 Last
{{GENDER:$1|edited}} {{PLURAL:$3|$3 day|$3 days}} ago] by {{PLURAL:$5|[$6
$2]|0=an anonymous user}}",
"mobile-frontend-last-modified-with-user-hours": "[$4 Last
{{GENDER:$1|edited}} {{PLURAL:$3|$3 hour|$3 hours}} ago] by {{PLURAL:$5|[$6
$2]|0=an anonymous user}}",
"mobile-frontend-last-modified-with-user-just-now": "[$3 Last
{{GENDER:$1|edited}}] just now by {{PLURAL:$4|[$5 $2]|0=an anonymous user}}",
diff --git a/includes/specials/SpecialMobileEditWatchlist.php
b/includes/specials/SpecialMobileEditWatchlist.php
index df40ed2..9b3efd3 100644
--- a/includes/specials/SpecialMobileEditWatchlist.php
+++ b/includes/specials/SpecialMobileEditWatchlist.php
@@ -45,7 +45,7 @@
$titleText = $title->getPrefixedText();
if ( $timestamp ) {
$lastModified = $this->msg(
- 'mobile-frontend-last-modified-date',
+ 'mobile-frontend-last-modified-with-user',
$this->getLanguage()->userDate( $timestamp,
$user ),
$this->getLanguage()->userTime( $timestamp,
$user )
)->parse();
--
To view, visit https://gerrit.wikimedia.org/r/240089
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4c29d8c4645cf228393e2c15fc2ddbdc89866205
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