projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44bb872
)
po: prevent a slave page to depend on itself
author
intrigeri
<intrigeri@boum.org>
Mon, 10 Nov 2008 11:48:27 +0000
(12:48 +0100)
committer
intrigeri
<intrigeri@boum.org>
Mon, 10 Nov 2008 11:48:27 +0000
(12:48 +0100)
It has never caused harm yet, but it might in the future.
Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Plugin/po.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/po.pm
b/IkiWiki/Plugin/po.pm
index 7bc702eca180bc54aaa9f9a872fa2c554a0c2ca6..d2e6bbdbcc6efbb3d2f4f75095b1c4ed3f1f56f6 100644
(file)
--- a/
IkiWiki/Plugin/po.pm
+++ b/
IkiWiki/Plugin/po.pm
@@
-496,7
+496,7
@@
sub pagetemplate (@) { #{{{
elsif (istranslation($page)) {
add_depends($page, $masterpage);
foreach my $translation (values %{$translations{$masterpage}}) {
- add_depends($page, $translation);
+ add_depends($page, $translation)
unless $page eq $translation
;
}
}
}