Last modified: 2012-04-14 19:38:58 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 T31844, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29844 - Paging in categories doesn't work.
Paging in categories doesn't work.
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
1.16.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-12 14:19 UTC by Raphael Eiselstein
Modified: 2012-04-14 19:38 UTC (History)
1 user (show)

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


Attachments

Description Raphael Eiselstein 2011-07-12 14:19:33 UTC
Hi,

I'm running a 1.17.0. In one Category I have 365+ Pages (one page using for each day in year): http://rhein-neckar-wiki.de/Kategorie:Bild_%28Hauptseite%29

Clicking "nächste 200" in the category-pager results in http://rhein-neckar-wiki.de/index.php?title=Kategorie:Bild_%28Hauptseite%29&pagefrom=705%0A5.+Juli%2FBild ("5. Juli/Bild") is the 201st item in this category. In NS=0 we don't use subpages, so "foo/Bild" is a plain article name.

Paging doesn't work here.

Regards
Raphael
Comment 1 Raphael Eiselstein 2011-07-12 14:26:54 UTC
Seems to be a generic problem with category paging
* http://rhein-neckar-wiki.de/Kategorie:CC-by-nc-sa_2.5
* http://rhein-neckar-wiki.de/Kategorie:Stadtwiki:Bilder_fehlen
...
Comment 2 Sam Reed (reedy) 2011-07-12 18:59:35 UTC
Did it ever work? Was this upgraded from an older version of MediaWiki?
Comment 3 Raphael Eiselstein 2011-07-12 23:47:21 UTC
I'm pretty sure it worked in the past. And yes, this wiki is continously updated since end of 2005 (around 1.6)
Comment 4 Mark A. Hershberger 2011-07-18 16:25:11 UTC
I'd like to get confirmation that this is really a 1.17 bug before upping the priority.
Comment 5 Raphael Eiselstein 2011-07-19 00:38:30 UTC
Stadtwiki Karlsruhe (22k articles, 20k images) has some very large categories, see http://ka.stadtwiki.net/Spezial:Meistbenutzte_Kategorien, it is running 1.16.0.

Stadtwiki Pforzheim-Enzkreis is running 1.16.5 and paging in large categories works here, e.g. http://www.pfenz.de/wiki/Kategorie:CC-by-nc-sa_2.5

I'm not sure when they will migrate to 1.17.x, but I'll take look on this topic after an upgrade.
Comment 6 Sam Reed (reedy) 2011-07-19 00:43:21 UTC
(In reply to comment #5)
> Stadtwiki Karlsruhe (22k articles, 20k images) has some very large categories,
> see http://ka.stadtwiki.net/Spezial:Meistbenutzte_Kategorien, it is running
> 1.16.0.
> 
> Stadtwiki Pforzheim-Enzkreis is running 1.16.5 and paging in large categories
> works here, e.g. http://www.pfenz.de/wiki/Kategorie:CC-by-nc-sa_2.5
> 
> I'm not sure when they will migrate to 1.17.x, but I'll take look on this topic
> after an upgrade.

Pforzheim? Not been there in YEEEEAAAAARRRRRS
Comment 7 Sam Reed (reedy) 2011-07-19 00:51:25 UTC
FYI, you should at least get those upgraded to 1.16.5 for security updates.

The category members sorting stuff looks like it's been done, as it *looks* ok on the API..

http://rhein-neckar-wiki.de/api.php?action=query&list=categorymembers&cmtitle=Kategorie:Bild%20(Hauptseite)

<categorymembers cmcontinue="page|21390a50524f4a454b54452f484155505453454954454e42494c4445522f53455054454d424552|16710" />

And then

http://rhein-neckar-wiki.de/api.php?action=query&list=categorymembers&cmtitle=Kategorie:Bild%20(Hauptseite)&cmcontinue=page|21390a50524f4a454b54452f484155505453454954454e42494c4445522f53455054454d424552|16710

We get continuation of months...
Comment 8 Mark A. Hershberger 2011-07-26 18:53:12 UTC
Adding Aryeh as CC since he helped do most of this collation work last year.

Status update: I've been able to successfully run the update on a dataset that I was given to test.  So it doesn't appear to be endemic to the 1.17 upgrade.  Maybe it was an extension or something else that caused the problem.
Comment 9 Raphael Eiselstein 2011-08-11 21:13:52 UTC
Actually an extension caused this behaviour. I disabled 

# require_once($IP."/extensions/CategoryTree/CategoryTree.php" ); 

in our LocalSettings.php and then for example http://rhein-neckar-wiki.de/index.php?title=Kategorie:Chronik&pagefrom=1819 works as expected.

So this behaviour may be influenced by (older?) Versions of CategoryTree and is not a general bug with mediawiki core. 

thank you
Raphael
Comment 10 Raphael Eiselstein 2011-08-11 21:29:54 UTC
UPDATE: I just updated CategoryTree from CategoryTree-MW1.16-r62678.tar.gz to r85033.tar.gz">http://upload.wikimedia.org/ext-dist/CategoryTree-MW1.17-r85033.tar.gz and  re-enabled this extension in LocalSettings.php. 

Everything seems fine now.

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


Navigation
Links