From e8e6d7f47bafda99d7d3c04a0379b57b96643940 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Thu, 15 Nov 2018 18:13:05 -0800 Subject: [PATCH] ContribsPager: Don't hardcode brackets in `uctop` information Style this via CSS. Known: This will result in double brackets for non-translated skins until fixed. Bug: T205581 Change-Id: Ifbe820ae7ad9838b6662bc2592d2b277af443e9d --- languages/i18n/en.json | 2 +- resources/src/mediawiki.special.changeslist.less | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/languages/i18n/en.json b/languages/i18n/en.json index e5de105b5b..e7691e4e10 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -2526,7 +2526,7 @@ "contribsub2": "For {{GENDER:$3|$1}} ($2)", "contributions-userdoesnotexist": "User account \"$1\" is not registered.", "nocontribs": "No changes were found matching these criteria.", - "uctop": "(current)", + "uctop": "current", "month": "From month (and earlier):", "year": "From year (and earlier):", "date": "From date (and earlier):", diff --git a/resources/src/mediawiki.special.changeslist.less b/resources/src/mediawiki.special.changeslist.less index 4c089e5c6e..015c187b02 100644 --- a/resources/src/mediawiki.special.changeslist.less +++ b/resources/src/mediawiki.special.changeslist.less @@ -68,7 +68,8 @@ } .mw-changeslist-links, -.mw-diff-bytes { +.mw-diff-bytes, +.mw-uctop { &:before { content: '@{msg-parentheses-start}'; } -- 2.20.1