From 4a38013f7093689f548497d1a6e784a8b937851e Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Fri, 16 Sep 2011 06:13:57 +0000 Subject: [PATCH] revert r97203 That code was not really meant to work :-D --- RELEASE-NOTES-1.19 | 3 --- docs/hooks.txt | 9 --------- includes/ChangesList.php | 2 -- 3 files changed, 14 deletions(-) diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index 6949073ed0..6c87bc3b05 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -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 diff --git a/docs/hooks.txt b/docs/hooks.txt index 48b1510acd..3955f413d7 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -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 "
  • ...
  • " 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 "
  • ...
  • " 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 diff --git a/includes/ChangesList.php b/includes/ChangesList.php index 1171c3d49d..fe40cd49d6 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -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; -- 2.20.1