Exemplo n.º 1
0
 protected function setUp()
 {
     parent::setUp();
     // Disable cldr extension
     $this->setMwGlobals('wgHooks', array());
     // Register LogHandler, see $wgPageLanguageUseDB in Setup.php
     $this->mergeMwGlobalArrayValue('wgLogActionsHandlers', array('pagelang/pagelang' => 'PageLangLogFormatter'));
 }
 protected function setUp()
 {
     parent::setUp();
     // Register LogHandler, see $wgNewUserLog in Setup.php
     $this->mergeMwGlobalArrayValue('wgLogActionsHandlers', array('newusers/newusers' => 'NewUsersLogFormatter', 'newusers/create' => 'NewUsersLogFormatter', 'newusers/create2' => 'NewUsersLogFormatter', 'newusers/byemail' => 'NewUsersLogFormatter', 'newusers/autocreate' => 'NewUsersLogFormatter'));
 }