[cgi-wiki-dev] Wiki developers' IRC meeting tonight, 8pm UTC
Dominic Hargreaves
dom at earth.li
Wed Jun 6 13:26:54 BST 2007
On Wed, Jun 06, 2007 at 01:22:14PM +0100, Kake L Pugh wrote:
> On Wed, Jun 06, 2007 at 11:40:22AM +0100, Kake L Pugh wrote:
> >> But also, I think we might want to rethink the idea of using
> >> Text::WikiFormat, especially as later versions break our UseMod
> >> formatter (0.75 is the last safe version of T::WF, I think).
>
> On Wed 06 Jun 2007, Dominic Hargreaves <dom at earth.li> wrote:
> > Eh, it does? 0.78 is working fine for me.
>
> How odd. Maybe it only breaks on certain setups?
> Here are the test failures that Mike Stevens sent me:
>
>
> +t/usemod.....................NOK 15/25# Failed test 'extended links work'
> # at t/usemod.t line 107.
> # '<p>This is an <a href="wiki.pl?[Extended_Link]<a
> +href="wiki.pl?action=edit;id=Extended_Link">?</a>">Extended Link</a>.</p>
> # <p>This is a lower-case <a href="wiki.pl?[Extended_Link]<a
> +href="wiki.pl?action=edit;id=Extended_Link">?</a>">extended link</a>.</p>
> # <p>This is a <a href="wiki.pl?[Extended_Link]<a
> +href="wiki.pl?action=edit;id=Extended_Link">?</a>">titled extended
> +link</a>.</p>
> # <p>This is a <a href="wiki.pl?[Extended_Link_Two]<a
> +href="wiki.pl?action=edit;id=Extended_Link_Two">?</a>">title with leading
> +whitespace</a>.</p>
> # <p>This is <a href="wiki.pl?[Another_Link]<a
> +href="wiki.pl?action=edit;id=Another_Link">?</a>">another titled link</a>.</p>
> # '
> # doesn't match '(?-xism:<a href="wiki.pl\?Extended_Link">Extended
> +Link</a>)'
>
>
> +t/usemod.....................NOK 16/25# Failed test '...and are forced
> +ucfirst'
> # at t/usemod.t line 109.
> # '<p>This is an <a href="wiki.pl?[Extended_Link]<a
>
> +href="wiki.pl?action=edit;id=Extended_Link">?</a>">Extended Link</a>.</p>
> # <p>This is a lower-case <a href="wiki.pl?[Extended_Link]<a
> +href="wiki.pl?action=edit;id=Extended_Link">?</a>">extended link</a>.</p>
> # <p>This is a <a href="wiki.pl?[Extended_Link]<a
> +href="wiki.pl?action=edit;id=Extended_Link">?</a>">titled extended
> +link</a>.</p>
> # <p>This is a <a href="wiki.pl?[Extended_Link_Two]<a
> +href="wiki.pl?action=edit;id=Extended_Link_Two">?</a>">title with leading
> +whitespace</a>.</p>
> # <p>This is <a href="wiki.pl?[Another_Link]<a
> +href="wiki.pl?action=edit;id=Another_Link">?</a>">another titled link</a>.</p>
> # '
> # doesn't match '(?-xism:<a href="wiki.pl\?Extended_Link">extended
> +link</a>)'
>
>
> +t/usemod.....................NOK 17/25# Failed test '...and titles work'
> # at t/usemod.t line 111.
> # '<p>This is an <a href="wiki.pl?[Extended_Link]<a
> +href="wiki.pl?action=edit;id=Extended_Link">?</a>">Extended Link</a>.</p>
> # <p>This is a lower-case <a href="wiki.pl?[Extended_Link]<a
> +href="wiki.pl?action=edit;id=Extended_Link">?</a>">extended link</a>.</p>
> # <p>This is a <a href="wiki.pl?[Extended_Link]<a
> +href="wiki.pl?action=edit;id=Extended_Link">?</a>">titled extended
> +link</a>.</p>
> # <p>This is a <a href="wiki.pl?[Extended_Link_Two]<a
> +href="wiki.pl?action=edit;id=Extended_Link_Two">?</a>">title with leading
> +whitespace</a>.</p>
> # <p>This is <a href="wiki.pl?[Another_Link]<a
> +href="wiki.pl?action=edit;id=Another_Link">?</a>">another titled link</a>.</p>
> # '
> # doesn't match '(?-xism:<a href="wiki.pl\?Extended_Link">titled extended
> +link</a>)'
>
> +t/usemod.....................NOK 19/25# Failed test '...and titled nodes with
> +trailing whitespace are munged correctly before formatting'
> # at t/usemod.t line 115.
> # '<p>This is an <a href="wiki.pl?[Extended_Link]<a
> +href="wiki.pl?action=edit;id=Extended_Link">?</a>">Extended Link</a>.</p>
> # <p>This is a lower-case <a href="wiki.pl?[Extended_Link]<a
> +href="wiki.pl?action=edit;id=Extended_Link">?</a>">extended link</a>.</p>
> # <p>This is a <a href="wiki.pl?[Extended_Link]<a
> +href="wiki.pl?action=edit;id=Extended_Link">?</a>">titled extended
> +link</a>.</p>
> # <p>This is a <a href="wiki.pl?[Extended_Link_Two]<a
> +href="wiki.pl?action=edit;id=Extended_Link_Two">?</a>">title with leading
> +whitespace</a>.</p>
> # <p>This is <a href="wiki.pl?[Another_Link]<a
> +href="wiki.pl?action=edit;id=Another_Link">?</a>">another titled link</a>.</p>
> # '
> # doesn't match '(?-xism:<a href="wiki.pl\?Extended_Link_Two">)'
> # Looks like you failed 4 tests of 25.
Ah, yes,
http://www.wiki-toolkit.org/ticket/12
I have disabled the affected tests in my Debian packages after spending
quite some time failing how to fix them.
I haven't observed any breakage except in the tests. Maybe they should
be removed from the CPAN distribution if they can't be fixed.
Dominic.
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
More information about the CGI-Wiki-dev
mailing list