Check out my first novel, midnight's simulacra!

MediaWiki editing: Difference between revisions

From dankwiki
(Created page with '==Uploaded Files== {| border="1" ! Desire and solution ! Example text ! Example result |- | Link to an uploaded file without embedding it via prefixing "File" with a ':' characte...')
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Uploaded Files==
==Links==
{| border="1"
{| border="1"
! Desire and solution
! Desire and solution
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).
| <nowiki>[[wikipedia:Tab_(soft_drink)|TaB at Wikipedia]]</nowiki>
| [[wikipedia:Tab_(soft_drink)|TaB at Wikipedia]]
|-
| Make one page merely redirect to another using #REDIRECT.
| <nowiki>#REDIRECT [[Pages]]</nowiki>
| N/A
|-
| Generate a full link to a file as text using <nowiki>{{FILEPATH}}</nowiki>.
| <nowiki>{{FILEPATH:LookForAnswers.jpg}}</nowiki>
| {{FILEPATH:LookForAnswers.jpg}}
|}
 
==Disabling Markup==
{| border="1"
! Desire and solution
! Example text
! Example result
|-
| Reformat and interpret special characters, but not wikitext, using <tt><nowiki><nowiki></nowiki></tt>
| <nowiki><nowiki>[[This will not become a link]]</nowiki></nowiki>
| <nowiki>[[This will not become a link]]</nowiki>
|-
| Interpret special characters only, and used fixed-width fonts, using <tt><nowiki><pre></nowiki></tt>
| <nowiki><pre>This will not be formatted</pre></nowiki>
| <pre>This will not be formatted</pre>
|}
|}
==See Also==
==See Also==
* MediaWiki help page on [http://meta.wikimedia.org/wiki/Help:Advanced_editing Advanced editing]
* MediaWiki help page on [http://meta.wikimedia.org/wiki/Help:Advanced_editing Advanced editing]
* MediaWiki help page on [http://www.mediawiki.org/wiki/Manual:Interwiki interwiki links]
* MediaWiki help page on [http://www.mediawiki.org/wiki/Manual:Interwiki interwiki links]
* MediaWiki help page on [http://www.mediawiki.org/wiki/Help:Images images]

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