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

           Summary: CSS and JavaScript changes should take effect
                    immediately
           Product: MediaWiki
           Version: 1.13.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Changes to system message articles MediaWiki:common.css and MediaWiki:common.js
(and all similar articles) should go "live" immediately for all users when the
article is saved. Right now, due to browser caching, changes aren't seen by
users potentially for hours or days.  Asking thousands of people to
hard-refresh their browsers isn't a good solution.

Could this be solved easily by appending the article revision ID to the style
tag, e.g., changing this:

 @import
"/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000"

to:

 @import
"/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000&revision=123456"

or some such trick, to tell the browser to reload the CSS or JS?


-- 
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 on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to