Cannot use variables
I want to use this in a template
<DynamicPageList>
namespace = {{NAMESPACE}}
redirect = none
</DynamicPageList>
But it doesn't work, nor as passed parameter. It doesn't even work on pages directly:
<DynamicPageList>
namespace = {{NAMESPACE}}
ordermethod = popularity
order = descending
redirect = none
</DynamicPageList>
The (main) namepsace is used instead. Bug? (MW 1.18 here)
I've not tested, but you could try to use #tag:dynamicpagelist as in wikibooks:Template:CategoryList
{{#tag:dynamicpagelist|
namespace = {{NAMESPACE}}
ordermethod = popularity
order = descending
redirect = none
}}