r71599 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71598‎ | r71599 | r71600 >
Date:22:55, 24 August 2010
Author:yaron
Status:ok
Tags:
Comment:
Fix for r71542 - added backwards-compatibility with older versions of MediaWiki
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_Factbox.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Factbox.php
@@ -149,7 +149,7 @@
150150 * This hook is used for inserting the Factbox text after the article contents (including
151151 * categories).
152152 */
153 - static public function onSkinAfterContent( &$data, $skin ) {
 153+ static public function onSkinAfterContent( &$data, $skin = null ) {
154154 global $wgOut;
155155 if ( isset( $wgOut->mSMWFactboxText ) ) {
156156 $data .= $wgOut->mSMWFactboxText;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r71542Followup r71540 with update to SkinAfterContentreedy01:40, 24 August 2010

Status & tagging log