Umherirrender has uploaded a new change for review.
https://gerrit.wikimedia.org/r/269769
Change subject: Fix case of Html class
......................................................................
Fix case of Html class
Gives fatal when using $wgAutoloadAttemptLowercase = false
Change-Id: I779b8ab55eaa53326d24af34b22af9f458e83302
---
M TemplateInfo.classes.php
1 file changed, 6 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TemplateInfo
refs/changes/69/269769/1
diff --git a/TemplateInfo.classes.php b/TemplateInfo.classes.php
index 7ec4ca3..06be06f 100644
--- a/TemplateInfo.classes.php
+++ b/TemplateInfo.classes.php
@@ -50,18 +50,18 @@
if (is_null($value)) {
$content = $data_type;
} else {
- $content = "$data_type: " . HTML::element('span',
array('class' => 'rowValue'), $value);
+ $content = "$data_type: " . Html::element('span',
array('class' => 'rowValue'), $value);
}
- $cell = HTML::rawElement('td', array('colspan' => 2, 'class' =>
$css_class), $content);
- $text = HTML::rawElement('tr', null, $cell);
+ $cell = Html::rawElement('td', array('colspan' => 2, 'class' =>
$css_class), $content);
+ $text = Html::rawElement('tr', null, $cell);
$text .= "\n";
return $text;
}
static function tableMessageRowHTML($css_class, $name, $value) {
- $cell1 = HTML::element('td', array('class' => $css_class),
$name);
- $cell2 = HTML::element('td', array('class' => 'msg'), $value);
- $text = HTML::rawElement('tr', null, $cell1 . "\n" . $cell2);
+ $cell1 = Html::element('td', array('class' => $css_class),
$name);
+ $cell2 = Html::element('td', array('class' => 'msg'), $value);
+ $text = Html::rawElement('tr', null, $cell1 . "\n" . $cell2);
$text .= "\n";
return $text;
}
--
To view, visit https://gerrit.wikimedia.org/r/269769
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I779b8ab55eaa53326d24af34b22af9f458e83302
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TemplateInfo
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits