]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Setup.pm
openid: Use Openid Simple Registration or OpenID Attribute Exchange to get the user...
[ikiwiki.git] / IkiWiki / Setup.pm
index b21bd7bfe549929b29283226a14b1234c08ec595..a3fd5ce66466f45e1480776e31be39ece90f592b 100644 (file)
@@ -103,7 +103,7 @@ sub getsetup () {
                        # hashref between array and hash)
                        my %s=@s;
                        if (! exists $s{plugin} || ! $s{plugin}->{section}) {
-                               $s{plugin}->{section}="misc";
+                               $s{plugin}->{section}="other";
                        }
 
                        # only the selected rcs plugin is included
@@ -121,9 +121,11 @@ sub getsetup () {
         $config{syslog}=$syslog;
 
        return map { sort { $a->[0] cmp $b->[0] } @{$sections{$_}} }
-               sort { # core first, then alphabetical
+               sort { # core first, other last, otherwise alphabetical
                        ($b eq "core") <=> ($a eq "core")
                           ||
+                       ($a eq "other") <=> ($b eq "other")
+                          ||
                        $a cmp $b
                } keys %sections;
 }