diff options
Diffstat (limited to 'includes/SpecialPrefixindex.php')
-rw-r--r-- | includes/SpecialPrefixindex.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/includes/SpecialPrefixindex.php b/includes/SpecialPrefixindex.php index ce296b4b..b7c51d49 100644 --- a/includes/SpecialPrefixindex.php +++ b/includes/SpecialPrefixindex.php @@ -1,11 +1,8 @@ <?php /** - * @package MediaWiki - * @subpackage SpecialPage + * @addtogroup SpecialPage */ -require_once 'SpecialAllpages.php'; - /** * Entry point : initialise variables and call subfunctions. * @param $par String: becomes "FOO" when called like Special:Prefixindex/FOO (default NULL) @@ -44,6 +41,10 @@ function wfSpecialPrefixIndex( $par=NULL, $specialPage ) { } } +/** + * implements Special:Prefixindex + * @addtogroup SpecialPage + */ class SpecialPrefixindex extends SpecialAllpages { var $maxPerPage=960; var $topLevelMax=50; @@ -71,11 +72,11 @@ function showChunk( $namespace = NS_MAIN, $prefix, $including = false, $from = n $out = wfMsgWikiHtml( 'allpagesbadtitle' ); } else { list( $namespace, $prefixKey, $prefix ) = $prefixList; - list( $fromNs, $fromKey, $from ) = $fromList; + list( /* $fromNs */, $fromKey, $from ) = $fromList; ### FIXME: should complain if $fromNs != $namespace - $dbr =& wfGetDB( DB_SLAVE ); + $dbr = wfGetDB( DB_SLAVE ); $res = $dbr->select( 'page', array( 'page_namespace', 'page_title', 'page_is_redirect' ), |