Check out my first novel, midnight's simulacra!

MediaWiki editing: Difference between revisions

From dankwiki
No edit summary
 
Line 5: Line 5:
! Example result
! Example result
|-
|-
| Link to an uploaded file without embedding it via prefixing "File" with a ':' character.
| Link directly to an uploaded file without embedding it via use of the "Media" pseudo-namespace.
| <nowiki>[[:File:LookForAnswers.jpg|dankamongwikis logo]]</nowiki>
| <nowiki>[[Media:LookForAnswers.jpg|dankamongwikis logo]]</nowiki>
| [[:File:LookForAnswers.jpg|dankamongwikis logo]]
| [[Media:LookForAnswers.jpg|dankamongwikis logo]]
|-
| Link to an uploaded file's description page without embedding it via prefixing "File" with a ':' character.
| <nowiki>[[:File:LookForAnswers.jpg|logo file page]]</nowiki>
| [[:File:LookForAnswers.jpg|logo file page]]
|-
|-
| Link to another registered wiki by using the registered name and a ':' (other wikis must be registered by the MediaWiki administrator).
| Link to another registered wiki by using the registered name and a ':' (other wikis must be registered by the MediaWiki administrator).
Line 21: Line 25:
| {{FILEPATH:LookForAnswers.jpg}}
| {{FILEPATH:LookForAnswers.jpg}}
|}
|}
==Disabling Markup==
==Disabling Markup==
{| border="1"
{| border="1"

Latest revision as of 06:34, 19 January 2010

Links

Desire and solution Example text Example result
Link directly to an uploaded file without embedding it via use of the "Media" pseudo-namespace. [[Media:LookForAnswers.jpg|dankamongwikis logo]] dankamongwikis logo
Link to an uploaded file's description page without embedding it via prefixing "File" with a ':' character. [[:File:LookForAnswers.jpg|logo file page]] logo file page
Link to another registered wiki by using the registered name and a ':' (other wikis must be registered by the MediaWiki administrator). [[wikipedia:Tab_(soft_drink)|TaB at Wikipedia]] TaB at Wikipedia
Make one page merely redirect to another using #REDIRECT. #REDIRECT [[Pages]] N/A
Generate a full link to a file as text using {{FILEPATH}}. {{FILEPATH:LookForAnswers.jpg}} LookForAnswers.jpg

Disabling Markup

Desire and solution Example text Example result
Reformat and interpret special characters, but not wikitext, using <nowiki> <nowiki>[[This will not become a link]]</nowiki> [[This will not become a link]]
Interpret special characters only, and used fixed-width fonts, using <pre> <pre>This will not be formatted</pre>
This will not be formatted

See Also