X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialListfiles.php;h=8de4e2f5e0580106c20bac913a524c9f41e88418;hb=6b758fc982972ee60856af0b766383f3aae97f65;hp=3ea56c66a4046851e18483ff765014f8127b2f04;hpb=230f2b456b0dd53cb9056edcf765aab49197906a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialListfiles.php b/includes/specials/SpecialListfiles.php index 3ea56c66a4..8de4e2f5e0 100644 --- a/includes/specials/SpecialListfiles.php +++ b/includes/specials/SpecialListfiles.php @@ -108,7 +108,7 @@ class ImageListPager extends TablePager { if ( $search !== '' && !$this->getConfig()->get( 'MiserMode' ) ) { $this->mSearch = $search; - $nt = Title::newFromURL( $this->mSearch ); + $nt = Title::newFromText( $this->mSearch ); if ( $nt ) { $dbr = wfGetDB( DB_SLAVE ); @@ -147,7 +147,7 @@ class ImageListPager extends TablePager { } if ( $this->mSearch !== '' ) { - $nt = Title::newFromURL( $this->mSearch ); + $nt = Title::newFromText( $this->mSearch ); if ( $nt ) { $dbr = wfGetDB( DB_SLAVE ); $conds[] = 'LOWER(' . $prefix . '_name)' .