Alex Schroeder
5f019a6ce2
No more /o, modifiers sorted alphabetically
2015-08-23 21:22:12 +03:00
Alex Schroeder
0ec8dd44e6
use v5.10 everywhere + enabled test in meta.t
2015-08-18 10:48:03 +02:00
Alex Schroeder
42a4083daf
Fix utf8 encoding and enable meta test
...
We now check POD and code with two separate checks. One checks for use
utf8, the other checks for =encoding utf8.
2015-07-28 23:02:23 +02:00
Alex Schroeder
5efaf324e1
Revert "Changed EN DASH to - in copyright lines"
...
This reverts commit 06c7fedec0 .
2015-07-28 22:44:53 +02:00
Alex Schroeder
8f3db6ebfe
Changed EN DASH to - in copyright lines
...
The EN DASH is not really required in year ranges such as 2012–2015 when
we're talking about comments in source code that is probably being
displayed in a fixed font anyway. Changing back to an ordinary hypen
allows us to make a meaningful test for use utf8.
2015-07-28 22:14:37 +02:00
Alex Schroeder
10c641b6ab
Fixed a bunch of stuff
2015-04-28 00:03:11 +03:00
Alex Schroeder
143068b849
No more redundant 'package OddMuse;'
2015-04-27 17:41:59 +03:00
Alex Schroeder
b80094482b
No more trailing whitespace (this time for sure)
2015-04-17 01:43:19 +03:00
Alex Schroeder
b9dc9bfb70
No more trailing whitespace
2015-04-17 01:39:47 +03:00
Alex Schroeder
482888cfaf
No more "*Sub = *NewSub", \&NewSub used instead. (Partial progress)
2015-04-11 23:41:33 +03:00
Alex Schroeder
5d2db4b547
No more "use vars"!
2015-04-10 13:31:28 +03:00
Alex Schroeder
a4e0e5a9be
"use strict;" in modules (some modules have problems)
2015-03-27 03:01:01 +02:00
Alex Schroeder
6b1c65bc8d
'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
e6d3ad8382
Fixed typo in AddModuleDescription sub name
2014-08-21 22:23:23 +02:00
Alex Schroeder
17bd795ef0
Automatically reformatted modules
2014-08-21 07:29:46 +03:00
Alex Schroeder
c9e39a4c19
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
e24f8dd72c
* 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
Alex Schroeder
18a22d5266
(FootnotesInit): Prevented redefinition of $FootnotePattern, if already defined.
2008-10-01 06:21:46 +00:00
Alex Schroeder
5dfbc16f8c
(FootnotesRule): Removed a shameful, shameful hack.
2008-10-01 06:20:48 +00:00
Alex Schroeder
4582f4952f
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
781600edc3
Set RuleOrder.
2006-08-31 09:08:42 +00:00
Alex Schroeder
c185fb712d
(NewFootnotePrintFooter): Use a <p> for
...
each footnote item, instead of separating them via <br>.
2004-08-16 01:03:22 +00:00
Alex Schroeder
e989d9df87
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
16988031c5
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
3295f8328a
added copyright and license
2004-01-30 21:35:44 +00:00
Alex Schroeder
abe9489519
moved from top directory
2004-01-30 11:53:18 +00:00