Last modified: 2010-05-15 15:52:04 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 10142 - Article count per namespace, extension of NUMBEROFARTICLES magic word
Article count per namespace, extension of NUMBEROFARTICLES magic word
Product: MediaWiki
Classification: Unclassified
Parser (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: 2007-06-05 01:32 UTC by Jamie Hari
Modified: 2010-05-15 15:52 UTC (History)
1 user (show)

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


Description Jamie Hari 2007-06-05 01:32:15 UTC
It would be nice to extend the {{NUMBEROFARTICLES}} magic word or to create a new magic word whereby we could get a count of the number of pages in any given namespace.
Comment 1 Rob Church 2007-06-05 01:34:16 UTC
It's called PAGESINNAMESPACE, and it's disabled by default because it's potentially quite slow. Switch it on using $wgAllowSlowParserFunctions if desired.
Comment 2 Jamie Hari 2007-06-05 01:38:12 UTC
Much obliged, I thought there was something, but after a light search I couldn't find it. 

A VERY light search ;)

Sorry about that.

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