Commit Graph

32 Commits

Author SHA1 Message Date
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
32fe0fd4c7 Questionasker: encoding issue with hidden fields
We need to get rid of $q->hidden when using Unicode, as suggested by
tyatsumi on the wiki.
2014-06-03 11:19:50 +02:00
Alex Schroeder
2d6b2d6a71 Remove $HttpCharset and moved everything to UTF-8
This also required some changes to the tests where explicit UTF-8
encoding had been used in the past.
2012-05-22 11:50:23 +02: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
6580b6a3f8 (QuestionAddTo): Trying to fix a
surprising Perl regular expression feature.
2009-05-25 11:40:46 +00:00
Alex Schroeder
68e5124826 (QuestionAddTo): Adapted to changes in
GetCommentForm.
2009-05-22 19:26:28 +00:00
Alex Schroeder
55fd34588a (NewQuestionaskerDoPost): Only reveal
the secret key when a question has been asked (and not after a
simple preview).
2008-06-11 13:05:48 +00:00
Alex Schroeder
05f08811a0 (QuestionAddTo): Use
$QuestionaskerSecretKey instead of the hard-coded 'question'.
2008-04-14 11:25:23 +00:00
Alex Schroeder
b2b1cb7fb3 (NewQuestionaskerDoPost,
QuestionAddTo): Editor password is good enough as suggested by
Weakish Jiang.
2008-02-19 09:07:26 +00:00
Alex Schroeder
12497752e2 (NewQuestionaskerGetEditForm): Moved
code to QuestionAddTo.
(QuestionAddTo): New.
(NewQuestionaskerGetCommentForm): Do the same thing for comments.
2008-01-28 16:01:24 +00:00
Alex Schroeder
bc758319fb (NewQuestionaskerDoPost): Pass
aftertext through.
2007-11-11 10:25:29 +00:00
Alex Schroeder
cf4e845877 (NewQuestionaskerGetEditForm): Fix argument list for
OldQuestionaskerGetEditForm.
2007-10-07 20:19:02 +00:00
Alex Schroeder
e8873a9f41 (NewQuestionaskerDoPost): Call QuestionaskerGetQuestion with
parameter.
(QuestionaskerGetQuestion): Add submit button with parameter.
2007-10-07 20:13:10 +00:00
Alex Schroeder
9426129f1b (NewQuestionaskerDoPost): Pass on
parameters and ask another question if the question has not been
answered.
(NewQuestionaskerGetFormStart, NewQuestionaskerGetEditForm): Hook
into GetEditForm instead of GetFormStart.
2007-10-07 20:00:08 +00:00
Alex Schroeder
e514b08263 ($QuestionaskerSecretKey): New option.
(QuestionaskerInit, NewQuestionaskerDoPost): Use it.
2007-10-01 00:17:32 +00:00
Alex Schroeder
60ac7476d9 Switch to GPLv3 2007-08-17 00:30:31 +00:00
Alex Schroeder
d1edede2ec Allow seven lives for cats. 2007-08-17 00:26:35 +00:00
Alex Schroeder
b096e01b63 updated copyright year 2007-01-12 02:00:44 +00:00
Alex Schroeder
a34529af4d (NewQuestionaskerDoPost): Added 'Use
the back button to return the previous page and try again.'
2007-01-04 10:51:11 +00:00
Alex Schroeder
a2d78f2b2d (QuestionaskerInit): Replaced
@AdminPages with %AdminPages.
2006-07-15 23:14:02 +00:00
Alex Schroeder
756451566a (NewQuestionaskerDoPost): No more
logging of Q&A.
($QuestionaskerRememberAnswer): New option.
(QuestionaskerInit): Add question parameter to cookie.
(NewQuestionaskerDoPost): Set question parameter in cookie if
answered correctly.
(NewQuestionaskerDoPost, NewQuestionaskerGetFormStart): Use new
option and parameter from cookie.
2006-06-05 21:28:14 +00:00
Alex Schroeder
76e5109367 (NewQuestionaskerDoPost): No more
logging of Q&A.
2006-06-05 20:21:35 +00:00
Alex Schroeder
c0edff32b1 (NewQuestionaskerDoPost): No answer
required for previews. Log all questions and answers. Print
footer.
(@QuestionaskerQuestions): Make default questions harder to answer
such that pasting spam into the answer field does not have a high
chance of answering the question.
2006-05-30 20:05:14 +00:00
Alex Schroeder
6f94db2790 (QuestionaskerInit): New sub to add $QuestionaskerRequiredList to
@AdminPages.
2006-05-28 22:28:48 +00:00
Alex Schroeder
8511a2ff63 Simplified code.
(NewQuestionaskerDoPost): Extract id from the title parameter.
(%QuestionaskerProtectedForms): New option.
(NewQuestionaskerGetFormStart): Use it.
(QuestionaskerGetQuestion): Use CGI.pm functions to create HTML.
Make valid HTML.
2006-05-28 22:20:21 +00:00
Alex Schroeder
22c9aed561 (QuestionaskerException): Invert some tests. 2006-05-26 23:18:16 +00:00
Alex Schroeder
c59b9079cf (QuestionaskerException): Check $QuestionaskerRequiredList. 2006-05-26 23:13:55 +00:00
Alex Schroeder
0f17f1b3ae ($QuestionaskerBypass): Undocumented
option removed.
(NewQuestionaskerDoPost): Removed bypass.
(@QuestionaskerQuestions): Uncommented some questions, removed
some others.
(QuestionaskerException): New.
(NewQuestionaskerGetFormStart): No questions asked for admins.
Check for exceptions.
2006-05-26 23:08:16 +00:00
Alex Schroeder
9d0f975400 *** empty log message *** 2005-12-18 00:07:53 +00:00
Alex Schroeder
90c25c9090 new version awwaiid 2005-12-18 00:07:36 +00:00
Alex Schroeder
26773d8dbb added questionasker module 2004-12-16 04:34:07 +00:00