ikiwiki/t
Joey Hess 7f80e52543 Fix the link() pagespec to match links that are internally recorded as absolute.
This fixes a problem exposed by the recent change to tags
(a2839de936). That recorded tag links as
absolute by including a leading slash in the link. The same could also be
done with an absolute wikilink.

In either case, link() would not match such links, unless the leading slash
was included in the link to match. But that's not right, because pagespecs
match absolute by default. So strip the leading slash.

Note that to keep any existing `link(/foo)` pagespecs working after this
change, the leading slash is removed from there, too.
2008-11-09 15:31:57 -05:00
..
basewiki_brokenlinks * Add a test ensuring that the basewiki is self-contained and has no broken 2007-05-20 01:00:21 +00:00
parentlinks/templates pedigree rename to parentlinks: rename/adapt everything 2008-07-15 16:25:39 +02:00
tinyblog add test data 2008-07-25 19:41:01 -04:00
basename.t add 2006-05-02 21:15:39 +00:00
basewiki_brokenlinks.t test for brokenlinks when listdirectives is enabled, too 2008-09-11 19:06:44 -04:00
bazaar.t update rcs tests for new rcs plugin load method 2008-08-01 16:45:05 -04:00
bestlink.t Add userdir testcases. This also fixes an undefined value. 2007-01-06 04:22:46 +00:00
crazy-badass-perl-bug.t Pass a destpage parameter to the sanitize hook. 2008-06-04 01:24:23 -04:00
dirname.t add 2006-05-02 21:15:39 +00:00
file_pruned.t file_pruned regression tests 2007-12-18 00:38:06 -05:00
git.t update rcs tests for new rcs plugin load method 2008-08-01 16:45:05 -04:00
html.t todo is not built, so don't try to check it 2008-07-14 21:20:48 -04:00
htmlize.t Pass a destpage parameter to the sanitize hook. 2008-06-04 01:24:23 -04:00
index.t add loadindex/saveindex test suite 2008-03-22 13:56:44 -04:00
linkify.t fix test to support rel= 2008-05-30 17:12:32 -04:00
linkpage.t Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
mercurial.t update rcs tests for new rcs plugin load method 2008-08-01 16:45:05 -04:00
pagename.t Add keepextension parameter to htmlize hook. (Willu) 2008-09-23 13:39:21 -04:00
pagespec_match.t Fix the link() pagespec to match links that are internally recorded as absolute. 2008-11-09 15:31:57 -05:00
pagespec_merge.t * Work on firming up the plugin interface: 2006-09-09 22:50:27 +00:00
pagetitle.t Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
pagetype.mdwn add 2006-09-11 03:52:55 +00:00
parentlinks.t pedigree rename to parentlinks: rename/adapt everything 2008-07-15 16:25:39 +02:00
permalink.t add a regression test to ensure that permalinks never change 2008-07-25 19:40:28 -04:00
preprocess.t Add new preprocessor directive syntax¸ using a '!' prefix. 2008-01-27 16:14:38 -08:00
readfile.t * Work on firming up the plugin interface: 2006-09-09 22:50:27 +00:00
renamepage.t fix encoding issues with link conversion 2008-07-24 12:36:10 -04:00
svn.t update rcs tests for new rcs plugin load method 2008-08-01 16:45:05 -04:00
syntax.t test skeleton.pm.example 2008-08-03 19:36:10 -04:00
test1.mdwn * -CSD does not affect modules, so readfile() was not using the utf-8 input 2006-06-15 06:37:33 +00:00
test2.mdwn add a testcase for the weird markdown utf-8 crasher to make sure that 2006-06-16 04:56:25 +00:00
test3.mdwn FUCK UTF8 fuck fuck fuck!!! 2006-07-02 03:54:12 +00:00
titlepage.t Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00