History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: CHD-566
Type: Task Task
Status: Open Open
Assignee: Dan Hildebrandt [WGM]
Reporter: Dan Hildebrandt [WGM]
Votes: 2
Watchers: 2
Operations

Clone this issue
If you were logged in you would be able to see more operations.
Cerberus Helpdesk (Cerb4/Cerb5)

Check MediaWiki SearchFeed plugin against newer versions of MediaWiki

Created: 11/Mar/08 01:51 PM   Updated: 01/Aug/09 09:09 PM
Fix Version/s: Sea of 1000 Wishes

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description   
Bitruder reports ( http://www.cerb4.com/forums/showpost.php?p=3654&postcount=1 ) that the MediaWiki plugin provided at ( http://wiki.cerberusdemo.com/index.php/Fetch_%26_Retrieve_Cookbook ) breaks all searching on his 1.11.0 version of MediaWiki. It works fine on our 1.9.2 version, but should probably be tested against the newer version(s).

 All   Comments   Work Log   Change History      Sort Order:
Comment by Eric Carter [10/Apr/08 02:52 PM]
I posted a possible solution, it seems to work if you disable:

require( dirname( __FILE__ ) . '/SearchFeed.i18n.php' );
                foreach ( $allMessages as $lang => $langMessages ) {
                        $wgMessageCache->addMessages( $langMessages, $lang );
                }

From the loadMessages() method in Search_body.php

I just used the code..

function loadMessages() {
                static $messagesLoaded = false;
                global $wgMessageCache;
                if ( $messagesLoaded ) return;
                $wgMessageCache->loadAllMessages();
                return true;
        }

fwiw