Jim,
Why not just name it CompleteCategoryTree?
Nelson
Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Jim Hu
<jimhu(a)tamu.edu>
Sent by: To
mediawiki-l-bounc MediaWiki announcements and site
es(a)lists.wikimedi admin list
a.org <mediawiki-l(a)lists.wikimedia.org>
cc
03/04/2008 10:46 Subject
AM Re: [Mediawiki-l] trying to use
CategoryPageView hook, but
getting an 'Article' Class not
Please respond to found error
MediaWiki
announcements and
site admin list
<mediawiki-l@list
s.wikimedia.org>
Hi Courtney,
I had this problem too.. in the docs I I mention that I had to do
patch adding an include statement to the old Category.php file.
http://www.mediawiki.org/wiki/Extension:SplitCategoryPage#Installation
This seems to be a problem with getting class autoloading to work
properly. I may have not registered something properly... I don't
understand the autoload well enough to figure out what to change.
We're working on a version that uses the AJAX category tree from
CategoryTree. "We" means Daniel Renfro, who is working on the
EcoliWiki project with me. To see the test version of that, check out:
http://gowiki.tamu.edu/dev/index.php/Category:GO:0008150_%21_biological_pro…
Note that unlike original CategoryTree, it tells you how many children
and disables the + if there aren't any.
Feedback would be useful for getting it to the point where we can
release the code. One kind of feedback that would be especially
useful: what should we name the extension. SplitCategoryPage is
really a pretty awful and uninformative name, which probably meant
that some people who could use it never found it. The page isn't
split, after all, it's the queries. But
CategoryPageThatShowsAllSubcategoriesAndCounts.php seemed kinda long,
and so does SlowerButMoreCompleteCategoryPage.php.
Jim Hu
On Mar 4, 2008, at 9:06 AM, Christensen, Courtney wrote:
Hi All,
I'm trying to write a hook extension using CategoryPageView. We want
the category page customized for certain categories. I'm using Jim
Hu's
SplitCategoryPage extension as sort of a model. However, when I
include
my extension I get a blank screen and when I check my logs I get the
following error:
[04-Mar-2008 09:22:40] PHP Fatal error: Class 'Article' not found in
C:\wiki\includes\CategoryPage.php on line 15
Is there something I should consider about the order of includes?
We're using:
MW 1.9.2
PHP 5
MySQL 5
IIS
(I know we need to upgrade, but we need to find all the places we have
changed core code first.)
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l