# GET values
$from = $wgRequest->getVal( 'from' );
$namespace = $wgRequest->getInt( 'namespace' );
-
+
$namespaces = $wgContLang->getNamespaces();
$indexPage = new SpecialPrefixIndex();
wfMsg( 'allarticles' )
);
-
+
if ( isset($par) ) {
$indexPage->showChunk( $namespace, $par, $specialPage->including() );
} elseif ( isset($from) ) {
var $maxPerPage=960;
var $topLevelMax=50;
var $name='Prefixindex';
+ # Determines, which message describes the input field 'nsfrom', used in function namespaceForm (see superclass SpecialAllpages)
+ var $nsfromMsg='allpagesprefix';
/**
* @param integer $namespace (Default NS_MAIN)
global $wgOut, $wgUser, $wgContLang;
$fname = 'indexShowChunk';
-
+
$sk = $wgUser->getSkin();
$fromTitle = Title::newFromURL( $from );
}
$fromKey = is_null( $fromTitle ) ? '' : $fromTitle->getDBkey();
-
+
$dbr =& wfGetDB( DB_SLAVE );
$res = $dbr->select( 'page',
$n = 0;
$out = '<table style="background: inherit;" border="0" width="100%">';
-
+
$namespaces = $wgContLang->getFormattedNamespaces();
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 {
$out .= '</tr>';
}
$out .= '</table>';
-
+
if ( $including ) {
$out2 = '';
} else {