Alex Schroeder
58e9a1e240
use v5.10 everywhere + enabled test in meta.t
2015-08-18 10:48:03 +02:00
Alex Schroeder
dfa71cb2e3
Revert "Changed EN DASH to - in copyright lines"
...
This reverts commit 06c7fedec0 .
2015-07-28 22:44:53 +02:00
Alex Schroeder
06c7fedec0
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
8d4c15e948
Remove $NewText and $NewComment.
...
$NewText is replaced by a call to NewText() which you can overwrite. Or
you can provide translations for the texts used by NewText(). Basically,
the new text explains that the page in question does not exist and
invites you edit it.
2015-07-03 13:01:32 +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
Alex Schroeder
7f3e1592fc
weblog-3.pl: Move $CategoryInit up
2015-03-30 00:47:19 +02:00
Alex Schroeder
0f3c0c2717
weblog-3 uses strict
...
$CategoryInit prevents CategoryInit from running multiple times in a
mod_perl setup.
2015-03-29 23:46:26 +02:00
Aleks-Daniel Jakimenko
4492ede096
"use strict;" in modules (some modules have problems)
2015-03-27 03:01:01 +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
cbe55eee65
(CategoriesNewOpenPage): Instead of setting $Page{text}, set
...
$NewText because that's what BrowsePage uses. Handle $NewPage in
the case of mod_apache or similar environment.
2011-12-31 01:40:26 +00:00
Alex Schroeder
c51ca0a658
(CategoryParse): New. Change parsing
...
slightly to match the description on the wiki.
(CategoryInit, GotoBarInit): Use it.
2011-12-31 00:27:33 +00:00
Alex Schroeder
441e47c767
(CategoryInit): Use $FreeLinkPattern instead of .* to match.
2006-01-01 23:46:57 +00:00
Alex Schroeder
7655cdef93
(CategoryInit): Use the first link of the
...
list, not the last one.
2006-01-01 23:44:19 +00:00
Alex Schroeder
c8c5dc0ffc
(DoCategories): Go to the edit page when
...
submitting the form.
2005-10-01 22:54:09 +00:00
Alex Schroeder
f67d60f400
(NewGetGotoBar): Append $UserGotoBar.
2005-09-09 16:00:50 +00:00
Alex Schroeder
7d1d54016e
(CategoriesNewOpenPage): Handle extra tag
...
parameter.
(NewGetGotoBar): Add extra tag parameter where necessary.
(CategoryInit): Use FreeToNormal on menu entries.
2005-09-07 19:47:30 +00:00
Alex Schroeder
4bf3fc543c
Bugfix in regular expression.
2005-09-05 20:42:03 +00:00
Alex Schroeder
6f56399404
(GotoBarInit): First link, not last link is what matters.
2005-09-05 20:40:42 +00:00
Alex Schroeder
0f411996ba
(NewGetGotoBar): Link to current page as
...
well. Don't use pipe as separator.
2005-09-05 20:03:55 +00:00
Alex Schroeder
0544b046d4
(CategoriesNewOpenPage): Fix journal regex.
2005-09-05 19:06:00 +00:00
Alex Schroeder
f10eef7b84
(CategoriesNewOpenPage): Bugfix.
...
(NewGetGotoBar): Chnange Order.
2005-09-05 00:06:16 +00:00
Alex Schroeder
c40e44be1d
(DoCategories): Use GetEditLink instead of
...
GetPageLink.
(NewGetGotoBar): Add Categories to GotoBar.
2005-09-04 23:59:52 +00:00
Alex Schroeder
9791e02bf6
New.
2005-09-04 23:39:07 +00:00