dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(bug 34355) add a variable and parser function for the namespace number
[lhc/web/wiklou.git]
/
tests
/
parser
/
parserTests.txt
diff --git
a/tests/parser/parserTests.txt
b/tests/parser/parserTests.txt
index
d304b19
..
e0eb60e
100644
(file)
--- a/
tests/parser/parserTests.txt
+++ b/
tests/parser/parserTests.txt
@@
-2294,6
+2294,17
@@
title=[[User:Ævar Arnfjörð Bjarmason]]
</p>
!! end
+!! test
+Magic Word: {{NAMESPACENUMBER}}
+!! options
+title=[[User:Ævar Arnfjörð Bjarmason]]
+!! input
+{{NAMESPACENUMBER}}
+!! result
+<p>2
+</p>
+!! end
+
!! test
Magic Word: {{NUMBEROFFILES}}
!! input