From 0cd07c7ce70ebd19886b21e7725286063a939758 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 6 May 2011 18:17:52 +0000 Subject: [PATCH] Removed LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText hooks. They are deprecated since 1.6 or so. --- docs/hooks.txt | 16 ---------------- includes/Setup.php | 6 ------ 2 files changed, 22 deletions(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index 66895d4e3a..d93bb6ad07 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1128,22 +1128,6 @@ $paramArray: Array of parameters that corresponds to logging.log_params field. &$revert: string that is displayed in the UI, similar to $comment. $time: timestamp of the log entry (added in 1.12) -'LogPageValidTypes': action being logged. -DEPRECATED: Use $wgLogTypes -&$type: array of strings - -'LogPageLogName': name of the logging page(s). -DEPRECATED: Use $wgLogNames -&$typeText: array of strings - -'LogPageLogHeader': strings used by wfMsg as a header. -DEPRECATED: Use $wgLogHeaders -&$headerText: array of strings - -'LogPageActionText': strings used by wfMsg as a header. -DEPRECATED: Use $wgLogActions -&$actionText: array of strings - 'MagicWordMagicWords': When defining new magic word. DEPRECATED: use $magicWords in a file listed in $wgExtensionMessagesFiles instead. diff --git a/includes/Setup.php b/includes/Setup.php index d750fbc8c9..4a11daecc5 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -456,12 +456,6 @@ foreach ( $wgExtensionFunctions as $func ) { wfProfileOut( $profName ); } -// For compatibility -wfRunHooks( 'LogPageValidTypes', array( &$wgLogTypes ) ); -wfRunHooks( 'LogPageLogName', array( &$wgLogNames ) ); -wfRunHooks( 'LogPageLogHeader', array( &$wgLogHeaders ) ); -wfRunHooks( 'LogPageActionText', array( &$wgLogActions ) ); - wfDebug( "Fully initialised\n" ); $wgFullyInitialised = true; wfProfileOut( $fname . '-extensions' ); -- 2.20.1