diff options
Diffstat (limited to 'maintenance/importTextFile.php')
-rw-r--r-- | maintenance/importTextFile.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/maintenance/importTextFile.php b/maintenance/importTextFile.php index e081c20b..4a07f2c7 100644 --- a/maintenance/importTextFile.php +++ b/maintenance/importTextFile.php @@ -42,6 +42,7 @@ if ( count( $args ) < 1 || isset( $options['help'] ) ) { echo "\nUsing title '" . $title->getPrefixedText() . "'..."; if ( !$title->exists() || !isset( $options['nooverwrite'] ) ) { + RequestContext::getMain()->setTitle( $title ); $text = file_get_contents( $filename ); $user = isset( $options['user'] ) ? $options['user'] : 'Maintenance script'; |