Commit Graph

12 Commits

Author SHA1 Message Date
Aleks-Daniel Jakimenko
302141de71 Do not modify $_ in map {} (actual bugs solved, I believe)
$_ is not a copy, it is an alias to the original value.
Therefore modifying it will mess with original list... That's
not what we want most of the time.
Also, using map to s/// two variables does not look right. What
a stupid race to save one line of code.
2015-04-28 02:21:03 +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
af998e7eb7 (Subscribe): Back to previous revision. We cannot use the match
parameter, because that effectively ANDs the match and rcfilteronly
criteria.
2005-07-26 10:30:00 +00:00
Alex Schroeder
6e04f7037e (Subscribe): Use new match parameter. 2005-07-26 10:21:16 +00:00
Alex Schroeder
8feec45f3f Use push instead of unshift to add the rule. 2004-07-14 14:52:36 +00:00
Alex Schroeder
bb9cd67a85 (SubscribedRecentChangesRule): At the
front of MyRules.
2004-07-14 13:00:04 +00:00
Alex Schroeder
17ad6c1d0e *** empty log message *** 2004-07-14 12:53:54 +00:00