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
No edit summary
No edit summary
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]]


 
Without a leading colon the link is treated as an InterLanguage link and will be displayed in a new navigation block  <nowiki>[[en:About_Moodle]]</nowiki>
Link to the english wiki About_Moodle in the navigation block  <nowiki>[[en:About_Moodle]]</nowiki>
[[en:About_Moodle]]
[[en:About_Moodle]]

Revision as of 07:31, 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 navigation block [[en:About_Moodle]]