Open MER-C opened 6 years ago
I was wondering if anyone else got a use case for having the two upload methods support warnings. Turning ignorewarnings
into a method parameter and letting the methods return a list of warnings if it's not enabled.
https://www.mediawiki.org/wiki/API:Upload#Upload_warnings
This would be very useful for Pattypan as it could serve as a neat solution to detect duplicates and raise other potential issues.
I did the obvious thing with fd9b2dd5.
I'm afraid https://github.com/MER-C/wiki-java/commit/fd9b2dd51623220a197f5829c05bb4ada4757e72 won't solve it on our end as we want to detect duplicates prior to or during the upload. We can solve it by just sending the hash to the WM-API but I imagine more upload tools could benefit for a way to get upload warnings.
Pull requests are welcome on some of these, please ask for my thoughts first.
MediaWiki annoyances and wishlist
a.k.a. why can't I do X?
Missing features
LogEntry(c3380f4), deleted revisions and old and deleted imagesVectorization
General FIXMEs
Deprecated API removal
WMF specific
Utilities
Tools
categoriesand lists of users. The tool should support new pages only (for spam sockfarms).split long surveys into multiple text files, 2000 articles per file, andserve them ZIPped.Non-problems and implementation notes