You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Preview mode warnings in parse(). The blame lies with editors abusing wikimarkup to detect whether they are in preview mode to show warnings (fair enough) and MediaWiki not providing a definitive way to do this. See https://phabricator.wikimedia.org/T141970
Missing features
Tags
Deleted files
Revision deletion of LogEntry (c3380f4), deleted revisions and old and deleted images
getDeletedText: adding more titles gives all deleted revisions in those pages...
getDeletedHistory (do after reverse is culled)
getDeletedRevisions
getBlockList (users only). Add filters and support IPs properly.
Go wide in parse() to fetch the parsed text, original wikitext, wikilinks, categories, external links, sections and templates, all at the same time. This could be the base of a Page object (yes, I finally have meaningful data to put in there.)
Make text a field of Revision, getRevisions fetch text optionally and Revision.getText lazy loading of text (with a warning that it shouldn't be used in loops).
General FIXMEs
parse+diff: missingtitle is a generic error messages that represent real unrecoverable assertion errors in other methods.
Transition user watchlist into a generic mass contribution fetcher, particularly from categories and lists of users. The tool should support new pages only (for spam sockfarms).
ContributionSurveyor: split long surveys into multiple text files, 2000 articles per file, and serve them ZIPped.
AdminStats: protections.
AdminStats: writeup and plots.
Non-problems and implementation notes
Why is X (e.g. assertion modes, log types, namespaces) not implemented as an Enum? MediaWiki has a large library of extensions, each extension may add more possible values. Furthermore, the site owner may add other possible values (e.g. more namespaces). Wiki.java only covers MediaWiki as shipped with no extensions.
The text was updated successfully, but these errors were encountered:
MER-C
changed the title
Wiki.java TODO/whinge list and thoughts
Wiki.java FAQ/TODO/whinge list and thoughts
Mar 6, 2018
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.
I'm afraid fd9b2dd 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
The text was updated successfully, but these errors were encountered: