OpenWetWare:Dewikify/Demo

From OpenWetWare

< OpenWetWare:Dewikify
Revision as of 19:24, 19 January 2006 by Austin J. Che (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

This is a demo and a playground for some of the things that can be done with the dewikify script. Feel free to modify this page however you wish. You should edit this page to look at the source that generates this!

You are on the wiki! Go to the dewikified page.



Lists work. Item 2 only appears on the wiki and item 4 only on the static page, but note that the numbering is always correct (no number skipping). This is because if the wikionly tag surrounds the line (nothing else is on the line, the entire line is removed including the extra newline.

  1. Item 1
  2. Item 2
  3. Item 3
  4. Item 5

In the above case, the tags surrounded the list markers. Look what happens if they are inside

  1. Item 1
  2. Item 2
  3. Item 3
  4. Item 5

Note that this is different from the previous as one of the list numbers is completely skipped. In this case, the wikionly tags aren't the only thing on the line so the newline remains and there is an empty list element. But because MediaWiki doesn't show the items for which there is no text, we skip a number. If we want to force the number with nothing next to it, add a non-blanking space:

  1. Item 1
  2. Item 2 
  3. Item 3
  4.  
  5. Item 5

This text is bold on wiki and italic on static page

In this example, we show how the wikionly tags are a kind of pre-processor, as an extra quote is added on the wiki only which converts it from italic to bold.

Personal tools