!! hooks
pagelist
!! endhooks
!!article
Page:LoremIpsum.djvu/2
!!text
Lorem ipsum dolor sic amet
!!endarticle
!!article
Page:LoremIpsum.djvu/1
!!text
Page 1
!!endarticle
!!article
Page:LoremIpsum.djvu/2
!!text
Page 2
!!endarticle
!!article
Page:LoremIpsum.djvu/3
!!text
Page 3
!!endarticle
!!article
Page:LoremIpsum.djvu/4
!!text
Page 4
!!endarticle
!! test
pagelist: in a not Index: page
!! options
title=Test
!! wikitext
!! html
!! end
!! test
pagelist: without file
!! options
title="Index:Test"
!! wikitext
!! html
Error: No such file
!! end
!! test
pagelist: with single page file
!! options
title="Index:Thumb.png"
!! wikitext
!! html
Error: No such file
!! end
!! test
pagelist: default
!! options
djvu
title="Index:LoremIpsum.djvu"
!! wikitext
!! html
1 2 3 4 5
!! end
!! test
pagelist: from
!! options
djvu
title="Index:LoremIpsum.djvu"
!! wikitext
!! html
4 5
!! end
!! test
pagelist: to
!! options
djvu
title="Index:LoremIpsum.djvu"
!! wikitext
!! html
1 2
!! end
!! test
pagelist: invalid from/to interval
!! options
djvu
title="Index:LoremIpsum.djvu"
!! wikitext
!! html
Error: Invalid interval
!! end
!! test
pagelist: invalid from
!! options
djvu
title="Index:LoremIpsum.djvu"
!! wikitext
!! html
Error: Numeric value expected
!! end
!! test
pagelist: invalid to
!! options
djvu
title="Index:LoremIpsum.djvu"
!! wikitext
!! html
Error: Numeric value expected
!! end
!! test
pagelist: (high)roman
!! options
djvu
title="Index:LoremIpsum.djvu"
!! wikitext
!! html
i II
!! end
!! test
pagelist: special characters
!! options
djvu
title="Index:LoremIpsum.djvu"
!! wikitext
!! html
- - -
!! end
!! test
pagelist: shift
!! options
djvu
title="Index:LoremIpsum.djvu"
!! wikitext
!! html
3 4
!! end
!! test
pagelist: empty
!! options
djvu
title="Index:LoremIpsum.djvu"
!! wikitext
!! html
1 2
!! end
!! test
pagelist: language with special characters
!! options
djvu
language=gu
title="Index:LoremIpsum.djvu"
!! wikitext
!! html
૧ ૨
!! end