From ed756da5121d8024b77891d1e7b6d3bb5fcb275a Mon Sep 17 00:00:00 2001 From: Reedy Date: Sun, 24 Nov 2013 22:13:39 +0000 Subject: [PATCH] Swap Title::newFromUrl for Title::newFromText Change-Id: I426bee611e5fc865377c97c085ebe7ecf9e061c9 --- maintenance/importTextFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/importTextFile.php b/maintenance/importTextFile.php index e081c20bc1..dadc84a4a9 100644 --- a/maintenance/importTextFile.php +++ b/maintenance/importTextFile.php @@ -36,7 +36,7 @@ if ( count( $args ) < 1 || isset( $options['help'] ) ) { if ( is_file( $filename ) ) { $title = isset( $options['title'] ) ? $options['title'] : titleFromFilename( $filename ); - $title = Title::newFromURL( $title ); + $title = Title::newFromText( $title ); if ( is_object( $title ) ) { -- 2.20.1