Last modified: 2008-10-12 18:12:33 UTC
After installing and configuring the extension, all the special pages are not recognized : * Special:Stableversions * Special:Unreviewedpages * Special:OldReviewedpages * Special:Reviewedpages * Special:RatingHistory The configuration in my LocalSettings.php is : #Flagged Review include_once( "$IP/extensions/FlaggedRevs/FlaggedRevs.php" ); $wgFlaggedRevsNamespaces= array (0, 12, 104, 106, 108); $wgFlaggedRevsComments= true; I can review page, I've updated the database. But these special pages are non recognized.
I can't reproduce this. Do you have several servers? Perhaps one is out of sync.
No, just one.
Are you sure your version of MediaWiki is recent enough? The SVN HEAD version of FlaggedRevs probably depends on core features that were added quite recently; if you're running an older version, you should use the FlaggedRevs release for that version.
It's the last version of mediawiki downloaded today by svn. I've this problem for several weeks
Is anything else touching $wgExtensionFunctions ?
No ! Not defined in my LocalSettings.php.
No other extension that could be changing it?
Yes
Created attachment 5415 [details] moving Special Pages variable out of the main function
The problem seem to provide by including code about special page into efLoadFlaggedRevs() function. I moved them before this function and these special pages are now recognized. Instead to commit directly into subversion server, I prefered to commit simply a patch.
(In reply to comment #10) > The problem seem to provide by including code about special page into > efLoadFlaggedRevs() function. > I moved them before this function and these special pages are now recognized. > > Instead to commit directly into subversion server, I prefered to commit simply > a patch. > This patch will fail if the user defined the namespaces *after* the flaggedrevs include line.
I suspect initList() is getting called before the extension function that adds the pages.
Should be fixed in r42000