Release status: stable |
|
|---|---|
| Implementation | Search |
| Description | Searches extra specified namespaces if no direct match is found. |
| Author(s) | Roland Unger, Hans Musil |
| Compatibility policy | Snapshots releases along with MediaWiki. Master is not backward compatible. |
| MediaWiki | >= 1.31.0 |
| License | GNU General Public License 2.0 or later |
| Download | Download extension Git [?]: |
|
Parameters
|
|
|
Hooks used
|
|
| Quarterly downloads | 11 (Ranked 159th) |
| Translate the SearchExtraNS extension if it is available at translatewiki.net | |
| Issues | Open tasks · Report a bug |
SearchExtraNS is an extension to improve search results.
Called after a search has no match for the exact result, but before any case variant is tested, it tries to find a direct match in extra specified namespaces, that is the namespace mentioned as prefix of the keyword. A side-effect is that the advanced search will no longer restrict results to the namespaces you select, but will always be extended to such namespace too.
Installation
- Download and place the file(s) in a directory called
SearchExtraNSin yourextensions/folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'SearchExtraNS' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
| This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.