Mattflaschen added a comment.
It looks good. However, part of the task is to show which Flow API calls will be used.
One of the issues we'll have to deal with (I don't remember if we discussed this
before; if not, my bad) is format. Basically:
- Topic titles are always plaintext (no HTML or wiki markup allowed)
- Anything else can be in one of three formats, "html"
<https://www.mediawiki.org/w/api.php?action=flow&format=jsonfm&page=Talk%3AFlow&submodule=view-header&vhformat=html>
(standard Parsoid), "wikitext"
<https://www.mediawiki.org/w/api.php?action=flow&format=jsonfm&page=Talk%3AFlow&submodule=view-header&vhformat=wikitext>,
or "fixed-html"
<https://www.mediawiki.org/w/api.php?action=flow&format=jsonfm&page=Talk%3AFlow&submodule=view-header&vhformat=fixed-html>
(only for views)
Not sure how to represent that; maybe a Content object with wikitext and HTML, that sends
the correct type for POSTs, and (optionally) could convert behind the scene for GETs
(using flow-parsoid-utils).
I like the idea of using properties for uuid, get_replies, etc. (if a field doesn't
suffice)
Topic title should probably work the same as posts (with save() button). The API
difference can be behind the scenes.
TASK DETAIL
https://phabricator.wikimedia.org/T98819
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: happy5214, Mattflaschen
Cc: pywikipedia-bugs, Ladsgroup, Multichill, Ricordisamoa, Xqt, Mattflaschen, jayvdb,
Capt_Swing, NiharikaKohli, EBernhardson, rmoen, gerritbot, Legoktm, happy5214, Aklapper