Jump to content

Handbuch:$wgStyleVersion

From mediawiki.org
This page is a translated version of the page Manual:$wgStyleVersion and the translation is 33% complete.
Seitenanpassung: $wgStyleVersion
Appended in the query string of static CSS and JS to clear client side cache when changing this.
Eingeführt in Version:1.9.0 (r16992)
Veraltet in Version:1.31.0 (Gerrit change 393354; git #e00925d7)
Entfernt in Version:1.32.0 (Gerrit change 434811; git #eb0f44d4)
Erlaubte Werte:(Zeichenkette)
Standardwert:(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).