Extension talk:SpecialPagesOrganizer

Error
hi, i get always this error Warning: call_user_func(efReoderSpecial) [function.call-user-func]: First argument is expected to be a valid callback in ...\includes\Setup.php on line 219 Any idea?
 * How are you including the function, and what are you including?


 * I'm getting a similar error in MW 1.11:


 * Warning: call_user_func(efReoderSpecial) function.call-user-func: First argument is expected to be a valid callback in includes/Setup.php on line 287

284 foreach ( $wgExtensionFunctions as $func ) { 285        $profName = $fname.'-extensions-'.strval( $func ); 286        wfProfileIn( $profName ); 287        call_user_func( $func ); 288        wfProfileOut( $profName );


 * -Marc 09/27/07 7:59pm EST
 * I will look into the error you are getting when I find sometime. I am not sure what is causing it but I will try to simulate it on my system. Thank you for your feedback --DFRussia 14:17, 2 October 2007 (UTC)

I got the same Error an additionaly this:

Fatal error: Call to a member function isListed on a non-object in C:\xampp\htdocs\wiki\extensions\organizer\SpecialPagesOrganizer.php on line 55

I'm working in the German Wiki on my own Mediawiki and i includet this array's:

$egOrderArray[""] = array('Alle Seiten', 'Alle Seiten(mit Präfix)', 'Anmelden', 'Begriffsklärungsseiten', 'Beliebte Seiten', 'Benutzerbeiträge', 'Benutzerverzeichnis', 'Benutzte, aber nicht angelegte Kategorien', 'Beobachtungsliste', 'Dateiliste', 'Doppelte Weiterleitungen', 'Einstellungen', 'Geschützte Seiten', 'Gewünschte Seiten', 'Hauptautoren', 'Hochladen', 'Häufig verlinkte Seiten', 'ISBN-Suche', 'Kaputte Weiterleitungen', 'Kategorien', 'Kurze Seiten', 'Lange Seiten', 'Letzte Änderungen', 'Liste gesperrter Benutzer/IP-Adressen', 'Logbücher', 'MediaWiki-Systemtexte', 'Meistbenutzte Dateien', 'Meistbenutzte Kategorien', 'Meistkategorisierte Seiten', 'Neue Dateien', 'Neue Seiten', 'Neueste Seiten', 'Nicht benutzte Vorlagen', 'Nicht kategorisierte Dateien', 'Nicht kategorisierte Kategorien', 'Nicht kategorisierte Seiten', 'Sackgassenseiten', 'Seit längerem unbearbeitete Artikel', 'Seiten exportieren', 'Seiten mit den meisten Versionen', 'Seiten mit den wenigsten Versionen', 'Seiten ohne Links zu anderen Sprachen', 'Statistik', 'Suche', 'Suche nach MIME-Typ', 'Version', 'Verwaiste Dateien', 'Verwaiste Kategorien', 'Verwaiste Seiten', 'Weiterleitungsliste', 'Zufällige Seite', 'Zufällige Weiterleitung'); $egOrderArray[""] = array( 'Benutzerrechteverwaltung', 'Datenbank freigeben', 'Datenbank sperren', 'Gelöschte Seite wiederherstellen', 'IP-Adresse/Benutzer sperren', 'Nicht beobachtete Seiten', 'Seiten importieren', 'UserScore'); require_once( "$IP/extensions/organizer/SpecialPagesOrganizer.php");

The Path is correct and i copied the conetend on this Article. Someone can help me please?
 * You have to use the names that the pages register themselves with... the names in the code, which are all in English, as far as I know. --DFRussia 04:43, 2 October 2007 (UTC)

Error with Semantic form
Hi Artem Kaznatcheev. Would you like to give a hand that if I'v installed the Semantic Forms, this extension will not show the special-page-items of Semantic MediaWiki (SW) and Semantic Forms (SWF) in the Special:Specialpages but It's really need to use this extension when I'v installed SW and SWF, because their spacial page are too much to let users to see them clearly. Thank you.
 * ps. I'v add the code in the localsetting.php

--Roc michael 10:53, 23 September 2007 (UTC)
 * You got to make sure to use the proper internal extension name. Not the name of the actual page. The one the Special Page registers itself with. When I have time I can look at those things I will find out their real names --DFRussia 04:41, 2 October 2007 (UTC)

efReorderSpecial failed to return a value
I'm getting this error:

Detected bug in an extension! Hook efReorderSpecial failed to return a value; should return true to continue hook processing or false to abort.

Backtrace:


 * 0 F:\wiki\includes\SpecialPage.php(651): wfRunHooks('SpecialPageExec...', Array)
 * 1 F:\wiki\includes\SpecialPage.php(459): SpecialPage->execute(NULL)
 * 2 F:\wiki\includes\Wiki.php(201): SpecialPage::executePath(Object(Title))
 * 3 F:\wiki\includes\Wiki.php(45): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
 * 4 F:\wiki\index.php(88): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
 * 1) 5 {main}

Any idea how to fix this? It happens even if I have only one special page named in my $egOrderArray. MediaWiki 1.11.0. --Jonathan Kovaciny 18:34, 2 October 2007 (UTC)


 * Hmmm, weird. That is a very descriptive error. My schedule is very busy until this weekend, but I will look into it this weekend and get back to you with what might be causing the error. I never really did good error checking on this extension (since I used it for one little thing and I did not think other people would want it). I will look into fixing the numerous errors reported, improving documentation and releasing it all as one new, awesome update. If I don't start putting some sort of stuff up this weekend, feel free to remind me. Thanks for the feedback --DFRussia 08:22, 4 October 2007 (UTC)