Last modified: 2010-05-15 15:37:31 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 T4151, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2151 - Changes to the autogenerated delete summary
Changes to the autogenerated delete summary
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Normal enhancement with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
  Show dependency treegraph
Reported: 2005-05-11 12:15 UTC by Anders Wegge Jakobsen
Modified: 2010-05-15 15:37 UTC (History)
0 users

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

Patch against CVS HEAD (31.07 KB, patch)
2005-05-11 12:16 UTC, Anders Wegge Jakobsen
Replacement for the previous UTF-8 nonsense (28.83 KB, patch)
2005-05-11 12:40 UTC, Anders Wegge Jakobsen
We try once more. (28.83 KB, patch)
2005-05-11 13:02 UTC, Anders Wegge Jakobsen
Revised version after comments by brion (28.98 KB, patch)
2005-05-13 18:32 UTC, Anders Wegge Jakobsen

Description Anders Wegge Jakobsen 2005-05-11 12:15:21 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.
Comment 1 Anders Wegge Jakobsen 2005-05-11 12:16:53 UTC
Created attachment 522 [details]
Patch against CVS HEAD

Inlcudes patches for the 35 language files that defines 'excontent' and/or
Comment 2 Anders Wegge Jakobsen 2005-05-11 12:40:53 UTC
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.
Comment 3 Anders Wegge Jakobsen 2005-05-11 13:02:56 UTC
Created attachment 524 [details]
We try once more. 

Nasty change beween test and patch creation fixed
Comment 4 Anders Wegge Jakobsen 2005-05-13 18:32:47 UTC
Created attachment 534 [details]
Revised version after comments by brion

Some problems pointed out in a review by brion is fixed.
Comment 5 Anders Wegge Jakobsen 2005-05-21 07:13:18 UTC
Applied to CVS HEAD

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