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





--- Comment #11 from Sebastian Hellmann <[email protected]>  2009-07-07 
16:06:22 UTC ---
yes. I was not sure what to put there.
127.0.0.1 was a reasonable choice, because I was sure MediaWiki can handle it.
Other options I considered was user 'deleted' or maybe leave it blank (where
again I wasn't sure if mediawiki or the mysql-db would choke on it).

I can change it again, but I'm not sure what would be the best.

if (contrib == null){
        throw new IllegalArgumentException("Invalid contributor");
}

This code says that contributor should not be null.

So if it is set to null, I'm quite sure the program will break at another
point, throwing a NullPointer Exception.

Basically, it is a hack, but still better than not being able to import
WikipediaDumps at all.
(And sorry for not answering for such a long time, I was on holiday for a
month.)


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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