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

           Summary: UploadWizard assumes presence of jquery.suggestions
                    plugin
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: UploadWizard
        AssignedTo: ne...@wikimedia.org
        ReportedBy: roan.katt...@gmail.com
                CC: gpaum...@wikimedia.org


...but there are cases when this plugin isn't present, e.g. when the Vector
extension is not enabled, or when a skin other than Vector is used (although in
the latter case you have worse things to worry about, see bug 25796). In those
cases, a JS error is thrown and whatever the suggestions plugin is used for
doesn't work. Haven't noticed any other bad effects.

If you want/need to, you can detect the presence of the suggestions plugin with
if ( 'suggestions' in $j.fn )

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to