Commit Graph

25 Commits

Author SHA1 Message Date
Alex Schroeder
3e60aa8e1b atom.pl: use PUTDATA 2015-09-12 19:06:59 +02:00
Aleks-Daniel Jakimenko
aa89d08e08 atom.pl: use XML::Atom explicitly
So that it is easier to find the required dependency
2015-08-20 14:59:00 +03:00
Alex Schroeder
58e9a1e240 use v5.10 everywhere + enabled test in meta.t 2015-08-18 10:48:03 +02:00
Alex Schroeder
8d4c15e948 Remove $NewText and $NewComment.
$NewText is replaced by a call to NewText() which you can overwrite. Or
you can provide translations for the texts used by NewText(). Basically,
the new text explains that the page in question does not exist and
invites you edit it.
2015-07-03 13:01:32 +02:00
Aleks-Daniel Jakimenko
6f8d281d79 No more "use vars"! 2015-04-10 13:31:28 +03:00
Aleks-Daniel Jakimenko
52809c6164 atom.pl ready for use strict 2015-03-28 18:28:33 +02:00
Aleks-Daniel Jakimenko
4492ede096 "use strict;" in modules (some modules have problems) 2015-03-27 03:01:01 +02:00
Alex Schroeder
2bc2d1f927 New convenience function UserCanEditOrDie
Closes bug #41625 "ban-quick-editors.pl can hide the error message".
DoPost now uses the same code as DoEdit and thus it will display the
error message, which solves the issue for ban-quick-editors.pl. Added a
test to demonstrate it.
2014-09-12 15:20:06 +02:00
Alex Schroeder
5aba2ae56f Fixed typo in AddModuleDescription sub name 2014-08-21 22:23:23 +02:00
Alex Jakimenko
ee932dee37 Automatically reformatted modules 2014-08-21 07:29:46 +03:00
Alex Schroeder
cd2b4d624e Remove $HttpCharset and moved everything to UTF-8
This also required some changes to the tests where explicit UTF-8
encoding had been used in the past.
2012-05-22 11:50:23 +02:00
Alex Schroeder
f11e2a8731 getting rid of $Id$ tags in $WikiDescription
Replaced the $Id$ tags in $WikiDescription for all the modules and wiki.pl itself with a link to the source and an appropriate wiki page, if possible. This is shown in action=version and should help users figure out what another wiki has installed.
2012-04-19 02:18:45 +02:00
Alex Schroeder
a32b1eaaa5 Copyright year, GPLv3 2008-10-04 22:31:11 +00:00
Alex Schroeder
1587adcc79 (DoAtom): Call print GetRcAtom instead of DoRc
GetRcAtom.
(GetRcAtom): Call ProcessRcLines instead of GetRc.
(DoAtomSave): No longer call DeletePermanentAnchors.
2008-10-04 22:30:20 +00:00
Alex Schroeder
3b7dd7aa00 (GetRcAtom): Add link element. 2006-09-19 21:05:43 +00:00
Alex Schroeder
5c0b25bba9 (DoAtom): Use /atom/info for the info document.
Both /atom and /atom/feed should return the feed. /atom/full
should return the feed including page content.
2006-09-18 09:04:19 +00:00
Alex Schroeder
426e7c069a Complete rewrite to support both publishing and syndication. Default
calling convention has changed. The URL that used to return the feed
will now return the capabilities...
2006-09-18 00:07:47 +00:00
Alex Schroeder
5915e34bc3 (GetRcAtom): Use $CollectingJournal to
avoid infinite loops when including the full RSS.
2004-10-10 15:14:44 +00:00
Alex Schroeder
2dd4c19d85 (GetRcAtom): Only print content when full=1. 2004-08-16 01:50:12 +00:00
Alex Schroeder
abb752f48f (GetRcAtom): Take $RssExclude into account, UrlEncode pagenames. 2004-08-16 01:46:39 +00:00
Alex Schroeder
e8905c80fc (AtomTime): Fix format.
(AtomTag): Add escaped parameter.
(GetRcAtom): Fix person entities, don't call AtomPage anymore.
(AtomPage): Deleted.
2004-08-16 01:24:38 +00:00
Alex Schroeder
8e48e600b0 (GetRcAtom): Fix entry link. 2004-08-11 10:55:20 +00:00
Alex Schroeder
6fefae0f69 With escaped HTML output. 2004-08-11 01:35:17 +00:00
Alex Schroeder
1f4067b4bb Minor bugfixes. 2004-08-11 00:30:45 +00:00
Alex Schroeder
345c4338f7 new 2004-08-11 00:19:43 +00:00