Kghbln has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/342305 )

Change subject: Release version 2.0.3
......................................................................


Release version 2.0.3

* Fixed the fix from previous commit in 2.0.2

Change-Id: I79c8f8d8d92c59b919868c01a06055dc5666d27c
---
M CHANGELOG.md
M PCRGUIInserts.class.php
M PCRGUIInserts.php
3 files changed, 15 insertions(+), 6 deletions(-)

Approvals:
  Kghbln: Verified; Looks good to me, approved



diff --git a/CHANGELOG.md b/CHANGELOG.md
index af27f13..90fb64d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,13 +1,21 @@
 The CHANGELOG of the PCR GUI Inserts extension to MediaWiki.
 
+## Version 2.0.3
+
+Released on March 11, 2016 by Karsten Hoffmeyer
+
+* Fixed previous fix for PHP 7.1 and later
+
+
 ## Version 2.0.2
 
-Release on March 11, 2016 by Karsten Hoffmeyer.
+Released on March 11, 2016 by Karsten Hoffmeyer.
 
-* Migrated &$this to $this to avoid warings in PHP 7.1 and later
+* Migrated &$this to $this to avoid warnings in PHP 7.1 and later
 * Added translations from translatewiki.net translators
 * Added verbose README.md
 
+
 ## Version 2.0.1
 
 Released on February 16, 2016 by Karsten Hoffmeyer.
diff --git a/PCRGUIInserts.class.php b/PCRGUIInserts.class.php
index b747a18..8a5a331 100644
--- a/PCRGUIInserts.class.php
+++ b/PCRGUIInserts.class.php
@@ -14,9 +14,10 @@
        public function __construct()
        {
                global $wgHooks;
-               $wgHooks['BeforePageDisplay'][] = array( $this, 
'BeforePageDisplay' );
-               $wgHooks['SkinAfterBottomScripts'][] = array( $this, 
'SkinAfterBottomScripts' );
-               $wgHooks['SkinBuildSidebar'][] = array( $this, 
'SkinBuildSidebar' );
+               $that = $this;
+               $wgHooks['BeforePageDisplay'][] = array( &$that, 
'BeforePageDisplay' );
+               $wgHooks['SkinAfterBottomScripts'][] = array( &$that, 
'SkinAfterBottomScripts' );
+               $wgHooks['SkinBuildSidebar'][] = array( &$that, 
'SkinBuildSidebar' );
        }
 
        # addHeadItem places stuff within <head></head>
diff --git a/PCRGUIInserts.php b/PCRGUIInserts.php
index 2f48a13..356f9f1 100644
--- a/PCRGUIInserts.php
+++ b/PCRGUIInserts.php
@@ -27,7 +27,7 @@
 $wgExtensionCredits['other'][] = array(
        'path' => '__FILE__',
        'name' => 'PCR GUI Inserts',
-       'version' => '2.0.2',
+       'version' => '2.0.3',
        'author' => array(
                'David Dernoncourt',
                '...'

-- 
To view, visit https://gerrit.wikimedia.org/r/342305
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I79c8f8d8d92c59b919868c01a06055dc5666d27c
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/PCRGUIInserts
Gerrit-Branch: master
Gerrit-Owner: Kghbln <[email protected]>
Gerrit-Reviewer: Kghbln <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to