Commit Graph

2124 Commits

Author SHA1 Message Date
Alex Schroeder
42d8260ce4 edit-paragraphs.pl: remove \r
Multiline paragraphs were not replaced correctly because of extra \r
in line endings.
2014-11-06 14:40:23 +01:00
Alex Schroeder
bfda4abe54 New module. 2014-11-06 13:43:20 +01:00
Alex Jakimenko
9f4ceb2d72 module-updater.pl: No need to return when calling OrError subs 2014-10-31 18:48:48 +02:00
Alex Jakimenko
0f8a4fa1df module-updater.pl: Fixed cache problems 2014-10-31 18:48:06 +02:00
Alex Jakimenko
3b16b58880 module-bisect.pl: Solved cache problems, added 'Back' button from 'Stop' page, all strings are now translatable, some refactoring. 2014-10-31 18:41:08 +02:00
Alex Jakimenko
3f7f9ec1eb module-bisect.pl: Indicate progress by using > signs 2014-10-31 04:45:45 +02:00
Alex Jakimenko
174aac5570 module-bisect.pl: Do binary search on your modules by disabling/enabling them 2014-10-31 04:09:33 +02:00
Alex Jakimenko
954232f7c8 module-updater.pl: Do not update modules immediately, just show diffs and ask the user whether he wants to apply those changes. 2014-10-29 23:40:09 +02:00
Alex Jakimenko
067658fd10 comment-div-wrapper.pl: Now using $q-> functions instead of printing html manually 2014-10-26 00:54:45 +03:00
Alex Jakimenko
b2b2b0f6cc comment-div-wrapper.pl: Use 'class' instead of 'id' (otherwise it creates multiple elements with the same id in journals) 2014-10-26 00:29:35 +03:00
Alex Jakimenko
408d169729 comment-div-wrapper.pl: indentation 2014-10-26 00:28:32 +03:00
Alex Jakimenko
6b3cd0437f module-updater.pl: GetRaw() instead of wget, cgi functions instead of printing tags 2014-10-22 03:00:32 +03:00
Alex Jakimenko
c961748b49 image.pl: Commentable images (create divs with text above images) 2014-10-21 17:26:31 +03:00
Alex Jakimenko
7327eb8e0c div-foo.pl: Support for spans, paragraph problem solved 2014-10-21 16:27:14 +03:00
Alex Schroeder
7ae98f4ed9 $q->endform to $q->end_form
When updating to CGI 4.06, it turns out that $q->endform
is no longer defined.
2014-10-10 16:43:01 +02:00
Alex Jakimenko
dc792691d4 Fail less dramatically if h1 appears. 2014-10-02 16:29:45 +03:00
Alex Jakimenko
0a57a8e89b toc.pl: Treat h2 as the first header when Creole Extension is active. 2014-10-02 16:23:00 +03:00
Alex Jakimenko
f75d415322 Div Foo Extension 2014-09-29 03:46:02 +03:00
Gauthier Vandemoortele
1654562236 clustermap.pl: fixed regression (subrotine name was changed)
This module used a function called ‘DoRc’ that disappeared from the main oddmuse script since the 1.837 version. It was apparently replaced by ‘PrintRcHtml’.
2014-09-26 23:12:23 +03:00
IngoBelka
5997c3ea02 creole.pl: title-tag for images
This enables tooltips for images in FireFox and possibly in other browsers too
2014-09-13 14:55:38 +03:00
Alex Schroeder
2bc2d1f927 New convenience function UserCanEditOrDie
Closes bug #41625 "ban-quick-editors.pl can hide the error message".
DoPost now uses the same code as DoEdit and thus it will display the
error message, which solves the issue for ban-quick-editors.pl. Added a
test to demonstrate it.
2014-09-12 15:20:06 +02:00
Alex Schroeder
873ce10ced permanent-anchors.pl: report page deletion status
Make sure the status is returned if page deletion fails.
2014-09-12 11:50:51 +02:00
Alex Schroeder
ce9f8d9b74 emoji.pl: require whitespace before :3 2014-08-27 08:19:03 +02:00
Alex Schroeder
13fc4cc0a4 emoji.pl: fixed rule order 2014-08-26 22:39:39 +02:00
Alex Schroeder
31f7b330c5 emoji.pl: added more 2014-08-26 22:34:30 +02:00
Alex Schroeder
ad3909888b emoji.pl: added more 2014-08-26 22:24:08 +02:00
Alex Schroeder
f7b99d44fd gravatar.pl: use https 2014-08-25 20:29:25 +02:00
Alex Schroeder
2cf943d178 Makefile: more fixing for prepare target
The prepare target didn't handle wiki.pl itself correctly. This has been
fixed. The command to add the git tag was changed from sed to perl, like
for the other targets. As emoji.pl and smiles.pl refer to permanent
anchors, the addition of the anchor parameter to AddModuleDescription
was obviously misguided and I reverted it.
2014-08-24 22:20:50 +02:00
Alex Schroeder
b2b1c16247 markup.pl: link English documentation 2014-08-24 21:31:00 +02:00
Alex Schroeder
9ba5b119f8 Fix module description to handle version tag.
This makes sure that "make prepare" works once again by allowing an
optional argument to AddModuleDescription with the tag.
AddModuleDescription now also takes an optional anchor which is used by
emoji.pl and smiles.pl.

This commit also updates all the translation files and makes sure that
they all use AddModuleDescription.
2014-08-24 12:31:15 +02:00
Alex Schroeder
c9a9db28a6 german-utf8.pl: updated 2014-08-24 08:46:48 +02:00
Alex Schroeder
b21dc2db01 Get rid of "Updates in the last 1 day"
If it's one day, write "Updates in the last day" instead.
2014-08-24 08:46:03 +02:00
Alex Schroeder
0f61a795ee Modules no longer refer to hostname banning
Hostnames are no longer tracked and therefore log messages such as
"hostname or IP number matched" no longer make sense.
2014-08-24 08:45:14 +02:00
Alex Jakimenko
9473e08a14 smarttitles.pl allow intermap links in suburl
maybe this feature should have been called "sublink"...
2014-08-24 06:33:50 +03:00
Alex Jakimenko
16796b7fe5 smarttitles.pl: added #SUBURL
SUBURL is another optional feature that allows you to specify some arbitrary link to be displayed in the subtitle.
This might be handy to wikis where some pages are associated with particular URLs
2014-08-23 09:04:12 +03:00
Alex Jakimenko
1e704ece07 smarttitles.pl: do not match in the middle of the string 2014-08-23 06:27:15 +03:00
Alex Jakimenko
1f824d5838 diff.pl: fix corrupted html 2014-08-23 05:28:16 +03:00
Alex Jakimenko
d8bc7bd82f Module Updater Extension 2014-08-23 05:13:27 +03:00
Alex Jakimenko
a2e1a73d10 smarttitles.pl: fixed XSS, fixed wrong behaviour when #TITLE was not specified but #SUBTITLE was, fixed wrong behaviour when title or subtitle was specified in the end of the page, some refactoring 2014-08-22 22:01:50 +03:00
Alex Schroeder
548bdf7d1c upgrade.pl: add module description 2014-08-22 16:17:18 +02:00
Alex Schroeder
a6314a2c44 Merge branch 'ad/module-description' 2014-08-22 09:09:03 +02:00
Alex Schroeder
85e8800435 offline.pl and webapp.pl: link wiki page 2014-08-22 08:49:40 +02:00
Alex Schroeder
41b5c65e22 national-days: moved to translations folder 2014-08-22 08:33:08 +02:00
Alex Schroeder
3ad0438a78 Revert changes made to translation files.
This reverts part of commit 5aba2ae56f.

Conflicts:
	modules/locked.pl
2014-08-22 00:10:04 +02:00
Alex Schroeder
2312787ec1 simple-rules test moved to Test::More
Moved modules/simple-rules-test.pl to t/simple-rules.t and started using
the standard testing infrastructure.
2014-08-21 23:38:52 +02:00
Alex Schroeder
4aefc9a648 emoji.pl and smiles.pl: Fixed module description
These two modules used to link to a named anchor instead of a simple
page. This was dropped.
2014-08-21 22:32:37 +02:00
Alex Schroeder
c1cb7516a8 locked.pl is effectively a duplicate
listlocked.pl provides the same functionality and is actually installed
on emacswiki.org, so that's the one we'll keep.
2014-08-21 22:24:21 +02:00
Alex Schroeder
5aba2ae56f Fixed typo in AddModuleDescription sub name 2014-08-21 22:23:23 +02:00
Alex Schroeder
f79b188e82 finnish-utf8.pl and swedish-utf8.pl: fix mode
The files specified fundamental-mode for Emacs users. I removed that
line because the defaults seem to work just fine.
2014-08-21 22:01:44 +02:00
Alex Schroeder
dc182fde16 brazilian-portuguese-utf8.pl: Added header back.
This header had somehow gotten lost.
2014-08-21 22:01:11 +02:00