| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
A user might specify an attachment, but not click the upload button,
and just save the whole page instead.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Make it a config setting, this way subtle load order issues don't come into
play. (As much?)
|
| |
|
|
|
|
|
| |
Put the attachment in a subdir of the page it's attached to,
unless that page is an "index" page.
|
| |
|
|
|
|
| |
canedit should fail first as it's a less expensive and harder to pass test
|
|
|
|
| |
Needed to prevent uploads of locked pages as attachments.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Currently includes UI, and a few tests of the attachment, as well as the
framework to extend pagespecs to test attachments. Does not actually save
the file yet.
|
|
|
|
|
| |
This allows plugins that want to enable uploads to do so by changing the
value of $CGI::DISABLE_UPLOADS at some point before the cgi hook is run.
|
|
|
|
|
| |
The title was set to editpage, but then always changed.
And some code tested for this. Remove this dead code.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* toc: Revert change in 2.45 that made it run at sanitize time. This breaks
use of toc in a sidebar.
* Call format hooks when generating page previews, thus fixing toc display
there, as well as fixing inlins to again display in page previews, since
it's started using format hooks. This also allows several other things,
like embed, that use format hooks, to work during page preview time.
* Format hooks should not rely on getting an entire html document, as they
will only get the body during page preview.
* toggle: Deal with preview mode when adding javascript.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This change needs libtext-wikicreole-perl (>= 0.05-2).
Also removing custom link function, there's no need for it -
if it is not defined, the unmodified markup will be returned.
|
|
|
|
|
| |
Allows to specify the template file which is used to
create the html pages.
|
|
|
|
|
| |
ikiwiki already does, and escaped links should not be processed by creole
after ikiwiki de-escapes them
|
| |
|
|
|
|
| |
is flagged as utf-8, but contains invalid characters such as 0x92. To prevent it from crashing, re-encode the content before calling it, which will ensure that it's really utf-8.
|
|
|
|
| |
map: Support show=description.
|
|
|
|
|
|
|
|
| |
Can't sort by titles; the tree building logic requires that the list be
sorted by page name.
Setting linktext => $page is not the same as omitting it entirely. So some
contortions to only set linktext when the page name is not being shown.
|
| |
|
| |
|
|
|
|
|
| |
Reindented, moved a TODO from page to code, trimmed some unnecessary
comments, and simplified the use of mkstemp.
|
| |
|
|
|
|
| |
titles, rather than the default page name. Based on a patch from Jaldhar H. Vyas, Closes: #484510
|
|
|
|
|
|
| |
* ikiwiki-mass-rebuild: Make group list comparison more robust.
* search: Work around xapian bug #486138 by only stemming locales
in a whitelist.
|
|
|
|
| |
class and id too.
|
| |
|
|
|
|
|
| |
- Add a Help link.
- If the pageterm is too long, hash it.
|
|
|
|
|
| |
This fixes a recent minor reversion caused by loading plugins earlier than
the messages are printed. Some plugins might check if rebuild is set.
|