Last modified: 2014-02-12 23:35:37 UTC
Created attachment 11678 [details] Screenshot of Category:Halmstad In Category:... pages, in the three-column-tables of members or subcategories, one quite often sees single entries before or after the ''cont.'' E. g., [[Category:Halmstad]] (As my knowledge in PHP and "report generation" is better than my English, I could contribute by looking through the code, if someone points me to the appropriate class)
Hi Forscher56, thanks for reporting this. (In reply to comment #0) > I could contribute by looking through the code, if someone > points me to the appropriate class) I ran grep -r "cont\." . on my MediaWiki core code checkout and the code seems to be located in /includes/CategoryViewer.php:531 To take a quick online look at the code: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=includes/CategoryViewer.php;h=7678ffe080c4a2635926731a7ba6803cd622ca6a;hb=refs/heads/master#l531 For information on getting the code and providing patches to fix the problem, see http://www.mediawiki.org/wiki/Developer_access If you need any help don't hesitate to ask.
(In reply to comment #0) > Created attachment 11678 [details] > Screenshot of Category:Halmstad > > In Category:... pages, in the three-column-tables of members or > subcategories, > one quite often sees single entries before or after the ''cont.'' E. g., > [[Category:Halmstad]] (As my knowledge in PHP and "report generation" is > better > than my English, I could contribute by looking through the code, if someone > points me to the appropriate class) As andre said - CategoryVirwer is the class that formats the results. CategoryPage is the calling class. What currently happens is we fetch the first 201 results (configurable) display first 200 and use the last for the continue link. I imagine you would probably have to fetch 202 results and then decide if to show either 200 or 201 results depending on how the divisions fall. If you have any trouble or need any help, don't hesitate to ask.