Aleks-Daniel Jakimenko
a615bedccf
Fixed a bunch of stuff
2015-04-28 00:03:11 +03:00
Aleks-Daniel Jakimenko
df87ff82c3
No more redundant 'package OddMuse;'
2015-04-27 17:41:59 +03:00
Aleks-Daniel Jakimenko
7112f1c170
No more trailing whitespace (this time for sure)
2015-04-17 01:43:19 +03:00
Aleks-Daniel Jakimenko
c7bd5617ff
No more trailing whitespace
2015-04-17 01:39:47 +03: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
Brian Curry
1310ce27e5
* modules/footnotes.pl (FootnotesRule): Substantially revised.
...
This now handles markup for referencing another footnote or range
of other footnotes. This should, in turn, make embedding academic
citations in Wiki pages somewhat simpler.
2009-05-11 02:28:44 +00:00
Brian Curry
2fea88a16d
(FootnotesInit): Prevented redefinition of $FootnotePattern, if already defined.
2008-10-01 06:21:46 +00:00
Brian Curry
303d1e1fbc
(FootnotesRule): Removed a shameful, shameful hack.
2008-10-01 06:20:48 +00:00
Brian Curry
da7862ff25
modules/footnotes.pl: Refactored. Yet another flashy rewrite; it improves integration with toc.pl, and provides improved HTML configurability, CSS styleability, and perldoc-style documentation.
2008-09-28 07:00:34 +00:00
Alex Schroeder
6a64543fc5
Set RuleOrder.
2006-08-31 09:08:42 +00:00
Alex Schroeder
7153506387
(NewFootnotePrintFooter): Use a <p> for
...
each footnote item, instead of separating them via <br>.
2004-08-16 01:03: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
cf3c884103
Changed pattern from [[[footnote]]] to {{footnote}}. To update your
...
wiki, log in as administrator and use a global search and replace.
Search for the old markup using a backslash: \[\[\[ and \]\]\].
2004-03-12 19:31:53 +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