Commit Graph

952 Commits

Author SHA1 Message Date
Alex Schroeder
073d911cd6 new 2004-04-09 01:25:00 +00:00
Alex Schroeder
6fbd2f4587 (NewNamespacesInitVariables): Add entries
to %InterSite even if we are not in a subwiki right now.
2004-04-06 22:18:41 +00:00
Alex Schroeder
3490b46f22 (Save): Specify 'time' instead of relying on 'undef', as
one user reported that was a problem with his Perl build.
2004-04-06 18:26:15 +00:00
Alex Schroeder
354549a374 *** empty log message *** 2004-04-05 19:47:03 +00:00
Alex Schroeder
2a44278d05 (UpdateReferers): Replace $q->url() with $ScriptName,
since that's the default value.
(GetHtmlHeader): Replace $q->url() with $ScriptName in the default
body class (aka theme).
(DoBrowseRequest): New handling, so that modules/namespaces.pl
works.
2004-04-05 18:04:42 +00:00
Alex Schroeder
bef1105fb4 Clean up handling of "Main" so that you cannot create such a
namespace.
2004-04-05 18:02:00 +00:00
Alex Schroeder
749756fa89 First working implementation. 2004-04-05 17:54:30 +00:00
Alex Schroeder
15b70caed2 buggy version: editing pages in a namespace will edit the page in the main namespace. 2004-04-05 00:37:55 +00:00
Alex Schroeder
b8ead28b51 *** empty log message *** 2004-04-04 17:45:32 +00:00
Alex Schroeder
e3be812a35 (AllPagesList): Produce an error if the pageidx file
exists and cannot be overwritten.
2004-04-04 17:24:03 +00:00
Alex Schroeder
eeca429263 (ResolveId): Fix bug when return existing link. 2004-04-03 21:50:22 +00:00
Alex Schroeder
5e4186fa3f (TocHeadings): Return nothing if two headings or
less.
2004-04-03 10:51:21 +00:00
Alex Schroeder
526be90820 *** empty log message *** 2004-04-02 01:17:47 +00:00
Alex Schroeder
5d6679b88b (NewWeblog2InitVariables): Switch from
gmtime to localtime.
2004-04-02 01:17:30 +00:00
Alex Schroeder
f96e5b936e (NewWeblog1InitVariables): Switch from
gmtime to localtime.
2004-04-02 01:16:53 +00:00
Alex Schroeder
dfb7984daf (Cal): Switch from gmtime to localtime. 2004-04-02 01:15:28 +00:00
Alex Schroeder
3c4ad68178 (ApplyRules): [url] is a dirty rule. 2004-04-02 00:21:48 +00:00
Alex Schroeder
755caf2e93 (ApplyRules): The [InterLink:foo], [WikiWord]
and [[[free link]]] patterns were removed.
2004-04-02 00:15:26 +00:00
Alex Schroeder
9c338f692d *** empty log message *** 2004-03-31 00:56:44 +00:00
Alex Schroeder
3f4b30153e (ResolveId): Return as a third list item whether the page exists
even if a permanent anchor is found.
(GetPermanentAnchor): Use it.
2004-03-31 00:50:25 +00:00
Alex Schroeder
60c874cf33 (ResolveId): Allow override using anchor parameter.
(GetPermanentAnchor): Show link when duplicating an existing page.
2004-03-31 00:36:07 +00:00
Alex Schroeder
96e5b2d70c *** empty log message *** 2004-03-31 00:22:43 +00:00
Alex Schroeder
b6e47c9733 (ResolveId): Permanent anchors now take precedence over
existing pages.
(GetPermanentAnchor): Show warning when duplicating an existing
permanent anchor.
2004-03-31 00:20:52 +00:00
Alex Schroeder
ae36fd5bad connections -> connexions according to Lukhas on #emacs 2004-03-30 00:01:44 +00:00
Alex Schroeder
8f607fc086 (PrintYearCalendar): Add div.year class.
(Cal): Add div.month class.
2004-03-28 19:52:00 +00:00
Alex Schroeder
66dd008d01 (Cal): fix classes 2004-03-28 18:30:41 +00:00
Alex Schroeder
e8f23d9007 *** empty log message *** 2004-03-28 18:14:42 +00:00
Alex Schroeder
a50263b379 (Cal): Link to the date, not the day, when
there are no matches.
2004-03-28 18:11:10 +00:00
Alex Schroeder
72493dc27d (InitLinkPatterns): add irc to $UrlProtocols. 2004-03-28 17:32:52 +00:00
Alex Schroeder
194637307b ($CalendarOnEveryPage): New option. 2004-03-28 02:22:44 +00:00
Alex Schroeder
1d92a960dd (CalendarRule): New rule.
(PrintYearCalendar): Code to do the work.
2004-03-28 02:18:59 +00:00
Alex Schroeder
3dda120870 *** empty log message *** 2004-03-28 01:54:15 +00:00
Alex Schroeder
c962ad1328 (Cal): Added support for multiple partial matches.
(DoCollect): Added collect action.
2004-03-28 01:53:54 +00:00
Alex Schroeder
2c73a9e54a Update by Stanislav Traykov 2004-03-22 00:33:36 +00:00
Alex Schroeder
1c8cd94b29 *** empty log message *** 2004-03-21 01:57:57 +00:00
Alex Schroeder
316771c1fc (RunMyRules, PrintCache): Start with 0 again.
(GetInterLink, GetUrl, GetPageOrEditLink): Due to RunMyRules changes...
(PrintFooter): Split into several new functions.
(GetSisterSites, GetNearLinksUsed, GetFooterTimestamp)
(GetAdminBar, GetFooterLinks, GetCommentForm): New functions.
2004-03-21 01:56:20 +00:00
Alex Schroeder
3ed2632c40 append div to output of GetNearLinksUsed instead of printing it at the beginning of the footer. 2004-03-21 01:45:16 +00:00
Alex Schroeder
5b361e0651 added license 2004-03-21 00:33:41 +00:00
Alex Schroeder
dddb9f11cd new 2004-03-21 00:32:43 +00:00
Alex Schroeder
2d29bd31fb *** empty log message *** 2004-03-20 02:27:39 +00:00
Alex Schroeder
123185a239 added checkboxes at the bottom 2004-03-19 23:51:34 +00:00
Alex Schroeder
a979c292f4 (GetPageParameters, GetPageOrEditLink): Add UrlEncode thanks to wctang.
(ScriptLink, GetAuthorLink, GetDownloadLink): Dito.
(GetAuthorLink, PrintFooter, PrintPage, PrintSearchResultEntry): Dito.
2004-03-19 15:40:28 +00:00
Alex Schroeder
e1f1301e1f *** empty log message *** 2004-03-19 15:39:29 +00:00
Alex Schroeder
419fa7711c (PrintWikiToHTML, PrintCache): Start with
$FootnoteNumber = 1.
(BracketLink): New.
(GetInterLink, GetUrl): Use it, and add "outside" class if
necessary.
(GetPageOrEditLink): Use it.
(GetHtmlHeader): Default CSS for a.outside.
2004-03-19 00:20:45 +00:00
Alex Schroeder
5c3deea462 *** empty log message *** 2004-03-19 00:11:58 +00:00
Alex Schroeder
7738097d65 new tests 2004-03-18 23:54:36 +00:00
Alex Schroeder
386997dcc4 new module by Niklas Volbers 2004-03-18 23:53:58 +00:00
Alex Schroeder
2ad4b800a3 (InitVariables): Add $RssInterwikiTranslate.
(PrintFooter): Added admin bar inspired from UseMod 1.0.
(ReBrowsePage): Third parameter is the anchor, UrlEncode all parameters.
(DoPost): No longer encode id.

(BrowseResolvedPage): Add third parameter to call to ReBrowsePage.

(RSS): Use three-digit numbers to number items without a
timestamp, so that the number is not recognized as a valid
date (year-only) when printing the lines.

Support for Chinese pages, thanks to Ray and wctang.
(GetDownloadLink, BrowseResolvedPage, DoEdit): UrlEncode the page
id in the action.
(GetSearchLink): UrlEncode the name.
(DoPost): UrlEncode the page when calling ReBrowsePage..
2004-03-15 22:30:32 +00:00
Alex Schroeder
cb9881520a *** empty log message *** 2004-03-15 22:29:41 +00:00
Alex Schroeder
d0a8a06a67 *** empty log message *** 2004-03-15 22:27:41 +00:00