Pages in category counts wrong

Forum for all users to discuss the implementation and operation of the ChoralWiki at CPDL
Post Reply
CHGiffen
Site Admin
Posts: 1781
Joined: 16 Sep 2005 21:22
Location: Hudson, Wisconsin, USA

Pages in category counts wrong

Post by CHGiffen »

Here's an example of the problem:

Go here (it's the "Category:Giovanni Pierluigi da Palestrina compositions" page). It (correctly) informs the user that "The following 200 pages are in the current category." But, now on that page, click on (next 200). It incorrectly informs the user that "The following 21 pages are in this category, out of 132 total."

This happens with the "Pages in category" counts for other categories, as well.

This may be related to a problem with the magic word PAGESINCATEGORY. Go to User:CHGiffen to see examples of this ... both {{PAGESINCATEGORY:Sheet music}} and {{PAGESINCATEGORY:Composers}} give totally ridiculous results (which caused me to abort an easy way to count pages in a category and instead resort to using a DPL trick).

Chuck
Last edited by CHGiffen on 13 Nov 2008 14:44, edited 1 time in total.
Reason: correct typo in Subject
Charles H. Giffen
CPDL Board of Directors Chair
Admin at & Manager of ChoralWiki
Post Reply