MediaWiki editing

From dankwiki
Revision as of 02:29, 19 January 2010 by Dank (talk | contribs)


Desire and solution Example text Example result
Link to an uploaded file without embedding it via prefixing "File" with a ':' character. [[:File:LookForAnswers.jpg|dankamongwikis logo]] dankamongwikis logo
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