r102622 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102621‎ | r102622 | r102623 >
Date:03:51, 10 November 2011
Author:aaron
Status:ok
Tags:
Comment:
Fixed function that was misnamed for a while: defineLogActionHanders -> defineLogActionHandlers
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/presentation/FlaggedRevsUI.setup.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/presentation/FlaggedRevsUI.setup.php
@@ -206,7 +206,7 @@
207207 * @param $logActionsHandlers Array $wgLogActionsHandlers (assoc array of log handlers)
208208 * @return void
209209 */
210 - public static function defineLogActionHanders( &$logActions, &$logActionsHandlers ) {
 210+ public static function defineLogActionHandlers( &$logActions, &$logActionsHandlers ) {
211211 # Various actions are used for log filtering ...
212212 $logActions['review/approve'] = 'review-logentry-app'; // checked (again)
213213 $logActions['review/approve2'] = 'review-logentry-app'; // quality (again)
Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -85,7 +85,7 @@
8686
8787 # Log name and description as well as action handlers
8888 FlaggedRevsUISetup::defineLogBasicDescription( $wgLogNames, $wgLogHeaders, $wgFilterLogTypes );
89 -FlaggedRevsUISetup::defineLogActionHanders( $wgLogActions, $wgLogActionsHandlers );
 89+FlaggedRevsUISetup::defineLogActionHandlers( $wgLogActions, $wgLogActionsHandlers );
9090
9191 # JS/CSS modules and message bundles used by JS scripts
9292 FlaggedRevsUISetup::defineResourceModules( $wgResourceModules );

Status & tagging log