dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
e8b571f
)
Merge "Add wfSuppressWarnings(); to CologneBlue."
author
Reedy
<reedy@wikimedia.org>
Sun, 21 Oct 2012 15:51:34 +0000
(15:51 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Sun, 21 Oct 2012 15:51:34 +0000
(15:51 +0000)
skins/CologneBlue.php
patch
|
blob
|
history
diff --git
a/skins/CologneBlue.php
b/skins/CologneBlue.php
index
22ec0f9
..
edf8695
100644
(file)
--- a/
skins/CologneBlue.php
+++ b/
skins/CologneBlue.php
@@
-55,6
+55,8
@@
class SkinCologneBlue extends SkinTemplate {
class CologneBlueTemplate extends BaseTemplate {
function execute() {
+ // Suppress warnings to prevent notices about missing indexes in $this->data
+ wfSuppressWarnings();
$this->html( 'headelement' );
echo $this->beforeContent();
$this->html( 'bodytext' );
@@
-63,6
+65,7
@@
class CologneBlueTemplate extends BaseTemplate {
$this->html( 'dataAfterContent' );
$this->printTrail();
echo "\n</body></html>";
+ wfRestoreWarnings();
}
/**