Help:Rosetta Code Needs: Difference between revisions
→Tidying up: I believe the template name is "Language".
(redundant repetition of ending paragraphs) |
(→Tidying up: I believe the template name is "Language".) |
||
(One intermediate revision by one other user not shown) | |||
Line 6:
A bot is a piece of software that interacts with the MediaWiki engine through HTTP GET queries, much the same way as a user using a browser. MediaWiki's index.php supports a [http://www.mediawiki.org/wiki/Manual:Parameters_to_index.php#Raw raw-access API], specifically to aid in that.
==Tidying up==
Line 20 ⟶ 12:
===Example/task categorization===
Rosetta Code's navigation organization depends heavily on proper categorization of programming tasks. Programming examples need to include code to categorize their parent task, based on the name of the section title. This
In addition, when new languages are added, two things need to take place. A page and category need to be created for that language.
Line 26 ⟶ 18:
For example, let's say that someone adds an example for a language not previously covered on Rosetta Code. We'll use [[Pseudocode]] here, because that's a language which, for some odd reason, hasn't shown up yet.
When a programming example is created
<pre><nowiki>
==
(some code)
</nowiki></pre>
<pre><nowiki>
Line 50 ⟶ 32:
Note that the colon preceding the word "Category" is important; it prevents the redirect page from being included in the language category.
Finally, we need to open the Category page, and fill in the <tt><nowiki>{{
<pre><nowiki>{{
MediaWiki handles the rest.
|