Manual:$wgTidyInternal/ja
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed from MediaWiki core in version <tvar name=ver>1.33.0</tvar>.</translate> <translate> Please see <tvar name=page>$wgTidyConfig['driver']</tvar> for an alternative way to use this feature.</translate> |
<translate> Tidy</translate>: $wgTidyInternal | |
---|---|
Controls the use of the tidy extension to use an in-process tidy library instead of spawning a separate program. |
|
<translate> Introduced in version:</translate> | 1.4.2 |
<translate> Deprecated in version:</translate> | 1.26.0 (Gerrit change 235401; git #2c6c954e) |
<translate> Removed in version:</translate> | 1.33.0 (Gerrit change 467972; git #6db35b3c) |
<translate> Allowed values:</translate> | (真偽値) |
<translate> Default value:</translate> | extension_loaded( 'tidy' ) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
詳細
通常、デバッグ以外ではこの設定を変更する必要はありません。
Tidy 2.0 is bundled with PHP5 by default (MediaWiki requires PHP5), but is not included in the ubuntu build of PHP5. 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/
extension=tidy.so
を php.ini に追加して、$wgUseTidy = true;
を LocalSettings.php に追加して、最後に Apache を再起動してください。
Categories:
- MediaWiki configuration settings/ja
- MediaWiki configuration settings introduced in version 1.4.2/ja
- MediaWiki configuration settings deprecated in version 1.26.0/ja
- MediaWiki configuration settings removed in version 1.33.0/ja
- Pages with broken file links
- MediaWiki deprecated or obsolete features/ja
- Tidy variables/ja