*/
class SpecialAllMessages extends SpecialPage {
/**
- * @var AllmessagesTablePager
+ * @var AllMessagesTablePager
*/
protected $table;
$this->outputHeader( 'allmessagestext' );
$out->addModuleStyles( 'mediawiki.special' );
- $out->addHelpLink( 'Help:System message' );
+ $this->addHelpLink( 'Help:System message' );
- $this->table = new AllmessagesTablePager(
+ $this->table = new AllMessagesTablePager(
$this,
array(),
wfGetLangObj( $request->getVal( 'lang', $par ) )
if ( $prefix !== null ) {
$this->displayPrefix = $prefix->getDBkey();
- $this->prefix = '/^' . preg_quote( $this->displayPrefix ) . '/i';
+ $this->prefix = '/^' . preg_quote( $this->displayPrefix, '/' ) . '/i';
} else {
$this->displayPrefix = false;
$this->prefix = false;
);
}
- return $title . ' '
- . $this->msg( 'parentheses' )->rawParams( $talk )->escaped()
- . ' '
- . $this->msg( 'parentheses' )->rawParams( $translation )->escaped();
+ return $title . ' ' .
+ $this->msg( 'parentheses' )->rawParams( $talk )->escaped() .
+ ' ' .
+ $this->msg( 'parentheses' )->rawParams( $translation )->escaped();
case 'am_default' :
case 'am_actual' :