<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://moderation.wiki/index.php?action=history&amp;feed=atom&amp;title=Meta%3AContributing%2FCode</id>
	<title>Meta:Contributing/Code - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moderation.wiki/index.php?action=history&amp;feed=atom&amp;title=Meta%3AContributing%2FCode"/>
	<link rel="alternate" type="text/html" href="https://moderation.wiki/index.php?title=Meta:Contributing/Code&amp;action=history"/>
	<updated>2026-06-04T23:18:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://moderation.wiki/index.php?title=Meta:Contributing/Code&amp;diff=307&amp;oldid=prev</id>
		<title>Admin at 19:57, 25 October 2025</title>
		<link rel="alternate" type="text/html" href="https://moderation.wiki/index.php?title=Meta:Contributing/Code&amp;diff=307&amp;oldid=prev"/>
		<updated>2025-10-25T19:57:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:57, 25 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l43&quot;&gt;Line 43:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Alphabetise where possible.&amp;#039;&amp;#039;&amp;#039; Sorting lists alphabetically often makes things easier to read. It is also helpful to alphabetise lists when creating written, non-code content, as it shows readers that you didn&amp;#039;t order the list by your (or our) preference.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Alphabetise where possible.&amp;#039;&amp;#039;&amp;#039; Sorting lists alphabetically often makes things easier to read. It is also helpful to alphabetise lists when creating written, non-code content, as it shows readers that you didn&amp;#039;t order the list by your (or our) preference.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Consistent code is preferred over perfect code.&amp;#039;&amp;#039;&amp;#039; It is important to be aware of the limitations of your tooling and programming languages, and it will sometimes be impossible to write code that keeps your linters happy. In those situations, it is essential to focus on functionality and readability, rather than bending over backwards to meet what the linters demand of you.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Consistent code is preferred over perfect code.&amp;#039;&amp;#039;&amp;#039; It is important to be aware of the limitations of your tooling and programming languages, and it will sometimes be impossible to write code that keeps your linters happy. In those situations, it is essential to focus on functionality and readability, rather than bending over backwards to meet what the linters demand of you.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Meta]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key cmc_wiki:diff:1.41:old-306:rev-307:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://moderation.wiki/index.php?title=Meta:Contributing/Code&amp;diff=306&amp;oldid=prev</id>
		<title>Admin: /* Tooling */</title>
		<link rel="alternate" type="text/html" href="https://moderation.wiki/index.php?title=Meta:Contributing/Code&amp;diff=306&amp;oldid=prev"/>
		<updated>2025-10-25T18:46:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Tooling&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:46, 25 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you&amp;#039;ve already used a banned tool to create a contribution before reading this section, contact us immediately.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you&amp;#039;ve already used a banned tool to create a contribution before reading this section, contact us immediately.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;We have some interest in code poisoning tools, which would make our code useless for AI companies to train on. However, we won&#039;t implement or recommend anything that creates undue burdens on our staff team, especially when it comes to reviews.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Workflow ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Workflow ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key cmc_wiki:diff:1.41:old-305:rev-306:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://moderation.wiki/index.php?title=Meta:Contributing/Code&amp;diff=305&amp;oldid=prev</id>
		<title>Admin: /* Workflow */</title>
		<link rel="alternate" type="text/html" href="https://moderation.wiki/index.php?title=Meta:Contributing/Code&amp;diff=305&amp;oldid=prev"/>
		<updated>2025-10-25T18:42:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Workflow&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:42, 25 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot;&gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** If you&amp;#039;ve determined that nobody else is already working on your idea, contact us by creating an issue on the project&amp;#039;s repository, and we&amp;#039;ll discuss it with you.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** If you&amp;#039;ve determined that nobody else is already working on your idea, contact us by creating an issue on the project&amp;#039;s repository, and we&amp;#039;ll discuss it with you.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Once your idea is approved, fork the repository and create a new branch to work in. Creating a new branch is essential, as it makes it easier for you to pull in changes from upstream later if you end up needing to.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Once your idea is approved, fork the repository and create a new branch to work in. Creating a new branch is essential, as it makes it easier for you to pull in changes from upstream later if you end up needing to.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Start working on your contribution, taking care to write modular, maintainable, and readable code, and avoiding any generative AI tools that we haven&#039;t specified as allowed &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;below&lt;/del&gt;. Remember to test your changes, making sure they don&#039;t break existing features, and writing unit tests as appropriate.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Start working on your contribution, taking care to write modular, maintainable, and readable code, and avoiding any generative AI tools that we haven&#039;t specified as allowed &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;above&lt;/ins&gt;. Remember to test your changes, making sure they don&#039;t break existing features, and writing unit tests as appropriate.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Open a Pull Request as early as possible — ideally after you&amp;#039;ve pushed your first commit — and mark it as a draft if it&amp;#039;s not yet ready to be merged. This makes it easier for us to leave feedback as you work, potentially resulting in less work for you later on.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Open a Pull Request as early as possible — ideally after you&amp;#039;ve pushed your first commit — and mark it as a draft if it&amp;#039;s not yet ready to be merged. This makes it easier for us to leave feedback as you work, potentially resulting in less work for you later on.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Mark your Pull Request as ready for review once you feel your contribution is ready. Keep an eye on the Pull Request, and remember to address and respond to any reviews and comments you get there.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Mark your Pull Request as ready for review once you feel your contribution is ready. Keep an eye on the Pull Request, and remember to address and respond to any reviews and comments you get there.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key cmc_wiki:diff:1.41:old-304:rev-305:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://moderation.wiki/index.php?title=Meta:Contributing/Code&amp;diff=304&amp;oldid=prev</id>
		<title>Admin: /* Code Style */</title>
		<link rel="alternate" type="text/html" href="https://moderation.wiki/index.php?title=Meta:Contributing/Code&amp;diff=304&amp;oldid=prev"/>
		<updated>2025-10-25T18:41:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Code Style&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:41, 25 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l37&quot;&gt;Line 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Otherwise, keep the following points in mind:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Otherwise, keep the following points in mind:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Use tabs instead of spaces where possible and realistic. This makes your code more accessible for blind and visually impaired developers, including those using massive fonts and Braille displays — especially where editors don&#039;t include great accessibility tools.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;Use tabs instead of spaces where possible and realistic.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; &lt;/ins&gt;This makes your code more accessible for blind and visually impaired developers, including those using massive fonts and Braille displays — especially where editors don&#039;t include great accessibility tools.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Don&#039;t play code golf. Instead, use longer forms of statements where they&#039;re more readable than the shorter versions, and provide plenty of blank lines between different types of statements.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;Don&#039;t play code golf.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; &lt;/ins&gt;Instead, use longer forms of statements where they&#039;re more readable than the shorter versions, and provide plenty of blank lines between different types of statements.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Alphabetise where possible. Sorting lists alphabetically often makes things easier to read. It is also helpful to alphabetise lists when creating written, non-code content, as it shows readers that you didn&#039;t order the list by your (or our) preference.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;Alphabetise where possible.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; &lt;/ins&gt;Sorting lists alphabetically often makes things easier to read. It is also helpful to alphabetise lists when creating written, non-code content, as it shows readers that you didn&#039;t order the list by your (or our) preference.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Consistent code is preferred over perfect code. It is important to be aware of the limitations of your tooling and programming languages, and it will sometimes be impossible to write code that keeps your linters happy. In those situations, it is essential to focus on functionality and readability, rather than bending over backwards to meet what the linters demand of you.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;Consistent code is preferred over perfect code.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; &lt;/ins&gt;It is important to be aware of the limitations of your tooling and programming languages, and it will sometimes be impossible to write code that keeps your linters happy. In those situations, it is essential to focus on functionality and readability, rather than bending over backwards to meet what the linters demand of you.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key cmc_wiki:diff:1.41:old-303:rev-304:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://moderation.wiki/index.php?title=Meta:Contributing/Code&amp;diff=303&amp;oldid=prev</id>
		<title>Admin: Bring over page</title>
		<link rel="alternate" type="text/html" href="https://moderation.wiki/index.php?title=Meta:Contributing/Code&amp;diff=303&amp;oldid=prev"/>
		<updated>2025-10-25T18:41:30Z</updated>

		<summary type="html">&lt;p&gt;Bring over page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;While most of our work is informative, the Community Management Community does sometimes need to design its own tools, and other pieces of software needed to keep things running smoothly. You can find our open-source projects on [https://codeberg.org/cm-community Codeberg] and [https://github.com/cm-community GitHub], though please note that we intend to fully migrate from GitHub to Codeberg in the future.&lt;br /&gt;
&lt;br /&gt;
== Tooling ==&lt;br /&gt;
All of our projects use [https://git-scm.com/ Git] for version control, a tool we expect you to have a working understanding of before you get started. Ideally, you&amp;#039;ll also have [https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work commit signing] set up, using either an SSH key or a GPG key that you keep as secure as possible.&lt;br /&gt;
&lt;br /&gt;
Aside from this, you&amp;#039;re welcome to use whatever code editors and assistance tools you like, as long as they aren&amp;#039;t generative AI tools, and aren&amp;#039;t otherwise disruptive. &amp;#039;&amp;#039;&amp;#039;This applies regardless of whether the processing is done locally or in the cloud.&amp;#039;&amp;#039;&amp;#039; Examples of banned tools include:&lt;br /&gt;
&lt;br /&gt;
* Integrated and standalone full-scale code generators, including LLMs like Claude or ChatGPT, integrated generation tools like Copilot or Junie, and other tools like them.&lt;br /&gt;
* AI video, audio and image generators, including Sora, MakeSong, Midjourney, and other tools like them.&lt;br /&gt;
* AI text generators, including ChatGPT, Gemini, Perplexity, Meta AI, and other tools like them.&lt;br /&gt;
* Code formatters, aside from the ones we recommend in a project&amp;#039;s documentation and files, and JetBrains&amp;#039; formatting plugins.&lt;br /&gt;
** To be more specific, we will deny all contributions that reformat any code that is unrelated to the contribution.&lt;br /&gt;
&lt;br /&gt;
We make exceptions for the following AI-based tools, as no reasonable replacements exist, and they significantly improve contributions:&lt;br /&gt;
&lt;br /&gt;
* [https://languagetool.org/ LanguageTool] and [https://www.jetbrains.com/grazie/ JetBrains Grazie], both of which are important spelling and grammar checkers, and help to keep your writing clean and readable. If you need to pick between them, we strongly recommend LanguageTool.&lt;br /&gt;
* Single-line completion tools in your IDE, such as the automatic completion provided in IntelliJ IDEA, as long as those tools don&amp;#039;t accept any form of prompt as an input.&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;ve already used a banned tool to create a contribution before reading this section, contact us immediately.&lt;br /&gt;
&lt;br /&gt;
== Workflow ==&lt;br /&gt;
&lt;br /&gt;
* Before you start working on a project, please check its issues and pull requests, and quickly search our Discord server, to make sure you&amp;#039;re not duplicating someone else&amp;#039;s work.&lt;br /&gt;
** If someone else is already working on your idea, consider getting in touch to see how you can help.&lt;br /&gt;
** If you&amp;#039;ve determined that nobody else is already working on your idea, contact us by creating an issue on the project&amp;#039;s repository, and we&amp;#039;ll discuss it with you.&lt;br /&gt;
* Once your idea is approved, fork the repository and create a new branch to work in. Creating a new branch is essential, as it makes it easier for you to pull in changes from upstream later if you end up needing to.&lt;br /&gt;
* Start working on your contribution, taking care to write modular, maintainable, and readable code, and avoiding any generative AI tools that we haven&amp;#039;t specified as allowed below. Remember to test your changes, making sure they don&amp;#039;t break existing features, and writing unit tests as appropriate.&lt;br /&gt;
* Open a Pull Request as early as possible — ideally after you&amp;#039;ve pushed your first commit — and mark it as a draft if it&amp;#039;s not yet ready to be merged. This makes it easier for us to leave feedback as you work, potentially resulting in less work for you later on.&lt;br /&gt;
* Mark your Pull Request as ready for review once you feel your contribution is ready. Keep an eye on the Pull Request, and remember to address and respond to any reviews and comments you get there.&lt;br /&gt;
* Once your contribution is ready, and you&amp;#039;ve addressed all of our feedback, we&amp;#039;ll merge it. At this point, you&amp;#039;ve finished your contribution — congratulations!&lt;br /&gt;
&lt;br /&gt;
== Code Style ==&lt;br /&gt;
We provide a &amp;lt;code&amp;gt;.editorconfig&amp;lt;/code&amp;gt; file with all of our projects, which defines our baseline code formatting expectations. Most editors either include support for this or have some kind of plugin available, so it&amp;#039;s important to double-check that first.&lt;br /&gt;
&lt;br /&gt;
Generally speaking, we expect you to follow the style already established by the project&amp;#039;s existing code. We also encourage you to use any linters and formatters we provide a configuration for, especially since we&amp;#039;ll be running them in CI when you submit your Pull Request.&lt;br /&gt;
&lt;br /&gt;
Otherwise, keep the following points in mind:&lt;br /&gt;
&lt;br /&gt;
* Use tabs instead of spaces where possible and realistic. This makes your code more accessible for blind and visually impaired developers, including those using massive fonts and Braille displays — especially where editors don&amp;#039;t include great accessibility tools.&lt;br /&gt;
* Don&amp;#039;t play code golf. Instead, use longer forms of statements where they&amp;#039;re more readable than the shorter versions, and provide plenty of blank lines between different types of statements.&lt;br /&gt;
* Alphabetise where possible. Sorting lists alphabetically often makes things easier to read. It is also helpful to alphabetise lists when creating written, non-code content, as it shows readers that you didn&amp;#039;t order the list by your (or our) preference.&lt;br /&gt;
* Consistent code is preferred over perfect code. It is important to be aware of the limitations of your tooling and programming languages, and it will sometimes be impossible to write code that keeps your linters happy. In those situations, it is essential to focus on functionality and readability, rather than bending over backwards to meet what the linters demand of you.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>