Commit Graph

2683 Commits

Author SHA1 Message Date
Alex Schroeder
7c5eeab893 (StrangeNewBannedContent): Protect $1. 2006-08-15 09:25:07 +00:00
Alex Schroeder
281aac5a05 (StrangeNewBannedContent): Quote HTML in regexp. 2006-08-15 09:23:16 +00:00
Alex Schroeder
06382299fe (StrangeNewBannedContent): Quote HTML in regexp. 2006-08-15 09:22:29 +00:00
Alex Schroeder
f421a14238 (StrangeBannedContentInit): Make it a
plain text page, too.
2006-08-15 09:17:09 +00:00
Alex Schroeder
fa1bf3d1e9 (DoRollback): If an id is provided, don't check
the time window: Just roll back as far as possible.
(GetTextAtTime): Return a timestamp if no perfect match is found.
2006-08-15 09:05:36 +00:00
Alex Schroeder
7f56d55c41 Remove debugging exit statement left behind. 2006-08-15 01:54:04 +00:00
Alex Schroeder
3d7088440e Add test for off-by-one error in rollback hiding. 2006-08-15 01:53:30 +00:00
Alex Schroeder
39e42573f4 *** empty log message *** 2006-08-15 01:53:00 +00:00
Alex Schroeder
c06f87cd4c (DoRc): Fix another off-by-one error when skipping rollbacks. 2006-08-15 01:52:19 +00:00
Alex Schroeder
a915b0db7e (DoRollback): Only leave marker when doing mass rollback. 2006-08-15 00:01:01 +00:00
Alex Schroeder
246f668e35 (DoRc): More rollback fixes. 2006-08-14 23:55:38 +00:00
Alex Schroeder
6d2396fd0c (DoRc): More rollback fixes. 2006-08-14 23:53:06 +00:00
Alex Schroeder
a9ce47ffab (DoRc): More rollback fixes. 2006-08-14 23:51:29 +00:00
Alex Schroeder
aa3d944ddc (DoRc): More rollback fixes. 2006-08-14 23:49:54 +00:00
Alex Schroeder
46e967c135 (DoRc): Splice [[rollback]] marker, too. 2006-08-14 23:41:29 +00:00
Alex Schroeder
313f91da94 (DoRollback): Only admins can do mass rollback, but every user can
do single rollbacks. Link to pages in the listing.
2006-08-14 23:29:27 +00:00
Alex Schroeder
ee1b7fbdba *** empty log message *** 2006-08-14 23:29:13 +00:00
Alex Schroeder
8d0b3e1ef1 (DoRollback): Only admins can do mass rollback, but every user can
do single rollbacks.
2006-08-14 23:27:54 +00:00
Alex Schroeder
c0a6fc64a9 (DoContributors): Fix bug, allow no page id at all. 2006-08-14 23:21:35 +00:00
Alex Schroeder
bb56de2388 *** empty log message *** 2006-08-14 20:56:25 +00:00
Alex Schroeder
de4cbefb95 (DoContributors): List unique usernames only. 2006-08-14 20:53:35 +00:00
Alex Schroeder
7fe00147c9 New contrib action.
(DoContributors): New.
(GetFooterLinks): Added appropriate link to contrib action.
2006-08-14 19:43:06 +00:00
Alex Schroeder
53fce98285 Add indexed search test with a tag containing a number. 2006-08-14 13:14:28 +00:00
Alex Schroeder
c87e158a0d (SearchFreeTextCloud): Don't skip tags
containing numbers or a colon.
2006-08-14 11:17:19 +00:00
Alex Schroeder
fc829a8e36 Summary height limited to 3em. 2006-08-14 11:01:31 +00:00
Alex Schroeder
aa0a0238cb (SearchFreeTextCloud): Fix start div. 2006-08-14 10:49:51 +00:00
Alex Schroeder
8958b3d53e Logo and download tests. 2006-08-13 23:58:51 +00:00
Alex Schroeder
f72979139c (DoCss): No need to URL encode the URLs in @CssList. 2006-08-13 23:45:12 +00:00
Alex Schroeder
1e60ef78ec (StaticScriptLink): Remove unnecessary call to AllPagesList.
(StaticGetDownloadLink): Strip underlines from alt texts, return
URL only when requested (matches changes in wiki.pl's GetDownloadLink.
(GetDownloadLink): Ditto.
2006-08-13 23:10:49 +00:00
Alex Schroeder
c9b0baed89 (GetDownloadLink): Allow to retrieve download URL only.
(GetHeader): Renamed variable for alt text. Use pagename as
$LogoUrl if possible.
(DeletePage): Use ValidIdOrDie to check $id.
2006-08-13 22:36:29 +00:00
Alex Schroeder
ffb0b857f9 Added another negative test for clusters. 2006-08-13 12:54:13 +00:00
Alex Schroeder
7cc433f8e3 table.history 2006-08-13 12:48:09 +00:00
Alex Schroeder
b5f365eca9 *** empty log message *** 2006-08-13 00:41:46 +00:00
Alex Schroeder
e61fec1f92 (DoHistory): Pass timestamp reference to GetHistoryLine.
(GetHistoryLine): Use timestamp reference to group entries by day.
2006-08-13 00:38:45 +00:00
Alex Schroeder
2ba2515d7c *** empty log message *** 2006-08-13 00:08:34 +00:00
Alex Schroeder
b327bbc587 Added history page tests. 2006-08-13 00:08:22 +00:00
Alex Schroeder
81783d66f5 (DoHistory): Offer page delete link only if a revision exists to
be deleted.
2006-08-13 00:08:12 +00:00
Alex Schroeder
4b9837b1d6 (DoRollback): Reorder error messages. Fix test for ids. 2006-08-12 23:43:58 +00:00
Alex Schroeder
3bc9dc5807 (DoRc): Fix off-by-one error, again.
(GetRcLines, DoRollback): Fix off-by-one error as well.
2006-08-12 23:23:23 +00:00
Alex Schroeder
efeb9ab2c2 (PageDeletable, DoMaintain, DoEdit, ExpireKeepFiles, DoRollback)
(RollbackPossible): Replaced 24*60*60 with 86400 and 60*60 with
3600.
2006-08-12 23:15:05 +00:00
Alex Schroeder
e4221e8b6c (DoRc): Fix test for existing changes.
(GetHistoryLine): Report missing other revisions instead of
showing the fake "revision 0" entry. Add whitespace.
2006-08-12 23:07:47 +00:00
Alex Schroeder
8941fc2e2d (DoRc): Moved RC file reading into new function called GetRcLines.
(GetRcLines): New. No longer generate warnings when reading empty
rc files (as is usual when creating a new wiki).
(DoRollback): Optimize by calling GetRcLines and parsing the
result instead of checking all pages. Allow rollback of single
pages.
(DoHistory): Pass new parameter to GetHistoryLine. Add link to
delete current page at the bottom.
(GetHistoryLine): Accept new parameter, and add rollback links
when appropriate.

(GetRcHtml): Simplify translation handling.
(DoEdit): Changed text of the file/text replacement link at the
bottom. Did this for all translation files, too!

(DoPost, PageDeletable): Don't treat $DeletedPage like a regular
expression.
2006-08-12 19:51:50 +00:00
Alex Schroeder
f3f89c4414 (GetSummary): Fixed summary post-processing.
(DoRc): Remove rc lines of rolled back changes.
(DoRollback): Leave marker for DoRc.
2006-08-12 02:35:05 +00:00
Alex Schroeder
803678d969 (GetSummary): Fixed summary post-processing so that [URL
text] really does get replaced by text.
(GetRc): Fix clusters in recent changes.
2006-08-12 01:34:26 +00:00
Alex Schroeder
24fc635c4d (GetSummary): Fixed summary post-processing so that [URL
text] really does get replaced by text.
2006-08-12 01:03:39 +00:00
Alex Schroeder
9398199c4f (DoStatic, StaticFileName): Don't set
%StaticMimeTypes in DoStatic, as this has no effect here when
GetDownloadLink is called. StaticFileName is the right place.
2006-08-11 21:20:00 +00:00
Alex Schroeder
25849e0f7c (PrintFooter): No longer protect the call to PrintMyContent.
Instead, test whether it is defined before calling it.
2006-08-10 10:31:04 +00:00
Alex Schroeder
6f400dd57e (InitConfig): Don't test for existing config file if it
was already loaded.
(InitRequest): Only get a new CGI object if we don't have one
already. Does this break mod_perl?
2006-08-10 09:10:50 +00:00
Alex Schroeder
1effd9805b *** empty log message *** 2006-08-10 09:00:59 +00:00
Alex Schroeder
c15f7d53b4 New. 2006-08-10 08:59:24 +00:00