Commit Graph

25 Commits

Author SHA1 Message Date
Alex Schroeder
f230a64e7d Changed nearly all modules from GPLv2 to GPLv3
There were some modules that did not offer "or (at your option) any
later version" in their license and these had to be left alone.
This should solve the incorrect FSF address issue #4 on GitHub.
2016-08-16 15:04:47 +02:00
Aleks-Daniel Jakimenko
1c4e082755 Return objects where it begs for it
sub ParseData is fully backwards compatible. If some module runs it in list
context, then it will get listified hash like previously. New code should
always run it in scalar context though (everything in our code base
was changed according to that).

sub GetTextRevision is not backwards compatible (don't let “wantarray” usage
to confuse you). Most modules do not touch that subroutine, so we are probably
fine (modules from our git repo that do use were changed accordingly).

“EncodePage(%$page)” looks wrong. It seems like we should change it to accept
hash ref.
2015-09-04 04:55:48 +03:00
Alex Schroeder
58e9a1e240 use v5.10 everywhere + enabled test in meta.t 2015-08-18 10:48:03 +02:00
Aleks-Daniel Jakimenko
6f8d281d79 No more "use vars"! 2015-04-10 13:31:28 +03:00
Alex Schroeder
d595409c41 Get rid of extra $revision
Both despam.pl and static-hybrid.pl print a useless $revision at the
very end. This was removed.
2015-03-27 13:22:17 +01:00
Aleks-Daniel Jakimenko
4492ede096 "use strict;" in modules (some modules have problems) 2015-03-27 03:01:01 +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 Jakimenko
f270a3ced4 Two small fixes
User input needs to be HTML quoted when printed.
The regular expression matching needs the ignore case flag.
2014-04-15 07:31:50 +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
3dd64589ef *** empty log message *** 2007-11-16 01:42:55 +00:00
Alex Schroeder
f769249d40 (DespamBannedContent): No longer use
case-insensitive matches to mimic changes in strange-spam.pl.
Make sure newlines are stripped from the match.
2007-11-15 13:56:18 +00:00
Alex Schroeder
598e857f77 (DoDespam, DoSpam): Skip $StrangeBannedContent when despamming. 2007-06-10 23:46:31 +00:00
Alex Schroeder
30f5226647 (@DespamStrangeRules): New.
(DespamRule): Moved rule extraction here.
(InitDespamRules, DespamBannedContent): Use StrangeBannedContent,
if available.
2007-06-10 23:21:14 +00:00
Alex Schroeder
b8e405fa0b Fix copyright years. 2007-06-10 23:08:26 +00:00
Alex Schroeder
0f74c644e5 (DespamMenu): Add "List spammed pages".
(InitDespamRules): New, moved @DespamRules init here.
(DoDespam): Add despam CSS class. Get rid of @pages. Use InitDespamRules.
(DoSpam): New.
2007-06-10 23:07:34 +00:00
Alex Schroeder
dd954cf41a (DespamMenu): Add class to menu entry. 2006-08-06 11:46:39 +00:00
Alex Schroeder
ccce855c72 (DoDespam): Fix caching of rules. 2005-12-27 00:00:22 +00:00
Alex Schroeder
374cb9f8d6 (DoDespam): Fix caching of rules.
(DespamBannedContent): Correctly implement the rules.
2005-12-26 23:56:12 +00:00
Alex Schroeder
bf63ab1aea Fix pasting bug. 2005-09-24 08:17:05 +00:00
Alex Schroeder
b373f28f91 (DespamMenu): Added entry to the
administration page.
2005-09-24 08:15:42 +00:00
Alex Schroeder
606667ff9d (DoDespam): Added list parameter.
(DespamPages): Added days parameter.
(DespamPage): Added debug parameter.
2004-11-26 17:10:10 +00:00
Alex Schroeder
862a8a426f (DespamPages): Only check files mentioned in
rc.log.
2004-11-26 16:13:22 +00:00
Alex Schroeder
67b6836cb8 License. 2004-10-28 01:31:05 +00:00
Alex Schroeder
a71be9731d new 2004-10-28 00:31:43 +00:00