http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97238
Revision: 97238 Author: hashar Date: 2011-09-16 06:13:57 +0000 (Fri, 16 Sep 2011) Log Message: ----------- revert r97203 That code was not really meant to work :-D Modified Paths: -------------- trunk/phase3/RELEASE-NOTES-1.19 trunk/phase3/docs/hooks.txt trunk/phase3/includes/ChangesList.php Modified: trunk/phase3/RELEASE-NOTES-1.19 =================================================================== --- trunk/phase3/RELEASE-NOTES-1.19 2011-09-16 06:13:21 UTC (rev 97237) +++ trunk/phase3/RELEASE-NOTES-1.19 2011-09-16 06:13:57 UTC (rev 97238) @@ -61,9 +61,6 @@ 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 Modified: trunk/phase3/docs/hooks.txt =================================================================== --- trunk/phase3/docs/hooks.txt 2011-09-16 06:13:21 UTC (rev 97237) +++ trunk/phase3/docs/hooks.txt 2011-09-16 06:13:57 UTC (rev 97238) @@ -1303,19 +1303,10 @@ 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 Modified: trunk/phase3/includes/ChangesList.php =================================================================== --- trunk/phase3/includes/ChangesList.php 2011-09-16 06:13:21 UTC (rev 97237) +++ trunk/phase3/includes/ChangesList.php 2011-09-16 06:13:57 UTC (rev 97238) @@ -741,8 +741,6 @@ array_push( $this->rc_cache[$secureName], $rc ); } - wfRunHooks( 'EnhancedChangesListRecentChangesLine', array(&$this, &$s, $rc) ); - wfProfileOut( __METHOD__ ); return $ret; _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs