Extension:MissedPages/zh
![]() 发行状态: 测试版 |
|
---|---|
实现 | 特殊页面 , 数据库 |
描述 | Summarizes page not found (404) errors, and provides a quick way to redirect or ignore them. |
作者 | Sam Wilson (Samwilson讨论) |
最新版本 | 0.1.0 |
兼容性政策 | master分支维持向后兼容。 |
MediaWiki | >= 1.36.0 |
数据库更改 | 是 |
Composer | samwilson/missedpages |
表 | missed_pages |
许可协议 | MIT授權條款 |
下載 | README |
季度下載量 | 7 (Ranked 156th) |
前往translatewiki.net翻譯MissedPages扩展 | |
The MissedPages extension tracks every time a site visitor tries to go to a wiki page that doesn't exist, and gives site editors a easy-to-use form with which to track the most popular missed pages and also to redirect these to existing pages.
Installation
- 下载文件,并将其放置在您
extensions/
文件夹中的MissedPages
目录内。 - 只有從git安裝才运行Composer来安装PHP依赖,通过发行
composer install --no-dev
至扩展目录。 (参见任务T173141了解潜在问题。) - 将下列代码放置在您的LocalSettings.php 的底部:
wfLoadExtension( 'MissedPages' );
完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。
Usage
The Special:MissedPages
page lists the top 100 missed pages in descending order of how many times they were missed. It allows editors to redirect, delete, or ignore the page title in question.
- Redirect
- Adding a redirect from Special:MissedPages is equivalent to adding
#REDIRECT [[Lorem ipsum]]
to the page, with the advantages of being quicker through an autocomplete form field, and it also deletes the missed pages log entries for that page (because after redirecting it'll no longer be seen as a missed page). - Delete
- Deleting an entry from Special:MissedPages clears that page title until it is again missed. This can be useful if the page has been created since the log entries were added.
- Ignore
- Lots of pages will appear in the log that are not of interest to the wiki. To prevent these from appearing again, they can be added to the 'ignore list'.
User rights
edit
— to add redirectsblock
— to ignore pagesdelete
— to delete entries in the missed pages list
See also
- Help:Extension:MissedPages - for end-user documentation that can be copied to any wiki.
- Extension:SuppleRedirect - replace red-link to redirect other site automatically.
Categories:
- Beta status extensions/zh
- Special page extensions/zh
- Database extensions/zh
- Extensions supporting Composer/zh
- MIT licensed extensions/zh
- Extensions in Wikimedia version control/zh
- LoadExtensionSchemaUpdates extensions/zh
- ShowMissingArticle extensions/zh
- All extensions/zh
- Extensions requiring Composer with git/zh
- User activity extensions/zh
- Content maintenance extensions/zh
- Log extensions/zh
- Page existence detection/zh
- Redirect extensions/zh