Commit Graph

14 Commits

Author SHA1 Message Date
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
d7ff8195a5 (HeadlinesRule): Accept optional number of
headlines.
(HeadlinesPrint): Use dl instead of span+br to print the list.
2005-04-28 23:58:17 +00:00
Alex Schroeder
c8dd0b12cf (HeadlinesRule): AddHtmlEnvironment('p') 2004-12-05 03:52:21 +00:00
Alex Schroeder
7baf8ab23c (HeadlinesRule): Clean close HTML
environments.
2004-10-12 22:26:40 +00:00
Alex Schroeder
14b763f3c7 Fix for wiki.pl 1.419: Important change in handling rules! Rules are
expected to return undef when they did not match, and the empty string
if a dirty block was produced.
2004-06-17 01:13:18 +00:00
Alex Schroeder
11d4520bf4 handle _ in titles 2004-02-23 21:49:33 +00:00
Alex Schroeder
e903d1b8d2 don't eat whitespace 2004-02-22 13:38:12 +00:00
Alex Schroeder
9b41a52016 *** empty log message *** 2004-02-22 13:20:03 +00:00
Alex Schroeder
a8c11abbc3 new 2004-02-22 13:19:09 +00:00