Yup, PageNameTag and others should clean away the Wiki space name before
outputting. This may be gnarly if someone has been using ${page.name} in their
templates...
/Janne
On 21 Feb 2010, at 21:13, Andrew Jaquith wrote:
> Thanks for looking into the failing tests, Harry!
>
> My $0.02:
>
> The plugin tests should probably be fixed to test for the Main: space -- for
> internal data structure testing.
>
> However, users should not see the Main: space in any output, for example in
> plugin output. That includes page name tags, etc too. We want the capability
> to be there under the covers but not exposed to end users until 3.1.
>
> That's just a guess on how to handle it, though. Janne?
>
> Andrew
>
>
>
> On Feb 21, 2010, at 10:21, Harry Metske <[email protected]> wrote:
>
>> Hi,
>>
>> I had a look at some failing unit tests for the Plugins.
>> A lot of tests fail because we now get pages with the wikispace prepended,
>> so instead of MyNicePage , we now get main:MyNicePage or Main:MyNicePage.
>> (These page names also show up when running JSPWiki.)
>>
>> Maybe a stupid question, but is it intended to expose these pagenames to
>> humans in JSPWiki 3 ?
>> Or, should I fix the plugintest class or the plugin class itself ?
>>
>> regards,
>> Harry