Last modified: 2006-03-05 23:40:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4324 - Feature request: usable {{NUMBEROFFILES}} variable
Feature request: usable {{NUMBEROFFILES}} variable
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-12-20 17:36 UTC by David Benbennick
Modified: 2006-03-05 23:40 UTC (History)
1 user (show)

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


Description David Benbennick 2005-12-20 17:36:09 UTC
There used to be a NUMBEROFFILES variable, used on the Commons Main Page and
other places.  It no longer works.
Comment 1 Ævar Arnfjörð Bjarmason 2005-12-20 17:41:05 UTC
It has been disabled on Wikimedia and will probably be removed from the source
tree, the implementation is too slow.
Comment 2 David Benbennick 2005-12-20 17:50:02 UTC
Alright, changing this bug to an enhancement request.

Since the Commons is all about images, it would be really nice to have a way to
report how many images we have, equivalent to the NUMBEROFARTICLES variable on
Wikipedia.  In principle, it's possible to implement this efficiently:
Special:Upload simply increments a variable, and Special:Delete decrements it.
Comment 3 Ævar Arnfjörð Bjarmason 2005-12-20 17:52:38 UTC
Product => Wikimedia web sites, it's still in the tree, just not on Wikimedia
Comment 4 Erik Moeller 2005-12-20 23:17:38 UTC
It might be nice to maintain separate counters for different file types.
Comment 5 bdk 2005-12-23 03:14:43 UTC
Comment 6 David Benbennick 2005-12-23 17:43:46 UTC
Thanks, Bdk.  Wierd that the variable name would be changed, breaking all pages
that used the old name ...
Comment 7 David Benbennick 2005-12-23 21:43:08 UTC
Er, never mind.  That's just, which is nearly
worthless.  Having an actual counter would be much better.
Comment 8 Enoch Lau 2006-02-13 00:34:27 UTC
The feature appears to have been implemented:
Comment 9 Minh Nguyễn 2006-03-05 23:40:41 UTC
This has been usable for some time now. Marking FIXED.

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