I'm developing the extension for 1.8.3. I have now gotten the basic version working with the minor hack to CategoryPage.php.
So far, it improves on CategoryPage.php in two ways: Shows the subcategories no matter how many articles are shown Shows the real counts for articles when the number is >200.
I'm hoping to make it more like Special:Allpages next...I'm using it on a wiki where there are categories with >100K articles in the biggest categories:
http://gowiki.tamu.edu/GO/wiki/index.php/Category:Eukaryota
Paging through 200 at a time gets old fast!! ===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
On Feb 20, 2007, at 11:56 AM, Simetrical wrote:
On 2/20/07, Jim Hu jimhu@tamu.edu wrote:
I'm trying to write an extension that makes an alternative category page where the subcategories are split off from the articles. I'm hooking at CategoryPageView, and I thought that the simplest approach would be to extend the CategoryViewer class from CategoryPage.php. But when I try that, I get:
[Tue Feb 20 07:26:33 2007] [error] PHP Fatal error: Class 'Article' not found in /Library/WebServer/Documents/wiki/includes/ CategoryPage.php on line 15
What version is this? I had some idea this shouldn't happen in 1.7+ due to autoloading. Not totally sure, though, just a guess.
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l