Jump to content

Podręcznik:$wgStyleVersion

From mediawiki.org
This page is a translated version of the page Manual:$wgStyleVersion and the translation is 33% complete.
Site customization: $wgStyleVersion
Appended in the query string of static CSS and JS to clear client side cache when changing this.
Wprowadzono w wersji:1.9.0 (r16992)
Przestarzałe w wersji:1.31.0 (Gerrit change 393354; git #e00925d7)
Usunięto w wersji:1.32.0 (Gerrit change 434811; git #eb0f44d4)
Dozwolone wartości:(łańcuch)
Domyślna wartość:(not fix)

Szczegóły

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