Extension:TransformChanges

I've found the format of the recent changes and watchlists to be difficult to read and generally unpleasent looking, so I've made a quick extension to reformat them from a bullet list into a table. It also adds CSS classes to the table, rows and columns for easy customisation of styles.

Installation
Save the code from OrganicDesign:Extension:TransformChanges.php into a file and include in your LocalSettings.php file as usual.

Work only with the english version! Change if if($title != 'Recentchanges' && $title != 'Watchlist') return true; to if ($title != 'Letzte_Ã„nderungen' && $title != 'Beobachtungsliste') return true; for work with the german version.

CSS Styles
To make it render properly some CSS styles should be added to your stylesheet, for example here's the styles that we've added on the Organic Design recent changes. table.changes           { border:none; width:100%; } table.changes tr        { margin:0; padding:0; } table.changes tr.bg0    { background:white; } table.changes tr.bg1    { background:#eee; } table.changes td        { margin:0; padding: 1px 4px 0 4px; vertical-align: top; } table.changes td.heading { font-size: 110%; font-weight:bold; padding-top:10px; } table.changes td.comment { width:100%; }

table.changes td.talk, table.changes td.diff   { font-size: 90%; }

table.changes td.user, table.changes td.talk, table.changes td.diff, table.changes td.info   { white-space: nowrap; }