Index: trunk/extensions/ParserFunctions/funcsParserTests.txt |
— | — | @@ -7,10 +7,12 @@ |
8 | 8 | # fixme: #time seems to be accepting input as local time, which strikes me as wrong |
9 | 9 | |
10 | 10 | !! article |
11 | | -Main Page |
| 11 | +ParserFunctions page |
12 | 12 | !! text |
13 | | -We need to repeat here in case only this file is being run. |
14 | | -Otherwise, it already leaks from parserTests.txt. |
| 13 | +A sample page so we can test ifexist. |
| 14 | + |
| 15 | +This used to be a Main Page, but that caused duplicate article |
| 16 | +warnings when running the normal tests at the same time. |
15 | 17 | !! endarticle |
16 | 18 | |
17 | 19 | !! article |
— | — | @@ -70,7 +72,7 @@ |
71 | 73 | {{#ifexist}} |
72 | 74 | !! input |
73 | 75 | {{#ifexist:Media:Foobar.jpg|Found|Not found}} |
74 | | -{{#ifexist:Main Page|Found|Not found}} |
| 76 | +{{#ifexist:ParserFunctions page|Found|Not found}} |
75 | 77 | {{#ifexist:Missing|Found|Not found}} |
76 | 78 | !! result |
77 | 79 | <p>Found |