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@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.