aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorDannyS712 <DannyS712.enwiki@gmail.com>2020-05-18 19:58:59 +0000
committerDannyS712 <DannyS712.enwiki@gmail.com>2020-05-19 00:31:46 +0000
commitb31cec3cecf4337ecbb29f2eb4ab4115bf64dc74 (patch)
treed7b77c9bf63f433151aa7cbb4b70649ff9971df1 /includes
parent02401af46e246058c1618e828d547bfe4e8b8b6b (diff)
downloadmediawikicore-b31cec3cecf4337ecbb29f2eb4ab4115bf64dc74.tar.gz
mediawikicore-b31cec3cecf4337ecbb29f2eb4ab4115bf64dc74.zip
Remove more IE6 and IE7 compatibility and notes
Neither is supported Bug: T232563 Change-Id: Ia7902f0b1df6148d819621dd5e57d2fe91a50973
Diffstat (limited to 'includes')
-rw-r--r--includes/gallery/TraditionalImageGallery.php5
-rw-r--r--includes/htmlform/HTMLForm.php3
-rw-r--r--includes/htmlform/fields/HTMLButtonField.php4
3 files changed, 1 insertions, 11 deletions
diff --git a/includes/gallery/TraditionalImageGallery.php b/includes/gallery/TraditionalImageGallery.php
index 6c3777531a85..27c5d2177664 100644
--- a/includes/gallery/TraditionalImageGallery.php
+++ b/includes/gallery/TraditionalImageGallery.php
@@ -54,10 +54,7 @@ class TraditionalImageGallery extends ImageGalleryBase {
if ( $this->mPerRow > 0 ) {
$maxwidth = $this->mPerRow * ( $this->mWidths + $this->getAllPadding() );
$oldStyle = $this->mAttribs['style'] ?? '';
- # _width is ignored by any sane browser. IE6 doesn't know max-width
- # so it uses _width instead
- $this->mAttribs['style'] = "max-width: {$maxwidth}px;_width: {$maxwidth}px;" .
- $oldStyle;
+ $this->mAttribs['style'] = "max-width: {$maxwidth}px;" . $oldStyle;
}
$attribs = Sanitizer::mergeAttributes(
diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php
index 5d567020dc7c..59509c3a651f 100644
--- a/includes/htmlform/HTMLForm.php
+++ b/includes/htmlform/HTMLForm.php
@@ -971,9 +971,6 @@ class HTMLForm extends ContextSource {
* @since 1.27 takes an array as shown. Earlier versions accepted
* 'name', 'value', 'id', and 'attribs' as separate parameters in that
* order.
- * @note Custom labels ('label', 'label-message', 'label-raw') are not
- * supported for IE6 and IE7 due to bugs in those browsers. If detected,
- * they will be served buttons using 'value' as the button label.
* @param array $data Data to define the button:
* - name: (string) Button name.
* - value: (string) Button value.
diff --git a/includes/htmlform/fields/HTMLButtonField.php b/includes/htmlform/fields/HTMLButtonField.php
index 259709258451..8e5f0cbfbc45 100644
--- a/includes/htmlform/fields/HTMLButtonField.php
+++ b/includes/htmlform/fields/HTMLButtonField.php
@@ -17,10 +17,6 @@
* client-side form validation. Used in HTMLFormFieldCloner for add/remove
* buttons.
*
- * Note that the buttonlabel parameters are not supported on IE6 and IE7 due to
- * bugs in those browsers. If detected, they will be served buttons using the
- * value of 'default' as the button label.
- *
* @since 1.22
*/
class HTMLButtonField extends HTMLFormField {