Last modified: 2014-02-12 23:35:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45683, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43683 - Add editnotices to prop=info
Add editnotices to prop=info
Status: NEW
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.21.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-06 17:21 UTC by db [inactive,noenotif]
Modified: 2014-02-12 23:35 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description db [inactive,noenotif] 2013-01-06 17:21:18 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.
Comment 1 Brad Jorsch 2013-01-24 19:01:00 UTC
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.
Comment 2 Gerrit Notification Bot 2013-07-21 12:01:39 UTC
Change 74963 had a related patch set uploaded by Umherirrender:
Api: Add editnotices to prop=info

https://gerrit.wikimedia.org/r/74963
Comment 3 Gerrit Notification Bot 2013-09-04 19:31:31 UTC
Change 74963 abandoned by Umherirrender:
Api: Add editnotices to prop=info

https://gerrit.wikimedia.org/r/74963

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links