Knowledge Base Article

How to automatically go to editing a page if it is not found in search?

When a MediaWiki search does not produce any results, you can automatically redirect the visitor to create the new page related to the search word. 
 
To do this, you should add the following line to the LocalSettings.php file:

 

$wgGoToEdit = true;



Rating

Please indicate if this article was helpful for you.

rating :  5.0 from 5
views :  349
votes :  2

Haven't found what you are looking for? Suggest an article HERE.

powered by

Valid XHTML 1.0 Strict Valid CSS!