protected function setUp()
 {
     // NOTE: use a language here for which we actually have labels etc
     $this->languageCode = 'de';
     // Remove handlers for the "OutputPageParserOutput" hook
     $this->mergeMwGlobalArrayValue('wgHooks', array('OutputPageParserOutput' => array()));
     parent::setUp();
 }
 protected function setUp()
 {
     parent::setUp();
     static $user = null;
     if (!$user) {
         $user = User::newFromId(0);
         $user->setName('127.0.0.1');
     }
     $this->setMwGlobals('wgUser', $user);
     // Remove handlers for the "OutputPageParserOutput" hook
     $this->mergeMwGlobalArrayValue('wgHooks', array('OutputPageParserOutput' => array()));
 }