Last modified: 2013-02-16 17:04:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46832, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44832 - Plural magic word exposed in the curation toolbar.
Plural magic word exposed in the curation toolbar.
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
PageCuration (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
: 44920 45067 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-10 00:31 UTC by snaevar
Modified: 2013-02-16 17:04 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description snaevar 2013-02-10 00:31:59 UTC
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.
Comment 1 Sam Reed (reedy) 2013-02-10 00:36:54 UTC
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',
Comment 2 snaevar 2013-02-10 00:47:02 UTC
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',
Comment 3 Nischay Nahata 2013-02-10 04:41:04 UTC
Is this issue a problem with jQueryMsg ?
Comment 4 Andre Klapper 2013-02-11 13:29:08 UTC
(In reply to comment #3)
> Is this issue a problem with jQueryMsg ?

If so that could be bug 44459.
Comment 5 snaevar 2013-02-13 16:19:17 UTC
(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.
Comment 6 Nemo 2013-02-16 17:01:32 UTC
*** Bug 45067 has been marked as a duplicate of this bug. ***
Comment 7 Nemo 2013-02-16 17:02:50 UTC
*** Bug 44920 has been marked as a duplicate of this bug. ***
Comment 8 Nemo 2013-02-16 17:04:10 UTC
(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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links