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 11: Line 11:
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>
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>
[[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]]

Revision as of 07:41, 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]]


This behaviour can be disabled by [[1]] and [[2]]