Last modified: 2010-05-15 15:37:31 UTC
By request from the admins on dawiki, the following patch has been made. For tracking purposes, the IP-adress or username of a vandal is added to the delete summary. In the current implementation, to find this, requires looking at the history page, copy the username/IP if it's unique, and add it to the summary. The attached patch automates this process, by adding the username to the delete summary, if the same user has performed all of the edits. This has the minor benefit of eliminating the secondary database lookup performed for showing the page history. Also, this patch has refactored the messages 'exconten' and 'exbeforeblank', so that the autogenerated summary is added through wfMsg(), instead of being tacked onto the end of the translated string.
Created attachment 522 [details] Patch against CVS HEAD Inlcudes patches for the 35 language files that defines 'excontent' and/or 'exbeforedelete'
Created attachment 523 [details] Replacement for the previous UTF-8 nonsense Same comments as for the previous patch, but hopefully this one isn't utf encoded twice.
Created attachment 524 [details] We try once more. Nasty change beween test and patch creation fixed
Created attachment 534 [details] Revised version after comments by brion Some problems pointed out in a review by brion is fixed.
Applied to CVS HEAD