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

duplicate...@googlemail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |duplicate...@googlemail.com

--- Comment #4 from duplicate...@googlemail.com 2012-01-10 20:18:18 UTC ---
ImportReporter::reportPage has

if ( $title === null ) {
 # Invalid or non-importable title; a notice is already displayed
 return;
}

The api extends ImportReporter with ApiImportReporter, but does not respect a
null in $title in reportPage . The api is calling ApiQueryBase::addTitleInfo
and that gives the reported fatal error.

When $title is null you have to set a info in the api result (something like
invalid="" and the original title) and than returning.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to