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:
afc926f
)
Merge "(bug 40889) Fix XHTML in Special:Upload form labels"
author
IAlex
<ialex.wiki@gmail.com>
Sun, 14 Oct 2012 10:07:12 +0000
(10:07 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Sun, 14 Oct 2012 10:07:12 +0000
(10:07 +0000)
includes/specials/SpecialUpload.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialUpload.php
b/includes/specials/SpecialUpload.php
index
a061963
..
e3a4c3a
100644
(file)
--- a/
includes/specials/SpecialUpload.php
+++ b/
includes/specials/SpecialUpload.php
@@
-1107,7
+1107,7
@@
class UploadSourceField extends HTMLTextField {
* @return string
*/
function getLabelHtml( $cellAttributes = array() ) {
- $id =
"wpSourceType{$this->mParams['upload-type']}"
;
+ $id =
$this->mParams['id']
;
$label = Html::rawElement( 'label', array( 'for' => $id ), $this->mLabel );
if ( !empty( $this->mParams['radio'] ) ) {