From: addshore Date: Tue, 22 Mar 2016 12:26:59 +0000 (+0000) Subject: Explicitly mark SkinTemplate properties as public X-Git-Tag: 1.31.0-rc.0~7485^2 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=4f616c3040acc4ccd8ae4b28b698784cc1dee100;p=lhc%2Fweb%2Fwiklou.git Explicitly mark SkinTemplate properties as public As these are not actually defined in the class but are used they are effectively public. There are extensions that use at least 1 of these. The correct way forward is to now explicitly add them as public and then deprecate and remove in the future when needed. Change-Id: I287579135e29f70437f7e0777fe3dfe524af402e --- diff --git a/includes/skins/SkinTemplate.php b/includes/skins/SkinTemplate.php index 419c4b4653..5777076cc2 100644 --- a/includes/skins/SkinTemplate.php +++ b/includes/skins/SkinTemplate.php @@ -45,6 +45,14 @@ class SkinTemplate extends Skin { */ public $template = 'QuickTemplate'; + public $thispage; + public $titletxt; + public $userpage; + public $thisquery; + public $loggedin; + public $username; + public $userpageUrlDetails; + /** * Add specific styles for this skin *