Summary: Merge config <script> tag with load+go <script> tag
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Resource Loader
        AssignedTo: tpars...@wikimedia.org
        ReportedBy: roan.katt...@gmail.com
                CC: roan.katt...@gmail.com


I'm currently seeing this in my page source:

<script>mediaWiki.config.set(...);</script>
<script>if ( mediaWiki !== undefined ) { mediaWiki.loader.load( ... );
mediaWiki.loader.go(); }</script>

Seems kinda ridiculous to me. The config.set() call should be merged into the
bottom one and also be inside the if ( mediaWiki !== undefined ) block.

-- 
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