Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Factbox.php |
— | — | @@ -149,7 +149,7 @@ |
150 | 150 | * This hook is used for inserting the Factbox text after the article contents (including |
151 | 151 | * categories). |
152 | 152 | */ |
153 | | - static public function onSkinAfterContent( &$data, $skin ) { |
| 153 | + static public function onSkinAfterContent( &$data, $skin = null ) { |
154 | 154 | global $wgOut; |
155 | 155 | if ( isset( $wgOut->mSMWFactboxText ) ) { |
156 | 156 | $data .= $wgOut->mSMWFactboxText; |