r80084 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80083‎ | r80084 | r80085 >
Date:10:38, 12 January 2011
Author:ialex
Status:deferred
Tags:
Comment:
Removed pass-by-ref from signature, causing E_STRICT when called from TasksHooks::onEditPageShowEditFormInitial()
Modified paths:
  • /trunk/extensions/Tasks/Tasks.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Tasks/Tasks.hooks.php
@@ -14,7 +14,7 @@
1515 * Display header on 'Task:' pages
1616 * @param Article $article
1717 */
18 - public static function onArticleViewHeader( &$article ) { # Checked for HTML and MySQL insertion attacks
 18+ public static function onArticleViewHeader( $article ) { # Checked for HTML and MySQL insertion attacks
1919 global $wgTasksNamespace, $wgOut, $wgUser;
2020
2121 $title = $article->getTitle();

Status & tagging log