Merge "Fix variable in ApiQueryProtectedTitles"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 23 May 2019 18:40:21 +0000 (18:40 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 23 May 2019 18:40:21 +0000 (18:40 +0000)
includes/api/ApiQueryProtectedTitles.php

index f526685..8edf00c 100644 (file)
@@ -135,7 +135,7 @@ class ApiQueryProtectedTitles extends ApiQueryGeneratorBase {
 
                                if ( isset( $prop['parsedcomment'] ) ) {
                                        $vals['parsedcomment'] = Linker::formatComment(
-                                               $commentStore->getComment( 'pt_reason', $row )->text, $titles
+                                               $commentStore->getComment( 'pt_reason', $row )->text
                                        );
                                }