Page MenuHomePhabricator

Plural magic word exposed in the curation toolbar.
Closed, DeclinedPublic

Description

The plural magic word is exposed in MediaWiki:Pagetriage-characters-left. I found this bug by going to NtTerminalProcess via PageTriage on en.wikipedia, then I used the "Mark this page as reviewed" option in the curation toolbar and started typing. Once I had typed in the first letter the message was "{{PLURAL:249|249 char|249 chars}} left"

The expected behaviour here is to show "249 chars left".

...Apparantly the plural magic word is also shown under the option "Send appreciation", in the same way.


Version: unspecified
Severity: trivial
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=44851

Details

Reference
bz44832

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:16 AM
bzimport added projects: PageTriage, I18n.
bzimport set Reference to bz44832.
bzimport added a subscriber: Unknown Object (MLST).

As an aside, shouldn't this message be changed?

'pagetriage-characters-left' => '{{PLURAL:$1|$1 char|$1 chars}} left',

to

'pagetriage-characters-left' => '{{PLURAL:$1|char|chars}} left',

The message you are suggesting to change it to would not show the number of characters left. If this message would be changed, then it should rather be

'pagetriage-characters-left' => '$1 {{PLURAL:$1|char|chars}} left',

or

'pagetriage-characters-left' => '$2 {{PLURAL:$1|char|chars}} left',

Is this issue a problem with jQueryMsg ?

(In reply to comment #3)

Is this issue a problem with jQueryMsg ?

If so that could be bug 44459.

(In reply to comment #3)

Is this issue a problem with jQueryMsg ?

Honestly, I do not know wether this is a problem with jQueryMsg. What I do know however is that I can no longer reproduce this bug. Marking it as resolved worksforme for now.

  • Bug 45067 has been marked as a duplicate of this bug. ***
  • Bug 44920 has been marked as a duplicate of this bug. ***

(In reply to comment #5)

(In reply to comment #3)

Is this issue a problem with jQueryMsg ?

Honestly, I do not know wether this is a problem with jQueryMsg. What I do
know
however is that I can no longer reproduce this bug. Marking it as resolved
worksforme for now.

Unable to reproduce where/with what revision?
This is most likely a problem in core, but some of the duplicate reports in other extensions are more or less of the same time as you closed this.