Author: happy_melon
Description:
Improve system message handling on edit page
Patch to do a couple of things to the messages that can be displayed at the top of the edit window when editing, previewing, etc.
- Make the log extracts displayed underneath [[MediaWiki:Protectedpagewarning]], etc, parameters to the message itself, so that styles and structures can be easily applied to the whole object. I only made the necessary changes to the default messages to the english ones... is that bad? :S
- Construct the log extract for [[MediaWiki:Recreate-deleted-warn]] in the same way as for the other extracts (seems more elegant, previous version was very similar to LogEventsList::showLogExtract() anyway)
- Wrap at least most messages in an id'd div for ease of skinning. This seems a very common operation: worth a wrapper function in OutputPage.php?
This is my first serious patch, and more to the point I don't have a working version of MediaWiki that I can test changes on, so THIS NEEDS TESTING before making it live anywhere... god knows what I've broken this time :D
Version: unspecified
Severity: minor
attachment editpage messages.txt ignored as private