we want the recentchanges link to be the first floating action
authorJoey Hess <joey@kitenet.net>
Sat, 15 May 2010 00:10:18 +0000 (20:10 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 15 May 2010 00:10:18 +0000 (20:10 -0400)
IkiWiki/Plugin/recentchanges.pm

index 65044080fe78d835d1d4b57e627ec0a9c8052661..7eba931be537be30790b094598c16536aa42a15f 100644 (file)
@@ -11,7 +11,8 @@ sub import {
        hook(type => "getsetup", id => "recentchanges", call => \&getsetup);
        hook(type => "checkconfig", id => "recentchanges", call => \&checkconfig);
        hook(type => "refresh", id => "recentchanges", call => \&refresh);
-       hook(type => "pageactions", id => "recentchanges", call => \&pageactions);
+       hook(type => "pageactions", id => "recentchanges", call => \&pageactions,
+               first => 1);
        hook(type => "pagetemplate", id => "recentchanges", call => \&pagetemplate);
        hook(type => "htmlize", id => "_change", call => \&htmlize);
        # Load goto to fix up links from recentchanges