--- Comment #5 from Dmitriy <> 2010-10-25 05:26:47 UTC ---
Roan, after a brief observation, the first bug seems to be very simple:


    function reportPage( $title, $origTitle, $revisionCount, $successCount ) {
        global $wgOut, $wgUser, $wgLang, $wgContLang;

        $args = func_get_args();
        call_user_func_array( $this->mOriginalPageOutCallback, $args );

There is a call_user_func_array with $args, where $args is a four reportPage
arguments, while the callback has been modified to include 5th parameter:


     * Mostly for hook use
    public function finishImportPage( $title, $origTitle, $revCount,
$sRevCount, $pageInfo ) {
        $args = func_get_args();
        return wfRunHooks( 'AfterImportPage', $args );

which expects five parameters. Thus, the warning is produced. Either, the 5th
parameter should be added to SpecialImport's reportPage; or the default value
for finishImportPage should be provided.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to