revert r97203
authorAntoine Musso <hashar@users.mediawiki.org>
Fri, 16 Sep 2011 06:13:57 +0000 (06:13 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Fri, 16 Sep 2011 06:13:57 +0000 (06:13 +0000)
That code was not really meant to work :-D

RELEASE-NOTES-1.19
docs/hooks.txt
includes/ChangesList.php

index 6949073..6c87bc3 100644 (file)
@@ -61,9 +61,6 @@ production.
   to stop it from replace an already existing default sort, and suppress error.
 * (bug 18578) Rewrote revision delete related messages to allow better
   localisation
-* New hook RecentChangesListRecentChangesLine which let you customize an
-  entire recent changes line for user with 'Enhanced recent changes' option
-  It is equivalent to the existing hook OldChangesListRecentChangesLine
 
 === Bug fixes in 1.19 ===
 * $wgUploadNavigationUrl should be used for file redlinks if
index 48b1510..3955f41 100644 (file)
@@ -1303,19 +1303,10 @@ displayed
        in the message (bool)
 
 'OldChangesListRecentChangesLine': Customize entire Recent Changes line.
-you will also need to use the EnhancedChangesListRecentChangesLine to alter
-the output for user of enhanced recent changes.
 &$changeslist: The OldChangesList instance.
 &$s: HTML of the form "<li>...</li>" containing one RC entry.
 &$rc: The RecentChange object.
 
-'RecentChangesListRecentChangesLine': Customize entire Recent Changes line.
-you will also need to use the OldChangesListRecentChangesLine to alter
-the output for user of regular recent changes.
-&$changeslist: The EnhancedChangesList instance.
-&$s: HTML of the form "<li>...</li>" containing one RC entry.
-&$rc: The RecentChange object.
-
 'OpenSearchUrls': Called when constructing the OpenSearch description XML.
 Hooks can alter or append to the array of URLs for search & suggestion formats.
 &$urls: array of associative arrays with Url element attributes
index 1171c3d..fe40cd4 100644 (file)
@@ -741,8 +741,6 @@ class EnhancedChangesList extends ChangesList {
                        array_push( $this->rc_cache[$secureName], $rc );
                }
 
-               wfRunHooks( 'EnhancedChangesListRecentChangesLine', array(&$this, &$s, $rc) );
-
                wfProfileOut( __METHOD__ );
 
                return $ret;