Commit Graph

2176 Commits

Author SHA1 Message Date
Markus Lude
fbb024bdef added period to end of one text 2005-12-11 20:15:29 +00:00
Alex Schroeder
3f37256e8e (ValidId): Return when $id is undefined before doing a
replacement in order to not get a warning.
2005-12-11 00:43:22 +00:00
Alex Schroeder
479ff98da6 (TocRule, TocHeadings): Change how anchor names are determined to
rule out conflicts with included pages such as the sidebar.
2005-12-08 12:42:36 +00:00
Alex Schroeder
9ad5c95768 *** empty log message *** 2005-12-08 12:41:06 +00:00
Alex Schroeder
955cce9543 Updated TOC tests. 2005-12-08 11:38:43 +00:00
Alex Schroeder
91cf6121ba Added sidebar+toc test. 2005-12-08 10:47:49 +00:00
Alex Schroeder
691badf54a (TocRule): Only set $TocShown if $TocAutomatic is
true, and therefore a table of contents has in fact been shown.
This solves the problem of <toc> only working before the first
heading (and requiring no headings in the sidebar).
2005-12-08 10:34:49 +00:00
Alex Schroeder
cf75d67553 *** empty log message *** 2005-12-07 13:03:50 +00:00
Alex Schroeder
180da0f7ea (DoPageLock): No longer print a separate error if the id
parameter is missing.  Rely on ValidIdOrDie instead.
(DoPost, ValidId): Refactor.
2005-12-07 13:00:44 +00:00
Alex Schroeder
a63abf0973 (InitVariables): Set $LastUpdate on every request and
reinitialize some variables in case the server runs several
mod_perl processes.
2005-12-06 15:37:09 +00:00
Alex Schroeder
c7354e5bec temporary 2005-12-04 10:26:11 +00:00
Fletcher T. Penney
4ab0ce7ad0 Fix handling of WikiWords within Markdown links 2005-11-20 18:50:49 +00:00
Fletcher T. Penney
657be286f9 Initial public release 2005-11-11 02:15:32 +00:00
Alex Schroeder
5bc056db5b *** empty log message *** 2005-11-07 00:46:38 +00:00
Alex Schroeder
f03ea299c0 (NewNamespaceScriptLink): Do not mangle
actions matching $FullUrlPattern, as that breaks localnames.pl.
Since $action is already URL-encoded, however, we do the same test
as in ScriptLink: $UrlProtocols followed by the URL-encoded colon:
%3a.
2005-11-07 00:46:15 +00:00
Alex Schroeder
2dad648b84 *** empty log message *** 2005-11-06 23:51:57 +00:00
Alex Schroeder
4c02d585c7 (UsemodRule): Allow attributes in HTML tags as
proposed by Peter Gervai.
2005-11-06 23:51:33 +00:00
Fletcher T. Penney
b974d80568 Add "Download this page as PDF" link to footer 2005-11-06 18:54:15 +00:00
Fletcher T. Penney
c5a454ddb9 Further abstract the processing to separate it from the module 2005-11-06 16:35:15 +00:00
Fletcher T. Penney
8b6e0df21d Add version string 2005-11-06 15:46:00 +00:00
Fletcher T. Penney
710b65cc35 Initialize module 2005-11-06 15:44:40 +00:00
Fletcher T. Penney
7262332dfe Initial version 2005-11-06 03:34:41 +00:00
Fletcher T. Penney
a691b77d87 *** empty log message *** 2005-11-03 00:21:47 +00:00
Alex Schroeder
e85a3f74a0 (GetFooterTimestamp): Don't show diff link for new pages
as suggested by Aaron Hawley.
2005-10-29 16:46:37 +00:00
Fletcher T. Penney
e195124247 disable use of metadata 2005-10-28 21:33:35 +00:00
Alex Schroeder
ceac79cbce (PageDeletable): Empty pages should be deleted, but
usually they contain exactly one newline.  All pages consisting of
whitespace only shall now be deletable.
2005-10-28 21:10:01 +00:00
Alex Schroeder
80b207aef6 Removed debugging code. 2005-10-28 15:20:55 +00:00
Alex Schroeder
4a30d130dc update copyright year 2005-10-28 15:20:18 +00:00
Alex Schroeder
14e40348a6 (NewNamespaceScriptLink): Do not mangle
actions matching $FullUrlPattern, as that breaks localnames.pl.
2005-10-28 14:46:30 +00:00
Alex Schroeder
e566f3b97e (NewLocalNamesReInit): New. 2005-10-28 08:07:39 +00:00
Alex Schroeder
e38685e411 (ReInit): Small style change. 2005-10-28 08:07:03 +00:00
Alex Schroeder
392eb25e43 Call NamespacesInitVariables as early as possible. 2005-10-28 08:06:11 +00:00
Alex Schroeder
fd287142c0 (ReInit): Reset $PermanentAnchorsInit if forced. 2005-10-28 07:55:25 +00:00
Alex Schroeder
416cd9325f (ReInit): New.
(Save): Use it.
(DeletePage): Use it, and fix IndexHash and IndexList.
2005-10-27 22:00:28 +00:00
Alex Schroeder
81ef117f09 (NamespacesInitVariables): Rewrite after
the changes to the main script regarding initialization.  Always
force a reinit (in a mod_perl context we cannot reuse the info).
2005-10-27 21:58:49 +00:00
Alex Schroeder
cac82346f1 *** empty log message *** 2005-10-27 17:24:41 +00:00
Alex Schroeder
d0a4723044 Only mark up the first div.content in the document. 2005-10-27 17:24:04 +00:00
Alex Schroeder
e5aed073fd Save raw text files in raw subdirectory when run in the data directory. 2005-10-27 16:10:16 +00:00
Alex Schroeder
481d10b811 (DoEdit): Added p hotkey for preview at Perry
Nguyen's suggestion.
2005-10-26 18:11:41 +00:00
Alex Schroeder
4bb5c795e4 (GetCommentForm): Added p hotkey for preview at Perry
Nguyen's suggestion.
2005-10-26 18:06:19 +00:00
Fletcher T. Penney
7ee662abb5 New module initialization 2005-10-24 18:58:42 +00:00
Alex Schroeder
6d404fec6a new 2005-10-22 20:23:23 +00:00
Alex Schroeder
d6374e7767 *** empty log message *** 2005-10-22 14:29:52 +00:00
Alex Schroeder
8f8163b5a4 (Replace): Rewrote replacement such as to solve quoting issues. 2005-10-22 14:28:38 +00:00
Alex Schroeder
d43b051a88 test.pl (clear_pages): Aded more search and replace tests. 2005-10-22 12:56:38 +00:00
Alex Schroeder
4aae5f3252 (DoSearch): When replacing, quote metacharacters in the
replacement text before searching for the replacement.
2005-10-22 12:25:19 +00:00
Alex Schroeder
6674bb1043 *** empty log message *** 2005-10-22 00:44:02 +00:00
Alex Schroeder
3a6c22bc27 (PrintHtmlDiff): Don't use $revNew-1 as the default for
the old revision if no new revision was specified, as suggested by
Markus Lude on the wiki.
2005-10-22 00:43:35 +00:00
Alex Schroeder
90e1da7a7c added localnames test 2005-10-21 22:57:09 +00:00
Alex Schroeder
859f1028f1 *** empty log message *** 2005-10-21 22:56:38 +00:00