From 42140a88fd366437faa25f8206f995c3a88e3662 Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 12 Jan 2007 21:22:28 +0000 Subject: [PATCH] recentchanges currently showing full paths also removed some cruft in discussion page --- doc/index/discussion.mdwn | 56 ++----------------- .../full_paths_in_recentchanges.mdwn | 15 +++++ 2 files changed, 21 insertions(+), 50 deletions(-) create mode 100644 doc/patchqueue/full_paths_in_recentchanges.mdwn diff --git a/doc/index/discussion.mdwn b/doc/index/discussion.mdwn index 2e3868429..25723ec55 100644 --- a/doc/index/discussion.mdwn +++ b/doc/index/discussion.mdwn @@ -85,40 +85,6 @@ easily, perl is possible (but I'm not strong in perl). ---- -# OpenID - -I just figured I'd edit something on the page with my OpenID, since you've implemented it! --*[Kyle](http://kitenet.net/~kyle/)*= - -> Kyle, If you like openid, I can switch your personal wiki over to use your openid. --[[Joey]] - ----- - -# ACL - -> Moved to [[todo/ACL]] --[[Joey]] - ----- - -Some questions about the RecentChanges function. -- Ethan - -> (Moved to [[todo/recentchanges]] --[[Joey]]) - ----- - -Also, I'd like to request another template parameter which is just -$config{url}. That way you won't have to hard-code the URL of the wiki into -the template. -- Ethan - -> That's already available in the BASEURL parameter. --[[Joey]] - ----- - -# Canonical feed location? - -Moved to [[todo/canonical_feed_location]] --[[Joey]] - ----- - # asciidoc or txt2tags ? Any plugins or support for using asciidoc or txt2tags as the wiki language and/or exporting to asciidoc or txt2tags? @@ -184,12 +150,6 @@ Any setting for limiting how many kilobytes can be submitted via the "edit" form ---- -# Disable sub-discussion pages? - -Moved to [[bugs]] -- [[Joey]] - ----- - # Access Keys Would anyone else find this a valuable addition. In oddmuse and instiki (the only other @@ -229,16 +189,6 @@ Ok, that's my last 2 cents for a while. --[Mazirian](http://mazirian.com) ---- -# Disable build/install requirement on PerlMagick - -Some installs of PerlMagick require X11. I tried to first disable using "img" by using "--disable-plugin img" -in the Makefile. But still failed. My workaround was to remove "img" from the bundle in IkiWiki/Plugin/goodstuff.pm -before building. What is the recommended way to install ikiwiki without "img" support? --[[JeremyReed]] - -> I've fixed this in svn so plugins in goodstuff can be disabled. --[[Joey]] - ----- - # Documentation for banning users? The [[todo]] page says admins can ban users. Where is this documented? I search the source and found @@ -277,6 +227,12 @@ or the path to the sub-page. I think this is handled by the htmllink() routine. >> user's browser. I hate these pages. So I propose to display a list of >> changed pages in a column, not in a row. --Pawel +>>> Well, it's a simple [[patch|patchqueue/full_paths_in_recentchanges]]. +>>> For a limited time I have that patch running on this wiki. Undecided if +>>> I like it or not; the width is not really a problem due to the design +>>> of the recentchanges page, but all those paths do clutter up the page +>>> somewhat. Comments? --[[Joey]] + ---- # Should not create an existing page diff --git a/doc/patchqueue/full_paths_in_recentchanges.mdwn b/doc/patchqueue/full_paths_in_recentchanges.mdwn new file mode 100644 index 000000000..a42a2726b --- /dev/null +++ b/doc/patchqueue/full_paths_in_recentchanges.mdwn @@ -0,0 +1,15 @@ +For my own refrence --[[Joey]] + + Index: CGI.pm + =================================================================== + --- CGI.pm (revision 2225) + +++ CGI.pm (working copy) + @@ -92,7 +92,7 @@ + delete @{$change->{pages}}[10 .. @{$change->{pages}}] if $is_excess; + $change->{pages} = [ + map { + - $_->{link} = htmllink("", "", $_->{page}, 1); + + $_->{link} = htmllink("", "", $_->{page}, 1, 0, pagetitle($_->{page})); + $_; + } @{$change->{pages}} + ]; -- 2.44.0