From 5cfbe978e1b6fad80e1d6bb9627e25cd9568f70e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Laxstr=C3=B6m?= Date: Fri, 21 Nov 2014 09:02:00 +0100 Subject: [PATCH] Fix PHP Notice in Special:Version Follow-up to broken revert Ic724f6fe1b1c Change-Id: I61d19394997cc3499fa084d1b3dc8a7706a499d1 --- SyntaxHighlight_GeSHi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SyntaxHighlight_GeSHi.php b/SyntaxHighlight_GeSHi.php index 7b0ef4ba..32e22355 100644 --- a/SyntaxHighlight_GeSHi.php +++ b/SyntaxHighlight_GeSHi.php @@ -42,7 +42,7 @@ if ( version_compare( $wgVersion, '1.24', '<' ) ) { include_once __DIR__ . '/SyntaxHighlight_GeSHi.langs.php'; -$wgExtensionCredits['parserhook'][] = array( +$wgExtensionCredits['parserhook']['SyntaxHighlight_GeSHi'] = array( 'path' => __FILE__, 'name' => 'SyntaxHighlight', 'author' => array( 'Brion Vibber', 'Tim Starling', 'Rob Church', 'Niklas Laxström' ),