Index: trunk/phase3/includes/specials/SpecialPrefixindex.php |
— | — | @@ -44,7 +44,7 @@ |
45 | 45 | $this->outputHeader(); |
46 | 46 | |
47 | 47 | # GET values |
48 | | - $from = $wgRequest->getVal( 'from' ); |
| 48 | + $from = $wgRequest->getVal( 'from', '' ); |
49 | 49 | $prefix = $wgRequest->getVal( 'prefix', '' ); |
50 | 50 | $namespace = $wgRequest->getInt( 'namespace' ); |
51 | 51 | $namespaces = $wgContLang->getNamespaces(); |
— | — | @@ -56,9 +56,9 @@ |
57 | 57 | |
58 | 58 | if( isset( $par ) ){ |
59 | 59 | $this->showPrefixChunk( $namespace, $par, $from ); |
60 | | - } elseif( isset( $prefix ) ){ |
| 60 | + } elseif( $prefix ){ |
61 | 61 | $this->showPrefixChunk( $namespace, $prefix, $from ); |
62 | | - } elseif( isset( $from ) ){ |
| 62 | + } elseif( $from ){ |
63 | 63 | $this->showPrefixChunk( $namespace, $from, $from ); |
64 | 64 | } else { |
65 | 65 | $wgOut->addHTML( $this->namespacePrefixForm( $namespace, null ) ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -362,6 +362,8 @@ |
363 | 363 | available via the API |
364 | 364 | * (bug 23934) Groups defined in $wgRevokePermissions but not in |
365 | 365 | $wgGroupPermissions now appear on Special:ListGroupRights |
| 366 | +* (bug 23923) Special:Prefixindex no longer shows results if nothing was |
| 367 | + requested. |
366 | 368 | |
367 | 369 | === API changes in 1.17 === |
368 | 370 | * (bug 22738) Allow filtering by action type on query=logevent. |