手册:页面自定义

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:Page customizations and the translation is 51% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎italiano • ‎polski • ‎português • ‎中文 • ‎日本語

这些页面在要求设置(任何语言的)界面定义文件的vanilla MediaWiki中是不存在的。 如果你想要避免在你的Wiki界面中出现“红链”(broken links),你需要创建这些页面或者修改消息列表。更多详情可以参考下方的修复页面

这里是MediaWiki的默认消息。需要注意,并非所有都在 MW.org上使用,故在表格中会有“红链接”

界面消息 默认值 从何处链入
MediaWiki:aboutpage Project:About 页脚
MediaWiki:copyrightpage Project:Copyrights 编辑浏览
MediaWiki:disambiguationspage (在1.22版本中被 Extension:Disambiguator 取代) Template:disambig 无(不是链接)
MediaWiki:disclaimerpage Project:General disclaimer 页脚
MediaWiki:edithelppage https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Editing_pages Editing help link under edit box.
MediaWiki:helppage https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents 侧边栏的帮助链接
MediaWiki:faqpage Project:FAQ 仅在 CologneBlue 皮肤中使用
MediaWiki:grouppage-bot {{ns:project}}:Bots Special:ListGroupRights
MediaWiki:grouppage-bureaucrat {{ns:project}}:Bureaucrats Special:ListGroupRights
MediaWiki:grouppage-sysop {{ns:project}}:Administrators Special:ListGroupRights
MediaWiki:helplogin-url (1.22版本新增) https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Logging_in Special:UserLogin
MediaWiki:mainpage Main page 无(定义主页)
MediaWiki:policy-url (在 r119724 版本后新增) Project:Policy ??
MediaWiki:privacypage Project:Privacy policy 页脚
"(namespace-X|action name|special page name)-helppage" system message Project:PD help pages Indicators of several special pages and some actions or namespaces.

在你本地的 系统消息特殊页面 中你可以用这些页面定义搜索界面文本(interface strings)

修复页面

To fix these broken links, you (or an administrator on your wiki) can:

Create the missing page 
Just visit it on your wiki, create it and start writing. MediaWiki.org has suitable help material you can paste or import into your wiki. You can make the page a #REDIRECT to another page.
Link to a different page 
Edit the interface message by visiting its page in the MediaWiki: namespace and change it to a different page title, or possibly an external URL.
Remove the link 
You can edit the message to not have a link. In some cases you need to rephrase or blank out a different interface message(s) that incorporate the interface message with the URL. For example, 'helplogin-url' is the link in 'userlogin-helplink', so if you don't wish to provide this guidance, you can blank out MediaWiki:userlogin-helplink. Since removing the text in a message resets it to the default for your language, you should blank out a message by changing it to an HTML comment such as <!-- blank since this wiki does not currently provide login assistance -->