Also remove a redundant constant check.
Change-Id: I55d929e6bc8f8a851bedf5eaa476601af4458e6e
- public function QuickTemplate() {
+ function __construct() {
$this->data = array();
$this->translator = new MediaWiki_I18N();
}
$this->data = array();
$this->translator = new MediaWiki_I18N();
}
* @defgroup Templates Templates
*/
* @defgroup Templates Templates
*/
-if( !defined( 'MEDIAWIKI' ) ) die( -1 );
-
/**
* HTML template for Special:Userlogin form
* @ingroup Templates
/**
* HTML template for Special:Userlogin form
* @ingroup Templates