Interwiki Links: Difference between revisions
From MoodleDocs
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
Examples: | Examples: | ||
Leading colons are treated as InterWiki links <nowiki>[[:en:About_Moodle|About_Moodle in English]]</nowiki> | |||
[[:en:About_Moodle|About_Moodle in English]] | [[:en:About_Moodle|About_Moodle in English]] | ||
Without a leading colon the link is treated as an InterLanguage link and will be displayed in a new sidebar block <nowiki>[[en:About_Moodle]]</nowiki> | |||
[[en:About_Moodle]] | |||
This behaviour can be disabled by [http://www.mediawiki.org/wiki/Manual:$wgHideInterlanguageLinks $wgHideInterlanguageLinks] and [http://www.mediawiki.org/wiki/Manual:$wgInterwikiMagic $wgInterwikiMagic] | |||
Latest revision as of 07:44, 8 June 2011
Moodle Docs now uses InterWiki links for each supported language including special langs such as "dev" (this wiki)
The link is placed in different locations depending on whether a leader colon (:) is used or not.
Examples:
Leading colons are treated as InterWiki links [[:en:About_Moodle|About_Moodle in English]]
Without a leading colon the link is treated as an InterLanguage link and will be displayed in a new sidebar block [[en:About_Moodle]]
This behaviour can be disabled by $wgHideInterlanguageLinks and $wgInterwikiMagic