Manual:$wgTidyInternal/nl

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

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎中文 • ‎日本語
Tidy: $wgTidyInternal
Controls the use of the tidy extension to use an in-process tidy library instead of spawning a separate program.
Ingeleid in versie:1.4.2
Deprecated in version:1.26.0 (Gerrit change 235401; git #2c6c954e)
Verwijderd in versie:nog steeds in gebruik
Toegelaten waardes:(booleaans)
Standaard waarde:extension_loaded( 'tidy' )
Andere instellingen: Alfabetisch | Per functie

Details

Normally you shouldn't need to override the setting except for debugging.

Tidy 2.0 is bundled with PHP5 by default (MediaWiki requires PHP5), but is not included in the ubuntu build of PHP5. To install it on Ubuntu 10.04 / PHP 5.2.x:

sudo apt-get install -y php5-dev libtidy-dev
svn co http://svn.php.net/repository/php/php- src/branches/PHP_5_2/ext/tidy/
cd tidy/
phpize
./configure
make
sudo make install
cd ../
rm -rf tidy/

Add extension=tidy.so to php.ini ; set $wgUseTidy = true; in LocalSettings.php ; finally, restart apache.