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

       Web browser: ---
             Bug #: 33982
           Summary: SemanticFormsInputs fatal bug on regex validation
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: SemanticFormsInputs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Using r110078 of SemanticFormsInputs and fields that use regex validation throw
a fatal error:

PHP Notice:  Undefined variable: wgOut in
/srv/www/mediawiki/public_html/w/extensions/SemanticFormsInputs-trunk/SFI_Inputs.php
on line 178

Modifying line 85 and adding the $wgOut to globals fixes it.

global $wgRequest, $wgUser, $wgParser, $wgOut;

While this does allow the form to render, the form inputs that are using regex
validation still fail to render.

You can see this error at

http://wikinosh.com/w/index.php?title=Apple&action=formedit

Note the "<" symbols in the table.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to