~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to wiki/underlay/pages/HelpOnTextChas/revisions/00000001

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mfrom: (0.9.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080622211713-fpo2zrq3s5dfecxg
Tags: 1.7.0-3
Simplify /etc/moin/wikilist format: "USER URL" (drop unneeded middle
CONFIG_DIR that was wrongly advertised as DATA_DIR).  Make
moin-mass-migrate handle both formats and warn about deprecation of
the old one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Please edit system and help pages ONLY in the master wiki!
 
2
## For more information, please see MoinMoin:MoinDev/Translation.
 
3
##master-page:
 
4
##master-date:
 
5
#acl -All:write Default
 
6
#format wiki
 
7
#language en
 
8
== What is a TextCHA? ==
 
9
It is a pure text alternative to ''CAPTCHAs''. !MoinMoin uses it to prevent wiki spamming.
 
10
 
 
11
Features:
 
12
 * for page save, ask a random question
 
13
 * match the given answer against a regular expression
 
14
 * q and a can be configured in the wiki config
 
15
 * multi language support: a user gets a textcha in his language or in language_default or in English (depending on availability of questions/answers for the language)
 
16
 
 
17
Tips for answering:
 
18
 * you need to answer the textcha for e.g.:
 
19
  * page save
 
20
  * attachment upload
 
21
  * user profile creation
 
22
 
 
23
 * you do not need to answer the textcha for e.g.:
 
24
  * page preview (if you do, it will remember what you entered, though)
 
25
  * user profile changes
 
26
 
 
27
 * it is usually a simple/short answer
 
28
 * it compares case-insensitive
 
29
 * sometimes you can find the right answer by reading some important pages of the wiki
 
30
 
 
31
== Configuration ==
 
32
 
 
33
Tips for configuration:
 
34
 * have 1 word / 1 number answers
 
35
 * ask questions that normal users of your site are likely to be able to answer
 
36
 * do not ask too hard questions
 
37
 * do not ask "computable" questions, like "1+1" or "2*3"
 
38
 * do not ask too common questions
 
39
 * do not share your questions with other sites / copy questions from other sites (or spammers might try to adapt to this) 
 
40
 * you should at least give textchas for 'en' (or for your language_default, if that is not 'en') as this will be used as fallback if !MoinMoin does not find a textcha in the user's language
 
41
 
 
42
In your wiki config, do something like this:
 
43
{{{
 
44
    textchas_disabled_group = u"TrustedEditorGroup" # members of this don't get textchas
 
45
    textchas = {
 
46
        'en': { # silly english example textchas (do not use them!)
 
47
            u"Enter the first 9 digits of Pi.": ur"3\.14159265",
 
48
            u"What is the opposite of 'day'?": ur"(night|nite)",
 
49
            # ...
 
50
        },
 
51
        'de': { # some german textchas
 
52
            u"Gib die ersten 9 Stellen von Pi ein.": ur"3\.14159265",
 
53
            u"Was ist das Gegenteil von 'Tag'?": ur"nacht",
 
54
            # ...
 
55
        },
 
56
        # you can add more languages if you like
 
57
    }
 
58
}}}