page with the Special:Page/0 syntax.
indexShowChunk( $namespace, $par, $invert );
indexShowChunk( $namespace, $par, $invert );
+ } elseif ( isset($from) ) {
indexShowChunk( $namespace, $from, $invert );
} else {
indexShowToplevel ( $namespace, $invert );
indexShowChunk( $namespace, $from, $invert );
} else {
indexShowToplevel ( $namespace, $invert );
$bits = split( "/", $title->getDBkey(), 2 );
$name = $bits[0];
$bits = split( "/", $title->getDBkey(), 2 );
$name = $bits[0];
- if( empty( $bits[1] ) ) {
+ if( !isset( $bits[1] ) ) { // bug 2087
$par = NULL;
} else {
$par = $bits[1];
$par = NULL;
} else {
$par = $bits[1];