summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/getsource.pm
AgeCommit message (Collapse)Author
2009-07-27getsource: remove temporary variableSimon McVittie
2009-07-26getsource: remove unnecessary IkiWiki:: prefixesSimon McVittie
Many variables and functions are exported.
2009-07-26getsource: don't allow getting the source of an attachmentSimon McVittie
Serving up images etc. as text/plain; charset=utf-8 is unlikely to work very well, and there's no point in having this CGI action for attachments (since they're copied into the output as-is anyway).
2009-07-26getsource: turn missing pages into a 404Simon McVittie
Also restructure so we return early on missing pages.
2009-07-26getsource: default to saying page source is in UTF-8, and make the example ↵Simon McVittie
match the default IkiWiki mostly assumes that pages are in UTF-8; anyone this doesn't work for can override it in the setup file.
2009-07-26getsource: run as plain CGI, rather than sessioncgiSimon McVittie
As I suggested when reviewing Will's code, calling loadindex() should be sufficient.
2009-07-26Add getsource pluginWill Uther