IoannisKydonis has uploaded a new change for review.
https://gerrit.wikimedia.org/r/266048
Change subject: Remove deprecated HTML elements from SemanticForms
......................................................................
Remove deprecated HTML elements from SemanticForms
Remove <big> and <tt> tags.
Bug: T121911
Change-Id: I8864b8395df2373150b0472cc70eb363b87b3e6a
---
M includes/SF_Template.php
M specials/SF_CreateForm.php
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticForms
refs/changes/48/266048/1
diff --git a/includes/SF_Template.php b/includes/SF_Template.php
index b3393fe..66bcb63 100644
--- a/includes/SF_Template.php
+++ b/includes/SF_Template.php
@@ -169,7 +169,7 @@
// comparable CSS class.
$tableText = <<<END
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa;
background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left:
1em; padding: 0.2em; float: right; clear: right; text-align:left;"
-! style="text-align: center; background-color:#ccccff;" colspan="2"
|<big>{{PAGENAME}}</big>
+! style="text-align: center; background-color:#ccccff;" colspan="2" |<span
style='font-size: 120%;'>{{PAGENAME}}</span>
|-
END;
diff --git a/specials/SF_CreateForm.php b/specials/SF_CreateForm.php
index 2cadf50..e2db76c 100644
--- a/specials/SF_CreateForm.php
+++ b/specials/SF_CreateForm.php
@@ -424,7 +424,7 @@
foreach ( $param['values'] as $val ) {
$text .= '<span style="white-space: nowrap;
padding-right: 5px;"><input type="checkbox" name="p[' .
htmlspecialchars( $paramName ) . '][' .
htmlspecialchars( $val ). ']" value="true"' .
- ( in_array( $val, $cur_values ) ? '
checked' : '' ) . '/> <tt>' . htmlspecialchars( $val ) . "</tt></span>\n";
+ ( in_array( $val, $cur_values ) ? '
checked' : '' ) . '/> <kbd>' . htmlspecialchars( $val ) . "<kbd></span>\n";
}
return $text;
} elseif ( $type == 'boolean' ) {
--
To view, visit https://gerrit.wikimedia.org/r/266048
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8864b8395df2373150b0472cc70eb363b87b3e6a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticForms
Gerrit-Branch: master
Gerrit-Owner: IoannisKydonis <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits