Module:Namespace detect/testcases: Difference between revisions

Content deleted Content added
add one more
add a test for multiple word namespaces
Line 234:
| other = Other pages text.
| page = Wikipedia talk:Foo]==]},
})
end
 
function p:test_multiple_word_namespaces()
self:preprocess_equals_preprocess_many('{{#invoke:Namespace detect/sandbox|main', '}}', '{{namespace detect', '}}', {
{[==[
| main = Article text.
| talk = Any talk page text.
| user = User page text.
| education program = Education Program pages text.
| other = Other pages text.
| page = Education Program:Foo]==]},
})
end