jenkins-bot has submitted this change and it was merged.

Change subject: Swap Title::newFromUrl for Title::newFromText
......................................................................


Swap Title::newFromUrl for Title::newFromText

Change-Id: I426bee611e5fc865377c97c085ebe7ecf9e061c9
---
M maintenance/importTextFile.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Aaron Schulz: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/maintenance/importTextFile.php b/maintenance/importTextFile.php
index e081c20..dadc84a 100644
--- a/maintenance/importTextFile.php
+++ b/maintenance/importTextFile.php
@@ -36,7 +36,7 @@
        if ( is_file( $filename ) ) {
 
                $title = isset( $options['title'] ) ? $options['title'] : 
titleFromFilename( $filename );
-               $title = Title::newFromURL( $title );
+               $title = Title::newFromText( $title );
 
                if ( is_object( $title ) ) {
 

-- 
To view, visit https://gerrit.wikimedia.org/r/97455
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I426bee611e5fc865377c97c085ebe7ecf9e061c9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Parent5446 <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to