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

           Summary: Add instance-specific JavaScript and CSS
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: General/Unknown
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: mediaw...@blazemonger.com


Motivation: If you maintain multiple MediaWiki instances, and you want them to
share SOME, but not ALL, of the content in MediaWiki:Common.js and
MediaWiki:Common.css, it is a royal pain.

Suggestion: For a given MediaWiki instance with $wgSitename = Foo, create these
two system messages automatically:

MediaWiki:Foo.js
MediaWiki:Foo.css

Just like common.js and common.css, these would be loaded automatically on each
page view, but ONLY for the given $wgSitename.

This would let you maintain the JS and CSS for a whole set of wikis in a single
place, and only the one matching $wgSitename would be used.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to