Commit Graph

2124 Commits

Author SHA1 Message Date
Alex Schroeder
19d0a2a2df questionasker.pl ready for use strict
GetEditForm uses the second parameter to indicate that it's an upload.
We need to pass it via to QuestionAddTo if we want to use it there.
2015-03-29 23:21:14 +02:00
Alex Schroeder
1921487999 upgrade.pl uses strict
DoUpgrade is an alias for DoBrowseRequest which doesn't get $id as a
first parameter like many actions do. Therefore determine $id like
DoBrowseRequest does: call GetId.
2015-03-29 23:18:07 +02:00
Alex Schroeder
87a576271d namespaces.pl uses strict
Apparently whatever prevented this from working has been fixed in the
mean time.
2015-03-29 23:15:35 +02:00
Àngel Moreno
3a555f1cff catalan-utf8.pl is new
Downloaded from
http://usuaris.tinet.cat/amoreno/wiki/Wiki
2015-03-29 22:47:41 +02:00
Alex Schroeder
cfc811c2e0 recaptcha.pl uses strict
Same fix as for gd_security_image.pl.
2015-03-29 17:53:08 +02:00
Alex Schroeder
e27222374e strange-spam.pl uses strict 2015-03-29 17:50:51 +02:00
Aleks-Daniel Jakimenko
27233886bc Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-03-29 18:45:40 +03:00
Aleks-Daniel Jakimenko
24f0590f7c not-found-handler.pl uses strict 2015-03-29 18:45:14 +03:00
Alex Schroeder
47b7d205fa near-links.pl uses strict
This should also fix the searching for Near Pages which apparently
didn't work.
2015-03-29 16:46:20 +02:00
Alex Schroeder
5d03331bb3 multi-url-spam-block uses strict 2015-03-29 16:36:51 +02:00
Alex Schroeder
06468e4310 markdown.pl deleted
This code was hard to maintain because it uses the actual markup code
and replaced a lot of Oddmuse machinery. Just use markdown-rule.pl
instead if you need it.
2015-03-29 15:43:50 +02:00
Alex Schroeder
c48a45d0b4 logbannedcontent.pl uses strict
Uses the same code and comment as banned-regexps.pl
2015-03-29 15:17:13 +02:00
Alex Schroeder
0f736b2a1c mac.pl actually uncomment use strict 2015-03-29 15:16:57 +02:00
Alex Schroeder
f9c7746956 list-banned-content uses strict
This should now correctly list pages banned due to BannedContent.
Previously, there was a stray variable $str instead of the actual page
content being matched.
2015-03-29 15:13:38 +02:00
Alex Schroeder
60561397aa link-all uses strict
Get rid of $IndexInit from UseMod days.
2015-03-29 15:07:37 +02:00
Alex Schroeder
671f71d9f8 mac.pl uses strict
Also get rid of $IndexInit from UseMod days.
2015-03-29 15:06:57 +02:00
Alex Schroeder
1c32e0d45c latex.pl uses strict
This should make sure that we do in fact run the cleanup code even if
an error occured. Also, whitespace changes because it was a pain to
read.
2015-03-29 14:56:52 +02:00
Alex Schroeder
ea15f107d7 journal-rss.pl uses strict
Should fix filtering by language, too.
2015-03-29 14:35:59 +02:00
Alex Schroeder
d45bd85ed1 index.pl uses strict
This should also fix the use of the 'match' parameter.
2015-03-29 14:27:52 +02:00
Alex Schroeder
5ad5ad265a Make creole.pl use strict 2015-03-29 14:22:52 +02:00
Alex Schroeder
da4de5acfc Deleted balanced-page-directories.pl
This module was deprecated. Oddmuse no longer disperses page data files
into 27 directories based on the first character of the page name. The
directories used to be "A" to "Z", and "other". If you uses your wiki as
a blog, all the pages starting with a date ended up in "other". If your
page names started with letters other than "A" to "Z", all the pages
ended up in "other". If you were using comment pages, all your comment
pages ended in "C". This module was intended to create more
subdirectories and spread them more evenly. This is no longer necessary,
as the typical filesystem's performance no longer degrades with tens of
thousands of files in a directory. I'm assuming most Oddmuse hosts to
use some form of GNU/Linux with ext3 or ext4 with dir_index option.
2015-03-29 13:45:03 +02:00
Alex Schroeder
46a1e974f7 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-03-29 13:42:37 +02:00
Alex Schroeder
aebacdfb4a Moved the month-names into translations subdir 2015-03-29 13:33:13 +02:00
Aleks-Daniel Jakimenko
0e9288b41d Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-03-28 18:28:52 +02:00
Aleks-Daniel Jakimenko
52809c6164 atom.pl ready for use strict 2015-03-28 18:28:33 +02:00
Alex Schroeder
f26164a432 joiner.pl is ready for use strict. 2015-03-28 17:20:03 +01:00
Alex Schroeder
6965f604e8 Make hibernal.pl ready for use strict. 2015-03-28 17:17:55 +01:00
Alex Schroeder
1e5fe85253 gravatar.pl ready for use strict
Looks like a simple typo.
2015-03-28 16:45:10 +01:00
Alex Schroeder
890e0fd7ec gd_security_image.pl ready for use strict
GetEditForm uses the second parameter to indicate that it's an upload.
We need to pass it via NewGdSecurityImageGetEditForm to
GdSecurityImageAddTo if we want to use it there.
2015-03-28 16:38:52 +01:00
Alex Schroeder
7367b759b3 edit-cluster.pl ready for use strict 2015-03-28 16:24:33 +01:00
Alex Schroeder
e38e5d4d97 Delete debug.pl
Nobody uses it and debugging usually needs more specific code.
2015-03-28 16:18:10 +01:00
Alex Schroeder
c990dff747 Deleting config.pl
DoConfig was implemented but DoClone was not; these days it makes more
sense to simply use a source repository to share wiki configurations.
2015-03-28 16:14:43 +01:00
Alex Schroeder
1580e3ad25 clustermap.pl fit for use strict 2015-03-28 16:11:03 +01:00
Alex Schroeder
90d4253811 Removed beautify.pl
The Beautifier::Core library is not available from CPAN.
The beautifier.org website is not longer available.
The sources are still on Source Forge but it seems clear that this is a
dead end.
2015-03-28 15:46:51 +01:00
Alex Schroeder
ada41ef14f Use strict
Added a comment to explain these lines.

my $RegexpOldBannedContent;
*RegexpOldBannedContent = *BannedContent;
*BannedContent = *RegexpNewBannedContent;
$BannedContent = $RegexpOldBannedContent;
2015-03-28 15:22:45 +01:00
Alex Schroeder
e9c9b9c65d anchors.pl: get rid of $free
This was a strange variable that wasn't set anywhere. At the same time,
we fixed the title attribute for bracket links like this: [1].
2015-03-28 14:55:25 +01:00
Alex Schroeder
46a5a32348 webdav.pl replace Perl license with GPL
According to http://dev.perl.org/licenses/ the Perl license is either
the GPL or the Artistic license. We'll pick the GPL so that it matches
the rest of Oddmuse.
2015-03-28 14:36:13 +01:00
Alex Schroeder
a3d69ae8c6 vcard.pl added license 2015-03-28 14:24:26 +01:00
Alex Schroeder
a3334f41ab edit-cluster.pl: add missing license 2015-03-28 14:16:17 +01:00
Alex Schroeder
026478b1f0 mail.pl: added missing licence 2015-03-28 14:12:26 +01:00
Alex Schroeder
572e9c899c Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-03-27 13:24:56 +01:00
Alex Schroeder
d595409c41 Get rid of extra $revision
Both despam.pl and static-hybrid.pl print a useless $revision at the
very end. This was removed.
2015-03-27 13:22:17 +01:00
Aleks-Daniel Jakimenko
e61eaf26cb Merge branch 'use-strict-in-modules' 2015-03-27 13:33:13 +02:00
Alex Schroeder
09697fba23 Merge commit '5e4426b' 2015-03-27 12:12:47 +01:00
Aleks-Daniel Jakimenko
812742a856 weblog-1.pl: $RefererTracking is a leftover from back when referrer tracking was part of the core. 2015-03-27 12:59:09 +02:00
Aleks-Daniel Jakimenko
d84d0c6b9b mail.pl: There is no reason to have module-global %h 2015-03-27 12:58:53 +02:00
Alex Schroeder
5e4426b9c8 Deleted thread.pl module 2015-03-27 11:44:54 +01:00
Aleks-Daniel Jakimenko
4492ede096 "use strict;" in modules (some modules have problems) 2015-03-27 03:01:01 +02:00
Aleks-Daniel Jakimenko
e9bde11993 calendar.pl: no more annoying space delimiters in links 2015-03-19 04:02:40 +02:00
Alex Schroeder
66972c4dc4 markup.pl: fix corner cases for markup pairs
Some support for corner cases was added, including tests. Now it should
be possible to write the following without the code triggering:

"foo*bar is not ** foo bar" -- this should no longer be bold.
2015-03-17 07:48:29 +01:00