Last modified: 2006-10-30 23:38:16 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 T8483, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6483 - Using PLURAL on Imagelisttext
Using PLURAL on Imagelisttext
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.7.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://fy.wiktionary.org/wiki/MediaWi...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-28 23:54 UTC by aliter
Modified: 2006-10-30 23:38 UTC (History)
0 users

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


Attachments

Description aliter 2006-06-28 23:54:51 UTC
I can't find documentation on either, but I'd like to use PLURAL on
Imagelisttext so it can say "This is a list of 1 image." Either I'm doing
something wrong, or it doesn't work, here.

(What I actually would prefer here is SWITCH-functionality, as it doesn't make
sense either to call it a "list" if there are 0/no items in it.)
Comment 1 Rob Church 2006-06-29 00:04:36 UTC
Something like "Below is a list of '''$1''' {{plural:$1|file|files}} sorted $2."
should do it. I've updated the default for English to use this.
Comment 2 aliter 2006-06-29 00:25:21 UTC
If that works for you, then <http://fy.wiktionary.org/wiki/Wiki:Newimages> must
be the problem, as the top of its page text becomes:

Below is a list of '''1''' files sorted datum.

(That's actual page text, where also the '''-s should have been evaluated. The 1
is correct, that's how I noticed the need for PLURAL.)
Comment 3 Jimmy Collins 2006-07-13 09:05:38 UTC
I have checked <http://fy.wiktionary.org/wiki/Wiki:Newimages>

Below is a list of 1 file sorted datum. 

Seems to be OK now.
Comment 4 aliter 2006-10-30 23:38:16 UTC
Appears to be OK now.

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


Navigation
Links