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

            Bug ID: 67685
           Summary: hide-if boolean combiners no longer work
           Product: MediaWiki
           Version: 1.24-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: HTMLForm
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
       Web browser: ---
   Mobile Platform: ---

When a field has a data-hide-if such as
'["OR",["===","foo","bar"],["===","foo","baz"]]', the field is not properly
shown or hidden when element "foo" is updated.

git bisect turns up Gerrit change 133254 as the culprit, and reverting the
change that patch made to mediawiki.htmlform.js lines 50–69 fixes it.
Apparently jQuery does not do the "right" thing when $() is passed an array of
jQuery objects.

Timo, do you have a better solution than reverting those lines?

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to