Can't call escaped() on a string.
authorAlexia E. Smith <washuu@gmail.com>
Mon, 10 Dec 2018 19:32:12 +0000 (13:32 -0600)
committerAlexia E. Smith <washuu@gmail.com>
Mon, 10 Dec 2018 19:32:12 +0000 (13:32 -0600)
Bug: T211442
Change-Id: Ica5b9cf380a646d9520d5307a937d1e51b7b0099

includes/MovePage.php

index ffe4fab..7d27a27 100644 (file)
@@ -433,7 +433,7 @@ class MovePage {
        private function moveFile( $oldTitle, $newTitle ) {
                $status = Status::newFatal(
                        'cannotdelete',
-                       $oldTitle->getPrefixedText()->escaped()
+                       $oldTitle->getPrefixedText()
                );
 
                $file = wfLocalFile( $oldTitle );