######################################################
#### Warning: run these tests via parserTests.php #
#### #
#### These tests tend to fail when run from phpunit. #
######################################################
# Not clear if this does anything, but other extension do it.
# However, seems to make this not work, so commenting out for now.
#!! hooks
#DynamicPageList
#!! endhooks
# Some of these might fail if some other
# extension adds articles to the tests, which is bad.
# Things not tested:
## *Flagged revs related props
## *Actual intersection (multiple notcategory/category clauses)
## due to issue with mysql self-joins on temp tables.
## *Date related things (Addcategorydate) since the output
## varries depending on today's date.
## *gallery stuff (lack of images)
## *some order methods, due to lack of flexibity in page creation
## googlehack (dpl_id) stuff because page_id changes depending on other tests.
!!article
MediaWiki:Bad_image_list
!!text
* [[:File:Bad.jpg]] except [[Nasty page]]
!!endarticle
!! article
DPLTest1
!! text
[[category:DPLtest]]
!! endarticle
!! article
Talk:DPLTest2
!! text
[[category:DPLtest]]
[[category:DPLtest3]]
[[category:DPLtest2]]
!! endarticle
!! article
Talk:no_Categories
!! text
no cats
!! endarticle
!! article
Yet another DPL test page!
!! text
[[category:DPLtest]]
[[category:DPLtest2]]
!! endarticle
!! article
help:DPLTest3
!! text
Article.
[[category:DPLtest2]]
!! endarticle
!! article
DPLRedir
!! text
#Redirect[[DPLtest]]
[[category:DPLtest]]
!! endarticle
# start actual tests.
!!test
basic, single category list, ordered by cat add, desc.
!!input
Yet another DPL test page!
Talk:DPLTest2
DPLTest1
Yet another DPL test page!, Talk:DPLTest2, DPLTest1
!!end # None of these are images, so crappy test. !!test mode=gallery (complex, no image) !!inputYet another DPL test page!
File missing
DPLTest2
File missing
DPLTest1
File missing
Yet another DPL test page!
File missing
DPLTest2
File missing
DPLTest1
File missing
LoremIpsum.djvu
2,480 × 3,508, 5 pages; 3 KB
Foobar.svg
240 × 180; 12 KB
Thumb.png
135 × 135; 22 KB
Foobar.jpg
1,941 × 220; 8 KB
File missing
File missing
File missing