https://bugzilla.wikimedia.org/show_bug.cgi?id=51085

       Web browser: ---
            Bug ID: 51085
           Summary: Bot cannot create page in the Page: namespace
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: Unprioritized
         Component: ProofreadPage
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

ProofreadPage.body.php:parsePage() call
$title->prpIndexPage->getIndexDataForPage(); but getIndexDataForPage(); take a
Title as parameter so on:

[error] [client 127.0.0.1] PHP Catchable fatal error:  Argument 1 passed to
ProofreadIndexPage::getIndexDataForPage() must be an instance of Title, none
given, called in .../extensions/ProofreadPage/ProofreadPage.body.php on line
911 and defined in
.../extensions/ProofreadPage/includes/index/ProofreadIndexPage.php on line 381.
Passing $title to ProofreadIndexPage::getIndexDataForPage() fix the trouble on
my local wiki. This fragment of code is called only if the posted text doesn't
contains a <noinclude><pagequality ...</noinclude>, only bot does that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to