!! version 2 !! test Legacy fragment encoding !! config wgFragmentMode=['legacy'] !! wikitext A B C D E F !! html/php

[1] [2] [3] [4] [5] [6]

  1. A
  2. B
  3. C
  4. D
  5. E
  6. F
!! end !! test FIXME: HTML5 fragment encoding !! config wgFragmentMode=['html5'] !! wikitext A B C D E F !! html/php

[1] [2] [3] [4] [5] [6]

  1. A
  2. B
  3. C
  4. D
  5. E
  6. F
!! end !! test Double URL encoding in legacy mode !! config wgFragmentMode=['legacy'] !! wikitext A !! html/php

[g%25%32%30g 1]

  1. A
!! end !! test Double URL encoding in HTML5 mode !! config wgFragmentMode=['html5'] !! wikitext A !! html/php

[g%25%32%30g 1]

  1. A
!! end !! test Multiple, partly encoded spaces in legacy mode !! config wgFragmentMode=['legacy'] !! wikitext A !! html/php

[b_ %20b 1]

  1. A
!! end !! test Multiple, partly encoded spaces in HTML5 mode !! config wgFragmentMode=['html5'] !! wikitext A !! html/php

[b_ %20b 1]

  1. A
!! end