I figured this out from a comment on the discussion page of the
documentation. I looked at the BoardVote extension and noticed that I
now need to put the class definition inside the loader function. Before
I had it defined before the loader function and an include page was
needed. It works now.
I'm going to update the documentation if nobody minds.
Also, where can I put my extension so that its listed as one of the
available extensions? Maybe it would be useful as a special page
included in the code.
Also, I've found some problems with the way mediawiki counts the
number of articles and number of users. I'm going to try to fix those
problems and get them submitted.
Thanks,
Mark
On Tue, May 02, 2006 at 05:16:03PM GMT, Brion Vibber [brion(a)pobox.com] said the
following:
Mark Krenz wrote:
BUMP. Anyone have any ideas?
On Sun, Apr 30, 2006 at 05:40:01PM GMT, Mark Krenz [mark(a)suso.org] said the following:
> Hi, after I upgraded to mediawiki 1.6.3 recently, an extension I
> wrote broke. Actually, it broke the whole wiki and all I get is this
> error message:
>
> Fatal error: Call to undefined function: wfrunhooks() in
> /home/blgpedia/www/dev.bloomingpedia.org/mediawiki-1.6.3/includes/QueryPage.php
> on line 44
Generally something like this indicates you're trying to include files out of order.
Make sure QueryPage isn't loaded at the global scope, as that would happen
*before* most of MediaWiki has been loaded. Instead, load it from your setup
function if it's required.
-- brion vibber (brion @
pobox.com)
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
--
Mark S. Krenz
IT Director
Suso Technology Services, Inc.
http://suso.org/