]> git.openstreetmap.org Git - osqa.git/blob - forum/settings/faq.py
Various improvements in module functionality, and a couple of migrations to fix some...
[osqa.git] / forum / settings / faq.py
1 from base import Setting, SettingSet
2 from django.forms.widgets import Textarea
3
4 FAQ_SET = SettingSet('faq', 'FAQ page', "Define the text in the about page. You can use markdown and some basic html tags.", 2000, True)
5
6 FAQ_PAGE_TEXT = Setting('FAQ_PAGE_TEXT',
7 u"""
8 **Please customize this text in the administration area**
9
10 **Frequently Asked Questions (FAQ)**
11
12 **What kinds of questions can I ask here?**
13
14 Most importantly - questions should be relevant to this community. Before you ask - please make sure to search for a similar question. You can search questions by their title or tags.
15
16 **What kinds of questions should be avoided?**
17
18 Please avoid asking questions that are not relevant to this community, too subjective and argumentative.
19
20 **What should I avoid in my answers?**
21
22 OSQA: Open Source Q&A Forum is a question and answer site - it is not a discussion group. Please avoid holding debates in your answers as they tend to dilute the essense of questions and answers. For the brief discussions please use commenting facility.
23
24 **Who moderates this community?**
25
26 The short answer is: you. This website is moderated by the users. Karma system allows users to earn rights to perform a variety of moderation tasks
27
28 **How does the karma system work?**
29
30 When a question or answer is upvoted, the user who posted them will gain some points, which are called "karma points". These points serve as a rough measure of the community trust to him/her. Various moderation tasks are gradually assigned to the users based on those points.
31
32 For example, if you ask an interesting question or give a helpful answer, your input will be upvoted. On the other hand if the answer is misleading - it will be downvoted. Each vote in favor will generate |REP_GAIN_BY_UPVOTED| points, each vote against will subtract |REP_LOST_BY_DOWNVOTED| points. There is a limit of 200 points that can be accumulated per question or answer. The table below explains karma requirements for each type of moderation task.
33
34 * add comments ->  |REP_TO_COMMENT|
35 * delete comments -> |REP_TO_DELETE_COMMENTS|
36 * close own questions -> |REP_TO_CLOSE_OWN|
37 * reopen own questions -> |REP_TO_REOPEN_OWN|
38 * retag questions -> |REP_TO_RETAG|
39 * edit any answer -> |REP_TO_EDIT_OTHERS|
40 * open any closed question -> |REP_TO_CLOSE_OTHERS|
41 * delete any comment -> |REP_TO_DELETE_COMMENTS|
42
43 **What is gravatar?**
44
45 Gravatar means globally recognized avatar - your unique avatar image associated with your email address. It's simply a picture that shows next to your posts on the websites that support gravatar protocol. By default gravar appears as a square filled with a snowflake-like figure. You can set your image at gravatar.com
46
47 **To register, do I need to create new password?**
48
49 No, you don't have to. You can login through any service that supports OpenID, e.g. Google, Yahoo, AOL, etc. Login now!
50
51 **Why can other people can edit my questions/answers?**
52
53 Goal of this site is... So questions and answers can be edited like wiki pages by experienced users of this site and this improves the overall quality of the knowledge base content. If this approach is not for you, we respect your choice.
54
55 **Still have questions?**
56
57 Please ask your question, help make our community better!
58 """, FAQ_SET, dict(
59 label = "FAQ page text",
60 help_text = " The faq page. ",
61 widget=Textarea(attrs={'rows': '25'})))