* @return String
*/
public function getCSS( $dir ) {
- $skinDir = dirname( dirname( dirname( __FILE__ ) ) ) . '/skins';
+ $skinDir = dirname( dirname( __DIR__ ) ) . '/skins';
// All these files will be concatenated in sequence and loaded
// as one file.
</div>
<div class="portal"><div class="body">
<?php
- echo $this->parent->parse( wfMsgNoTrans( 'config-sidebar' ), true );
+ echo $this->parent->parse( wfMessage( 'config-sidebar' )->plain(), true );
?>
</div></div>
</div>
public function outputTitle() {
global $wgVersion;
- echo htmlspecialchars( wfMsg( 'config-title', $wgVersion ) );
+ echo wfMessage( 'config-title', $wgVersion )->escaped();
}
public function getJQuery() {