Reedy has uploaded a new change for review.
https://gerrit.wikimedia.org/r/97455
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/55/97455/1
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: newchange
Gerrit-Change-Id: I426bee611e5fc865377c97c085ebe7ecf9e061c9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits