Extension:FlexiblePrefix

The FlexiblePrefix extension provides a more flexible version of Special:PrefixIndex that lets you omit namespaces and redirects if there is only one result.

Usage

 * searches across
 * searches in the given namespace
 * searches in the main namespace

Configuration parameters

 * $wgFlexiblePrefixNamespaces: Array of ids of the enabled namespaces.

Tips

 * The  hook lets you add details to results (details is an associative array mapping keys to HTML strings).
 * The  hook lets you modify the result list before display.
 * The  class can be integrated elsewhere (either by direct instantiation or inheritance).