static function updateMessageCache()
 {
     if (MwFunctions::isAsyncLoadRequest()) {
         return false;
     }
     // skip subsequent calls to load stuff
     global $wgLang;
     $langCode = $wgLang->getCode();
     wfDebugLog('MultiAuthPlugin', __METHOD__ . ': ' . "Detected lang: {$langCode}");
     Language::getLocalisationCache()->recache($langCode);
     // hack for post 1.18.0
     return true;
 }
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this software.  If not, write to the Free Software 
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 
 * USA, or see the FSF site: http://www.fsf.org.
 */
// Check to make sure we're actually in MediaWiki.
if (!defined('MEDIAWIKI')) {
    die('This file is part of MediaWiki. It is not a valid entry point.');
}
/* ********************************************
 *                 INCLUDES                 *
 ******************************************** */
require_once "includes/WebFunctions.php";
require_once "includes/MwFunctions.php";
if (!MwFunctions::isAsyncLoadRequest()) {
    // DON'T DO ANYTHING IF THIS IS A REQUEST TO LOAD.PHP
    /* ********************************************
     *                PLUGIN SETUP              *
     ******************************************** */
    require_once "MultiAuthPlugin.setup.php";
    // DEBUG
    // MAKE SURE THIS IS COMMENTED OUT IN PRODUCTION !!!
    //$wgDebugLogFile = "debug.log";  // activate MW's logging mechanism
    //print_r($GLOBALS);
    //$wgShowExceptionDetails = true;
    //error_reporting (E_ALL); ini_set("display_errors", 1);
    //echo "<!--"; print_r($_SERVER); print_r($_COOKIE); print_r($_REQUEST); (isset($_SESSION)?print_r($_SESSION):''); echo "--> <b>DEBUGGING ENABLED</b>";
    // MAKE SURE THIS IS COMMENTED OUT IN PRODUCTION !!!
}