Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Interwiki Links: Difference between revisions

From MoodleDocs
(Created page with "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...")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:
Examples:
Examples:


Link to the english wiki About_Moodle in the body of this page: <nowiki>[[:en:About_Moodle|About_Moodle in English]]</nowiki>
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]]


Link to the english wiki About_Moodle in the navigation block: <nowiki>[[en:About_Moodle]]</nowiki>
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]]
[[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]]

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