$out = "<div class='namespaceselector'><form method='get' action='{$wgScript}'>";
$out .= '<input type="hidden" name="title" value="'.$t->getPrefixedText().'" />';
- $out .= wfMsg ( 'allpagesformtext', $frombox, $namespaceselect, $submitbutton );
+ $out .= wfMsg ( 'allpagesformtext1', $frombox ) . '<br />';
+ $out .= wfMsg ( 'allpagesformtext2', $namespaceselect, $submitbutton );
$out .= '</form></div>';
return $out;
}
$sk->makeKnownLink( $wgLang->specialPage( "Allpages" ),
wfMsg ( 'allpages' ) );
if ( ($n == $indexMaxperpage) && ($s = $dbr->fetchObject( $res )) ) {
+ $namespaceparam = $namespace ? "&namespace=$namespace" : "";
$out2 .= " | " . $sk->makeKnownLink(
$wgLang->specialPage( "Allpages" ),
wfMsg ( 'nextpage', $s->cur_title ),
- "from=" . wfUrlEncode ( $s->cur_title ) );
+ "from=" . wfUrlEncode ( $s->cur_title ) . $namespaceparam );
}
$out2 .= "</td></tr></table><hr />";
# Special:Allpages
'nextpage' => 'Next page ($1)',
'articlenamespace' => '(articles)',
-'allpagesformtext' => 'Display pages starting at: $1 Choose namespace: $2 $3',
+'allpagesformtext1' => 'Display pages starting at: $1',
+'allpagesformtext2' => 'Choose namespace: $2 $3',
'allarticles' => 'All articles',
'allpagesprev' => 'Previous',
'allpagesnext' => 'Next',