FANDOM


--<pre> Unit tests.  Click talk page1ge1ge1ge to run tests.
local p ={
    main={ -- function name
        options={nowiki=true},
        tests = {
            preprocess_equals_many ={
                {'days=0|testcat1|testcat2', '[[Category:testcat2]]'},
                {'days=3|page1=testcat1|page2=testcat2', '[[Category:testcat2]]'},
                {'days=0|testcat1|testcat2|template=true', '[[:Template:Testcat2]]'},
                {'date={{#time:Y-m-d|@{{#expr:{{#time:U}} +48*3600}}}}|testcat1|testcat2|template=true', '[[:Template:Testcat1]]'},
                {'date=2015-01-01|testcat1|testcat2|template=true', '[[:Template:Testcat2]]'},
                {'days=1|page1=testcat1|page2=testcat2|template=true', '[[:Template:Testcat2]]'},
                {'days=2|page1=defaulttemplate|page2=defaulttemplate2|template=true', '[[:Template:Defaulttemplate2]]'}
            },
        },
    },
}
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.