aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-07 16:55:16 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-07 16:55:16 +0000
commit072d097be13f8f11c9e93542a511cf86a2474db7 (patch)
tree3137f46f8ce8105107b8460bc3c5232fe64024b5
parent8abe3af165b2fe3ee7dfcc105dd8f7aabf661fb7 (diff)
downloadikiwiki-072d097be13f8f11c9e93542a511cf86a2474db7.tar
ikiwiki-072d097be13f8f11c9e93542a511cf86a2474db7.tar.gz
magic 0
-rw-r--r--IkiWiki/Render.pm2
-rw-r--r--doc/bugs/No_numbacklinks_setting_for___34__no_limit__34__.mdwn5
-rw-r--r--doc/usage.mdwn2
-rw-r--r--po/ikiwiki.pot2
4 files changed, 7 insertions, 4 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index b65d200a0..600318e68 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -46,7 +46,7 @@ sub backlinks ($) { #{{{
}
@links = sort { $a->{page} cmp $b->{page} } @links;
- return \@links, [] if @links <= $config{numbacklinks};
+ return \@links, [] if @links <= $config{numbacklinks} && ! $config{numbacklinks};
return [@links[0..$config{numbacklinks}-1]],
[@links[$config{numbacklinks}..$#links]];
} #}}}
diff --git a/doc/bugs/No_numbacklinks_setting_for___34__no_limit__34__.mdwn b/doc/bugs/No_numbacklinks_setting_for___34__no_limit__34__.mdwn
index 7a8d189ae..230befcdd 100644
--- a/doc/bugs/No_numbacklinks_setting_for___34__no_limit__34__.mdwn
+++ b/doc/bugs/No_numbacklinks_setting_for___34__no_limit__34__.mdwn
@@ -1 +1,4 @@
-No value for `numbacklinks` will achieve a setting of "no limit". --[[JoshTriplett]] \ No newline at end of file
+No value for `numbacklinks` will achieve a setting of "no limit".
+--[[JoshTriplett]]
+
+0 [[done]] --[[Joey]]
diff --git a/doc/usage.mdwn b/doc/usage.mdwn
index f80b02ff1..1d545e823 100644
--- a/doc/usage.mdwn
+++ b/doc/usage.mdwn
@@ -236,7 +236,7 @@ configuration options of their own.
* --numbacklinks n
Controls how many backlinks should be displayed maximum. Excess backlinks
- will be hidden in a popup. Default is 10.
+ will be hidden in a popup. Default is 10. Set to 0 to disable this feature.
* --userdir subdir
diff --git a/po/ikiwiki.pot b/po/ikiwiki.pot
index 29db5e4d3..9cead6183 100644
--- a/po/ikiwiki.pot
+++ b/po/ikiwiki.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-04-06 17:19-0400\n"
+"POT-Creation-Date: 2007-04-06 19:31-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"