Last modified: 2014-02-12 23:35:52 UTC
The new method Title::getEditNotices can be used to provide the editnotices on prop=info. can be look like: <editnotices> <editnotice msg="message-name">html</editnotice> </editnotices> Thanks.
I wonder whether it would be better for prop=info to return the names of the messages containing the notice instead of parsing them itself. The client could parse these using action=parse if it wants HTML. The main drawback to parsing them in prop=info is that parsing is expensive; prop=revisions, for example, will error out if asked to parse more than one revision, and if we'd add editnotices with parsed output to prop=info we'd have to do something similar there. On a side note, I still don't understand what happened with r48276. Per-page edit noticed were half removed, but the removal wasn't finished even after this was pointed out, and then they were added back 2.5 years later.
Change 74963 had a related patch set uploaded by Umherirrender: Api: Add editnotices to prop=info https://gerrit.wikimedia.org/r/74963
Change 74963 abandoned by Umherirrender: Api: Add editnotices to prop=info https://gerrit.wikimedia.org/r/74963