Commit Graph

21 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
Aleks-Daniel Jakimenko
4eef4d2d76 No more /o, modifiers sorted alphabetically 2015-08-23 21:22:12 +03:00
Alex Schroeder
58e9a1e240 use v5.10 everywhere + enabled test in meta.t 2015-08-18 10:48:03 +02:00
Alex Schroeder
4f4ad14850 aggregate.pl passes perl -c
ToString needs parethesis.
2015-07-03 14:26:59 +02:00
Aleks-Daniel Jakimenko
f782691e7e UTF-8, again! Also, new ToString sub. 2015-05-17 03:35:35 +03:00
Aleks-Daniel Jakimenko
6f8d281d79 No more "use vars"! 2015-04-10 13:31:28 +03:00
Aleks-Daniel Jakimenko
4492ede096 "use strict;" in modules (some modules have problems) 2015-03-27 03:01:01 +02:00
Aleks-Daniel Jakimenko
62c7553d82 'return undef' changed to 'return'
This command was used:
find . -type f -print0 | xargs -0 sed -i 's/return undef/return/g'

The idea behind this commit is described on http://oddmuse.org/wiki/Refactoring page.
In short: 'return undef' returns (undef) in list context (a list with one element),
which is wrong.
2015-02-27 12:10:18 +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
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
5af5f6c415 (AggregateRule): Prevent infinite loops
when searching.
2007-06-26 09:40:41 +00:00
Alex Schroeder
c41824a7f5 (AggregateRule, DoAggregate): Exchange position of sort and search
keywords, no longer require double quotes around search term.
2006-06-05 00:03:20 +00:00
Alex Schroeder
ba850e1bc5 (AggregateRule, DoAggregate): Sort entries if requested. 2006-06-04 23:35:49 +00:00
Alex Schroeder
f89e25f946 (AggregateRule, DoAggregate): Allow search
expressions as well.
2006-06-04 23:03:22 +00:00
Alex Schroeder
57b7429798 (DoAggregate): Add frontpage title to
channel title. Add page id to links.
2006-03-14 21:53:51 +00:00
Alex Schroeder
9dca6c0073 (AggregateRule): Add RSS feed. 2005-12-20 00:51:33 +00:00
Alex Schroeder
c8cb66c645 fix learn more links 2005-12-16 12:53:48 +00:00
Alex Schroeder
59951b9ee0 fix divs, remove leading header 2005-12-16 12:48:27 +00:00
Alex Schroeder
471c160080 new 2005-12-16 12:40:28 +00:00