. htmlspecialchars ( $from ) . '"/>';
$submitbutton = '<input type="submit" value="' . wfMsgHtml( 'allpagessubmit' ) . '" />';
- $out = "<div class='namespaceselector'><form method='get' action='{$wgScript}'>";
+ $out = "<div class='namespaceoptions'><form method='get' action='{$wgScript}'>";
$out .= '<input type="hidden" name="title" value="'.$t->getPrefixedText().'" />';
$out .= "
<table id='nsselect' class='allpages'>
<td align='left'><label for='nsfrom'>$frombox</label></td>
</tr>
<tr>
- <td align='right'><label for='nsselectbox'>" . wfMsgHtml('namespace') . "</label></td>
+ <td align='right'><label for='namespace'>" . wfMsgHtml('namespace') . "</label></td>
<td align='left'>
$namespaceselect $submitbutton
</td>
$special = Title::makeTitle( NS_SPECIAL, 'Allpages/' . $inpoint );
$link = $special->escapeLocalUrl( $queryparams );
- $out = wfMsg(
+ $out = wfMsgHtml(
'alphaindexline',
"<a href=\"$link\">$inpointf</a></td><td><a href=\"$link\">",
"</a></td><td align=\"left\"><a href=\"$link\">$outpointf</a>"
while( ($n < $this->maxPerPage) && ($s = $dbr->fetchObject( $res )) ) {
$t = Title::makeTitle( $s->page_namespace, $s->page_title );
if( $t ) {
- $link = ($s->page_is_redirect ? '<div class="allpagesredirect">' : '' ) .
+ $link = ($s->page_is_redirect ? '<div class="allpagesredirect">' : '' ) .
$sk->makeKnownLinkObj( $t, htmlspecialchars( $t->getText() ), false, false ) .
($s->page_is_redirect ? '</div>' : '' );
} else {
$out2 .= '<tr valign="top"><td align="left">' . $nsForm;
$out2 .= '</td><td align="right" style="font-size: smaller; margin-bottom: 1em;">' .
$sk->makeKnownLink( $wgContLang->specialPage( "Allpages" ),
- wfMsg ( 'allpages' ) );
+ wfMsgHtml ( 'allpages' ) );
if ( ($n == $this->maxPerPage) && ($s = $dbr->fetchObject( $res )) ) {
$namespaceparam = $namespace ? "&namespace=$namespace" : "";
$out2 .= " | " . $sk->makeKnownLink(
$wgContLang->specialPage( "Allpages" ),
- wfMsg ( 'nextpage', $s->page_title ),
+ wfMsgHtml ( 'nextpage', $s->page_title ),
"from=" . wfUrlEncode ( $s->page_title ) . $namespaceparam );
}
$out2 .= "</td></tr></table><hr />";
global $wgLang, $wgOut, $wgUser, $wgAvailableRights;
$wgOut->setRobotpolicy( 'index,nofollow' );
- $sk = $wgUser->getSkin();
+ $sk = $wgUser->getSkin();
# Get listable pages, in a 2-d array with the first dimension being user right
$pages = SpecialPage::getPages();