| This extension stores its source code on a wiki page. Please be aware that this code may be unreviewed or maliciously altered. They may contain security holes, outdated interfaces that are no longer compatible etc.
request access to MediaWiki's code repository to address this.
Release status: stable
|Implementation||User interface, MyWiki|
|Description||Adds a user preference to go directly to creating a new page when the Go button is used and the target page doesn't exist|
|Last version||1.0.2 (2013-11-23)|
|License||No license specified|
|Download||See the page containing the code|
|Check usage and version matrix; code metrics|
The BypassSearch extension adds a user preference to go directly to creating a new page when the Go button is used and the target page doesn't exist.
When using the search box, the default behavior is to Go directly to an article if it exists, or if it doesn't, use the search engine to find the given term. This extension allows the user to specify (under the "Misc" tab of "my preferences") the he wants to go directly into creating a new page instead of activating the autosearch when the given article doesn't exist.
If, instead, you wish to force this behavior for everyone, you don't need to use this extension; rather, simply enable
Installation[edit | edit source]
- Copy the code into files and extract the files in a directory called
- Add the following code at the bottom of your LocalSettings.php:
- Done – Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.
Configuration[edit | edit source]
# If you would like the option enabled by default, set this to 1. $wgDefaultUserOptions['bypasssearch'] = 0;