Commit Graph

35 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
4a9e2545f8 Changed one of the [new:...] macro
to match $FreeLinkPattern instead of [^]:]+ as it interfered with
code examples containing regular expressions. As this is a macro,
it will remain tricky, unfortunately.
2009-02-13 10:29:21 +00:00
Alex Schroeder
5cc93d018b (PortraitSupportRule): Allow
indentation of [new] tags.
2006-03-18 19:51:58 +00:00
Alex Schroeder
58911a451f Removed $DefaultStyleSheet. 2005-10-09 00:55:43 +00:00
Alex Schroeder
e739139364 (PortraitSupportRule): AddHtmlEnvironment('p') 2004-12-05 03:58:44 +00:00
Alex Schroeder
3a2e638ec3 *** empty log message *** 2004-12-03 08:42:19 +00:00
Alex Schroeder
636d940b71 ($MyColor, $PortraitSupportColor):
$PortraitSupportColor replaces $MyColor.
(PortraitSupportRule): Reset color after hr, handle closing div,
use $PortraitSupportColor.
2004-12-03 08:41:19 +00:00
Alex Schroeder
845b870d5b ($MyColorDiv): Renamed to $PortraitSupportColorDiv. 2004-11-27 21:16:02 +00:00
Alex Schroeder
8d5c642fec ($MyColorDiv): Export variable.
(PortraitSupportRule): Removed handling for headings.  This should
be handled by all the other packages that do headings (toc,
portrait-support, markup).
2004-11-27 21:12:20 +00:00
Alex Schroeder
c8eccca5ba Improve $DefaultStyleSheet. 2004-10-10 17:26:28 +00:00
Alex Schroeder
9c45cee38a Improve $DefaultStyleSheet. 2004-10-10 17:13:02 +00:00
Alex Schroeder
3dfbc09900 Added lots more to the $DefaultStyleSheet. 2004-10-10 17:06:34 +00:00
Alex Schroeder
7b673e1d1b (PortraitSupportRule): All rules work only at the beginning of a
line ($bol).
2004-10-10 17:03:09 +00:00
Alex Schroeder
27f73ee187 Set $DefaultStyleSheet. 2004-10-10 16:57:48 +00:00
Alex Schroeder
135c682528 * modules/portrait-support.pl (PortraitSupportRule): Bugfix. 2004-08-13 02:15:24 +00:00
Alex Schroeder
0b25578be1 (PortraitSupportRule): Bugfixes and
XHTML support.
2004-08-13 01:45:58 +00:00
Alex Schroeder
7196abee86 (PortraitSupportRule): Duplicate the
horizontal rule and the heading stuff from usemod.pl, but only
enable them if usemod.pl is loaded (when UsemodRule is defined).
2004-08-06 19:58:50 +00:00
Alex Schroeder
bf90922456 (PortraitSupportRule): Duplicate the
horizontal rule and the heading stuff from usemod.pl.
(NewPortraitSupportWikiHeading): Deleted.
2004-08-06 19:54:56 +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
6a11e7a870 (PortraitSupportRule): Better
support for text browsers.
2004-05-10 22:08:16 +00:00
Alex Schroeder
c48948ac1e bugfix 2004-04-28 20:25:18 +00:00
Alex Schroeder
f5df4479b4 (PortraitSupportRule): Use CSS to alternate background colors. 2004-04-28 20:23:43 +00:00
Alex Schroeder
5072711547 (NewPortraitSupportWikiHeading)
(NewPortraitSupportApplyRules): Toggle $MyColor when adding a
closing div tag.
2004-04-28 20:19:04 +00:00
Alex Schroeder
62b846ee1c [new::] 2004-02-05 18:05:58 +00:00
Alex Schroeder
0fba9e1746 [new:] will add the username as well. 2004-02-05 17:56:01 +00:00
Alex Schroeder
562a0d44d4 added copyright and license 2004-01-30 21:35:44 +00:00
Alex Schroeder
48602f69c9 moved from top directory 2004-01-30 11:53:18 +00:00