# Important security check.
if (-e "$config{destdir}/$dest" && ! $config{rebuild} &&
- ! grep { $_ eq $dest } (@{$renderedfiles{$page}}, @{$oldrenderedfiles{$page}})) {
+ ! grep { $_ eq $dest } (@{$renderedfiles{$page}}, @{$oldrenderedfiles{$page}}, @{$wikistate{editpage}{previews}})) {
error("$config{destdir}/$dest independently created, not overwriting with version from $page");
}
sub import { #{{{
hook(type => "getsetup", id => "editpage", call => \&getsetup);
+ hook(type => "refresh", id => "editpage", call => \&refresh);
hook(type => "sessioncgi", id => "editpage", call => \&IkiWiki::cgi_editpage);
} # }}}
},
} #}}}
+sub refresh () {
+ if (exists $wikistate{editpage} && exists $wikistate{editpage}{previews}) {
+ # Expire old preview files after one hour.
+ my $expire=time - (60 * 60);
+
+ my @previews;
+ foreach my $file (@{$wikistate{editpage}{previews}}) {
+ my $mtime=(stat("$config{destdir}/$file"))[9];
+ if (defined $mtime && $mtime <= $expire) {
+ debug(sprintf(gettext("removing old preview %s"), $file));
+ IkiWiki::prune("$config{destdir}/$file");
+ }
+ elsif (defined $mtime) {
+ push @previews, $file;
+ }
+ }
+ $wikistate{editpage}{previews}=\@previews;
+ }
+}
+
# Back to ikiwiki namespace for the rest, this code is very much
# internal to ikiwiki even though it's separated into a plugin,
# and other plugins use the functions below.
# temporarily record its type
$pagesources{$page}=$page.".".$type;
}
+ my %wasrendered=map { $_ => 1 } @{$renderedfiles{$page}};
my $content=$form->field('editcontent');
);
});
$form->tmpl_param("page_preview", $preview);
-
+
if ($new) {
delete $pagesources{$page};
}
- # previewing may have created files on disk
+
+ # Previewing may have created files on disk.
+ # Keep a list of these to be deleted later.
+ my %previews = map { $_ => 1 } @{$wikistate{editpage}{previews}};
+ foreach my $file (@{$renderedfiles{$page}}) {
+ $previews{$file}=1 unless $wasrendered{$file};
+ }
+ @{$wikistate{editpage}{previews}} = keys %previews;
saveindex();
}
elsif ($form->submitted eq "Save Page") {
call => \&preprocess);
hook(type => "formbuilder", id => "edittemplate",
call => \&formbuilder);
- hook(type => "refresh", id => "edittemplate",
- call => \&refresh);
} #}}}
sub getsetup () { #{{{
return $template->output;
} #}}}
-sub refresh () {
-
-}
-
1
index format should be transparent.
* Add %wikistate, which is like %pagestate except not specific to a given
page, and is preserved across rebuilds.
+ * editpage: Be more aggressive (and less buggy) about cleaning up
+ temporary files rendered during page preview.
-- Joey Hess <joeyh@debian.org> Thu, 25 Sep 2008 13:45:55 -0400
> One fix would be to stash a copy of `%renderedfiles` before generating
> the preview, then compare it afterwards to see how it changed and
> determine what files were added, and record those someplace, and delete
-> them on a future refresh (after some reasonable time period).
+> them on a future refresh (after some reasonable time period). [[done]]
>
> Another approach would be to make previewing always render files with
> some well-known temporary name. Then all such temp files could be removed
msgstr ""
"Project-Id-Version: ikiwiki-bg\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-09-27 14:10-0400\n"
+"POT-Creation-Date: 2008-09-27 17:03-0400\n"
"PO-Revision-Date: 2007-01-12 01:19+0200\n"
"Last-Translator: Damyan Ivanov <dam@modsodtsys.com>\n"
"Language-Team: Bulgarian <dict@fsa-bg.org>\n"
msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:311
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:339
msgid "Your login session has expired."
msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:222
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:250
#: ../IkiWiki/Plugin/inline.pm:323 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
msgid "no text was copied in this page with id %s"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:111
+#: ../IkiWiki/Plugin/editpage.pm:32
+#, fuzzy, perl-format
+msgid "removing old preview %s"
+msgstr "премахване на старата страница „%s”"
+
+#: ../IkiWiki/Plugin/editpage.pm:132
#, perl-format
msgid "%s is not an editable page"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:278
+#: ../IkiWiki/Plugin/editpage.pm:306
#, perl-format
msgid "creating %s"
msgstr "създаване на %s"
-#: ../IkiWiki/Plugin/editpage.pm:296 ../IkiWiki/Plugin/editpage.pm:324
-#: ../IkiWiki/Plugin/editpage.pm:334 ../IkiWiki/Plugin/editpage.pm:369
-#: ../IkiWiki/Plugin/editpage.pm:414
+#: ../IkiWiki/Plugin/editpage.pm:324 ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:362 ../IkiWiki/Plugin/editpage.pm:397
+#: ../IkiWiki/Plugin/editpage.pm:442
#, perl-format
msgid "editing %s"
msgstr "промяна на %s"
msgid "preprocessing loop detected on %s at depth %i"
msgstr "открита е циклична завидимост при %s на „%s” на дълбочина %i"
-#: ../IkiWiki.pm:1614
+#: ../IkiWiki.pm:1635
msgid "yes"
msgstr ""
msgstr ""
"Project-Id-Version: ikiwiki\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-09-27 14:10-0400\n"
+"POT-Creation-Date: 2008-09-27 17:03-0400\n"
"PO-Revision-Date: 2007-05-09 21:21+0200\n"
"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
msgid "login failed, perhaps you need to turn on cookies?"
msgstr "přihlášení selhalo; možná si musíte povolit cookies?"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:311
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:339
msgid "Your login session has expired."
msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:222
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:250
#: ../IkiWiki/Plugin/inline.pm:323 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
msgid "no text was copied in this page with id %s"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:111
+#: ../IkiWiki/Plugin/editpage.pm:32
+#, fuzzy, perl-format
+msgid "removing old preview %s"
+msgstr "odstraňuji starou stránku %s"
+
+#: ../IkiWiki/Plugin/editpage.pm:132
#, perl-format
msgid "%s is not an editable page"
msgstr "%s není editovatelná stránka"
-#: ../IkiWiki/Plugin/editpage.pm:278
+#: ../IkiWiki/Plugin/editpage.pm:306
#, perl-format
msgid "creating %s"
msgstr "vytvářím %s"
-#: ../IkiWiki/Plugin/editpage.pm:296 ../IkiWiki/Plugin/editpage.pm:324
-#: ../IkiWiki/Plugin/editpage.pm:334 ../IkiWiki/Plugin/editpage.pm:369
-#: ../IkiWiki/Plugin/editpage.pm:414
+#: ../IkiWiki/Plugin/editpage.pm:324 ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:362 ../IkiWiki/Plugin/editpage.pm:397
+#: ../IkiWiki/Plugin/editpage.pm:442
#, perl-format
msgid "editing %s"
msgstr "upravuji %s"
msgid "preprocessing loop detected on %s at depth %i"
msgstr "Byla rozpoznána smyčka direktivy %s na %s v hloubce %i"
-#: ../IkiWiki.pm:1614
+#: ../IkiWiki.pm:1635
msgid "yes"
msgstr ""
msgstr ""
"Project-Id-Version: ikiwiki\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-09-27 14:10-0400\n"
+"POT-Creation-Date: 2008-09-27 17:03-0400\n"
"PO-Revision-Date: 2008-08-11 01:04+0200\n"
"Last-Translator: Jonas Smedegaard <dr@jones.dk>\n"
"Language-Team: None\n"
msgid "login failed, perhaps you need to turn on cookies?"
msgstr "Pålogning mislykkedes, måske skal du tillade infokager (cookies)?"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:311
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:339
msgid "Your login session has expired."
msgstr "Din kørsel (login session) er udløbet"
msgid "automatic index generation"
msgstr "automatisk indeks-dannelse"
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:222
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:250
#: ../IkiWiki/Plugin/inline.pm:323 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
msgid "no text was copied in this page with id %s"
msgstr "ingen tekst blev kopieret i denne side med id %s"
-#: ../IkiWiki/Plugin/editpage.pm:111
+#: ../IkiWiki/Plugin/editpage.pm:32
+#, fuzzy, perl-format
+msgid "removing old preview %s"
+msgstr "fjerner gammel side %s"
+
+#: ../IkiWiki/Plugin/editpage.pm:132
#, perl-format
msgid "%s is not an editable page"
msgstr "%s er ikke en redigérbar side"
-#: ../IkiWiki/Plugin/editpage.pm:278
+#: ../IkiWiki/Plugin/editpage.pm:306
#, perl-format
msgid "creating %s"
msgstr "opretter %s"
-#: ../IkiWiki/Plugin/editpage.pm:296 ../IkiWiki/Plugin/editpage.pm:324
-#: ../IkiWiki/Plugin/editpage.pm:334 ../IkiWiki/Plugin/editpage.pm:369
-#: ../IkiWiki/Plugin/editpage.pm:414
+#: ../IkiWiki/Plugin/editpage.pm:324 ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:362 ../IkiWiki/Plugin/editpage.pm:397
+#: ../IkiWiki/Plugin/editpage.pm:442
#, perl-format
msgid "editing %s"
msgstr "redigerer %s"
msgid "preprocessing loop detected on %s at depth %i"
msgstr "forudberegningssløkke fundet på %s ved dybde %i"
-#: ../IkiWiki.pm:1614
+#: ../IkiWiki.pm:1635
msgid "yes"
msgstr "ja"
msgstr ""
"Project-Id-Version: ikiwiki 2.40\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-09-27 14:10-0400\n"
+"POT-Creation-Date: 2008-09-27 17:03-0400\n"
"PO-Revision-Date: 2008-03-03 21:22+0100\n"
"Last-Translator: Kai Wasserbäch <debian@carbon-project.org>\n"
"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
msgstr ""
"Anmeldung fehlgeschlagen, möglicherweise müssen Sie zuvor Cookies aktivieren?"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:311
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:339
msgid "Your login session has expired."
msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:222
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:250
#: ../IkiWiki/Plugin/inline.pm:323 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
msgid "no text was copied in this page with id %s"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:111
+#: ../IkiWiki/Plugin/editpage.pm:32
+#, fuzzy, perl-format
+msgid "removing old preview %s"
+msgstr "entferne alte Seite %s"
+
+#: ../IkiWiki/Plugin/editpage.pm:132
#, perl-format
msgid "%s is not an editable page"
msgstr "%s ist keine bearbeitbare Seite"
-#: ../IkiWiki/Plugin/editpage.pm:278
+#: ../IkiWiki/Plugin/editpage.pm:306
#, perl-format
msgid "creating %s"
msgstr "erstelle %s"
-#: ../IkiWiki/Plugin/editpage.pm:296 ../IkiWiki/Plugin/editpage.pm:324
-#: ../IkiWiki/Plugin/editpage.pm:334 ../IkiWiki/Plugin/editpage.pm:369
-#: ../IkiWiki/Plugin/editpage.pm:414
+#: ../IkiWiki/Plugin/editpage.pm:324 ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:362 ../IkiWiki/Plugin/editpage.pm:397
+#: ../IkiWiki/Plugin/editpage.pm:442
#, perl-format
msgid "editing %s"
msgstr "bearbeite %s"
msgid "preprocessing loop detected on %s at depth %i"
msgstr "Präprozessorschleife %s auf Seite %s in Tiefe %i erkannt"
-#: ../IkiWiki.pm:1614
+#: ../IkiWiki.pm:1635
msgid "yes"
msgstr ""
msgstr ""
"Project-Id-Version: es\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-09-27 14:10-0400\n"
+"POT-Creation-Date: 2008-09-27 17:03-0400\n"
"PO-Revision-Date: 2008-03-06 11:07+0100\n"
"Last-Translator: Víctor Moral <victor@taquiones.net>\n"
"Language-Team: Spanish <es@li.org>\n"
msgstr ""
"registro fallido, ¿ tal vez necesita activar las cookies en el navegador ?"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:311
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:339
msgid "Your login session has expired."
msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:222
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:250
#: ../IkiWiki/Plugin/inline.pm:323 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
msgid "no text was copied in this page with id %s"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:111
+#: ../IkiWiki/Plugin/editpage.pm:32
+#, fuzzy, perl-format
+msgid "removing old preview %s"
+msgstr "eliminando la antigua página %s"
+
+#: ../IkiWiki/Plugin/editpage.pm:132
#, perl-format
msgid "%s is not an editable page"
msgstr "la página %s no es modificable"
-#: ../IkiWiki/Plugin/editpage.pm:278
+#: ../IkiWiki/Plugin/editpage.pm:306
#, perl-format
msgid "creating %s"
msgstr "creando página %s"
-#: ../IkiWiki/Plugin/editpage.pm:296 ../IkiWiki/Plugin/editpage.pm:324
-#: ../IkiWiki/Plugin/editpage.pm:334 ../IkiWiki/Plugin/editpage.pm:369
-#: ../IkiWiki/Plugin/editpage.pm:414
+#: ../IkiWiki/Plugin/editpage.pm:324 ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:362 ../IkiWiki/Plugin/editpage.pm:397
+#: ../IkiWiki/Plugin/editpage.pm:442
#, perl-format
msgid "editing %s"
msgstr "modificando página %s"
"se ha detectado un bucle de preprocesado %s en la página %s en la vuelta "
"número %i"
-#: ../IkiWiki.pm:1614
+#: ../IkiWiki.pm:1635
msgid "yes"
msgstr ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-09-27 14:10-0400\n"
+"POT-Creation-Date: 2008-09-27 17:03-0400\n"
"PO-Revision-Date: 2008-04-29 17:46+0200\n"
"Last-Translator: Christian Perrier <bubulle@debian.org>\n"
"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
msgstr ""
"Échec de l'identification, vous devriez peut-être autoriser les cookies."
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:311
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:339
msgid "Your login session has expired."
msgstr "Session d'authentification expirée."
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:222
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:250
#: ../IkiWiki/Plugin/inline.pm:323 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
msgid "no text was copied in this page with id %s"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:111
+#: ../IkiWiki/Plugin/editpage.pm:32
+#, fuzzy, perl-format
+msgid "removing old preview %s"
+msgstr "Suppression de l'ancienne page %s"
+
+#: ../IkiWiki/Plugin/editpage.pm:132
#, perl-format
msgid "%s is not an editable page"
msgstr "%s n'est pas une page éditable"
-#: ../IkiWiki/Plugin/editpage.pm:278
+#: ../IkiWiki/Plugin/editpage.pm:306
#, perl-format
msgid "creating %s"
msgstr "Création de %s"
-#: ../IkiWiki/Plugin/editpage.pm:296 ../IkiWiki/Plugin/editpage.pm:324
-#: ../IkiWiki/Plugin/editpage.pm:334 ../IkiWiki/Plugin/editpage.pm:369
-#: ../IkiWiki/Plugin/editpage.pm:414
+#: ../IkiWiki/Plugin/editpage.pm:324 ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:362 ../IkiWiki/Plugin/editpage.pm:397
+#: ../IkiWiki/Plugin/editpage.pm:442
#, perl-format
msgid "editing %s"
msgstr "Édition de %s"
msgstr ""
"%s une boucle a été détectée dans le prétraitement de %s, à la profondeur %i"
-#: ../IkiWiki.pm:1614
+#: ../IkiWiki.pm:1635
msgid "yes"
msgstr ""
msgstr ""
"Project-Id-Version: ikiwiki-gu\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-09-27 14:10-0400\n"
+"POT-Creation-Date: 2008-09-27 17:03-0400\n"
"PO-Revision-Date: 2007-01-11 16:05+0530\n"
"Last-Translator: Kartik Mistry <kartik.mistry@gmail.com>\n"
"Language-Team: Gujarati <team@utkarsh.org>\n"
msgid "login failed, perhaps you need to turn on cookies?"
msgstr "પ્રવેશ નિષ્ફળ, કદાચ તમારી કુકીઓ સક્રિય બનાવવી પડશે?"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:311
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:339
msgid "Your login session has expired."
msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:222
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:250
#: ../IkiWiki/Plugin/inline.pm:323 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
msgid "no text was copied in this page with id %s"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:111
+#: ../IkiWiki/Plugin/editpage.pm:32
+#, fuzzy, perl-format
+msgid "removing old preview %s"
+msgstr "જુનાં પાનાં દૂર કરે છે %s"
+
+#: ../IkiWiki/Plugin/editpage.pm:132
#, perl-format
msgid "%s is not an editable page"
msgstr "%s એ સુધારી શકાય તેવું પાનું નથી"
-#: ../IkiWiki/Plugin/editpage.pm:278
+#: ../IkiWiki/Plugin/editpage.pm:306
#, perl-format
msgid "creating %s"
msgstr "%s બનાવે છે"
-#: ../IkiWiki/Plugin/editpage.pm:296 ../IkiWiki/Plugin/editpage.pm:324
-#: ../IkiWiki/Plugin/editpage.pm:334 ../IkiWiki/Plugin/editpage.pm:369
-#: ../IkiWiki/Plugin/editpage.pm:414
+#: ../IkiWiki/Plugin/editpage.pm:324 ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:362 ../IkiWiki/Plugin/editpage.pm:397
+#: ../IkiWiki/Plugin/editpage.pm:442
#, perl-format
msgid "editing %s"
msgstr "%s સુધારે છે"
msgid "preprocessing loop detected on %s at depth %i"
msgstr "%s પર શોધાયેલ લુપ %s પર ચલાવે છે %i ઉંડાણ પર"
-#: ../IkiWiki.pm:1614
+#: ../IkiWiki.pm:1635
msgid "yes"
msgstr ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-09-27 16:40-0400\n"
+"POT-Creation-Date: 2008-09-27 17:03-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"
msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:311
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:339
msgid "Your login session has expired."
msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:222
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:250
#: ../IkiWiki/Plugin/inline.pm:323 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
msgid "no text was copied in this page with id %s"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:111
+#: ../IkiWiki/Plugin/editpage.pm:32
+#, perl-format
+msgid "removing old preview %s"
+msgstr ""
+
+#: ../IkiWiki/Plugin/editpage.pm:132
#, perl-format
msgid "%s is not an editable page"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:278
+#: ../IkiWiki/Plugin/editpage.pm:306
#, perl-format
msgid "creating %s"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:296 ../IkiWiki/Plugin/editpage.pm:324
-#: ../IkiWiki/Plugin/editpage.pm:334 ../IkiWiki/Plugin/editpage.pm:369
-#: ../IkiWiki/Plugin/editpage.pm:414
+#: ../IkiWiki/Plugin/editpage.pm:324 ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:362 ../IkiWiki/Plugin/editpage.pm:397
+#: ../IkiWiki/Plugin/editpage.pm:442
#, perl-format
msgid "editing %s"
msgstr ""
-#: ../IkiWiki/Plugin/edittemplate.pm:53
+#: ../IkiWiki/Plugin/edittemplate.pm:51
msgid "template not specified"
msgstr ""
-#: ../IkiWiki/Plugin/edittemplate.pm:56
+#: ../IkiWiki/Plugin/edittemplate.pm:54
msgid "match not specified"
msgstr ""
-#: ../IkiWiki/Plugin/edittemplate.pm:64
+#: ../IkiWiki/Plugin/edittemplate.pm:62
#, perl-format
msgid "edittemplate %s registered for %s"
msgstr ""
-#: ../IkiWiki/Plugin/edittemplate.pm:135
+#: ../IkiWiki/Plugin/edittemplate.pm:133
msgid "failed to process"
msgstr ""
msgid "preprocessing loop detected on %s at depth %i"
msgstr ""
-#: ../IkiWiki.pm:1632
+#: ../IkiWiki.pm:1635
msgid "yes"
msgstr ""
msgstr ""
"Project-Id-Version: ikiwiki 1.51\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-09-27 14:10-0400\n"
+"POT-Creation-Date: 2008-09-27 17:03-0400\n"
"PO-Revision-Date: 2007-04-27 22:05+0200\n"
"Last-Translator: Pawel Tecza <ptecza@net.icm.edu.pl>\n"
"Language-Team: Debian L10n Polish <debian-l10n-polish@lists.debian.org>\n"
"Nieudane logowanie. Proszę sprawdzić czy w przeglądarce włączone są "
"ciasteczka (ang. cookies)"
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:311
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:339
msgid "Your login session has expired."
msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:222
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:250
#: ../IkiWiki/Plugin/inline.pm:323 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
msgid "no text was copied in this page with id %s"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:111
+#: ../IkiWiki/Plugin/editpage.pm:32
+#, fuzzy, perl-format
+msgid "removing old preview %s"
+msgstr "usuwanie starej strony %s"
+
+#: ../IkiWiki/Plugin/editpage.pm:132
#, perl-format
msgid "%s is not an editable page"
msgstr "Strona %s nie może być edytowana"
-#: ../IkiWiki/Plugin/editpage.pm:278
+#: ../IkiWiki/Plugin/editpage.pm:306
#, perl-format
msgid "creating %s"
msgstr "tworzenie %s"
-#: ../IkiWiki/Plugin/editpage.pm:296 ../IkiWiki/Plugin/editpage.pm:324
-#: ../IkiWiki/Plugin/editpage.pm:334 ../IkiWiki/Plugin/editpage.pm:369
-#: ../IkiWiki/Plugin/editpage.pm:414
+#: ../IkiWiki/Plugin/editpage.pm:324 ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:362 ../IkiWiki/Plugin/editpage.pm:397
+#: ../IkiWiki/Plugin/editpage.pm:442
#, perl-format
msgid "editing %s"
msgstr "edycja %s"
msgid "preprocessing loop detected on %s at depth %i"
msgstr "polecenie preprocesora %s wykryte w %s na głębokości %i"
-#: ../IkiWiki.pm:1614
+#: ../IkiWiki.pm:1635
msgid "yes"
msgstr ""
msgstr ""
"Project-Id-Version: ikiwiki\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-09-27 14:10-0400\n"
+"POT-Creation-Date: 2008-09-27 17:03-0400\n"
"PO-Revision-Date: 2007-01-10 23:47+0100\n"
"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:311
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:339
msgid "Your login session has expired."
msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:222
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:250
#: ../IkiWiki/Plugin/inline.pm:323 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
msgid "no text was copied in this page with id %s"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:111
+#: ../IkiWiki/Plugin/editpage.pm:32
+#, fuzzy, perl-format
+msgid "removing old preview %s"
+msgstr "tar bort gammal sida %s"
+
+#: ../IkiWiki/Plugin/editpage.pm:132
#, perl-format
msgid "%s is not an editable page"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:278
+#: ../IkiWiki/Plugin/editpage.pm:306
#, perl-format
msgid "creating %s"
msgstr "skapar %s"
-#: ../IkiWiki/Plugin/editpage.pm:296 ../IkiWiki/Plugin/editpage.pm:324
-#: ../IkiWiki/Plugin/editpage.pm:334 ../IkiWiki/Plugin/editpage.pm:369
-#: ../IkiWiki/Plugin/editpage.pm:414
+#: ../IkiWiki/Plugin/editpage.pm:324 ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:362 ../IkiWiki/Plugin/editpage.pm:397
+#: ../IkiWiki/Plugin/editpage.pm:442
#, perl-format
msgid "editing %s"
msgstr "redigerar %s"
msgid "preprocessing loop detected on %s at depth %i"
msgstr "%s förbehandlingsslinga detekterades på %s, djup %i"
-#: ../IkiWiki.pm:1614
+#: ../IkiWiki.pm:1635
msgid "yes"
msgstr ""
msgstr ""
"Project-Id-Version: ikiwiki\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-09-27 14:10-0400\n"
+"POT-Creation-Date: 2008-09-27 17:03-0400\n"
"PO-Revision-Date: 2007-01-13 15:31+1030\n"
"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
"Language-Team: Vietnamese <vi-VN@googlegroups.com>\n"
msgid "login failed, perhaps you need to turn on cookies?"
msgstr ""
-#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:311
+#: ../IkiWiki/CGI.pm:163 ../IkiWiki/Plugin/editpage.pm:339
msgid "Your login session has expired."
msgstr ""
msgid "automatic index generation"
msgstr ""
-#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:222
+#: ../IkiWiki/Plugin/brokenlinks.pm:33 ../IkiWiki/Plugin/editpage.pm:250
#: ../IkiWiki/Plugin/inline.pm:323 ../IkiWiki/Plugin/opendiscussion.pm:26
#: ../IkiWiki/Plugin/orphans.pm:37 ../IkiWiki/Render.pm:79
#: ../IkiWiki/Render.pm:149
msgid "no text was copied in this page with id %s"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:111
+#: ../IkiWiki/Plugin/editpage.pm:32
+#, fuzzy, perl-format
+msgid "removing old preview %s"
+msgstr "đang gỡ bỏ trang cũ %s"
+
+#: ../IkiWiki/Plugin/editpage.pm:132
#, perl-format
msgid "%s is not an editable page"
msgstr ""
-#: ../IkiWiki/Plugin/editpage.pm:278
+#: ../IkiWiki/Plugin/editpage.pm:306
#, perl-format
msgid "creating %s"
msgstr "đang tạo %s"
-#: ../IkiWiki/Plugin/editpage.pm:296 ../IkiWiki/Plugin/editpage.pm:324
-#: ../IkiWiki/Plugin/editpage.pm:334 ../IkiWiki/Plugin/editpage.pm:369
-#: ../IkiWiki/Plugin/editpage.pm:414
+#: ../IkiWiki/Plugin/editpage.pm:324 ../IkiWiki/Plugin/editpage.pm:352
+#: ../IkiWiki/Plugin/editpage.pm:362 ../IkiWiki/Plugin/editpage.pm:397
+#: ../IkiWiki/Plugin/editpage.pm:442
#, perl-format
msgid "editing %s"
msgstr "đang sửa %s"
msgid "preprocessing loop detected on %s at depth %i"
msgstr "vòng lặp tiền xử lý %s được phát hiện trên %s ở độ sâu %i"
-#: ../IkiWiki.pm:1614
+#: ../IkiWiki.pm:1635
msgid "yes"
msgstr ""