Jump to content

Manual:$wgStyleVersion

From mediawiki.org
Site customization: $wgStyleVersion
Appended in the query string of static CSS and JS to clear client side cache when changing this.
Introduced in version:1.9.0 (r16992)
Deprecated in version:1.31.0 (Gerrit change 393354; git #e00925d7)
Removed in version:1.32.0 (Gerrit change 434811; git #eb0f44d4)
Allowed values:(string)
Default value:(not fix)

Details

Bump this number when changing the global style sheets and JavaScript.

It should be appended in the query string of static CSS and JS includes, to ensure that client-side caches don't keep obsolete copies of global styles.

You don't need to change this. In addition the default values are not documented, as the actual value of this setting has no significance (except to note that it will be different, and higher, in each version of MediaWiki).