# Force the test runner to ensure the extension is loaded !! hooks ref references !! endhooks !! test Simple , no !! input Wikipedia rocks!Proceeds of Rockology, vol. XXI !! result

Wikipedia rocks![1]

!! end !! test Simple , with !! input Wikipedia rocks!Proceeds of Rockology, vol. XXI !! result

Wikipedia rocks![1]

  1. Proceeds of Rockology, vol. XXI
!! end !! article Template:Simple template !! text A ''simple'' template. !! endarticle !! test with a simple template !! input Templating{{simple template}} !! result

Templating[1]

  1. A simple template.
!! end !! test with a !! input Templating{{simple template}} !! result

Templating[1]

  1. {{simple template}}
!! end !! test in a !! input Templating{{simple template}} !! result

Templating<ref>{{simple template}}</ref>

    !! end !! test in a !! input Templating !! result

    Templating

      !! end !! test in a (bug 5384) !! input TemplatingText !! result

      Templating[1]

      1. Text
      !! end !! test after (bug 6164) !! input one Image:Foobar.jpg !! result

      [1]

      1. one
      !! end !! test {{REVISIONID}} on page with (bug 6299) !! input {{REVISIONID}}elite !! result

      1337[1]

      !! end !! test {{REVISIONID}} on page without (bug 6299 sanity check) !! input {{REVISIONID}} !! result

      1337

      !! end !! test Blank ref followed by ref with content !! input content !! result

      [1]

      [1]

      1. 1.0 1.1 content
      !! end !! test Regression: non-blank ref "0" followed by ref with content !! input 0 content !! result

      [1]

      [1]

      1. 1.0 1.1 0
      !! end !! test Regression sanity check: non-blank ref "1" followed by ref with content !! input 1 content !! result

      [1]

      [1]

      1. 1.0 1.1 1
      !! end