Last modified: 2006-09-01 11:33:49 UTC
In the radiobox() function $this->mName and the dash should be removed from the
call to fieldset().
Here's the patch:
--- includes/HTMLForm.php (revision 16313)
+++ includes/HTMLForm.php (working copy)
@@ -71,7 +71,7 @@
( $checked ? ' checked="checked"' : '' ) . " />"
. wfMsg( $this->mName.'-'.$varname.'-'.$value ) .
- return $this->fieldset( $this->mName.'-'.$varname, $s );
+ return $this->fieldset( $varname, $s );
Created attachment 2289 [details]
Patch for HTMLForm.php
For what reason?
Look in fieldset() - it's prepending $this->mName twice. Once in this method
(radiobox()) when it calls fieldset() and once in the fieldset() method itself.
You end up with $this->mName . '-' . $this->mName . '-' . $varname, which
doesn't make sense.
Committed on r16320.