Commit Graph

17 Commits

Author SHA1 Message Date
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
Aleks-Daniel Jakimenko
40ec24349a No more "*Sub = *NewSub", \&NewSub used instead. (Partial progress) 2015-04-11 23:41:33 +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
31dab315bb (NewLangGetNearLinksUsed): Don't use
GetFormStart, because that resulted in invalid HTML with CGI.pm
3.10 on communitywiki.org.
2006-02-26 03:12:35 +00:00
Alex Schroeder
f37b24b7bd (NewLangGetNearLinksUsed): XHTML conformance. 2004-08-13 02:28:22 +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
d8af5f1ee4 (NewLangInitCookie): Remember old theme
parameters, taking care to separate normal values from language
values (exactly two letters).
(NewLangGetNearLinksUsed): New hidden parameter so that we know
when no languages are set.
2004-05-07 22:03:15 +00:00
Alex Schroeder
1c8cd94b29 *** empty log message *** 2004-03-21 01:57:57 +00:00
Alex Schroeder
3ed2632c40 append div to output of GetNearLinksUsed instead of printing it at the beginning of the footer. 2004-03-21 01:45:16 +00:00
Alex Schroeder
123185a239 added checkboxes at the bottom 2004-03-19 23:51:34 +00:00
Alex Schroeder
7ca7568f18 new 2004-03-14 17:35:47 +00:00