FANDOM


m (Linking to another Wikia community)
m (Source code organization)
Line 1: Line 1:
An '''interwiki link''' is a [[Help:Links|link]] to another community. This link is often to another Wikia community, although it may also be to any of the sites listed on the {{#NewWindowLink:homepage:w:MediaWiki:Interwiki map|interwiki map}}. Interwiki links are shortcuts that mean you don't have to use the full URL, and they can help simplify the maintenance of links if a community later changes its URL.
+
An '''interwiki link''' is a [[Help:Links|link]] to another community. This link is often to another Wikia community, although it may also be to any of the sites listed on the [[w:MediaWiki:Interwiki map|interwiki map]]. Interwiki links are shortcuts that mean you don't have to use the full URL, and they can help simplify the maintenance of links if a community later changes its URL.
   
==Linking to another Wikia community==
+
== Linking to another Wikia community ==
 
* To create an interwiki link from your Wikia community to another, use the format <code><nowiki>[[w:c:wikianame:pagename]]</nowiki></code>. So for example if you wanted to link to the Jedi page on Wookieepedia, you would use [[w:c:starwars:Jedi|<code><nowiki>[[w:c:starwars:Jedi]]</nowiki></code>]].
 
* To create an interwiki link from your Wikia community to another, use the format <code><nowiki>[[w:c:wikianame:pagename]]</nowiki></code>. So for example if you wanted to link to the Jedi page on Wookieepedia, you would use [[w:c:starwars:Jedi|<code><nowiki>[[w:c:starwars:Jedi]]</nowiki></code>]].
 
* If you would like to modify the displayed text, follow the same format as with all [[Help:Links|links]], and add a '|' after the link along with the text you want. So, for example, <code><nowiki>[[w:c:starwars:Jedi|test]]</nowiki></code>, would appear as [[w:c:starwars:Jedi|test]].
 
* If you would like to modify the displayed text, follow the same format as with all [[Help:Links|links]], and add a '|' after the link along with the text you want. So, for example, <code><nowiki>[[w:c:starwars:Jedi|test]]</nowiki></code>, would appear as [[w:c:starwars:Jedi|test]].
 
* Note that non-English communities often have a language code prefix. A German community will often have a URL like <code>de.wikianame.wikia.com</code>, while Spanish communities come under <code>es.wikianame.wikia.com</code>. When you link to one of these communities, simply include the language code prefix. Example: <code><nowiki>[[w:c:fr.wikianame:Page]]</nowiki></code> (note the dot between "fr" and the wikia name).
 
* Note that non-English communities often have a language code prefix. A German community will often have a URL like <code>de.wikianame.wikia.com</code>, while Spanish communities come under <code>es.wikianame.wikia.com</code>. When you link to one of these communities, simply include the language code prefix. Example: <code><nowiki>[[w:c:fr.wikianame:Page]]</nowiki></code> (note the dot between "fr" and the wikia name).
   
==Linking to another language version of your community (interlanguage links)==
+
== Linking to another language version of your community (interlanguage links) ==
 
* To link to a version of your community in different language, use <code><nowiki>[[</nowiki><var>languagecode</var>:<var>pagename</var>]]</code>, e.g.<code>[[<var>fr</var>:<var>fromage</var>]]</code> will link to the "fromage" article on the French-language version of that community.
 
* To link to a version of your community in different language, use <code><nowiki>[[</nowiki><var>languagecode</var>:<var>pagename</var>]]</code>, e.g.<code>[[<var>fr</var>:<var>fromage</var>]]</code> will link to the "fromage" article on the French-language version of that community.
 
* If you leave off the pagename, it will use the pagename of the article that the interwiki link is placed on.
 
* If you leave off the pagename, it will use the pagename of the article that the interwiki link is placed on.
 
* Generally such links are placed alphabetically by language code at the end of an article.
 
* Generally such links are placed alphabetically by language code at the end of an article.
* Note: because different languages can use different names (such as the English cycling.wikia.com and the French cyclisme.wikia.com), interlanguage linking must be manually activated by the Wikia community team. If your topic has a community in a different language at Wikia, and you would like to activate interlanguage linking, please leave a request on the {{#NewWindowLink:homepage:w:project:Interlanguage_link_requests|Interlanguage link requests}} page on Community Central.
+
* Note: because different languages can use different names (such as the English cycling.wikia.com and the French cyclisme.wikia.com), interlanguage linking must be manually activated by the Wikia community team. If your topic has a community in a different language at Wikia, and you would like to activate interlanguage linking, please leave a request on the [[w:Interlanguage link requests|Interlanguage link requests]] page on Community Central.
 
* See [[Help:Interlanguage links]] for more information about this kind of link.
 
* See [[Help:Interlanguage links]] for more information about this kind of link.
   
==Linking to an external wiki community==
+
== Linking to an external wiki community ==
* Sites listed in the ''{{#NewWindowLink:homepage:w:MediaWiki:Interwiki map|interwiki map}}'' can be linked via <code><nowiki>[[prefix:pagename]]</nowiki></code>. For example, <code><nowiki>[[Wikipedia:Jedi]]</nowiki></code> will be converted to link to the English Wikipedia's "Jedi" article: [[Wikipedia:Jedi]]. These interwiki links look like local links.
+
* Sites listed in the ''[[w:MediaWiki:Interwiki map|interwiki map]]'' can be linked via <code><nowiki>[[prefix:pagename]]</nowiki></code>. For example, <code><nowiki>[[Wikipedia:Jedi]]</nowiki></code> will be converted to link to the English Wikipedia's "Jedi" article: [[Wikipedia:Jedi]]. These interwiki links look like local links.
 
* <code><nowiki>[[Wikipedia:es:India]]</nowiki></code> or <code><nowiki>[[wp:es:India]]</nowiki></code> will be converted to link to the Spanish Wikipedia's "India" article: [[Wikipedia:es:India]]
 
* <code><nowiki>[[Wikipedia:es:India]]</nowiki></code> or <code><nowiki>[[wp:es:India]]</nowiki></code> will be converted to link to the Spanish Wikipedia's "India" article: [[Wikipedia:es:India]]
 
* Note that the name used in the interwiki link is not always exactly the same as the domain or sub-domain, e.g. [[MetaWikipedia:]] vs. http://meta.wikimedia.org/wiki. Wikia's interwiki map also supports [[MetaWikiMedia:]] and [[m:]] for this community.
 
* Note that the name used in the interwiki link is not always exactly the same as the domain or sub-domain, e.g. [[MetaWikipedia:]] vs. http://meta.wikimedia.org/wiki. Wikia's interwiki map also supports [[MetaWikiMedia:]] and [[m:]] for this community.
 
* Many (off-Wikia) MediaWiki help pages are kept on http://mediawiki.org/wiki/, which can be linked to with [[mw:]]. Don't confuse this with the [[Special:Allmessages|MediaWiki:]] [[Help:Namespace|namespace]] for [[Help:System messages|system messages]].
 
* Many (off-Wikia) MediaWiki help pages are kept on http://mediawiki.org/wiki/, which can be linked to with [[mw:]]. Don't confuse this with the [[Special:Allmessages|MediaWiki:]] [[Help:Namespace|namespace]] for [[Help:System messages|system messages]].
   
==Linking to a Wikia community from an off-Wikia community==
+
== Linking to a Wikia community from an off-Wikia community ==
*You can generally link to any Wikia community using the syntax:
+
* You can generally link to any Wikia community using the syntax:
 
:<code><nowiki>[[Wikia:c:wikianame:pagename]]</nowiki></code> or <code><nowiki>[[Wikiasite:wikianame:pagename]]</nowiki></code>
 
:<code><nowiki>[[Wikia:c:wikianame:pagename]]</nowiki></code> or <code><nowiki>[[Wikiasite:wikianame:pagename]]</nowiki></code>
*For example, <code><nowiki>[[Wikia:c:starwars:Jedi]]</nowiki></code> or <code><nowiki>[[Wikiasite:starwars:Jedi]]</nowiki></code> from a community outside Wikia would link to {{#NewWindowLink:http://starwars.wikia.com/wiki/Jedi}}
+
* For example, <code><nowiki>[[Wikia:c:starwars:Jedi]]</nowiki></code> or <code><nowiki>[[Wikiasite:starwars:Jedi]]</nowiki></code> from a community outside Wikia would link to http://starwars.wikia.com/wiki/Jedi
   
==See also==
+
== See also ==
* [[Help:Shared help|Shared help]] and {{lc:[[Help:Shared templates|Shared templates]]}} are special cases of interwiki links
+
* [[Help:Shared help|Shared help]] and [[Help:Shared templates|shared templates]] are special cases of interwiki links
* To request a specific interwiki link for your community, please visit {{#NewWindowLink:homepage:w:Community Central:Interlanguage link requests|this page}}.
+
* To request a specific interwiki link for your community, please visit [[w:Community Central:Interlanguage link requests|this page]].
* {{#NewWindowLink:MetaWikipedia:Help:Interwiki linking}}
+
* [[MetaWikipedia:Help:Interwiki linking]]
   
==Further Help & Feedback==
+
== Further Help & Feedback ==
 
{{Help and feedback section}}
 
{{Help and feedback section}}
   
[[Category:Editing]]
+
[[Category:Editing|{{PAGENAME}}]]
[[Category:Source editing]]
+
[[Category:Source editing|{{PAGENAME}}]]
[[Category:Link help]]
+
[[Category:Link help|{{PAGENAME}}]]
[[Category:Help|Interwiki link]]
+
[[Category:Help|{{PAGENAME}}]]
   
 
[[de:Hilfe:Interwiki-Links]]
 
[[de:Hilfe:Interwiki-Links]]

Revision as of 17:24, June 27, 2016

An interwiki link is a link to another community. This link is often to another Wikia community, although it may also be to any of the sites listed on the interwiki map. Interwiki links are shortcuts that mean you don't have to use the full URL, and they can help simplify the maintenance of links if a community later changes its URL.

Linking to another Wikia community

  • To create an interwiki link from your Wikia community to another, use the format [[w:c:wikianame:pagename]]. So for example if you wanted to link to the Jedi page on Wookieepedia, you would use [[w:c:starwars:Jedi]].
  • If you would like to modify the displayed text, follow the same format as with all links, and add a '|' after the link along with the text you want. So, for example, [[w:c:starwars:Jedi|test]], would appear as test.
  • Note that non-English communities often have a language code prefix. A German community will often have a URL like de.wikianame.wikia.com, while Spanish communities come under es.wikianame.wikia.com. When you link to one of these communities, simply include the language code prefix. Example: [[w:c:fr.wikianame:Page]] (note the dot between "fr" and the wikia name).

Linking to another language version of your community (interlanguage links)

  • To link to a version of your community in different language, use [[languagecode:pagename]], e.g.[[fr:fromage]] will link to the "fromage" article on the French-language version of that community.
  • If you leave off the pagename, it will use the pagename of the article that the interwiki link is placed on.
  • Generally such links are placed alphabetically by language code at the end of an article.
  • Note: because different languages can use different names (such as the English cycling.wikia.com and the French cyclisme.wikia.com), interlanguage linking must be manually activated by the Wikia community team. If your topic has a community in a different language at Wikia, and you would like to activate interlanguage linking, please leave a request on the Interlanguage link requests page on Community Central.
  • See Help:Interlanguage links for more information about this kind of link.

Linking to an external wiki community

Linking to a Wikia community from an off-Wikia community

  • You can generally link to any Wikia community using the syntax:
[[Wikia:c:wikianame:pagename]] or [[Wikiasite:wikianame:pagename]]

See also

Further Help & Feedback

Community content is available under CC-BY-SA unless otherwise noted.