Skip to content

Commit 5ef827e

Browse files
authored
Merge pull request #173 from sopython/rules
rules re-design
2 parents 2384df5 + 23525f5 commit 5ef827e

File tree

2 files changed

+44
-72
lines changed

2 files changed

+44
-72
lines changed

sopy/templates/base.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
</div>
2020
<div class="collapse navbar-collapse" id="base-nav-collapse">
2121
<ul class="nav navbar-nav">
22-
<li class="{% block nav_wiki %}{% endblock %}"><a href="{{ url_for('wiki.index') }}">Wiki</a></li>
22+
<li class="{% block nav_chatroom %}{% endblock %}"><a href="{{ url_for('pages.page', name='chatroom') }}">Chatroom</a></li>
2323
<li class="{% block nav_canon %}{% endblock %}"><a href="{{ url_for('canon.index') }}">Common Questions</a></li>
24+
<li class="{% block nav_wiki %}{% endblock %}"><a href="{{ url_for('wiki.index') }}">Wiki</a></li>
2425
<li class="{% block nav_salad %}{% endblock %}"><a href="{{ url_for('salad.index') }}">Salad Language</a></li>
25-
<li class="{% block nav_chatroom %}{% endblock %}"><a href="{{ url_for('pages.page', name='chatroom') }}">Chatroom</a></li>
2626
<li class="{% block nav_transcript %}{% endblock %}"><a href="{{ url_for('transcript.index') }}">Transcripts</a></li>
2727
{% if has_group('Dark Council') %}<li class="{% block nav_admin %}{% endblock %}"><a href="{{ url_for('admin.groups_index') }}">Admin</a></li>{% endif %}
2828
</ul>
@@ -43,7 +43,7 @@
4343

4444
<footer class="container small"><div class="row"><div class="col-md-12">
4545
<p>Made by the cabbage addicts from the <a href="https://chat.stackoverflow.com/rooms/6/python">Python room</a> on <a href="https://stackoverflow.com/">Stack Overflow</a>.</p>
46-
<p>This site is not affiliate with Stack Overflow. Contact us via <a href="https://chat.stackoverflow.com/rooms/6/python">chat</a> or <a href="mailto:chatroom@sopython.com">email</a>.</p>
46+
<p>This site is not affiliated with Stack Overflow. Contact us via <a href="https://chat.stackoverflow.com/rooms/6/python">chat</a> or <a href="mailto:chatroom@sopython.com">email</a>.</p>
4747
<p><a href="https://github.com/sopython/sopython-site">sopython-site v{{ __version__ }}</a></p>
4848
</div></div></footer>
4949

sopy/templates/pages/chatroom.html

Lines changed: 41 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -3,81 +3,53 @@
33
{% block nav_chatroom %}active{% endblock %}
44

55
{% block content %}
6-
<div class="row"><div class="col-md-12">
6+
<div class="row"><div class="col-md-12">
7+
<h2 class="page-header">{% block title %}Chat Room{% endblock %}</h2>
78

8-
<h2 class="page-header">{% block title %}Chatroom{% endblock %}</h2>
9+
<p class="lead">The heart of the <b>so</b>python community is the <a href="https://chat.stackoverflow.com/rooms/6/python">Python chat room</a> on Stack Overflow. We are an active and friendly room full of Python professionals and enthusiasts who all share a common love for the language.</p>
910

10-
<p class="lead">The heart of the <b>so</b>python community is the
11-
<a href="http://chat.stackoverflow.com/rooms/6/python">Stack Overflow Python chatroom.</a></p>
12-
13-
<p>We are an active and friendly room full of Python experts and beginners who all share a common love for the language.
14-
Whether you're a veteran Pythonista or looking to start learning the language you're more than welcome to join us.
15-
As with any community we have our own set of rules and etiquette which are set out below, please be considerate and
16-
take the time to read them.
17-
</p>
18-
19-
<p><em>Incidentally, if you've just been greeted with the word "cbg" or "cabbage" then
20-
you may want to <a href="{{ url_for('salad.index') }}">have a look here...</a></em>
21-
</p>
11+
<p><em>If you've been greeted with the word "cbg" or "cabbage", you may want to <a href="{{ url_for('salad.index') }}">have a look here</a>.</em></p>
2212

2313
<p>Use our <a href="{{ url_for('spoiler.encode') }}">spoiler obfuscator</a> to link to spoilers in chat.</p>
2414

25-
<h2>cv-pls</h2>
26-
<p>This room has its own policy as to how <code>cv-pls</code> tags should be used. Please take a moment to read it <a href="{{ url_for('wiki.detail', title='cv-pls') }}">here</a> if you wish to assist the community in clearing up the site.</p>
27-
28-
<h2>Rules</h2>
29-
30-
<ol>
31-
<li><a href="http://chat.stackoverflow.com/faq#nice">Be nice.</a></li>
32-
<li>No swearing. Expletives are <a href="https://meta.stackexchange.com/a/22233/162650">not acceptable behavior</a> on any Stack Exchange site.</li>
33-
<li>If nobody responds to your question, that means no-one in the room is able to help (either because they don't know,
34-
or are too busy to answer right now). Please don't spam the room with further requests for help on the same question.
35-
It will only annoy people and make them less likely to want to help you in future.</li>
36-
<li>Especially don't use <code>@username</code> notification unless that user has already told you it's okay to ping them; <em>that's like
37-
jabbing someone in the shoulder and saying "Hey! Answer me!"</em>, and will quickly mark you out as someone to be avoided.</li>
38-
<li>However it is acceptable (and encouraged) to <code>@username</code> people where it assists in the flow of existing conversations.</li>
39-
<li>Cute fluffy animals (especially kittens and puppies) are cool, okay!?</li>
40-
</ol>
41-
42-
<h3>Posting Question/Answer Links</h3>
43-
44-
<ol>
45-
<li>Do not link your recent (< 1-2 days) questions in the room. The main site is the dedicated space for posting questions,
46-
and having them answered.</li>
47-
<li>If you have posted a question on the main site and a significant amount of time has passed without receiving a
48-
satisfying answer, then you can discuss your question in the room.</li>
49-
<li>You should never simply link your question into the chat room without staying to discuss it and should usually
50-
only link it when having been asked by others.</li>
51-
<li>Linking questions which are not your own recently posted questions is alright as long as it serves a
52-
purpose, and you are willing to discuss answering it, or are suggesting it be closed.</li>
53-
</ol>
54-
55-
<h3>Asking a question</h3>
56-
<ol>
57-
<li>You do not need to ask if it’s okay to ask a question.</li>
58-
<li>You may ask your question without a preamble.<br />
59-
For example, you do not need to say “anyone here know Django?” before asking a question about Django. Even if you
60-
do, the Django experts in the room might not step forward until hearing the actual question. They may not wish
61-
to commit themselves to help until they know how much effort it will entail.</li>
62-
<li>Only paste code directly into chat if it is not very long.<br />
63-
There is no hard limit, but about a dozen lines is acceptable. For longer code, use an external paste tool such
64-
as <a href="http://dpaste.org/">dpaste</a>.</li>
65-
<li>Double check that your code is properly formatted.<br />
66-
For a multi-line post to retain its indentation, every line (including empty lines) must be preceded with four
67-
spaces. Paste your text and indent it with <kbd>Ctrl+K</kbd>. Alternatively, press the <em>“fixed font”</em>
68-
button that appears next to <em>“send”</em> and <em>“upload”</em> when your post is more than one line long.</li>
69-
<li>Don’t star posts to reward users for answering your question.<br />
70-
For most users, your gratitude is reward enough. Alternatively, if your question meets StackOverflow’s standards,
71-
you may post your question there, and invite the answerer to make a reply which you may accept.</li>
72-
</ol>
15+
<h3>Rules</h3>
16+
17+
<p>As with any community, we have our own set of rules and etiquette. Please be considerate and take the time to read and follow them. If you are disruptive, users may not want to interact with you in the future. Room owners will use their <a href="https://meta.stackexchange.com/questions/271267/a-guide-to-moderating-chat">moderation tools</a> to keep the room on track.</p>
18+
19+
<ul>
20+
<li><a href="https://stackoverflow.com/help/be-nice">Be nice.</a></li>
21+
<li>No swearing or crude language. It is <a href="https://meta.stackexchange.com/a/22233/162650">not acceptable</a> on Stack Overflow.</li>
22+
<li>If nobody responds to you, that means no one is able to right now. Don't spam the room with further requests.</li>
23+
<li>Don't ping (<code>@username</code>) users unsolicited. Use pings when they assist the flow of existing conversations.</li>
24+
<li><a href="https://meta.stackexchange.com/questions/57286/which-links-and-sites-are-handled-specially-in-chat">Inlined links</a>, images, and animations may be removed if they are too big or distracting. Use them sparingly.</li>
25+
<li>Wait to post until you've written a complete sentence. Avoid rapid, short "stream of conciousness" messages. Avoid using abbreviated "txt spk".</li>
26+
<li>Use the menu to the left of your message to edit or remove it within the two minute edit period.</li>
27+
<li>We can provide help with community moderation, but continued heated or negative discussion is not healthy for the room.</li>
28+
<li>Cute fluffy animals are cool, okay!?</li>
29+
</ul>
30+
31+
<h4>Asking a Question</h4>
32+
33+
<ul>
34+
<li>Don't ask for answers to your recent Stack Overflow questions. Those who can answer are already watching the queue on the main site.</li>
35+
<li>If your question is <a href="https://stackoverflow.com/help/bounty">eligible for a bounty</a> (>= 48 hours old) and hasn't received a useful response, then you may link to it.</li>
36+
<li>Ask your question directly. Avoid asking if it's okay to ask, or if anyone knows about a topic. Users may want to see your question before speaking up, and users who join later can see it.</li>
37+
<li>If your code is longer than about 12 lines, use an external paste tool such as <a href="http://dpaste.com">dpaste.com</a>.</li>
38+
<li><a href="{{ url_for('wiki.detail', title='An Illustrated Guide To Formatting Code In Chat') }}">Format your code.</a> Inline code should be enclosed in backticks (<code>`code`</code>). For multi-line posts, every line including empty ones must be indented by 4 spaces. Paste your code and press <code>Ctrl + K</code> or the <em>"fixed font"</em> button. Use <code>Shift + Enter</code> to insert new lines.</li>
39+
<li>Ask about Python. Go to a relevant room to ask about other languages or topics, even if that room is less active.</li>
40+
<li>Follow the same guidance as the main site. Accurately and concisely describe the problem. Provide a <a href="https://stackoverflow.com/help/mcve">Minimal, Complete, and Verifiable Example</a>.</li>
41+
<li>Search and research before asking. Try running your code. Try using a debugger.</li>
42+
<li>Chat is not a substitute for reading a tutorial or taking a class.</li>
43+
<li>Don't star posts to reward users for answering your question. Your gratitude is reward enough. If your question meets Stack Overflow's standards, you may post your question there and invite the user to post an answer which you may accept.</li>
44+
</ul>
45+
46+
<h4>cv-pls</h4>
47+
48+
<p>You may see messages starting with <code>cv-pls</code> or similar tags. These are used to assist in community moderation. If you wish to participate, please read our <a href="{{ url_for('wiki.detail', title='cv-pls') }}">cv-pls policy</a>.</p>
7349

7450
<h3>Contact Us</h3>
7551

76-
<p>We believe that the Python chatroom should be a <a href="https://www.python.org/psf/diversity/">friendly and welcoming place</a>.
77-
If any behaviour in the room makes you feel uncomfortable, you can <code>@notify</code> one of the
78-
<a href="http://chat.stackoverflow.com/rooms/info/6/python">room owners</a> and we'll do our best to sort it out.</p>
79-
<p>If you wish to contact the sopython room owners you can also feel free to drop us an
80-
<a href="mailto:chatroom@sopython.com">email</a>.</p>
81-
82-
</div></div>
52+
<p>If any behaviour in the room makes you feel uncomfortable, you may ping (<code>@username</code>) one of the <a href="https://chat.stackoverflow.com/rooms/info/6/python">room owners</a> and we'll do our best to sort it out.</p>
53+
<p>If you wish to contact the room owners privately, <a href="mailto:chatroom@sopython.com">email us</a>.</p>
54+
</div></div>
8355
{% endblock %}

0 commit comments

Comments
 (0)