]> sipb.mit.edu Git - ikiwiki.git/commitdiff
recentchanges currently showing full paths
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 12 Jan 2007 21:22:28 +0000 (21:22 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 12 Jan 2007 21:22:28 +0000 (21:22 +0000)
also removed some cruft in discussion page

doc/index/discussion.mdwn
doc/patchqueue/full_paths_in_recentchanges.mdwn [new file with mode: 0644]

index 2e38684294c032fe73527d2b72c68edc7562875e..25723ec55ca3101bd2bf2bfeb5c943aa3db4e234 100644 (file)
@@ -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?
 # 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
 # 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 
 # 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
 
 >> 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
 ----
 
 # 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 (file)
index 0000000..a42a272
--- /dev/null
@@ -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}}
+                       ];