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

       Web browser: ---
            Bug ID: 46857
           Summary: OutputPage: Inline module state for site/user module
                    stuck in "loading" if module is filtered out
           Product: MediaWiki
           Version: 1.21-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ResourceLoader
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

OutputPage::getScriptsForBottomQueue sets state=loading if $wgUseSiteJs = true,
and adds result of calling makeResourceLoaderLink() to the $scripts list.

However there is a case where makeResourceLoaderLink() will return an empty
string (instead of a script tag loading the scripts of the site module) -
namely the filter loop in makeResourceLoaderLink() rejects it, which is the
case on pages like SpcialJavaScriptTest, SpecialPreferences and others that
disallow modules from the user land.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to