dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
314b272
)
EditPage: Remove unused variable in getCheckboxesOOUI()
author
Bartosz Dziewoński
<matma.rex@gmail.com>
Thu, 31 Aug 2017 14:37:40 +0000
(16:37 +0200)
committer
Bartosz Dziewoński
<matma.rex@gmail.com>
Thu, 31 Aug 2017 14:37:40 +0000
(16:37 +0200)
This was unnecessarily copypasted from getCheckboxes().
The label's 'id' attribute is correctly being set below.
Change-Id: I1557461bfd16c22bb949e26d419e154f80c963d7
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
40913bb
..
664e9b8
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-4207,9
+4207,6
@@
class EditPage {
if ( isset( $options['title-message'] ) ) {
$title = $this->context->msg( $options['title-message'] )->text();
}
- if ( isset( $options['label-id'] ) ) {
- $labelAttribs['id'] = $options['label-id'];
- }
$checkboxes[ $legacyName ] = new OOUI\FieldLayout(
new OOUI\CheckboxInputWidget( [