Alex Schroeder
c6e490dcb5
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
Alex Schroeder
5d2db4b547
No more "use vars"!
2015-04-10 13:31:28 +03:00
Alex Schroeder
2f779656fc
atom.pl ready for use strict
2015-03-28 18:28:33 +02:00
Alex Schroeder
a4e0e5a9be
"use strict;" in modules (some modules have problems)
2015-03-27 03:01:01 +02:00
Alex Schroeder
95fb328010
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
e6d3ad8382
Fixed typo in AddModuleDescription sub name
2014-08-21 22:23:23 +02:00
Alex Schroeder
17bd795ef0
Automatically reformatted modules
2014-08-21 07:29:46 +03:00
Alex Schroeder
2d6b2d6a71
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
c9e39a4c19
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
20b0f2372c
Copyright year, GPLv3
2008-10-04 22:31:11 +00:00
Alex Schroeder
9ce699c566
(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
ab34b928ab
(GetRcAtom): Add link element.
2006-09-19 21:05:43 +00:00
Alex Schroeder
ecc9a0e96b
(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
5f2cf179b7
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
c02ee8db11
(GetRcAtom): Use $CollectingJournal to
...
avoid infinite loops when including the full RSS.
2004-10-10 15:14:44 +00:00
Alex Schroeder
4f8cdbcaae
(GetRcAtom): Only print content when full=1.
2004-08-16 01:50:12 +00:00
Alex Schroeder
7417cd271a
(GetRcAtom): Take $RssExclude into account, UrlEncode pagenames.
2004-08-16 01:46:39 +00:00
Alex Schroeder
ba7a465caa
(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
a155ce49cc
(GetRcAtom): Fix entry link.
2004-08-11 10:55:20 +00:00
Alex Schroeder
7d3013028a
With escaped HTML output.
2004-08-11 01:35:17 +00:00
Alex Schroeder
8373dfad20
Minor bugfixes.
2004-08-11 00:30:45 +00:00
Alex Schroeder
75ff9d64e2
new
2004-08-11 00:19:43 +00:00