available via the API
* (bug 23934) Groups defined in $wgRevokePermissions but not in
$wgGroupPermissions now appear on Special:ListGroupRights
+* (bug 23923) Special:Prefixindex no longer shows results if nothing was
+ requested.
=== API changes in 1.17 ===
* (bug 22738) Allow filtering by action type on query=logevent.
$this->outputHeader();
# GET values
- $from = $wgRequest->getVal( 'from' );
+ $from = $wgRequest->getVal( 'from', '' );
$prefix = $wgRequest->getVal( 'prefix', '' );
$namespace = $wgRequest->getInt( 'namespace' );
$namespaces = $wgContLang->getNamespaces();
if( isset( $par ) ){
$this->showPrefixChunk( $namespace, $par, $from );
- } elseif( isset( $prefix ) ){
+ } elseif( $prefix ){
$this->showPrefixChunk( $namespace, $prefix, $from );
- } elseif( isset( $from ) ){
+ } elseif( $from ){
$this->showPrefixChunk( $namespace, $from, $from );
} else {
$wgOut->addHTML( $this->namespacePrefixForm( $namespace, null ) );