Podręcznik:$wgAlwaysUseTidy

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgAlwaysUseTidy and the translation is 33% complete.

Other languages:
Deutsch • ‎English • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎беларуская (тарашкевіца)‎ • ‎العربية • ‎മലയാളം • ‎ไทย • ‎中文 • ‎日本語
Tidy: $wgAlwaysUseTidy
Always use Tidy
Wprowadzono w wersji:1.6.0 (r12844)
Usunięto w wersji:1.26.0 (Gerrit change 235401; git #2c6c954e)
Dozwolone wartości:(boolean)
Domyślna wartość:false
Inne ustawienia: Alfabetycznie | Według funkcji

Szczegóły

In some internal places in MediaWiki (mainly when generating parts of the interface), HTML Tidy is not used by default, even when $wgUseTidy is turned on. If you want to override this, and always use HTML Tidy for every bit of wikitext parsing, you can set this option to true.

It is unclear why you would want to do this; your server performance will most likely suffer. However, if MediaWiki is continuing to generate incorrect HTML even when $wgUseTidy is turned on, it is worth trying this as a "quick fix" until the underlying issue can be located and resolved.

Zobacz też