Commit Graph

143 Commits

Author SHA1 Message Date
Alex Schroeder
22b84d8293 rewrite 2004-07-03 01:26:47 +00:00
Alex Schroeder
aad162f0d1 new 2004-07-01 17:48:28 +00:00
Alex Schroeder
b8997f9032 (Cal): The year can be part of the link for
the month, or link to the year calendar.
(PrintYearCalendar): When printing the year calendar, the year
should not link to the same page.
2004-06-29 16:42:09 +00:00
Alex Schroeder
5f60b60aca Moved many rules from ApplyRules in wiki.pl to modules/usemod.pl.
(RFC, ISBN, WikiHeading): Moved to modules/usemod.pl.
(PrintSearchResult): No longer strip common HTML tags (since those
are now defined in modules/usemod.pl).
(ApplyRules): Moved many rules to modules/usemod.pl.
(InitLinkPatterns): No longer set $RFCPattern and $ISBNPattern.
(InitVariables): No longer set @HtmlTags
($RFCPattern, $ISBNPattern, @HtmlTags, $HtmlTags, $HtmlLinks)
($RawHtml): Moved to modules/usemod.pl.
2004-06-29 00:37:06 +00:00
Alex Schroeder
621a8fe50d Unshift rule to the front. 2004-06-28 23:38:11 +00:00
Alex Schroeder
793c249aa1 *** empty log message *** 2004-06-28 21:39:05 +00:00
Alex Schroeder
07c65e8b8b *** empty log message *** 2004-06-28 21:23:23 +00:00
Alex Schroeder
3cc943f85f *** empty log message *** 2004-06-27 23:47:02 +00:00
Alex Schroeder
d18ce8fe68 (SeTextRule): Use the local $bol variable. 2004-06-27 23:41:49 +00:00
Alex Schroeder
0733fedfca new 2004-06-27 22:04:52 +00:00
Alex Schroeder
16f453881c (MarkupRule): Fix "to /usr/local/share/perl/!" example. 2004-06-26 21:25:40 +00:00
Alex Schroeder
4288478323 (MarkupRule): Fix ~/elisp/ and /usr/bin/ example. 2004-06-26 21:19:38 +00:00
Alex Schroeder
73000b1e75 (MarkupRule): Added zero-width look-ahead
assertion.
2004-06-26 20:58:05 +00:00
Alex Schroeder
7442dc7c92 (WriteLinkDb): Removed lock.
(DoLinkDb): Added Lock.
(RefreshLinkDb): Rewrite.  It was full of bugs.
(NewNotFoundHandlerSave): Rewrite.
(NotFoundHandlerCacheUpdate): Rewrite.
2004-06-26 00:00:31 +00:00
Alex Schroeder
17b4c14c2b A sequence of words may not start with a
number in order to prevent "6/22/2004" -> "6<i>22</i>2004" instead
of "6/22/2004".
2004-06-23 13:06:37 +00:00
Alex Schroeder
9ff13c6fcc (MarkupRule): Use en dash and em dash, changed
patterns slightly.
2004-06-20 20:41:07 +00:00
Alex Schroeder
9f0bad60ed Moved DoLinks from the main script into a
module.
2004-06-20 19:15:41 +00:00
Alex Schroeder
954e3e48e4 (ImageSupportRule): Use alt text as title attribute as well. 2004-06-19 20:30:21 +00:00
Alex Schroeder
a06a14371d (ImageSupportRule): More UrlEncoding. 2004-06-19 19:54:17 +00:00
Alex Schroeder
4fa49dbaad (ImageSupportRule): Fix link for external images. 2004-06-19 19:34:48 +00:00
Alex Schroeder
05c2c31f3d *** empty log message *** 2004-06-19 19:29:15 +00:00
Alex Schroeder
abb014ed9c (ImageSupportRule): Support external images as
well.
($ImageUrlPath): New option.
2004-06-19 19:10:31 +00:00
Alex Schroeder
56feb8a75d (MarkupRule): Fix em dash rule. 2004-06-19 19:02:58 +00:00
Alex Schroeder
cd21d3c27a use numerical character references instead. Else this corrupts
UTF-8 data!!
2004-06-19 03:29:19 +00:00
Alex Schroeder
93e17c0c60 Fix for wiki.pl 1.419: Important change in handling rules! Rules are
expected to return undef when they did not match, and the empty string
if a dirty block was produced.
2004-06-17 09:48:52 +00:00
Alex Schroeder
e989d9df87 Fix for wiki.pl 1.419: Important change in handling rules! Rules are
expected to return undef when they did not match, and the empty string
if a dirty block was produced.
2004-06-17 01:13:18 +00:00
Alex Schroeder
5b062f27b8 New. 2004-06-17 01:10:15 +00:00
Alex Schroeder
0aa86e49c1 (PrintYearCalendar): Add div.year. 2004-06-15 19:48:05 +00:00
Alex Schroeder
3bfa9d9a40 (CalendarRule): New rule for month:2004-06.
(CalendarRule): New rule for month:+1 or month:-1.
2004-06-15 19:40:18 +00:00
Alex Schroeder
8fe966d713 (Cal): Bugfix. 2004-06-15 19:11:09 +00:00
Alex Schroeder
a6221ea0ce (Cal): Bugfix. 2004-06-15 19:08:45 +00:00
Alex Schroeder
21de7dfb46 (Cal): The year now links to an overview of the entire year. 2004-06-15 18:53:28 +00:00
Alex Schroeder
645a81f74b (Cal): Accept year and month as parameters.
Link month names.
(PrintYearCalendar): Use Cal instead of near-duplication of code.
(DoYearCalendar): New action 'calendar' used to print yearly
calendar.
2004-06-15 18:46:49 +00:00
Alex Schroeder
12bb1f2c17 (Cal): Support for Date::Calc and Date::Pcalc.
($CalendarUseCal): New option.
2004-06-15 14:15:02 +00:00
Alex Schroeder
2c48deecb9 ($LinkFile, %LinkDb): New variables.
(ReadLinkDb, WriteLinkDb, RefreshLinkDb): New.
(DoClearCache, DoLinkDb): New.
(NewNotFoundHandlerDoMaintain): Deleted.
(NewNotFoundHandlerSave): Use the new functionality.
Major rewrite using a link database!
2004-06-13 14:46:50 +00:00
Alex Schroeder
c5ea825573 (NewNotFoundHandlerDeletePage): Deleted again.
(NewNotFoundHandlerDoMaintain): New function.
2004-06-12 11:40:06 +00:00
Alex Schroeder
3d433194a5 (NewNotFoundHandlerDeletePage, NewNotFoundHandlerSave): Delete
both the page, and the page with language extension due to content
negotiation, ie. PageName.en, PageName.de, etc.
2004-06-12 11:31:04 +00:00
Alex Schroeder
c7e11f3706 (NewNotFoundHandlerDeletePage): New
function to delete cached copies of pages that are deleted.
2004-06-12 11:27:27 +00:00
Alex Schroeder
aa2b106d24 (AdminPowerDelete): Only write rc log when
delete was successful.  Depends on the change to DeletePage in
wiki.pl.
2004-06-12 11:24:57 +00:00
Alex Schroeder
60f1b5d0c1 *** empty log message *** 2004-06-12 00:35:38 +00:00
Alex Schroeder
8374ee29a3 New. 2004-06-05 00:31:23 +00:00
Alex Schroeder
44bcf0fe8a (CalendarRule): The CalendarRule is a dirty
rule.
(PrintYearCalendar): Handle spacing differently, provide an
additional span for CSS.
2004-06-02 22:24:19 +00:00
Alex Schroeder
fd92c252e5 Fixed CSS classes. 2004-05-31 01:29:59 +00:00
Alex Schroeder
c48525b542 Fixed CSS classes. 2004-05-31 01:21:25 +00:00
Alex Schroeder
c0280b23fa [[image/class:page name|alt text|target]] support as discussed on the
oddmuse wiki
2004-05-31 01:08:17 +00:00
Alex Schroeder
a6171bc883 new 2004-05-31 00:29:07 +00:00
Alex Schroeder
a0e982117d Bugfix. 2004-05-31 00:08:15 +00:00
Alex Schroeder
e364416472 Use new $DebugInfo global. 2004-05-31 00:06:35 +00:00
Alex Schroeder
d06510f12b (AdminPowerRename): Bugfix, test -f $newfname, not -f $new. 2004-05-29 20:51:34 +00:00
Alex Schroeder
10016bfe59 orphans.pl,v 1.2 2004/05/28 19:16:42 as forcer 2004-05-29 20:43:14 +00:00