Summary: SF loads SMW Javascripts even if loaded already
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: SemanticForms

SF loads Javascripts and styles from the SMW extension without caring about
whether or not they are loaded by SMW. This can lead to multiple copies of a
script being loaded, which can cause errors.

This happens on the above URL: the result table at the top features two copies
of sort buttons. This is because of the form input further below which loads
the SMW script. This is additionally strange since the script is not needed for
SF at all. For best compatibility, SMW extensions should use the resource
loading mechanism in ./includes/SMW_Outputs.php which is now also compatible
with the new ResourceLoader. Even if ResourceLoader is not available yet, the
mechanism will avoid duplicates.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to