From bf2bf18a792efde4f359875c98f2768a7da5558c Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sat, 18 Jul 2009 13:29:24 +0100 Subject: Advertise my 'among' branch for review --- doc/todo/backlinks_result_is_lossy.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/todo/backlinks_result_is_lossy.mdwn (limited to 'doc/todo/backlinks_result_is_lossy.mdwn') diff --git a/doc/todo/backlinks_result_is_lossy.mdwn b/doc/todo/backlinks_result_is_lossy.mdwn new file mode 100644 index 000000000..7b64a4f2c --- /dev/null +++ b/doc/todo/backlinks_result_is_lossy.mdwn @@ -0,0 +1,10 @@ +[[!tag patch patch/core]] + +IkiWiki::backlinks returns a form of $backlinks{$page} that has undergone a +lossy transformation (to get it in the form that page templates want), making +it more difficult to use in other contexts (like pagestats). + +A commit on my `among` branch splits it into IkiWiki::backlink_pages +(which returns the keys of $backlinks{$page}, and might be suitable for +exporting) and IkiWiki::backlinks (which calls backlink_pages, then performs +the same lossy transformation as before on the result). -- cgit v1.2.3