开发者

Live Preview in Mediawiki

开发者 https://www.devze.com 2023-03-04 05:11 出处:网络
The MediaWiki manual states the following: Enabling live preview Live preview is on or off depending on

The MediaWiki manual states the following:

Enabling live preview

Live preview is on or off depending on the $wgLivePreview variable of LocalSettings.php. To activate it you must also enable it on a per-user basis in the "editing" tab of you user preferences page.

However, when I go to the 开发者_如何学JAVAarticle describing the variable $wgLivePreview, it says that this variable was deprecated in 1.15.x.

Is there any alternative and relatively similar way of enabling Live Preview in the current version (1.16.5) of Mediawiki?


It appears the variable (along with live preview itself) was removed in r59446; the feature was then restored in r62173 and turned completely always-on in r65390.

It looks like 1.16 was branched from around r62818, so you can set $wgLivePreview to make the option visible in the user preferences. Or apply r65390 to your local installation, or install the 1.17 beta release instead of 1.16.

0

精彩评论

暂无评论...
验证码 换一张
取 消