Signed-off-by: intrigeri <intrigeri@boum.org>
# Reinitialize module's private variables.
resetalreadyfiltered();
resettranslationscache();
+ flushmemoizecache();
# Trigger a wiki refresh.
require IkiWiki::Render;
# without preliminary saveindex/loadindex, refresh()
undef %translations;
} #}}}
+sub flushmemoizecache() { #{{{
+ Memoize::flush_cache("_istranslation");
+ Memoize::flush_cache("percenttranslated");
+} #}}}
+
sub urlto_with_orig_beautiful_urlpath($$) { #{{{
my $to=shift;
my $from=shift;
### Creating pages
- creating a master page via RCS: **OK**
-- creating a master page via CGI: **FIXME** the new page's
- translations are rendered as if they weren't translations (i.e.
- `targetpage=newpage.LL/index.html`, and no de-gettext-isation);
- touch'ing `newpage.mdwn` + refresh does not fix it, rebuild does.
+- creating a master page via CGI: **FIXME** the new master page has no
+ `otherlanguages` links until refreshed once more
### Deleting pages