Last modified: 2006-05-30 22:17:35 UTC
For convenience in reverting vandalism, diff pages should have direct links to edit either of the displayed revisions. A JavaScript hack to accomplish this has been proposed on the English Wikipedia (http://en.wikipedia.org/wiki/MediaWiki_talk:Monobook.js#Request:_Edit_L.2FR_for_diffs), but it would in my opinion be preferable to implement this directly in DifferenceEngine.php. See also http://bugzilla.wikimedia.org/show_bug.cgi?id=1783 A patch follows.
Created attachment 1853 [details] Patch to add edit links to diff header The patch currently uses the "editsection" message for the text of the edit link. A quick grep of the Messages*.php files suggests that this message is appropriate in all languages, but it might nonetheless be preferable to introduce a new message for this purpose.
Created attachment 1854 [details] Alternative patch, using a new "editold" message instead of "editsection"
fixed in revision 14486.