$this->showNavigation = !$this->including(); // Maybe changed in setup
$this->setup( $par );
+ $out->addHelpLink( 'Help:New pages' );
+
if ( !$this->including() ) {
// Settings
$this->form();
),
'nsinvert' => array(
'type' => 'check',
- 'name' => 'nsinvert',
+ 'name' => 'invert',
'label-message' => 'invert',
'default' => $nsinvert,
'tooltip' => $this->msg( 'tooltip-invert' )->text(),
$hist = Html::rawElement( 'span', array( 'class' => 'mw-newpages-history' ),
$this->msg( 'parentheses' )->rawParams( $histLink )->escaped() );
- $length = Html::element(
+ $length = Html::rawElement(
'span',
array( 'class' => 'mw-newpages-length' ),
- $this->msg( 'brackets' )->params( $this->msg( 'nbytes' )
- ->numParams( $result->length )->text()
- )
+ $this->msg( 'brackets' )->rawParams(
+ $this->msg( 'nbytes' )->numParams( $result->length )->escaped()
+ )->escaped()
);
$ulink = Linker::revUserTools( $rev );