Page MenuHomePhabricator

{{plural:}} support for counters in some special pages
Closed, ResolvedPublic

Description

Author: gangleri

Description:
Hallo!

This report covers very similar issues / code.

The following special pages
[[Special:Categories]]
[[Special:Longpages]]
[[Special:Mostcategories]]
[[Special:Mostimages]]
[[Special:Mostlinked]]
[[Special:Mostlinkedcategories]]
[[Special:Mostrevisions]]
[[Special:Newpages]]
[[Special:Popularpages]]
[[Special:Shortpages]]
[[Special:Wantedcategories]]
[[Special:Wantedpages]]
display counters as

[[MediaWiki:Nbytes]]
this could become {{plural:$1|$1 byte|$1 bytes}}

[[MediaWiki:Ncategories]]
this could become {{plural:$1|$1 category|$1 categories}}

[[MediaWiki:Nlinks]]
this could become {{plural:$1|$1 link|$1 links}}

[[MediaWiki:Nrevisions]]
this could become {{plural:$1|$1 revision|$1 revisions}}

[[MediaWiki:Nviews]]
this could become {{plural:$1|$1 view|$1 views}}

Especially for slavic languages support of {{plural:}} would be a "nice to have".

best regards reinhardt [[user:gangleri]]


Version: unspecified
Severity: enhancement
URL: http://nike.users.idler.fi/dev/index.php?title=special:Wantedcategories&uselang=en

Details

Reference
bz5805

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:14 PM
bzimport set Reference to bz5805.
bzimport added a subscriber: Unknown Object (MLST).

gangleri wrote:

update:

[[MediaWiki:Members]]
this could become {{plural:$1|$1 member|$1 members}}

robchur wrote:

*** This bug has been marked as a duplicate of 5806 ***

Not a duplicate. nbytes and ncategories fixed, rest are pending.

dejan.papez wrote:

It should be possible to use plural also in the following MediaWiki messages:

[[:en:MediaWiki:Sitestatstext|MediaWiki:Sitestatstext]]
[[:en:MediaWiki:Userstatstext|MediaWiki:Userstatstext]]
[[:en:MediaWiki:wlnote|MediaWiki:wlnote]]
[[:en:MediaWiki:wlshowlast|MediaWiki:wlshowlast]]
[[:en:MediaWiki:watchdetails|MediaWiki:watchdetails]]
[[:en:MediaWiki:watchlistcleardone|MediaWiki:watchlistcleardone]]
[[:en:MediaWiki:watchlistcontains|MediaWiki:watchlistcontains]]
[[:en:MediaWiki:watchlistcount|MediaWiki:watchlistcount]]
[[:en:MediaWiki:watchlistcontains|MediaWiki:watchlistcontains]]
[[:en:MediaWiki:watchlistcontains|MediaWiki:watchlistcontains]]

Perhaps there are others.

dejan.papez wrote:

Also Mediawiki:Undeletedrevisions.

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

(In reply to comment #6)

Also Mediawiki:Undeletedrevisions.

See Bug 8735

All others fixed with r20078