Help:Extension:RealMe/zh

''扩展允许验证用户页面上使用的URL. This can be used for Mastodon and similar software.

What is link verification?
Link verification refers to using rel=me (an XFN microformat) to mark a link. XFN defines rel=me as “A link to yourself at a different URL”. It is “Required symmetric”, meaning if you use rel=me for a link on one page, the other page must also link back to the first page using rel=me.

On Mastodon and similar platforms, you can enter links to your other profiles. These platforms will check your other profiles and look for a rel=me link back, and if they see a link marked as rel=me, they mark your link as verified.

但是，在MediaWiki上，链接到外部站点的唯一方法是使用Wikitext的外部链接. It is not possible to include rel=me using this syntax. An extension is therefore needed.

With this extension, if you mention an external link on your user page and enter the same external link into the extension, the extension adds a  HTML tag to the   element of your user page, so that the other site can verify you.



验证个人资料页面中的链接



 * 1) On your wiki, edit your user page to add an external link to the URL you want to mark as verified. 示例： 或  链接可以具有任何标签，也可以没有标签.
 * 2) In the "" section of your wiki's user profile preferences, add the exact same link to the "" setting, and save the changes.
 * 3) 在第三方服务（例如Mastodon）上，添加指向您的wiki用户页面的链接.  为此，您可能需要编辑“个人资料元数据”.

限制

 * The link must use the  or  protocol.
 * Only five links can be set.

Global user pages
On wikis that use, the preference must be set on each local wiki or globally through the.

Verifying a link on non-user pages
It is possible to verify links on non-user pages by adding them to the page on your wiki.

For example, to verify the link on "Main Page", add:

Multiple links can be specified for a single page by using an array. After adding or changing a page's links you should the page to ensure the change is reflected immediately.

Unlike user pages, these links do not need to be present on the wiki page itself to be verified.