https://bugzilla.wikimedia.org/show_bug.cgi?id=26201

           Summary: ContactPage Extension: Bugfix Remeber Checkbox Value
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: [other]
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: cmita...@thomas-krenn.com


Hello,

I just tried out the ContactPage Extension and fixed one bug:

SpecialContact.php:
235c241
<                     Xml::checkLabel( wfMsg( 'emailccme' ), 'wpCCMe',
'wpCCMe', $wgUser->getBoolOption( 'ccmeonemails' ) ) .
---
>                                       Xml::checkLabel( wfMsg( 'emailccme' ), 
> 'wpCCMe', 'wpCCMe', $this->cc_me ) .

The problem is that if the form is filled out and a value es empty, the
checkbox value is not remembered when the form is showed a second time.

The Value "ccmeonemails" does only exist in this part of the code and nowhere
else, so the value can never have an value.

Please push the patch forward!

Thank you,
Christoph

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to