Alex Schroeder
f1f2ed71a5
static-hybrid.pl passes perl -c
...
ToString needs parenthesis.
2015-07-03 14:28:09 +02:00
Alex Schroeder
4f4ad14850
aggregate.pl passes perl -c
...
ToString needs parethesis.
2015-07-03 14:26:59 +02:00
Alex Schroeder
9589c42a6a
private-wiki.pl: remove debug print to STDERR
2015-07-03 13:01:45 +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
Alex Schroeder
c7274a267b
Remove README and $ReadMe
...
I don't think anybody ever relied on this feature.
2015-07-03 11:51:48 +02:00
Alex Schroeder
8a9a0b6d50
Fix oddtrans again.
...
Changing all the double quotes to single quotes before processing was a
bad idea.
2015-06-28 00:53:24 +02:00
Alex Schroeder
25eb21b91e
Oddtrans now handles split strings.
...
The issue was raised by a translation of this form:
T('something, something'
. ' and something')';
2015-06-28 00:10:43 +02:00
Alex Schroeder
73b8caebb5
New google-plus-one.pl and tests.
...
This adds a Google +1 button to the bottom of a page.
2015-06-27 20:22:55 +02:00
Alex Schroeder
e066762122
Added like.pl and like.t
...
Implement a simple "I Like" link.
2015-06-27 11:57:59 +02:00
Alex Schroeder
205c103efa
login.pl no longer translates HTML tags
...
The module had <ul>, <li>, and the corresponding closing tags marked
for translation. This was removed.
2015-06-02 14:12:48 +02:00
Aleks-Daniel Jakimenko
655c7eb7d6
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2015-06-01 23:49:23 +03:00
Aleks-Daniel Jakimenko
66e32c54dd
russian-utf8.pl: "Comments" looks better than "Comments on this page"
2015-06-01 23:48:23 +03:00
Alex Schroeder
588b91e3f7
use strict and "our" for all the translation files
2015-06-01 22:39:06 +02:00
Alex Schroeder
22b43753d9
smiles.pl: support upsidedown smiley
2015-05-31 22:53:06 +02:00
Alex Schroeder
556b33bdd5
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2015-05-31 22:35:59 +02:00
Alex Schroeder
e93625680e
smiles.pl: support upsidedown smiley
2015-05-31 22:34:47 +02:00
Aleks-Daniel Jakimenko
60d67a87af
russian-utf8.pl: Some progress
2015-05-30 16:59:28 +03:00
Aleks-Daniel Jakimenko
6ba0176f44
div-foo.pl: allow numbers in css classes
2015-05-30 03:47:24 +03:00
Aleks-Daniel Jakimenko
f782691e7e
UTF-8, again! Also, new ToString sub.
2015-05-17 03:35:35 +03:00
Alex Schroeder
615a78f0b7
static-copy.pl: fix partial change from F to $F
...
The file writing operations had been only partially changed from F to
$F. Unfortunately, the old code relied on the fact that a file glob like
F was global in scope. To make the change to the file handle variable
more obvious, $F was renamed to $fh and this variable is now passed to
the subroutines StaticFile and StaticHtml.
In addition to that, :encoding(UTF-8) was changed back to :utf8 because
sometimes, this didn't work as intended.
2015-05-15 16:31:47 +02:00
Aleks-Daniel Jakimenko
8a74f92ebb
edit-assist.pl: Link to wiki page
2015-05-04 14:08:24 +03:00
Aleks-Daniel Jakimenko
2894a4b381
latex.pl: correct eval usage
2015-05-02 04:19:09 +03:00
Aleks-Daniel Jakimenko
3a57912585
No more undefined map behaviour in scalar context (now in modules)
2015-05-02 04:11:36 +03:00
Aleks-Daniel Jakimenko
4b49c1d326
No more variables declared in conditional statements (in modules)
2015-05-02 04:03:30 +03:00
Aleks-Daniel Jakimenko
37da9c4f2c
No more pointless nested subroutines
...
Fixes the following warning:
"Declaring a named sub inside another named sub does not prevent the
inner sub from being global."
2015-05-02 03:56:04 +03:00
Aleks-Daniel Jakimenko
d83106faa4
No more bareword filehandles in modules
2015-05-02 03:49:07 +03:00
Aleks-Daniel Jakimenko
f3fcf0a176
No more masking of earlier declarations
2015-05-02 03:44:07 +03:00
Aleks-Daniel Jakimenko
26b0853e13
No more two-arg open
2015-05-02 03:19:25 +03:00
Alex Schroeder
eb94e8a0d6
search-freetext.pl deleted
2015-05-01 19:18:17 +02:00
Aleks-Daniel Jakimenko
302141de71
Do not modify $_ in map {} (actual bugs solved, I believe)
...
$_ is not a copy, it is an alias to the original value.
Therefore modifying it will mess with original list... That's
not what we want most of the time.
Also, using map to s/// two variables does not look right. What
a stupid race to save one line of code.
2015-04-28 02:21:03 +03:00
Aleks-Daniel Jakimenko
a615bedccf
Fixed a bunch of stuff
2015-04-28 00:03:11 +03:00
Aleks-Daniel Jakimenko
10ca910c81
nosearch.pl: License notice
2015-04-27 18:20:48 +03:00
Aleks-Daniel Jakimenko
df87ff82c3
No more redundant 'package OddMuse;'
2015-04-27 17:41:59 +03:00
Aleks-Daniel Jakimenko
4a63d7e4df
private-wiki.pl: done! Works great now
2015-04-25 06:17:08 +03:00
Aleks-Daniel Jakimenko
10fbf17254
Removed debugging code
...
This key was used instead of using the password
2015-04-22 23:50:58 +03:00
Aleks-Daniel Jakimenko
2089fa60ea
Regenerated russian translation
2015-04-21 23:05:15 +03:00
Aleks-Daniel Jakimenko
b08a017a80
New module: private-wiki.pl (encrypt all data on the server)
2015-04-19 23:54:46 +03:00
Aleks-Daniel Jakimenko
5b731a61df
No more trailing whitespace (I can do it, I can do it!)
2015-04-17 01:45:11 +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
892d352b9e
webdav.pl: Hide 'once' warnings
...
Without this it throws warnings like 'Name "OddMuse::ScriptName" used only once'.
It is unclear whether these warnings make any sense. We will hide them for now.
2015-04-14 23:36:58 +03:00
Alex Schroeder
39b8439371
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2015-04-13 07:59:57 +02:00
Alex Schroeder
e703a3ca89
webdav.pl: Add "if $verbose" to two warnings
2015-04-13 07:59:00 +02:00
Aleks-Daniel Jakimenko
17b2562054
No more "*Sub = *NewSub", \&NewSub used instead. (Completely now!)
2015-04-12 22:50:50 +03:00
Aleks-Daniel Jakimenko
40ec24349a
No more "*Sub = *NewSub", \&NewSub used instead. (Partial progress)
2015-04-11 23:41:33 +03:00
Alex Schroeder
d8129c16dd
Merge commit '6f8d281d7984e05edee03b0a04bf7b2be98555ac'
2015-04-10 17:24:24 +02:00
Alex Schroeder
472e8c5e73
cal3.pl deleted
2015-04-10 17:10:43 +02:00
Aleks-Daniel Jakimenko
6f8d281d79
No more "use vars"!
2015-04-10 13:31:28 +03:00
Alex Schroeder
994de81c41
edit-paragraphs.pl: Fix bad filename in module description
2015-04-10 08:36:26 +02:00
Alex Schroeder
21d8ab6089
Move strip.pl to the right directory
...
It belongs with other near-links oriented files.
2015-04-06 20:57:35 +02:00