Enable archive search by default on Special:Undelete.
authorStanislav Malyshev <smalyshev@gmail.com>
Mon, 31 Jul 2017 18:11:29 +0000 (11:11 -0700)
committerStanislav Malyshev <smalyshev@gmail.com>
Mon, 31 Jul 2017 18:11:29 +0000 (11:11 -0700)
Bug: T163235
Change-Id: I7341719ec8858011965f91d873ce446efc05dcdf

includes/specials/SpecialUndelete.php

index e7478ee..28914f4 100644 (file)
@@ -235,7 +235,7 @@ class SpecialUndelete extends SpecialPage {
        function showSearchForm() {
                $out = $this->getOutput();
                $out->setPageTitle( $this->msg( 'undelete-search-title' ) );
-               $fuzzySearch = $this->getRequest()->getVal( 'fuzzy', false );
+               $fuzzySearch = $this->getRequest()->getVal( 'fuzzy', true );
 
                $out->enableOOUI();