Bug ID: 62046
           Summary: HTMLForm section name lookup keys are prefixed with
                    the form/action name
           Product: MediaWiki
           Version: 1.22.2
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Unprioritized
         Component: HTMLForm
       Web browser: ---
   Mobile Platform: ---

When using HTMLForm (via FormAction), the section name keys are prefixed with
the action/form name.
This on its own is fine, but no other keys are prefixed in this way.

        protected function getFormFields() {
                // Return the fields
                return array(
                        'fieldname' => array(
                                'type' => 'text',
                                'section' => 'sectionname',
                                'label-message' => 'labelname',
                                'default' => '1234',

This renders as -- <actionname-sectionname> --

As it stands, this means my i18n file needs to contain:
  "actionname-sectionname" => "Section name",
  "labelname" => "Label caption",

this change] sugests that it has been corrected at some point, or that it's

This was seen with 1.21.5 and 1.22.2.

Looking at [
this page]

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to