Gaming
 

Help:Automatic conversion of wikitext

From WoWWiki

HELP CONTENTS · Getting Started · New to WoWWiki · Editing WoWWiki · Editing WoWWiki (advanced) · The WoWWiki Community · Additional Help
See Wikia Help for general Wikia- and wiki- related help. See http://meta.wikimedia.org/ Meta-Wiki HelpIntro for basic MediaWiki usage!

There are three categories of automatic conversion of wikitext:

  • In a preview, the rendering of the result already shows up in the preview itself, but the conversion is not yet shown in the edit box (save and press Edit again to see the result of the conversion in the edit box, and to edit it):
  • In a preview, the conversion is not yet shown at all:
    • extra lines of text (not extra text on the same line) after a redirect are automatically deleted
  • In a preview, the conversion is already shown, even in the edit box:
    • in MediaWiki projects which use ISO-8859-1 character encoding (the English, Dutch, Danish, and Swedish Wikipedia), special characters that are not available in the limited character set are automatically converted to their decimal numeric codes on Preview or Save.
    • in the Esperanto Wikipedia, a character like Ŝ is automatically converted into the alternative notation Sx, because in some browsers it may not display in the edit box, even if it displays in the webpage (and Sx, whether resulting from this conversion or just typed, is rendered as Ŝ)

As opposed to rendering matters (what webpage results from given wikitext), these conversions are not demonstrated in looking at existing wikitext and webpages: the wikitext only shows the result, not how it was entered.

It also means that when testing these features, one has to remember or record what one has entered.

Contents

Sometimes wikitext (the syntax used when editing a wiki) is automatically converted to something else when you save the page.

What is signature expansion?

A signature (a link to your user page and a timestamp) is automatically created wherever you type ~~~~. Signatures can be highly customized.

See Help:Signature.

What is a substituted template?

Normally, a template named {{something}} will appear to expand to whatever is at [[Template:Something]] when the page is saved, but if you edit the page you will still see {{something}} in the wikitext.

However, if you substitute a template, the text "{{subst:something}}" will actually be replaced with whatever is at [[Template:Something]]. If you edit the page again after saving, you will no longer see {{subst:something}} in the text.

See Help:Substituting templates.

What is the pipe trick?

By adding a pipe or vertical bar ("|") before the closing brackets in certain links, you can hide namespaces, clarifying words in parentheses, or words after commas.

  • [[Someone (author)|]] is converted to [[Someone (author)|Someone]].
  • [[Project:Something|]] is converted to [[Project:Something|Something]].
  • [[w:Something|]] is converted to [[w:Something|Something]].
  • [[Some City, Some State|]] is converted to [[Some City, Some State|Some City]].
See Help:Pipe trick.