Commit Graph

26 Commits

Author SHA1 Message Date
Alex Schroeder
17f5e04ad1 (StaticFilesNewDoPost,
StaticFilesNewSave): Replace one by the other. We now hook into
Save() instead of DoPost() because this will make sure that static
files are recreated when a rollback from a text to an uploaded
file happens.
2007-08-12 11:37:01 +00:00
Alex Schroeder
7b19458768 (StaticHtml): Fix bug. Target is $1 and not $id. 2006-10-25 11:30:31 +00:00
Alex Schroeder
758c811c93 (StaticHtml): Fix bug. Target is $1 and not $id. 2006-10-25 11:23:44 +00:00
Alex Schroeder
4968c95ba1 (StaticHtml): Handle #REDIRECT. 2006-10-25 11:16:24 +00:00
Alex Schroeder
7c28b10e9e (StaticScriptLink): Remove unnecessary call to AllPagesList.
(StaticGetDownloadLink): Strip underlines from alt texts, return
URL only when requested (matches changes in wiki.pl's GetDownloadLink.
(GetDownloadLink): Ditto.
2006-08-13 23:10:49 +00:00
Alex Schroeder
85c2b08a85 (DoStatic, StaticFileName): Don't set
%StaticMimeTypes in DoStatic, as this has no effect here when
GetDownloadLink is called. StaticFileName is the right place.
2006-08-11 21:20:00 +00:00
Alex Schroeder
189f89ec2a Fix typo in init code. 2006-08-09 18:21:23 +00:00
Alex Schroeder
878b9f040e copy right year 2005-12-29 16:02:08 +00:00
Alex Schroeder
237c275b3c (StaticFileName): Use UrlDecode.
(StaticUrlDecode): Removed.
2005-09-02 12:05:48 +00:00
Sebastian Blatt
40790c9c8b fixed permission on uploaded static copy 2005-03-09 06:35:54 +00:00
Sebastian Blatt
a55acb2baa Added Image extension support to Static Copy extension 2005-03-01 16:48:01 +00:00
Alex Schroeder
800288ec57 (StaticWriteFile): Don't write empty html files. 2004-12-29 00:52:27 +00:00
Alex Schroeder
27d4ed21f2 (StaticWriteFile): Add support for html=0
parameter.
2004-12-29 00:41:21 +00:00
Alex Schroeder
8dee0d4920 (GetDownloadLink): Use StaticFileName. 2004-12-26 01:39:00 +00:00
Alex Schroeder
571313a5a8 (StaticDeleteFile): New.
(GetStaticDownloadLink): New, override the one from wiki.pl.
2004-12-26 01:08:21 +00:00
Alex Schroeder
d4c53336c0 *** empty log message *** 2004-12-26 00:38:36 +00:00
Alex Schroeder
cc34793cfd (StaticFileName, StaticWriteFile): Regexp fix.
(StaticFilesNewDoPost, StaticNewDeletePage, StaticDeleteFile): New.
2004-12-26 00:29:27 +00:00
Alex Schroeder
da93f49418 (StaticScriptLink): Don't link to non-existing pages.
(StaticHtml): Handle comment pages.
2004-10-13 19:01:35 +00:00
Alex Schroeder
861090d049 (StaticFileName): Add <br/>.
(StaticHtml): Add h1 title, limited goto-bar, and footer.
2004-10-13 18:30:42 +00:00
Alex Schroeder
e9aefaa5c9 (StaticFileName): Don't die on unreadable
files.
(StaticFile): Use binmode.
(StaticHtml): Take $LogoUrl and $SidabarName into account.
2004-10-08 20:53:27 +00:00
Alex Schroeder
4c44a2ea6a (StaticFileName): Fix encoding issue. When called from
StaticScriptLink, the $id is already UrlEncoded, so we have to
decode it again to get the filename.
(StaticUrlDecode): New.
2004-10-07 01:05:45 +00:00
Alex Schroeder
434f152809 Rewrite to correctly extract and link
uploaded files.
2004-10-07 00:22:38 +00:00
Alex Schroeder
46ea89e6a3 (DoStatic): Use static.css. 2004-08-31 15:10:19 +00:00
Alex Schroeder
9a61cbb34c (DoStatic): Produce valid XHTML. 2004-08-31 15:05:04 +00:00
Alex Schroeder
1a7bba7ac5 license 2004-08-18 16:51:02 +00:00
Alex Schroeder
e238f91362 new 2004-08-18 16:43:25 +00:00