r87557 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87556‎ | r87557 | r87558 >
Date:18:17, 6 May 2011
Author:ialex
Status:ok (Comments)
Tags:
Comment:
Removed LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText hooks. They are deprecated since 1.6 or so.
Modified paths:
  • /trunk/phase3/docs/hooks.txt (modified) (history)
  • /trunk/phase3/includes/Setup.php (modified) (history)

Diff [purge]

Index: trunk/phase3/docs/hooks.txt
@@ -1128,22 +1128,6 @@
11291129 &$revert: string that is displayed in the UI, similar to $comment.
11301130 $time: timestamp of the log entry (added in 1.12)
11311131
1132 -'LogPageValidTypes': action being logged.
1133 -DEPRECATED: Use $wgLogTypes
1134 -&$type: array of strings
1135 -
1136 -'LogPageLogName': name of the logging page(s).
1137 -DEPRECATED: Use $wgLogNames
1138 -&$typeText: array of strings
1139 -
1140 -'LogPageLogHeader': strings used by wfMsg as a header.
1141 -DEPRECATED: Use $wgLogHeaders
1142 -&$headerText: array of strings
1143 -
1144 -'LogPageActionText': strings used by wfMsg as a header.
1145 -DEPRECATED: Use $wgLogActions
1146 -&$actionText: array of strings
1147 -
11481132 'MagicWordMagicWords': When defining new magic word.
11491133 DEPRECATED: use $magicWords in a file listed in
11501134 $wgExtensionMessagesFiles instead.
Index: trunk/phase3/includes/Setup.php
@@ -456,12 +456,6 @@
457457 wfProfileOut( $profName );
458458 }
459459
460 -// For compatibility
461 -wfRunHooks( 'LogPageValidTypes', array( &$wgLogTypes ) );
462 -wfRunHooks( 'LogPageLogName', array( &$wgLogNames ) );
463 -wfRunHooks( 'LogPageLogHeader', array( &$wgLogHeaders ) );
464 -wfRunHooks( 'LogPageActionText', array( &$wgLogActions ) );
465 -
466460 wfDebug( "Fully initialised\n" );
467461 $wgFullyInitialised = true;
468462 wfProfileOut( $fname . '-extensions' );

Follow-up revisions

RevisionCommit summaryAuthorDate
r90225Per ^demon, added entry for r87557 (removal of LogPageValidTypes, LogPageLogN...ialex20:21, 16 June 2011

Comments

#Comment by 😂 (talk | contribs)   22:30, 14 June 2011

Release-notes please :)

Status & tagging log