Manual:$wgAllowPageInfo/zh

From Linux Web Expert

Revision as of 04:12, 30 September 2023 by 36.225.126.166 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Access</translate>: $wgAllowPageInfo
允许“info”操作。
<translate> Introduced in version:</translate>1.3.0 (r4247)
<translate> Removed in version:</translate>1.20.0 (Gerrit change 16235; git #f6c21c60)
<translate> Allowed values:</translate>(布尔值)
<translate> Default value:</translate>false

细节

如果启用此设置,则允许用户通过在URL中指定“action=info”来获取有关页面的一些额外信息。

该设置已由MediaWiki 1.20(<translate> task <tvar name=1>T40451</tvar></translate>)淘汰。

例如,输入https://www.mediawiki.org/wiki/MediaWiki?action=info可能会生成以下(虚构的)输出,而不是主页内容:

Information for "Main Page"

页面信息
页面 讨论页
编辑
Total number of edits 99 20
Total number of distinct authors 7 3
Watchlist
Number of page watchers 3