Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProleWiki:User guide: Difference between revisions

From ProleWiki, the proletarian encyclopedia
More languages
(reclarified how to add a category on the visual editor; the [[Category:]] code only works on source editor so a section would have to be created for it)
Tag: Visual edit
m (Fixed a reference)
Tag: Visual edit
 
(8 intermediate revisions by 2 users not shown)
Line 4: Line 4:


== First: read our editorial guidelines ==
== First: read our editorial guidelines ==
Please read our [[ProleWiki:Editorial guidelines|'''Editorial guidelines''']] before you start editing, which will help you catch up on our writing patterns quickly. As much as possible, we like to harmonize the feel of our pages so that they look uniform instead of taking on the style of each individual editor, and our guidelines help with that.
Please read our [[ProleWiki:Editorial guidelines|'''Editorial guidelines''']] before you start editing, which will help you catch up on our writing patterns quickly.
 
We also recommend reading the [[ProleWiki:Encyclopedic tone guide|Encyclopedic tone guide]] which will teach you how to write for an encyclopedia. The editorial guidelines are focused on technical formatting, and the tone guide is focused on the creative writing.


== Understanding the ProleWiki interface ==
== Understanding the ProleWiki interface ==
ProleWiki uses the Citizen skin to theme our website on desktop. You can change your theme in your [[Special:Preferences#mw-prefsection-rendering|Preferences]] if you want to use another one.
ProleWiki uses the Citizen skin to theme our website. You can change your theme in your [[Special:Preferences#mw-prefsection-rendering|Preferences]] if you want to use another one, but they are not supported.
 
The menu is located on the left and is a vertical menu on desktop. On mobile, the menu appears at the bottom of your screen horizontally before you start scrolling down.


The menu is located on the left and is a vertical menu. We'll go through every icon and button on that menu. (icon pictures to be added in guide)
We'll go through every icon and button on that menu. (icon pictures to be added in guide)
  Did you know? You can type <code>/</code> on any page to bring up the search box
  Did you know? You can type <code>/</code> on any page to bring up the search box


Line 15: Line 19:
The first icon starting from the top is the logo. Clicking on it will take you back to the homepage of the language instance you are currently in.
The first icon starting from the top is the logo. Clicking on it will take you back to the homepage of the language instance you are currently in.


=== Search ===
=== Search (magnifying glass icon) ===
The magnifying glass icon lets you search for a page. Simply click on it, and a search box will appear in the middle of the screen, near the top. Type your keywords and hit '''enter''' to search. As you type, suggestions should fill out beneath the box. The search function is a bit unwieldy and will, by default, only search for page titles. If you want to search for content, you need to click "search for pages containing [keyword]".
The magnifying glass icon lets you search for a page. Simply click on it, and a search box will appear in the middle of the screen, near the top. Type your keywords and hit '''enter''' to search. As you type, suggestions should fill out beneath the box. The search function is a bit unwieldy and will, by default, only search for page titles. If you want to search for content, you need to click "search for pages containing [keyword]".


Line 22: Line 26:
That's why it's important to search exhaustively before creating a new page, so that we don't create duplicates.
That's why it's important to search exhaustively before creating a new page, so that we don't create duplicates.


=== Megamenu ===
=== Megamenu (three stripes icon) ===
The three lines stacked on top of each other are what's commonly called a hamburger menu. Clicking on this button will open a megamenu. We won't go through this megamenu, but you will likely use the first column (Navigation) a lot. You will also likely use the "Content" column too, to access Essays and the Library.
The three lines stacked on top of each other are what's commonly called a hamburger menu. Clicking on this button will open a megamenu. We won't go through this megamenu, but you will likely use the first column (Navigation) a lot. You will also likely use the "Content" column too, to access Essays and the Library.
=== Library (book icon) ===
This button takes you to the [[ProleWiki:Library|Library]]. We have added it manually and thus it may temporarily disappear after an update.
=== Essays (newspaper icon) ===
This button takes you to the [[ProleWiki:Essays|Essays]] space. We have added it manually and thus it may temporarily disappear after an update.
=== Upload (upload icon) ===
This button only shows up when you are logged into your account, and takes you to the file upload page. The recommended (easier) method to upload and use a file is to copy and paste it while in the visual editor, but you may need to use the file upload page when you don't plan on using the file in a page (PDF files, for example, or pre-emptive icons). We have added it manually and thus it may temporarily disappear after an update.


=== Theme settings ===
=== Theme settings ===
Line 29: Line 42:


=== Alerts ===
=== Alerts ===
The bell icon opens your alerts. You also receive a notification badge in it if something changes. These alerts will only notify you about things related to your account, usually after an administration action. When you are added to the Trusted group, for example, you will receive an alert.
The bell icon opens your alerts. You will also see a notification badge around it if there are news about your account. These alerts will only notify you about things related to your account, usually after an administration action. When you are added to the Trusted group, for example, you will receive an alert.


=== Notices ===
=== Notices ===
Line 35: Line 48:


=== Account ===
=== Account ===
The last icon, showing a person, is for your account management. From there, you can access several of your account pages (Talk, Sandbox...) as well as change your Settings (also called Preferences).
The last icon, showing a person, is for account management. From there, you can access several of your account pages (Talk, Sandbox...) as well as change your Settings (also called Preferences).


== Visual editor guide ==
== Visual editor guide ==
Line 43: Line 56:
<code>You cannot create pages until you earn the Trusted role. For more information, refer to the [[ProleWiki:Editor onboarding|Editor Onboarding]] page.</code>
<code>You cannot create pages until you earn the Trusted role. For more information, refer to the [[ProleWiki:Editor onboarding|Editor Onboarding]] page.</code>
[[File:Search results.png|thumb|372x372px]]
[[File:Search results.png|thumb|372x372px]]
Creating a page on MediaWiki is a bit of a pain. The easiest way is to ''search'' for your page.
Creating a page on MediaWiki is a bit of a pain. The easiest way is to start by ''searching'' for your page.


Simply click on the magnifying glass icon in the top-left corner, and type in the name you want to give your page. If it doesn't exist (example here: [https://en.prolewiki.org/index.php?title=Special:Search&fulltext=1&search=search Search Result]), you will be taken to the search results page where you should see something like the screenshot on the right.
Simply click on the magnifying glass icon in the top-left corner, and type in the name you want to give your page. If it doesn't exist (example here: [https://en.prolewiki.org/index.php?title=Special:Search&fulltext=1&search=search Search Result]), you will be taken to the search results page where you should see something like the screenshot on the right.
Line 51: Line 64:
Remember that ProleWiki is '''case-sensitive'''! This means [[Fidel Castro]] is a different page from [[Fidel castro]]! (Only the C in Castro changed, and you can see the first page exists, but the second doesn't -- the link is red). For this reason, please search the wiki exhaustively before creating a new page.
Remember that ProleWiki is '''case-sensitive'''! This means [[Fidel Castro]] is a different page from [[Fidel castro]]! (Only the C in Castro changed, and you can see the first page exists, but the second doesn't -- the link is red). For this reason, please search the wiki exhaustively before creating a new page.


To avoid that problem, you can create [[ProleWiki:MediaWiki Tutorial#Creating redirections|Redirections]] from one page to another. Click the link to be taken to that part of the guide.
To make pages easily findable by others (both editors and readers), you can create [[ProleWiki:MediaWiki Tutorial#Creating redirections|Redirections]] from one page to another.
 
Our convention is normally ''sentence case''. Please refer to the [[ProleWiki:Editorial guidelines|Editorial guidelines]] to see what that is.
 
==== Creating a page in a namespace (Library, Essays, etc) ====
If you want to create a page in a namespace, such as a library work or an essay, you need to follow the same procedure but add '''Library:''' or '''Essay:''' before the search terms. Example: '''Library:The communist manifesto'''. Remember you need the : colon, and you must type the exact namespace. Essay'''s''', for example, will not work (the namespace is Essay, singular).


Our convention is normally ''sentence case''. Please refer to the [[ProleWiki:Editorial guidelines|Editorial guidelines]].
It's a bit wonky but this is how MediaWiki works. The rest of the procedure is the exact same as any other page (click on the red link and fill in your page).


=== Editing a page ===
=== Editing a page ===
To start editing a page, head on over to its URL and then click on the blue "Edit" button in the top right corner. If you don't see the button, there may be two reasons:
To start editing a page, head on over to its URL and then click on the red "Edit" button in the top right corner. If you don't see the button, there may be two reasons:


# The page is protected against edits (this is the case for official ProleWiki pages)
# The page is protected against edits (this is the case for official ProleWiki pages for example)
# You are not logged in
# You are not logged in


Once you click on the button, you will be taken to the visual editor, which is a WYSIWYG editor (what you see is what you get): it works much like Google Docs or any other text software you use, complete with shortcuts.
Once you click on the button, you will be taken to the visual editor, which is a WYSIWYG editor (''what you see is what you get''): it works much like Google Docs or any other text software you use, complete with shortcuts.


<code>Note that ProleWiki does not save drafts. If you don't save your edits before closing the editor, they are completely gone with no way to recover them!</code>
<code>Note that ProleWiki does not save drafts. If you don't save your edits before closing the editor, they are completely gone with no way to recover them!</code>


==== Formatting your text ====
==== Formatting your text ====
At the top of the page in the visual editor, you should see the word '''Paragraph'''. This is the ''style'' that is currently being used to whatever you are typing. If you click on that word, it will open a submenu with several other styles you can use, much like in Google Docs or Word.
[[File:Format bar on visual editor.png|center|thumb|1002x1002px|The format bar at the top of the visual editor, appearing once you start editing a page.]]
 
===== Undo and redo =====
The first icons in this menu are the left and right arrows. They are the undo and redo button, also applied with Ctrl+Z and Ctrl+Y.
 
===== Paragraph formatting =====
At the top of the page in the visual editor, you should see the word '''Paragraph'''. This is the ''style'' that is currently being used on whatever you are typing. If you click on that word, it will open a submenu with several other styles you can use, much like in Google Docs or Word.
 
To use a style, simply place your cursor anywhere in the ''paragraph'' you want to style (styles apply to entire paragraphs and not single words), and click on the style you want to use. It will then apply it and you should see the change happen in real time in the editor.  


To use a style, simply place your cursor anywhere in the ''paragraph'' you want to style (styles apply to entire paragraphs and not single words), and click on the style you want to use. It will then apply it and you should see the change happen in real time in the editor.
Styles apply to the entire paragraph. You can break a paragraph with the '''return''' key.
 
===== Character formatting =====
The next button is the character styling button, appearing as an underlined letter A. Clicking on this will open a list of character formatting options (formatting that only applies to the selected characters and not the whole paragraph). You can also use keyboard shortcuts (click the ? button on the formatting bar, located in the top right of your screen when editing a page).


==== Using headings correctly ====
==== Using headings correctly ====
You can use headings with Ctrl+2 up to Ctrl+6, going from a Heading to a sub-heading of fifth importance. Note that Ctrl+1 will use the '''Page Title''' style, which will style your paragraph exactly like the page title. We never use that one and have no idea what the use of it is.
You can use headings with Ctrl+2 up to Ctrl+6, going from a Heading to a sub-heading of fifth importance. Note that Ctrl+1 will use the '''Page Title''' style, which will style your paragraph exactly like the page title. We never use that one and have no idea what the use of it is supposed to be (it is useful to separate two books that are bundled together in the library).


Regardless, when editing you should use headings as much as possible. However, keep in mind there should not be any reason to go beyond sub-heading 2 in most cases. That is to say, just because you have 5 headings at your disposal, doesn't mean you need to use all of them.
Regardless, when editing you should use headings as much as possible. However, keep in mind there should not be any reason to go beyond sub-heading 3 in most cases. That is to say, just because you have 5 headings at your disposal, doesn't mean you need to use all of them.


Headings follow a hierarchy, which you can see on this page itself for example. You should start a chapter with a '''Heading''' (Ctrl+2), then add a '''sub-heading 1''' in it (Ctrl+3). '''Sub-headings 2''' are nested inside sub-headings 1, etc. Or in other words, a Sub-heading 3 never comes ''before'' a sub-heading 2.
Headings follow a hierarchy, which you can see on this page itself. You should start a chapter with a '''Heading''' (Ctrl+2), then add a '''sub-heading 1''' in it (Ctrl+3). '''Sub-headings 2''' are nested inside sub-headings 1, etc. Or in other words, a Sub-heading 3 never comes ''before'' a sub-heading 2.


Of course, you separate sections (or chapters) with the main heading (ctrl+2).
Of course, you separate sections (or chapters) with the main heading (ctrl+2).
Line 82: Line 111:
<code>'''Comrade!''' Please source your edits as much as possible. There is no such thing as too many sources!</code>
<code>'''Comrade!''' Please source your edits as much as possible. There is no such thing as too many sources!</code>


To add a source using the visual editor, you first need to place your cursor where you want the source to appear. It will look like this.<ref name=":0">source</ref>
To add a source using the visual editor, you first need to place your cursor where you want the source to appear. It will look like this once you confirm your reference: <ref name=":0">source</ref>


Then, open the "Cite" menu at the top of the screen and select one of our templates: usually ''Book or scientific article'' or ''Website or newspaper article.''
Then, open the "Cite" menu at the top of the screen and select one of our templates: usually ''Book or scientific article'' or ''Website or newspaper article.''
Line 88: Line 117:
Click on the appropriate template and it will open a box asking you to fill in some data such as year of publication, author, title, etc. You don't have to fill everything in the box, but you should still fill out as much as possible of the template. Once you're done, click Insert in the top right corner.
Click on the appropriate template and it will open a box asking you to fill in some data such as year of publication, author, title, etc. You don't have to fill everything in the box, but you should still fill out as much as possible of the template. Once you're done, click Insert in the top right corner.


While you will see the little blue <ref name=":0" /> mention, you won't see your reference at the end of your page if you are adding the first citation. That is because you still need to insert the ''Reference list''. To do that, click on Insert in the top menu, then on "More" (with an arrow pointing down) in the menu that opens, and then on ''References List'' (preceded by a book icon).
While you will see the little blue <ref name=":0" /> mention, you won't see your reference at the end of your page if you are adding the first citation. That is because you still need to insert the ''Reference list''. To do that, click on '''Insert''' in the top menu, then on "More" (with an arrow pointing down) in the menu that opens, and then on ''References List'' (preceded by a book icon).


Finally, you need to add a ''Heading'' (Ctrl+2) and name it '''References''', right above the list you just added (MediaWiki doesn't do it by default).
Finally, you need to add a ''Heading'' (Ctrl+2) and name it '''References''', right above the list you just added (MediaWiki doesn't do it by default).


If you did everything correctly, it should look like on this page: [[Fidel Castro]]. Note that per our [[ProleWiki:Editorial guidelines|Editorial Guidelines]], references go at the '''very end''' of a page.
If you did everything correctly, it should look like it on this page: [[Fidel Castro]]. Note that per our [[ProleWiki:Editorial guidelines|Editorial Guidelines]], references go at the '''very end''' of a page. There should be no content whatsoever below the References section.


===== Reusing a source =====
===== Reusing a source =====
Line 100: Line 129:
Notes work much like References technically, and in fact are considered references. To add them, you would add the '''Cite -> Basic''' (Ctrl+Shift+K) template. Type in your note in the box and then write "note" in the "Use this group" option. It will look like this:<ref group="note">note example</ref>
Notes work much like References technically, and in fact are considered references. To add them, you would add the '''Cite -> Basic''' (Ctrl+Shift+K) template. Type in your note in the box and then write "note" in the "Use this group" option. It will look like this:<ref group="note">note example</ref>


To make notes appear, you would then have to add a References list (on top of the actual references list that exists). Select it, click ''edit'', and then add the "note" group into it. Then you need to add a heading called '''Notes''' above the list. In terms of page structure, Notes should be the second-last heading, with '''References''' being the last heading on the page.
To make notes appear, you will then have to add a References list (on top of the actual references list that exists). Select that new list, click ''edit'', and then add the "note" group into it. Then you need to add a heading called '''Notes''' above the list. In terms of page structure, Notes should be the second-last heading, with '''References''' being the last heading on the page.


We don't use notes a lot (it's preferable to add a source or internal link, i.e. bluelink), but they can be useful in some cases.
We don't use notes a lot (it's preferable to add a source or internal link, i.e. bluelink), but they can be useful in some cases.
Line 108: Line 137:


===== What are templates =====
===== What are templates =====
Templates are specific pieces of (MediaWiki) code that do something you might need, which is usually visual. For example, infoboxes are based on a template. Some templates are very specific, and others are more general. In the future, we'll list the Templates you can use as
Templates are specific pieces of (MediaWiki) code that can be reused and modded to fit the needs of a page. For example, infoboxes are based on a template: they take in standardized parameters such as '''Name''', '''Country of origin''', '''Date of Birth''', the values of which change every time we use the template to fit the page. In other words, they are variables that take custom content. This allows us to use the same template for [[Fidel Castro]] and [[Stalin]], but show different data in it (different picture, different name parameter, etc.)


Our existing templates can be found by searching for "Template:" on the wiki (it's a namespace like Library or Essays).
Our existing templates can be found by searching for "Template:" on the wiki (it's a namespace like Library or Essays), but we list some of the most common ones to use in this guide.


===== Including a template in a page =====
===== Including a template in a page =====
To use a template, the easiest way is to type <code><nowiki>{{</nowiki></code> while editing a page with the visual editor. This will bring up the template box. from there, you can type the name of the template you want to use (we don't use "infobox" by the way, but only "infobox country", "infobox film", "infobox person", etc).
To use a template, the easiest way is to type <code><nowiki>{{</nowiki></code> while editing a page with the visual editor. This will bring up the template box. from there, you can type the name of the template you want to use (we don't use "infobox" by the way, but "infobox country", "infobox film", "infobox person", etc depending on the case.)


Once you start typing the template's name (remember that as always, it's case-sensitive), a dropdown menu will appear to suggest some templates. Click on the one you want and, if you picked the right one, you should see '''parameters''' displayed (see screenshot). You can type the relevant information in these parameters and then click save, and your template will be imported.
Once you start typing the template's name (remember that as always, it's case-sensitive), a dropdown menu will appear to suggest some templates. Click on the one you want and, if you picked the right one, you should see '''parameters''' displayed (see screenshot). You can type the relevant information in these parameters and then click save, and your template will be imported.


To edit a template, double click on it.
To edit a template, double click on its output while in the editor.


====== Adding more parameters ======
====== Adding more parameters ======
With some templates, you'll see additional parameters you can use on the left. For example on the screenshot of the book infobox, you can choose to add the publication, language, and specify the image size. Just click on the checkboxes on the left to add the parameter to the template you are editing.
With some templates, you'll see additional parameters you can use on the left. For example on the screenshot of the book infobox, you can choose to add the publication, language, and specify the image size. Just click on the checkboxes on the left to add the parameter to the template you are editing. You still need to fill it out, of course.


====== Using an image in templates ======
====== Using an image in templates ======
For images, type the filename as exists on the wiki. Remember when you upload a picture, you are asked to provide a filename. Just type the name as is; it's not the URL or the raw file name (with extension), but the one you wrote when uploading the picture. There is also an autocomplete dropdown menu that will appear once you start typing.
For images, type the filename as exists on the wiki. Remember when you upload a picture, you are asked to provide a filename. Just type the name as is; it's not the URL or the raw file name (with extension), but the one you wrote when uploading the picture. There is also an autocomplete dropdown menu that will appear once you start typing on some templates.


===== Templates we use =====
===== Templates we use =====


* Infobox: person, film, company, country
* Infobox: person, film, company, country.
* For library works: Library Work
* For library works: Library Work.
* You can change the displayed title by typing <nowiki>{{DISPLAYTITLE:your title here}}</nowiki>. It's not a template per se, so close the template window once you type the two {.
* For essays: Essay infobox and Essay quote.
* You can change the displayed title by typing <nowiki>{{DISPLAYTITLE:your title here}}</nowiki>. It's not a template per se, so close the template window once you type the first two {.


==== Page menu ====
==== Page menu ====
Line 135: Line 165:
A button we haven't looked at yet is the collapsed menu in the top right of the visual editor (see screenshot).
A button we haven't looked at yet is the collapsed menu in the top right of the visual editor (see screenshot).


From this menu, you can access several "meta" settings (that apply to the whole page regardless of content) that we'll cover below:  
From this menu, you can access several "meta" settings (they apply to the whole page regardless of content) that we'll cover below:  


===== Options =====
===== Options =====
Line 193: Line 223:


To unwatch a page, you can open your user profile on the bottom left of the screen and click on "Watchlist".
To unwatch a page, you can open your user profile on the bottom left of the screen and click on "Watchlist".
== Source editing guide ==
This is a reference guide intended for source editors, such as those who prefer to use source editing. Unlike Visual Editing, source editing is more akin to working with a text or code editor rather than a word processor. It takes some getting used to, but some editors find it faster to use.
=== Creating a page ===
<code>Only editors with the Trusted role can create pages. For more information, refer to the [[ProleWiki:Editor onboarding|Editor Onboarding]] page.</code>
Creating a page on MediaWiki is not the most straightforward way. Currently, the easiest way is to ''search'' for the page itself.
[[File:Search results.png|thumb|372x372px]]
Click the magnifying glass icon in the top-left corner of the webpage, and type in the name of the article that you want to create. The image displayed shows the page results for [https://en.prolewiki.org/index.php?title=Special:Search&fulltext=1&search=search Search]. If it doesn't exist then click on the ''red link'' and you will get to editing your page. Usually if you are a new editor, clicking the red link will show the article in the ''Visual Editor''. Click the pencil icon (Next to "Save Page..." and click Source Editing (Icon shows <nowiki>[[]]</nowiki>). You should now be in the source editor and it will remember that from now on.
It is important to write at least ''something'' before creating the article. As long as you written something, the article could be created. To create the article you go to the near bottom of your webpage and press the red button that says "Save Changes".
It is important to note that ProleWiki is '''case-sensitive'''. That means [[Fidel Castro]] would be different from [[Fidel castro]] despite one letter being uppercase and the other being lowercase. You can see one is blue and therefore links to an article, while one is red and thus is a nonexistent page according to ProleWiki. For this reason, and this reason alone, it is ''important'' to search '''exhaustively''' before creating a webpage, so that no duplications are done.
Also important to note that each article title is '''Sentence case'''. See the [[ProleWiki editorial guidelines]] for more information.
==== Creating a page in a namespace (Libraries, Essays, etc.) ====
To create a page in a certain namespace like a library work or an essay, you need to follow the procedure detailed above except add '''Library:''' or '''Essay:''' before the search. It is important that it is '''case sensitive''' and especially important to include the colon (:). "library:" or "essays:" will not work.
==== Creating a page with a Redirect ====
A redirect is a linker where one article exists for the sole purpose of linking to another article. For example [[China]] is a redirect to the [[People's Republic of China]]. There can be multiple redirects for one article.
If you are making a redirect, it is important to think of two things:
* Is it convenient?
* Does it introduce ambiguity?
If the first fails, you likely shouldn't make a redirect to begin with. If the second has any ambiguity, you should make a ''disambiguation'' article instead (see below for further details). But if both criterion are filled, you can make a redirect. For example, most people say China refers to the People's Republic of China and they don't mean the Dynasties that came before, thus it is convenient and likely does not introduce ambiguity so it could be made as a redirect.
==== Creating a disambiguation article ====
This is for anything that may be perceived as heavily ambiguous. Acronyms are most likely to fall under this disambiguation criteria.
If an article title is ambiguous, for example ''CPI'', it could refer to Communist Party of India, Consumer Price Index, Center for Political Innovation, etc. It makes sense to make it a disambiguation page.
To create one, you make the article title and space then write '''(disambiguation)''' in exact cases. Then you list the article links which people may want to see from that specific acronym. The details of how to specifically do this are also written below.
=== Editing a Page ===
To start editing any page, go to the article of what you want to edit and then click the red "''Edit Source''" button. It is important you click ''Edit Source'' (with the <nowiki>[[]]</nowiki> symbol) and not the Edit button. If you don't see the button, it's either due to two reasons:
# You are not logged in.
# You lack the permission to edit certain pages (this is due to them being protected, i.e. the official pages).
Once you click that button, you will be taken to the source editor, which can be thought of as a text or code editor rather than a word processor which the Visual Editor emulates. The syntax or how you write in question can also be thought to be a mix between ''HTML'' and ''Markdown'' if you know coding/web design.
<code>It is important to remember that ProleWiki does not save drafts. If you don't save your editors before closing the editor, your edits are completely gone and there is no way to restore them.</code>
==== Formatting Text ====
There should be a wide screen of a text area which you can select and interact with. By default everything you type is in the ''paragraph'' level. If you look to the top of your text there exists the '''B''' and ''I'' symbols. These '''bolden''' or ''italicise'' words. If you don't want to use these buttons you can use encase the words in <code><nowiki>''</nowiki></code> for italic and <code><nowiki>'''</nowiki></code> for bold.
That is the most basic of formatting. However you can ''also'' add other things as well, such as:
<code><nowiki>*</nowiki></code> for bullet point lists:
* point 1
* point 2
and <code><nowiki>#</nowiki></code> for numbered lists:
# number 1
# number 2
More will be mentioned below, but there is also important to ''tags''. If you worked with HTML/XML, opening and closing tags are important depending on what you are doing. For example If you want to introduce quotes, use <code><nowiki><blockquote></nowiki></code>
<blockquote>
This is a blockquote
</blockquote>
and remember to close the quote with as forward flash <code>/</code> as shown in <code><nowiki></blockquote></nowiki></code>. There is a ''very'' important tag that is <code><nowiki><ref></nowiki></code> but that will be introduced later.
A question you might think is that: How am I able to put these tags and syntax without ProleWiki having a problem with it? Well this ''entire'' source editing guide is created just with source editing! and I used <nowiki><nowiki></nowiki> tags to make sure that ProleWiki doesn't have a fuss with using tags.
==== Using Headings Correctly ====
Each heading follows a specific hierarchy. They are denoted by equals signs <code>=</code> and on both ends on each text or heading title. Each heading and subheading is displayed here:
<nowiki>= Page Title =</nowiki> <br>
<nowiki>== Heading == </nowiki> <br>
<nowiki>=== Subheading ===</nowiki> <br>
<nowiki>==== 2nd Subheading ====</nowiki> <br>
<nowiki>===== 3rd Subheading =====</nowiki> <br>
<nowiki>====== 4th Subheading =======</nowiki> <br>
And each equal sign denotes the level of importance of each heading. You should '''not''' use the Page Title for any reason in your articles. And you likely don't need to go beyond the 2nd subheading. So at most you will be writing 2, 3, or sometimes 4 equal signs between each heading.
When editing, you should use headings to denote important breaks. For example the top of the article (the lede) should have no heading and the page title is automatically displayed. Then the 2nd heading is displayed afterwards for any breaks (like mentioning History or References). It is recommended you write as many headings as possible so that people can read your article more clearly.
==== Adding sources/references ====
<code>'''Please''' source your edits where possible. It is recommended you add sources where you think it is needed to add.</code>
To add a source, you need to utilise the <code><nowiki><ref></nowiki></code> tags. From then on, you can add any piece of text within, and it has to be something otherwise ProleWiki will report an error. An example of a reference would be this:
This is a sentence.<ref name=":1">source</ref>
It is recommended you put sources right after the letter and after the punctuation mark. Do not add a space between the ref tag and the ending statement. Under the hood, the reference was written as this:
This is a sentence.<nowiki><ref>source</ref></nowiki>
With two tags enclosing the source text. Usually this "source" bit would be replaced with a citation template but we will continue on.
With each source you add, it is ideal if you add a ''reference list''. If you need to add a reference list, you would add it below the References heading (located at the bottom of the article usually), and type in:
<nowiki><references /></nowiki>
This is what is called a <code>Self-closing</code> tag. This is because there is no need to add any pieces with the open and close tags, so we can self-close it.
It is not required to add this piece of code in your text, but you should regardless so that people will know where the references will be put. By default it will be at the bottom of the page. It is more important with group references (see below).
When you add it to the bottom of the page, go above the references tag and just type in the ''Heading'' (<nowiki>== References ==</nowiki>) tag. ProleWiki doesn't do this by default. If you did it correctly, it shouldn't look out of place.
==== Reusing sources ====
Reusing a source can be annoying in source editing. This is because reusing a source requires that we name that specific source to reuse it. That means on our references page with our example, we change it from:
This is a sentence.<nowiki><ref>source</ref></nowiki>
To:
This is a sentence.<nowiki><ref name=":1">source</ref></nowiki>
Why name? Well name is a parameter, and we given it a name that we can reuse. Why is it called :1? Because on the Visual Editing guide, someone already used the ":0" label. Now we can reuse this citation in any statement we want. For example:
This is also a sentence.<ref name=":1" />
Which under the hood works as:
This is also a sentence.<nowiki><ref name=":1" /></nowiki>
We have reused a citation.
==== Adding Notes or Group References ====
Notes or Group References are the same thing as references but separated by a particular group. Notes are a type of Group Reference but it is important to list them as such.
Why would you need to add notes? Notes are ideal for clearing ambiguity. For example, English names of things which were not originally English can have a note showing the name of the original language.
To make a group, you would use a ref tag along with the <code>group</code> attribute. For example:
This is a sentence which uses note group as a reference.<ref group="note">note</ref>
Under the hood it looks like this:
This is a sentence which uses the note group as a reference.<nowiki><ref group="note">note</ref></nowiki>
Where to put in your structure is to put the <code>references</code> self-closing tag above the references heading and below everything else. And you type it in like this:
<nowiki><references group="note" /></nowiki>
There is also special groups which give different properties. By default, ProleWiki appends the number to the name. However certain groups like <code>lower-alpha</code> exist which gives the lowercase alphabet (references are displayed a, b, c, d, etc).
The use for notes is most likely found in the Essay pages, however in general ProleWiki does not use notes though there exists certain cases in articles which it is definitely needed.
=== Templates ===
Templates can be thought of blueprints that when called create an object that can liven up an article or bring needed formatting. For example an infobox to the right of a page can bring details about a country, a person, etc.
Templates require to be called and often filled with parameters. Some parameters are not required for templates to work although they are suggested. The collection of templates that can be used have their own namespace known as "Template:" and you can find a list of them by using the search feature.
==== Including templates within a page ====
Before using a template, it is important that you know which template to use. If you need to provide an infobox, you would search for a specific infobox. We don't use infobox by itself, and instead we would use "infobox person", "infobox country", etc. Remember that templates ''are'' case-sensitive.
Once you have your desired template (in another tab or somewhere to keep reference), to produce your first template, you type <nowiki>{{}}</nowiki>. These curly brackets are the syntax required to make a template. Now we need to provide the template name (in this example we will use Citation since it is the most common use-case). If you look at [[Template:Citation]], we need to find a way to add certain parameters. In ProleWiki, parameters are separated by pipes (or |), and to use these parameters means that we name the specific parameter, define it to mean something (using =) and then type in whatever we want. So I will make another reference article which uses the Communist Manifesto as an example.
This sentence uses the Communist Manifesto as a reference.<ref>{{Citation
| author = Karl Marx
| year = 1848
| title = Manifesto of the Communist Party
| title-url = https://en.prolewiki.org/wiki/Library:Manifesto_of_the_Communist_Party
}}</ref>
Under the hood, I've written it like this:
This sentence uses the Communist Manifesto as a reference.<nowiki><ref>{{Citation
| author = Karl Marx
| year = 1848
| title = Manifesto of the Communist Party
| title-url = https://en.prolewiki.org/wiki/Library:Manifesto_of_the_Communist_Party
}}</ref></nowiki>
It is not required to put parameters or spaces for each line. In fact, I could've condensed it like this:
This sentence uses the Communist Manifesto as a reference.<nowiki><ref>{{Citation|author = Karl Marx|year = 1848|title = Manifesto of the Communist Party|title-url = https://en.prolewiki.org/wiki/Library:Manifesto_of_the_Communist_Party}}</ref</nowiki>
However I really do '''not''' recommend doing it this way as it makes your article hard to edit. Some parameters may have a lot of text (such as the <code>quote</code> parameter present in Citation) and so it makes it look difficult to read in source editing.
As said about the quote parameter, I did not add all the parameters. That's because you're not required to add every single parameter, though it is ideal if you can add as much as you can. Especially for Citation and Web citation parameters, as they matter a lot so that people can trust the sources we use.
If there's a template that uses an image (i.e. Infobox person, etc.) You can type the specific file name as it is. Do not type it as a URL to the image. For example the parameter would be: <code>image=Vladimir_Lenin.png</code> and it would appear.
==== Templates used ====
For every single article (regardless of userspace), we use the templates Citation and sometimes Web citation.
Articles usually have more such as an infobox, specifically for person, film, company, or country.
Library works have only one template usually known as: Library Work
For essays we have: Essay infobox (for publishing essays) and Essay quote.
One special template is <code><nowiki>{{DISPLAYTITLE:your title}}</nowiki></code> which changes the title of your page. Usually it is taken care of by the template you are using depending on what article in a userspace, and ProleWiki does not like redundancy.
==== Handy Tip for Finding Templates ====
You don't always need to use the search feature to find the specific template and its parameters. If you type of the template name, i.e. <code><nowiki>{{Citation</nowiki></code> and then preview the page (either with a static or ''live'' preview), at the bottom of the page it will show "Templates used in this section." Note that there is two sections: "Module:", which is not what we want, and "Template:". middle-clicking (or right-clicking then clicking Open in New Tab) will take you to that page and give you specific parameters you can use. It is '''important''' you open a new tab, as left-clicking would make you leave your editing page (There should be a warning regardless if you do but you should be careful).


== Creating an Essay ==
== Creating an Essay ==
Line 209: Line 447:
To create an essay, you would then have to add the Essay: namespace to a page.
To create an essay, you would then have to add the Essay: namespace to a page.


But how do you "add" a namespace? Well, you have to create your page (like you would create a normal article) and add the namespace yourself, like on the image on the right. Then click on the red link, which is highlighted in the screenshot.
But how do you "add" a namespace? Well, you have to create your page (like you would create a normal article) and add the namespace yourself, like in the image on the right. Then click on the red link, which is highlighted in the screenshot.


Once again don't forget ProleWiki is '''case-sensitive'''! Don't forget to type in '''Essay''' and not '''essay''' (although normally, the software should automatically capitalise the first letter of a new page).
Once again don't forget ProleWiki is '''case-sensitive'''! Don't forget to type in '''Essay''' and not '''essay''' (although normally, the software should automatically capitalise the first letter of a new page).


=== Writing your essay ===
=== Writing your essay ===
Essays are very free-form and almost everything is allowed (the only rule of thumb is don't write anything that would damage ProleWiki). Unlike articles, you can write an essay about whatever you like in any way, shape or form you like! They are ''your'' essays and nobody else will edit them.
Essays are very free-form and almost everything is allowed (the only rule of thumb is to follow our [[ProleWiki:Principles|Principles]]). Unlike articles, you can write an essay about whatever you like in any way, shape or form you like! They are ''your'' essays and nobody else will edit them.


Otherwise, you would write an essay exactly the same way you would edit a page, refer to the Visual Editor section for further help.
Otherwise, you would write an essay exactly the same way you would edit a page, refer to the Visual/Source editor sections for further help.


There is one exception, which is essays marked ''Open source'' (previously public domain, but they are not actually in the public domain). These you can edit anytime you want.
There is one exception, which is essays authored by ''Open source''. These you can edit anytime you want.
[[File:New essays homepage.png|thumb|New ProleWiki essays homepage starting in September 2023.]]
[[File:New essays homepage.png|thumb|New ProleWiki essays homepage starting in September 2023.]]


Line 227: Line 465:


==== First things first: making your essay show up ====
==== First things first: making your essay show up ====
You can create an Essay at any time and add the template whenever you like.
For your essay to show up on the [[ProleWiki:Essays|essays]] page and actually be findable by readers, you will need to add two things to your essay:
 
However, to appear on the [[ProleWiki:Essays|essays]] page, you will need to add two things to your essay page:


* the 'infobox essay' '''template'''
* the 'infobox essay' '''template'''
* the '''Essays''' category.
* the '''Essays''' category.


We've explained how to add categories [[ProleWiki:User guide#Categories|here]]. If you have only one of those two things set up, your essay will not show. You need ''both'' on your essay page.
We've explained how to add categories [[ProleWiki:User guide#Categories|here]]. If you have only one of those two things set up, your essay will not show. You need ''both'' in your essay.


The idea is that you can add the template at any time, but you should add the category only once your essay is ready to be published. This allows you to work on it as a draft until it's ready to be seen by our readers. You decide when your essay is ready to be seen.
The idea is that you can add the template at any time while you're still drafting and writing the essay, but you should add the category only once your essay is going to be published. This allows you to work on it as a draft until it's ready to be seen by our readers. You decide when your essay is going to be published by adding the category.


==== Adding the template ====
==== Adding the template ====
The template that makes your essay all pretty in the front end is the '''Infobox essay''' template (it adds the picture, the author's name, the excerpt etc.). We talked about templates [[ProleWiki:User guide#Templates|here]].
The template that makes your essay all pretty in the front end is the '''Infobox essay''' template (it adds the picture, the author's name, the excerpt etc.). We talked about templates [[ProleWiki:User guide#Templates|here]].


You can also refer to the template [[Template:Infobox essay|documentation]] but we've copied it below.
You can also refer to the template's [[Template:Infobox essay|documentation]] but we've copied it below.


<nowiki>You add a template in visual editor by typing in two curly brackets {{. In the window that pops up, search for </nowiki>'''Infobox essay''' and click it in the auto-complete field.
<nowiki>You add a template in visual editor by typing in two curly brackets {{. In the window that pops up, search for </nowiki>'''Infobox essay''' and click it in the auto-complete field.
Line 249: Line 485:
* '''Title''': The title of your essay <u>exactly as it's written in the URL</u> (case-sensitive but no need for underscore characters). If you mistype the title, the link will not work. Required.
* '''Title''': The title of your essay <u>exactly as it's written in the URL</u> (case-sensitive but no need for underscore characters). If you mistype the title, the link will not work. Required.
* '''Name:''' we've added a "name" field that will rename your essay on the front end only. Optional. You can also just move your Essay page to a newly titled one.
* '''Name:''' we've added a "name" field that will rename your essay on the front end only. Optional. You can also just move your Essay page to a newly titled one.
* '''Author''': Your username, or "Open source" if you want to allow other editors to edit this essay. It will link to your user page, so again type your username exactly as it appears on ProleWiki. Required and case-sensitive.
* '''Author''': Your username, or "Open source" if you want to allow other editors to edit this essay. It will link to your user page, so type your username exactly as it appears on ProleWiki. Required and case-sensitive.
* '''Image:''' a filename (full name with extension) of your choice. Note that the image is a banner format, i.e. wide and not very tall (300px tall). If you don't specify an image, a placeholder will be used (but please as much as possible try to find a cool illustrative image for your essay).
* '''Image:''' a filename (full name with extension) of your choice. Note that the image is a banner format, i.e. wide and not very tall (300px tall). If you don't specify an image, a placeholder will be used (but please as much as possible try to find a cool illustrative image for your essay).
* '''Date''': The date you ''added the Essays category'' to this essay to ProleWiki in the YYYY-mm-dd format, e.g. for <u>September 3 2022</u>, you would write <u>2022-09-03</u>. Required.
* '''Date''': The date you ''added the Essays category'' to this essay to ProleWiki in the YYYY-mm-dd format, e.g. for <u>September 3 2022</u>, you would write <u>2022-09-03</u>. Required.
* '''Excerpt''': a small excerpt (one or two paragraphs long) from the essay. Normally you would use the first sentences from the essay itself, but you can put in anything you like in there. Please remember to remove links and references brackets[1] from the excerpt. Required.
* '''Excerpt''': a small excerpt (one or two paragraphs long) from the essay. Normally you would use the first sentences from the essay itself, but you can put in anything you like in there. Please remember to remove links and references brackets such as [1] from the excerpt. Required.
'''NOTE:''' I recommend you open the page history in another tab and copy the excerpt before you add the template, because all parameters except "image"  and "name" are required. That is to say, the visual editor will not let you leave the template window unless you input something into all the fields.
'''NOTE:''' I recommend you open the page history in another tab and copy the excerpt before you add the template, because all parameters except "image"  and "name" are required. That is to say, the visual editor will not let you leave the template window unless you input something into all the fields.
[[File:Essays quote example.png|thumb|490x490px|Example of the 'Essay quote' template in use]]
[[File:Essays quote example.png|thumb|490x490px|Example of the 'Essay quote' template in use]]
Line 259: Line 495:
We have a "quote" template called '''Essay quote'''. It takes three parameters:
We have a "quote" template called '''Essay quote'''. It takes three parameters:


* '''Quote:''' The quote you want to single out. I recommend 30 words at most.
* '''Quote:''' The quote you want to single out. We recommend selecting no more than 30 words for visual reasons.
* '''Align:''' ''left'', ''right'' or ''center''. On mobile, will always be centered. Just try them all out to see how it changes the look!
* '''Align:''' ''left'', ''right'' or ''center''. On mobile, will always be centered. Just try them all out to see how it changes the look!
* '''Bottom:''' you can extend or retract the bottom margin to offset more paragraphs. Takes a numeric value that can be above or below 0. Useful in some cases for tech reasons but as an end user, just check how your quote looks and fiddle with the bottom-margin if it doesn't look good to indent more lines from the text (positive value), or fewer (negative value).
* '''Bottom:''' you can extend or retract the bottom margin to offset more paragraphs. Takes a numeric value that can be above or below 0. Useful in some cases for tech reasons but as an end user, just check how your quote looks and fiddle with the bottom-margin if it doesn't look good to indent more lines from the text (positive value), or fewer (negative value).
Line 315: Line 551:


==== Clearing the cache ====
==== Clearing the cache ====
The essays homepage updates every day (not sure exactly when though). But if you want to update it instantly, you only have to go to the essays homepage, click on the three dots to open the submenu, and select '''Hard refresh''' to clear the cache. This will make your essay show up in the main feed as well as update everything else on the page (the last updated sidebar etc).
The [[ProleWiki:Essays|essays]] homepage updates every day (not sure exactly when though). But if you want to update it instantly, you only have to go to the essays homepage, click on the three dots to open the submenu, and select '''Hard refresh''' to clear the cache. This will make your essay show up in the main feed as well as update everything else on the page.


== Adding works to the Library ==
== Adding works to the Library ==
{{Main article|ProleWiki:User guide/Library}}The library has been completely remastered in June 2023, check the link above to edit the front page of the library and categorize uploaded books.
{{Main article|ProleWiki:User guide/Library}}The library has been completely remastered in June 2023, check the link above to edit the '''front page''' of the library ([[ProleWiki:Library|this page]]) and categorize uploaded books.


=== Adding a book ===
=== Adding a book ===
To add a book, you first need to create the page for it in the '''Library:''' namespace. Look at [[ProleWiki:User guide#Creating a page|creating a page]] for help. The very first thing you should do once you open your book's page is to add the [[Template:Library infobox work|Library work]]<nowiki> template to it. Simply type two brackets {{ and a window will open. Type "library infobox work" and use autocomplete to select it.</nowiki>
To add a book, you first need to create the page for it in the '''Library:''' namespace. Look at [[ProleWiki:User guide#Creating a page|creating a page]] for help. The very first thing you should do once you open your book's page is to add the [[Template:Library infobox work|Library work]]<nowiki> template to it. Simply type two brackets {{ and a window will open. Type "library work" and use autocomplete to select it.</nowiki>


Adding the infobox is an essential part and should not be skipped over; it tells readers who the author of the book is, when it was written, etc. Fill that infobox as much as you can.
Adding the infobox is an essential part and should not be skipped; it tells readers who the author of the book is, when it was written, etc. Fill that infobox as much as you can.


Then, import your book (look at [[Comrade:CriticalResist/sandbox/Library stuff|this page]] for useful regex functions that make formatting books much faster). Our library is generally text-only, so while you can upload a PDF, it will eventually have to be transcribed into raw text. For that, you should use OCR tools.
Then, import your book (look at [[Comrade:CriticalResist/sandbox/Library stuff|this page]] for useful regex functions that make formatting books much faster). Our library is generally text-only, so while you can upload a PDF, it will eventually have to be transcribed into raw text. For that, you should use OCR tools.
Line 337: Line 573:


=== Adding a table of contents ===
=== Adding a table of contents ===
With subpages comes a table of '''contents''' so that people can actually navigate from the main page to the subpages and back. This is done using a Template (see [[ProleWiki:MediaWiki Tutorial#Using templates|Using templates]] in this guide), with each template being used for one specific book. If you don't want to create a template for it, it's possible to create a simple unordered list like so:
With subpages comes a table of '''contents''' so that people can actually navigate from the main page to the subpages and back. This is done using a Template (see [[ProleWiki:MediaWiki Tutorial#Using templates|Using templates]] in this guide), with each template being created for one specific book. If you don't want to create a template for it, it's possible to create a simple unordered list like so:


* Heading 1
* Heading 1
Line 346: Line 582:
Simply type an asterisk '''*''' in the visual editor followed by a space to create a bullet point. Then hit Enter to create the next bullet point, and use the TAB key to create a subchapter bullet.
Simply type an asterisk '''*''' in the visual editor followed by a space to create a bullet point. Then hit Enter to create the next bullet point, and use the TAB key to create a subchapter bullet.


Afterwards you will need to add links (ctrl+K) to each bullet point. We also recommend having the table of contents at the very top of each subpage (i.e. chapters) to make navigation easier.
Afterwards you will need to add links (ctrl+K) to each bullet point. We also recommend having the table of contents at the very top of each subpage (chapters) to make navigation easier.
 
A link automatically appears at the top of the page to take readers back to the main page.
 
=== Adding footnotes or citations from the original book ===
Sometimes, books contain footnotes from the author or citations. To add these into ProleWiki, click Cite at the top of the screen in the visual editor, and then select the Basic template (or hit Ctrl+Shift+K). Simply copy and paste the content of the footnote into the content field, and hit save. Then, refer to [[ProleWiki:User guide#Adding sources|Adding Sources]] to learn how to make these footnotes appear on the page in a references list.
 
Often, footnotes appear in several chapters. To differentiate between chapters, you need to add a '''Group''' to each reference you add into the book. Refer to the [[ProleWiki:User guide#Adding notes|Notes]] section to learn how to do that. The difference with notes is that you must add a custom group, usually we just add the chapter number followed by a dot. Therefore, your footnotes will look like this in the text: <ref group="5.">this is a book footnote.</ref>
 
"5." is the custom group name, and the "1" is a number automatically added by the software. Then, when you want to make the footnotes appear, insert the references list, click edit, and under "Use this group" type in 5. (with the period).
 
Note that by convention and for the purposes of adding references in books, we consider each section to be its own chapter. If a book is structured as such: Preface, Introduction, Chapter 1; then Preface is 1., Introduction is 2., and Chapter 1 is 3. This is entirely up to you however.
 
By convention, we also recommend moving all footnotes at the end of its corresponding chapter. Most of the time footnotes are located at the end of each page, but because there aren't really pages on our books, it's also accepted in the editing industry to move all footnotes at the end of its chapter instead.


== Uploading and using images ==
== Uploading and using images ==
Line 416: Line 665:
[[File:Sandbox.png|thumb|263x263px]]Your sandbox page is a special page that is used to try out anything you want. Most editors like to use it to save drafts they are working on until they're ready to be published into an actual page, since MediaWiki doesn't save draft pages.
[[File:Sandbox.png|thumb|263x263px]]Your sandbox page is a special page that is used to try out anything you want. Most editors like to use it to save drafts they are working on until they're ready to be published into an actual page, since MediaWiki doesn't save draft pages.


To get to your sandbox, the easiest way is by opening your profile on the bottom left and clicking "Sandbox" (as per the picture on the right).
To get to your sandbox, the easiest way is by opening your profile on the bottom left and clicking "Sandbox" (as per the image on the right).


Use that page as you like; you can edit it however you want (to try out templates, formatting, or save your drafts) without impacting the rest of the site if you mess up something.
Use that page as you like; you can edit it however you want (to try out templates, formatting, or save your drafts) without impacting the rest of the site if you mess up something.
Line 425: Line 674:
==== Watchlist ====
==== Watchlist ====
[[File:Watchlist.png|thumb]]
[[File:Watchlist.png|thumb]]
You can place ''any'' page on the wiki (literally any page) into your watchlist. Your watchlist can then be accessed here: [[Special:Watchlist]] (or from the account icon in the bottom left, under sandbox). From that page, you can also remove any watched page.
You can place any page on the wiki into your watchlist. Your watchlist can then be accessed here: [[Special:Watchlist]] (or from the account icon in the bottom left, under sandbox). From that page, you can also remove any watched page.


Your watchlist will send you a notification (also in the bottom left, the inbox icon) any time an edit is made to a page you are watching. It will also put its name in bold in the Recent Changes page.
Your watchlist will send you a notification (also in the bottom left, the inbox icon) any time an edit is made to a page you are watching. It will also put its name in bold in the Recent Changes page.
Line 442: Line 691:


<references group="note" />
<references group="note" />
<references group="5."/>


[[Category:ProleWiki official pages]]
[[Category:ProleWiki official pages]]

Latest revision as of 16:07, 21 October 2024

The point of this page is to teach new editors how to edit on ProleWiki technically, if they're not familiar with MediaWiki.

Every editor is free to add to this page!

First: read our editorial guidelines

Please read our Editorial guidelines before you start editing, which will help you catch up on our writing patterns quickly.

We also recommend reading the Encyclopedic tone guide which will teach you how to write for an encyclopedia. The editorial guidelines are focused on technical formatting, and the tone guide is focused on the creative writing.

Understanding the ProleWiki interface

ProleWiki uses the Citizen skin to theme our website. You can change your theme in your Preferences if you want to use another one, but they are not supported.

The menu is located on the left and is a vertical menu on desktop. On mobile, the menu appears at the bottom of your screen horizontally before you start scrolling down.

We'll go through every icon and button on that menu. (icon pictures to be added in guide)

Did you know? You can type / on any page to bring up the search box

The first icon starting from the top is the logo. Clicking on it will take you back to the homepage of the language instance you are currently in.

Search (magnifying glass icon)

The magnifying glass icon lets you search for a page. Simply click on it, and a search box will appear in the middle of the screen, near the top. Type your keywords and hit enter to search. As you type, suggestions should fill out beneath the box. The search function is a bit unwieldy and will, by default, only search for page titles. If you want to search for content, you need to click "search for pages containing [keyword]".

Sometimes, it might not find anything despite the page existing because ProleWiki is case sensitive. If you search for "karl marx" for example, the function won't return any results. If you search for Karl Marx however, you will find his page

That's why it's important to search exhaustively before creating a new page, so that we don't create duplicates.

Megamenu (three stripes icon)

The three lines stacked on top of each other are what's commonly called a hamburger menu. Clicking on this button will open a megamenu. We won't go through this megamenu, but you will likely use the first column (Navigation) a lot. You will also likely use the "Content" column too, to access Essays and the Library.

Library (book icon)

This button takes you to the Library. We have added it manually and thus it may temporarily disappear after an update.

Essays (newspaper icon)

This button takes you to the Essays space. We have added it manually and thus it may temporarily disappear after an update.

Upload (upload icon)

This button only shows up when you are logged into your account, and takes you to the file upload page. The recommended (easier) method to upload and use a file is to copy and paste it while in the visual editor, but you may need to use the file upload page when you don't plan on using the file in a page (PDF files, for example, or pre-emptive icons). We have added it manually and thus it may temporarily disappear after an update.

Theme settings

At the bottom of the navigation bar, we have first a gear icon. These are theme settings: they will only apply to this theme. You can change the font size, use a dark theme for nighttime use, and find other settings that can make your reading experience more comfortable. These settings only apply to you.

Alerts

The bell icon opens your alerts. You will also see a notification badge around it if there are news about your account. These alerts will only notify you about things related to your account, usually after an administration action. When you are added to the Trusted group, for example, you will receive an alert.

Notices

The inbox/drawer icon opens your inbox. This is where you receive notifications about your activity on the wiki. For example if you are watching a page (refer to Watchlist) and someone adds a topic to the talk page, you should receive a message in your inbox.

Account

The last icon, showing a person, is for account management. From there, you can access several of your account pages (Talk, Sandbox...) as well as change your Settings (also called Preferences).

Visual editor guide

We don't recommend using this as a tutorial. Instead, you should use this as a reference guide when you need to do something but can't find out how.

Creating a page

You cannot create pages until you earn the Trusted role. For more information, refer to the Editor Onboarding page.

Creating a page on MediaWiki is a bit of a pain. The easiest way is to start by searching for your page.

Simply click on the magnifying glass icon in the top-left corner, and type in the name you want to give your page. If it doesn't exist (example here: Search Result), you will be taken to the search results page where you should see something like the screenshot on the right.

You can then simply click on the red link beneath the search box to be taken to the editor and create your page. Your page will not be created (published) until you type something in the editor and hit "Save changes" (in the top-right corner, or Ctrl+S on your keyboard).

Remember that ProleWiki is case-sensitive! This means Fidel Castro is a different page from Fidel castro! (Only the C in Castro changed, and you can see the first page exists, but the second doesn't -- the link is red). For this reason, please search the wiki exhaustively before creating a new page.

To make pages easily findable by others (both editors and readers), you can create Redirections from one page to another.

Our convention is normally sentence case. Please refer to the Editorial guidelines to see what that is.

Creating a page in a namespace (Library, Essays, etc)

If you want to create a page in a namespace, such as a library work or an essay, you need to follow the same procedure but add Library: or Essay: before the search terms. Example: Library:The communist manifesto. Remember you need the : colon, and you must type the exact namespace. Essays, for example, will not work (the namespace is Essay, singular).

It's a bit wonky but this is how MediaWiki works. The rest of the procedure is the exact same as any other page (click on the red link and fill in your page).

Editing a page

To start editing a page, head on over to its URL and then click on the red "Edit" button in the top right corner. If you don't see the button, there may be two reasons:

  1. The page is protected against edits (this is the case for official ProleWiki pages for example)
  2. You are not logged in

Once you click on the button, you will be taken to the visual editor, which is a WYSIWYG editor (what you see is what you get): it works much like Google Docs or any other text software you use, complete with shortcuts.

Note that ProleWiki does not save drafts. If you don't save your edits before closing the editor, they are completely gone with no way to recover them!

Formatting your text

The format bar at the top of the visual editor, appearing once you start editing a page.
Undo and redo

The first icons in this menu are the left and right arrows. They are the undo and redo button, also applied with Ctrl+Z and Ctrl+Y.

Paragraph formatting

At the top of the page in the visual editor, you should see the word Paragraph. This is the style that is currently being used on whatever you are typing. If you click on that word, it will open a submenu with several other styles you can use, much like in Google Docs or Word.

To use a style, simply place your cursor anywhere in the paragraph you want to style (styles apply to entire paragraphs and not single words), and click on the style you want to use. It will then apply it and you should see the change happen in real time in the editor.

Styles apply to the entire paragraph. You can break a paragraph with the return key.

Character formatting

The next button is the character styling button, appearing as an underlined letter A. Clicking on this will open a list of character formatting options (formatting that only applies to the selected characters and not the whole paragraph). You can also use keyboard shortcuts (click the ? button on the formatting bar, located in the top right of your screen when editing a page).

Using headings correctly

You can use headings with Ctrl+2 up to Ctrl+6, going from a Heading to a sub-heading of fifth importance. Note that Ctrl+1 will use the Page Title style, which will style your paragraph exactly like the page title. We never use that one and have no idea what the use of it is supposed to be (it is useful to separate two books that are bundled together in the library).

Regardless, when editing you should use headings as much as possible. However, keep in mind there should not be any reason to go beyond sub-heading 3 in most cases. That is to say, just because you have 5 headings at your disposal, doesn't mean you need to use all of them.

Headings follow a hierarchy, which you can see on this page itself. You should start a chapter with a Heading (Ctrl+2), then add a sub-heading 1 in it (Ctrl+3). Sub-headings 2 are nested inside sub-headings 1, etc. Or in other words, a Sub-heading 3 never comes before a sub-heading 2.

Of course, you separate sections (or chapters) with the main heading (ctrl+2).

Adding sources

Comrade! Please source your edits as much as possible. There is no such thing as too many sources!

To add a source using the visual editor, you first need to place your cursor where you want the source to appear. It will look like this once you confirm your reference: [1]

Then, open the "Cite" menu at the top of the screen and select one of our templates: usually Book or scientific article or Website or newspaper article.

Click on the appropriate template and it will open a box asking you to fill in some data such as year of publication, author, title, etc. You don't have to fill everything in the box, but you should still fill out as much as possible of the template. Once you're done, click Insert in the top right corner.

While you will see the little blue [1] mention, you won't see your reference at the end of your page if you are adding the first citation. That is because you still need to insert the Reference list. To do that, click on Insert in the top menu, then on "More" (with an arrow pointing down) in the menu that opens, and then on References List (preceded by a book icon).

Finally, you need to add a Heading (Ctrl+2) and name it References, right above the list you just added (MediaWiki doesn't do it by default).

If you did everything correctly, it should look like it on this page: Fidel Castro. Note that per our Editorial Guidelines, references go at the very end of a page. There should be no content whatsoever below the References section.

Reusing a source

Sometimes, you might need to reuse a source on a page. You can simply do that by clicking Cite -> Re-use. This will then bring up a box with all the sources added so far, and you can simply click on the source you want to reuse.

Adding notes

Notes work much like References technically, and in fact are considered references. To add them, you would add the Cite -> Basic (Ctrl+Shift+K) template. Type in your note in the box and then write "note" in the "Use this group" option. It will look like this:[note 1]

To make notes appear, you will then have to add a References list (on top of the actual references list that exists). Select that new list, click edit, and then add the "note" group into it. Then you need to add a heading called Notes above the list. In terms of page structure, Notes should be the second-last heading, with References being the last heading on the page.

We don't use notes a lot (it's preferable to add a source or internal link, i.e. bluelink), but they can be useful in some cases.

Templates

What are templates

Templates are specific pieces of (MediaWiki) code that can be reused and modded to fit the needs of a page. For example, infoboxes are based on a template: they take in standardized parameters such as Name, Country of origin, Date of Birth, the values of which change every time we use the template to fit the page. In other words, they are variables that take custom content. This allows us to use the same template for Fidel Castro and Stalin, but show different data in it (different picture, different name parameter, etc.)

Our existing templates can be found by searching for "Template:" on the wiki (it's a namespace like Library or Essays), but we list some of the most common ones to use in this guide.

Including a template in a page

To use a template, the easiest way is to type {{ while editing a page with the visual editor. This will bring up the template box. from there, you can type the name of the template you want to use (we don't use "infobox" by the way, but "infobox country", "infobox film", "infobox person", etc depending on the case.)

Once you start typing the template's name (remember that as always, it's case-sensitive), a dropdown menu will appear to suggest some templates. Click on the one you want and, if you picked the right one, you should see parameters displayed (see screenshot). You can type the relevant information in these parameters and then click save, and your template will be imported.

To edit a template, double click on its output while in the editor.

Adding more parameters

With some templates, you'll see additional parameters you can use on the left. For example on the screenshot of the book infobox, you can choose to add the publication, language, and specify the image size. Just click on the checkboxes on the left to add the parameter to the template you are editing. You still need to fill it out, of course.

Using an image in templates

For images, type the filename as exists on the wiki. Remember when you upload a picture, you are asked to provide a filename. Just type the name as is; it's not the URL or the raw file name (with extension), but the one you wrote when uploading the picture. There is also an autocomplete dropdown menu that will appear once you start typing on some templates.

Templates we use
  • Infobox: person, film, company, country.
  • For library works: Library Work.
  • For essays: Essay infobox and Essay quote.
  • You can change the displayed title by typing {{DISPLAYTITLE:your title here}}. It's not a template per se, so close the template window once you type the first two {.

Page menu

A button we haven't looked at yet is the collapsed menu in the top right of the visual editor (see screenshot).

From this menu, you can access several "meta" settings (they apply to the whole page regardless of content) that we'll cover below:

Options

Takes you to a box that shows almost all of the following options below.

Categories

This is where you add a category to a page. Categories look like this: Category:Imperialist organizations. They can be useful in some cases and pages should, as much as possible, be categorized.

To add a category to a page, start typing the name of the category you want to add in the "Add a category to this page" field. Remember that categories are case-sensitive. As you start typing the category name, a box should appear below the input field suggesting existing categories. Simply click on one of them to confirm your input, or keep typing to create a new category. Press enter to create your new category once you've entered the full name.

Pages can have more than one category, so simply repeat the process to add more categories to a page.

You can delete a category by clicking on its name in that box and then the trashcan icon in the submenu that opens.

As much as possible, please make sure not to create duplicate categories!

Page settings (redirections)

Page settings is mostly from where you will be able to create redirects, although they are arguably easier to make in the source editor (fewer clicks needed).

To create a redirection, you first need to create a new page. For example, let's say you want to redirect China to People's Republic of China (our preferred name for this page as ProleWiki uses a country's full name to title its page). This means that you would first need to create the China page, and then, without adding anything in the editor, go to Page Settings.

Check the "redirect this page to" box, and then start typing "People's Republic": the correct page should appear in an autocomplete field.

Click on that page to select it, and then click on "Apply changes". Finally, don't forget to save your edits and commit them. From now on, the China page will redirect people automatically to the People's Republic.

Advanced settings

You normally don't need to change these settings. You can mark this page as noindex for search engines, which means it shouldn't appear on Google if you do (on by default), and you can show a tab on this page to add a new section, which at this time this guide does not cover.

Both should be on the "default" setting, but you are free to disallow indexing of your essays if you want.

Languages

To add a page in another language (which makes it easily accessible from one language instance to another), you need to use the Source editor for now. (To be added).

Templates used

This setting shows which templates are used on the page. It can be useful on large pages sometimes to know which templates are being used, but this is mostly for debug reasons. This is not where you add a template from: please refer to Using templates.

View as right-to-left
Find and replace

Find and replace can be accessed by the ctrl+F shortcut. It will pop a menu at the top of the page. It's pretty self-explanatory, you can decide to only find a string of text, or also replace it if you type something in the "Replace" field. You also have options to match case (e.g. only find KEYWORD and not Keyword), use regular expressions code (regex), look for whole words, or ignore diacritics.

Saving your edits

Once you're done with your edit and click "Save changes", you will get to fill the edit summary. You can see how it looks on the right.

When editing the summary, you have three things to look at:

  1. Writing the summary itself
  2. Checking the "minor edit" box
  3. Checking the "watch this page" box.

In the summary, you should be concise but exhaustive. Briefly explain all the changes you brought to the page in a way that will help other editors see what you edited at a glance.

You can check the minor edit box if you want; there's no hard rule about this, but generally we reserve the minor edit mention for maintenance work: fixing typos and grammar, mostly.

Finally, you can choose to start watching this page. Refer to the Watchlist in this guide.

To unwatch a page, you can open your user profile on the bottom left of the screen and click on "Watchlist".

Source editing guide

This is a reference guide intended for source editors, such as those who prefer to use source editing. Unlike Visual Editing, source editing is more akin to working with a text or code editor rather than a word processor. It takes some getting used to, but some editors find it faster to use.

Creating a page

Only editors with the Trusted role can create pages. For more information, refer to the Editor Onboarding page.

Creating a page on MediaWiki is not the most straightforward way. Currently, the easiest way is to search for the page itself.

Click the magnifying glass icon in the top-left corner of the webpage, and type in the name of the article that you want to create. The image displayed shows the page results for Search. If it doesn't exist then click on the red link and you will get to editing your page. Usually if you are a new editor, clicking the red link will show the article in the Visual Editor. Click the pencil icon (Next to "Save Page..." and click Source Editing (Icon shows [[]]). You should now be in the source editor and it will remember that from now on.

It is important to write at least something before creating the article. As long as you written something, the article could be created. To create the article you go to the near bottom of your webpage and press the red button that says "Save Changes".

It is important to note that ProleWiki is case-sensitive. That means Fidel Castro would be different from Fidel castro despite one letter being uppercase and the other being lowercase. You can see one is blue and therefore links to an article, while one is red and thus is a nonexistent page according to ProleWiki. For this reason, and this reason alone, it is important to search exhaustively before creating a webpage, so that no duplications are done.

Also important to note that each article title is Sentence case. See the ProleWiki editorial guidelines for more information.

Creating a page in a namespace (Libraries, Essays, etc.)

To create a page in a certain namespace like a library work or an essay, you need to follow the procedure detailed above except add Library: or Essay: before the search. It is important that it is case sensitive and especially important to include the colon (:). "library:" or "essays:" will not work.

Creating a page with a Redirect

A redirect is a linker where one article exists for the sole purpose of linking to another article. For example China is a redirect to the People's Republic of China. There can be multiple redirects for one article.

If you are making a redirect, it is important to think of two things:

  • Is it convenient?
  • Does it introduce ambiguity?

If the first fails, you likely shouldn't make a redirect to begin with. If the second has any ambiguity, you should make a disambiguation article instead (see below for further details). But if both criterion are filled, you can make a redirect. For example, most people say China refers to the People's Republic of China and they don't mean the Dynasties that came before, thus it is convenient and likely does not introduce ambiguity so it could be made as a redirect.

Creating a disambiguation article

This is for anything that may be perceived as heavily ambiguous. Acronyms are most likely to fall under this disambiguation criteria.

If an article title is ambiguous, for example CPI, it could refer to Communist Party of India, Consumer Price Index, Center for Political Innovation, etc. It makes sense to make it a disambiguation page.

To create one, you make the article title and space then write (disambiguation) in exact cases. Then you list the article links which people may want to see from that specific acronym. The details of how to specifically do this are also written below.

Editing a Page

To start editing any page, go to the article of what you want to edit and then click the red "Edit Source" button. It is important you click Edit Source (with the [[]] symbol) and not the Edit button. If you don't see the button, it's either due to two reasons:

  1. You are not logged in.
  2. You lack the permission to edit certain pages (this is due to them being protected, i.e. the official pages).

Once you click that button, you will be taken to the source editor, which can be thought of as a text or code editor rather than a word processor which the Visual Editor emulates. The syntax or how you write in question can also be thought to be a mix between HTML and Markdown if you know coding/web design.

It is important to remember that ProleWiki does not save drafts. If you don't save your editors before closing the editor, your edits are completely gone and there is no way to restore them.

Formatting Text

There should be a wide screen of a text area which you can select and interact with. By default everything you type is in the paragraph level. If you look to the top of your text there exists the B and I symbols. These bolden or italicise words. If you don't want to use these buttons you can use encase the words in '' for italic and ''' for bold.

That is the most basic of formatting. However you can also add other things as well, such as:

* for bullet point lists:

  • point 1
  • point 2

and # for numbered lists:

  1. number 1
  2. number 2

More will be mentioned below, but there is also important to tags. If you worked with HTML/XML, opening and closing tags are important depending on what you are doing. For example If you want to introduce quotes, use <blockquote>

This is a blockquote

and remember to close the quote with as forward flash / as shown in </blockquote>. There is a very important tag that is <ref> but that will be introduced later.

A question you might think is that: How am I able to put these tags and syntax without ProleWiki having a problem with it? Well this entire source editing guide is created just with source editing! and I used <nowiki> tags to make sure that ProleWiki doesn't have a fuss with using tags.

Using Headings Correctly

Each heading follows a specific hierarchy. They are denoted by equals signs = and on both ends on each text or heading title. Each heading and subheading is displayed here:

= Page Title =
== Heading ==
=== Subheading ===
==== 2nd Subheading ====
===== 3rd Subheading =====
====== 4th Subheading =======

And each equal sign denotes the level of importance of each heading. You should not use the Page Title for any reason in your articles. And you likely don't need to go beyond the 2nd subheading. So at most you will be writing 2, 3, or sometimes 4 equal signs between each heading.

When editing, you should use headings to denote important breaks. For example the top of the article (the lede) should have no heading and the page title is automatically displayed. Then the 2nd heading is displayed afterwards for any breaks (like mentioning History or References). It is recommended you write as many headings as possible so that people can read your article more clearly.

Adding sources/references

Please source your edits where possible. It is recommended you add sources where you think it is needed to add.

To add a source, you need to utilise the <ref> tags. From then on, you can add any piece of text within, and it has to be something otherwise ProleWiki will report an error. An example of a reference would be this:

This is a sentence.[2]

It is recommended you put sources right after the letter and after the punctuation mark. Do not add a space between the ref tag and the ending statement. Under the hood, the reference was written as this:

This is a sentence.<ref>source</ref>

With two tags enclosing the source text. Usually this "source" bit would be replaced with a citation template but we will continue on.

With each source you add, it is ideal if you add a reference list. If you need to add a reference list, you would add it below the References heading (located at the bottom of the article usually), and type in:

<references />

This is what is called a Self-closing tag. This is because there is no need to add any pieces with the open and close tags, so we can self-close it.

It is not required to add this piece of code in your text, but you should regardless so that people will know where the references will be put. By default it will be at the bottom of the page. It is more important with group references (see below).

When you add it to the bottom of the page, go above the references tag and just type in the Heading (== References ==) tag. ProleWiki doesn't do this by default. If you did it correctly, it shouldn't look out of place.

Reusing sources

Reusing a source can be annoying in source editing. This is because reusing a source requires that we name that specific source to reuse it. That means on our references page with our example, we change it from:

This is a sentence.<ref>source</ref>

To:

This is a sentence.<ref name=":1">source</ref>

Why name? Well name is a parameter, and we given it a name that we can reuse. Why is it called :1? Because on the Visual Editing guide, someone already used the ":0" label. Now we can reuse this citation in any statement we want. For example:

This is also a sentence.[2]

Which under the hood works as:

This is also a sentence.<ref name=":1" />

We have reused a citation.

Adding Notes or Group References

Notes or Group References are the same thing as references but separated by a particular group. Notes are a type of Group Reference but it is important to list them as such.

Why would you need to add notes? Notes are ideal for clearing ambiguity. For example, English names of things which were not originally English can have a note showing the name of the original language.

To make a group, you would use a ref tag along with the group attribute. For example:

This is a sentence which uses note group as a reference.[note 2]

Under the hood it looks like this:

This is a sentence which uses the note group as a reference.<ref group="note">note</ref>

Where to put in your structure is to put the references self-closing tag above the references heading and below everything else. And you type it in like this:

<references group="note" />

There is also special groups which give different properties. By default, ProleWiki appends the number to the name. However certain groups like lower-alpha exist which gives the lowercase alphabet (references are displayed a, b, c, d, etc).

The use for notes is most likely found in the Essay pages, however in general ProleWiki does not use notes though there exists certain cases in articles which it is definitely needed.

Templates

Templates can be thought of blueprints that when called create an object that can liven up an article or bring needed formatting. For example an infobox to the right of a page can bring details about a country, a person, etc.

Templates require to be called and often filled with parameters. Some parameters are not required for templates to work although they are suggested. The collection of templates that can be used have their own namespace known as "Template:" and you can find a list of them by using the search feature.

Including templates within a page

Before using a template, it is important that you know which template to use. If you need to provide an infobox, you would search for a specific infobox. We don't use infobox by itself, and instead we would use "infobox person", "infobox country", etc. Remember that templates are case-sensitive.

Once you have your desired template (in another tab or somewhere to keep reference), to produce your first template, you type {{}}. These curly brackets are the syntax required to make a template. Now we need to provide the template name (in this example we will use Citation since it is the most common use-case). If you look at Template:Citation, we need to find a way to add certain parameters. In ProleWiki, parameters are separated by pipes (or |), and to use these parameters means that we name the specific parameter, define it to mean something (using =) and then type in whatever we want. So I will make another reference article which uses the Communist Manifesto as an example.

This sentence uses the Communist Manifesto as a reference.[3]

Under the hood, I've written it like this:

This sentence uses the Communist Manifesto as a reference.<ref>{{Citation | author = Karl Marx | year = 1848 | title = Manifesto of the Communist Party | title-url = https://en.prolewiki.org/wiki/Library:Manifesto_of_the_Communist_Party }}</ref>

It is not required to put parameters or spaces for each line. In fact, I could've condensed it like this:

This sentence uses the Communist Manifesto as a reference.<ref>{{Citation|author = Karl Marx|year = 1848|title = Manifesto of the Communist Party|title-url = https://en.prolewiki.org/wiki/Library:Manifesto_of_the_Communist_Party}}</ref

However I really do not recommend doing it this way as it makes your article hard to edit. Some parameters may have a lot of text (such as the quote parameter present in Citation) and so it makes it look difficult to read in source editing.

As said about the quote parameter, I did not add all the parameters. That's because you're not required to add every single parameter, though it is ideal if you can add as much as you can. Especially for Citation and Web citation parameters, as they matter a lot so that people can trust the sources we use.

If there's a template that uses an image (i.e. Infobox person, etc.) You can type the specific file name as it is. Do not type it as a URL to the image. For example the parameter would be: image=Vladimir_Lenin.png and it would appear.

Templates used

For every single article (regardless of userspace), we use the templates Citation and sometimes Web citation.

Articles usually have more such as an infobox, specifically for person, film, company, or country. Library works have only one template usually known as: Library Work For essays we have: Essay infobox (for publishing essays) and Essay quote.

One special template is {{DISPLAYTITLE:your title}} which changes the title of your page. Usually it is taken care of by the template you are using depending on what article in a userspace, and ProleWiki does not like redundancy.

Handy Tip for Finding Templates

You don't always need to use the search feature to find the specific template and its parameters. If you type of the template name, i.e. {{Citation and then preview the page (either with a static or live preview), at the bottom of the page it will show "Templates used in this section." Note that there is two sections: "Module:", which is not what we want, and "Template:". middle-clicking (or right-clicking then clicking Open in New Tab) will take you to that page and give you specific parameters you can use. It is important you open a new tab, as left-clicking would make you leave your editing page (There should be a warning regardless if you do but you should be careful).

Creating an Essay

Understanding namespaces

Namespaces are a particularity of MediaWiki, but they're not difficult to understand.

We talked about the Special:RecentChanges page just earlier. The colon (:) character indicates that Special is a namespace. After the colon is the page name.

On ProleWiki, we use the ProleWiki: namespace for everything that is official or related to the wiki itself. We also have the Essay: namespace, as you might have guessed, and finally we'll look at the Library: namespace in the next section.

Namespaces help us pre-categorize pages correctly. They also let you know what a page is about or related to at a glance.

Creating the Essay itself

To create an essay, you would then have to add the Essay: namespace to a page.

But how do you "add" a namespace? Well, you have to create your page (like you would create a normal article) and add the namespace yourself, like in the image on the right. Then click on the red link, which is highlighted in the screenshot.

Once again don't forget ProleWiki is case-sensitive! Don't forget to type in Essay and not essay (although normally, the software should automatically capitalise the first letter of a new page).

Writing your essay

Essays are very free-form and almost everything is allowed (the only rule of thumb is to follow our Principles). Unlike articles, you can write an essay about whatever you like in any way, shape or form you like! They are your essays and nobody else will edit them.

Otherwise, you would write an essay exactly the same way you would edit a page, refer to the Visual/Source editor sections for further help.

There is one exception, which is essays authored by Open source. These you can edit anytime you want.

New ProleWiki essays homepage starting in September 2023.

Adding your essay to the Essays homepage

Updated September 2023 to reflect the new essays page

We have an editor-in-chief since October 2023 for the new essays space. Before adding the category to make your essay show up in the new space, contact Comrade:420dengist. He is in charge of deciding when your essay will be published.

First things first: making your essay show up

For your essay to show up on the essays page and actually be findable by readers, you will need to add two things to your essay:

  • the 'infobox essay' template
  • the Essays category.

We've explained how to add categories here. If you have only one of those two things set up, your essay will not show. You need both in your essay.

The idea is that you can add the template at any time while you're still drafting and writing the essay, but you should add the category only once your essay is going to be published. This allows you to work on it as a draft until it's ready to be seen by our readers. You decide when your essay is going to be published by adding the category.

Adding the template

The template that makes your essay all pretty in the front end is the Infobox essay template (it adds the picture, the author's name, the excerpt etc.). We talked about templates here.

You can also refer to the template's documentation but we've copied it below.

You add a template in visual editor by typing in two curly brackets {{. In the window that pops up, search for Infobox essay and click it in the auto-complete field.

There, you will be asked to provide a few parameters:

  • Title: The title of your essay exactly as it's written in the URL (case-sensitive but no need for underscore characters). If you mistype the title, the link will not work. Required.
  • Name: we've added a "name" field that will rename your essay on the front end only. Optional. You can also just move your Essay page to a newly titled one.
  • Author: Your username, or "Open source" if you want to allow other editors to edit this essay. It will link to your user page, so type your username exactly as it appears on ProleWiki. Required and case-sensitive.
  • Image: a filename (full name with extension) of your choice. Note that the image is a banner format, i.e. wide and not very tall (300px tall). If you don't specify an image, a placeholder will be used (but please as much as possible try to find a cool illustrative image for your essay).
  • Date: The date you added the Essays category to this essay to ProleWiki in the YYYY-mm-dd format, e.g. for September 3 2022, you would write 2022-09-03. Required.
  • Excerpt: a small excerpt (one or two paragraphs long) from the essay. Normally you would use the first sentences from the essay itself, but you can put in anything you like in there. Please remember to remove links and references brackets such as [1] from the excerpt. Required.

NOTE: I recommend you open the page history in another tab and copy the excerpt before you add the template, because all parameters except "image" and "name" are required. That is to say, the visual editor will not let you leave the template window unless you input something into all the fields.

Example of the 'Essay quote' template in use
Quoting from your essay

We have a "quote" template called Essay quote. It takes three parameters:

  • Quote: The quote you want to single out. We recommend selecting no more than 30 words for visual reasons.
  • Align: left, right or center. On mobile, will always be centered. Just try them all out to see how it changes the look!
  • Bottom: you can extend or retract the bottom margin to offset more paragraphs. Takes a numeric value that can be above or below 0. Useful in some cases for tech reasons but as an end user, just check how your quote looks and fiddle with the bottom-margin if it doesn't look good to indent more lines from the text (positive value), or fewer (negative value).

Your quote will appear in big characters, you might have seen something similar in other publications before. It looks pretty cool.

Most common issue: typos in title

The title parameter needs to take your essay's title exactly as it is in the database. Or, in other words, exactly how you named the page when you created your essay.

The most common issue is retyping the essay's title incorrectly, for example forgetting punctuation or adding a capital letter. You'll know if the template was set up properly if the reading time estimate shows something like "X-Y minutes" (with X and Y being numbers). If it says "Error: Invalid content" after you save your edit, then you likely messed something up

To prevent that I would recommend you copy-paste your essay's title when adding the template, to make sure you don't make a mistake.

Adding content categories

You can add some content categories to your essay as well; as you can see on the screenshot above, there is an "All categories" item on the sidebar with categories such as World news, Critiques, History, etc. You simply have to add the categories to your essay as you would for any page, covered here.

The format for our essay categories is like this: XYZ (essays) for content categories (World news (essays), Current AES (essays), History (essays) etc).

While you are allowed to add new content categories in the sidebar, it's better if these are discussed with the other editors first and so this guide will not cover this process (it involves editing the template Essay_categories).

Adding author category

You can easily add yourself into the "All authors" sidebar item without requiring any help other than this guide.

First, you need to create a category called Essays by X, where X is your username.

Then add this category to every one of your essays manually.

Finally, open your "Essays by X" category in a new tab and add the following code from the source editor:

<dpl>

category=Essays by X

mode=userformat

includesubpages=false

ordermethod=firstedit

order=descending

listseparators = \n

addeditdate=true

userdateformat = Y-m-d

format = ,\n* [[%PAGE%|%TITLE%]], (%DATE%)

</dpl>

[[Category:Essays by author]]


Just don't forget to change the category name ("Essays by X" to your name) in the code above, save, and you're done!

Clearing the cache

The essays homepage updates every day (not sure exactly when though). But if you want to update it instantly, you only have to go to the essays homepage, click on the three dots to open the submenu, and select Hard refresh to clear the cache. This will make your essay show up in the main feed as well as update everything else on the page.

Adding works to the Library

See main article: ProleWiki:User guide/Library

The library has been completely remastered in June 2023, check the link above to edit the front page of the library (this page) and categorize uploaded books.

Adding a book

To add a book, you first need to create the page for it in the Library: namespace. Look at creating a page for help. The very first thing you should do once you open your book's page is to add the Library work template to it. Simply type two brackets {{ and a window will open. Type "library work" and use autocomplete to select it.

Adding the infobox is an essential part and should not be skipped; it tells readers who the author of the book is, when it was written, etc. Fill that infobox as much as you can.

Then, import your book (look at this page for useful regex functions that make formatting books much faster). Our library is generally text-only, so while you can upload a PDF, it will eventually have to be transcribed into raw text. For that, you should use OCR tools.

Once your book is finished and properly formatted (that is to say, in a readable format with typos fixed, references using with our templates, etc), you can add categories. To be findable by readers, your book needs to be in a category (i.e. a card) which appears in the Library front page. If you forget to add categories or add categories that were not added to the front page, then you can assume nobody will be able to find your book.

Note that ProleWiki does not edit books we upload. We upload them as is: please do not remove anything from books without asking the editorship first for opinions.

Adding chapters (subpages)

One thing we do sometimes with especially large books, such as Capital, is to separate chapters into their own page. This looks something like Library:Capital, vol. I/The production of absolute surplus-value. The slash symbol / denotes a subpage, i.e. a page inside a page (The production of absolute surplus-value is located inside Capital, vol. I).

Creating a subpage works exactly like creating a new page. However, the easiest way is to go to the root page, e.g. Library:Capital, vol. I, and then add

[url]/The_production_of_absolute_surplus-value

To the URL itself in your browser. Note that spaces should be replaced by underscore _ characters.

Adding a table of contents

With subpages comes a table of contents so that people can actually navigate from the main page to the subpages and back. This is done using a Template (see Using templates in this guide), with each template being created for one specific book. If you don't want to create a template for it, it's possible to create a simple unordered list like so:

  • Heading 1
    • subchapter
    • subchapter
  • etc

Simply type an asterisk * in the visual editor followed by a space to create a bullet point. Then hit Enter to create the next bullet point, and use the TAB key to create a subchapter bullet.

Afterwards you will need to add links (ctrl+K) to each bullet point. We also recommend having the table of contents at the very top of each subpage (chapters) to make navigation easier.

A link automatically appears at the top of the page to take readers back to the main page.

Adding footnotes or citations from the original book

Sometimes, books contain footnotes from the author or citations. To add these into ProleWiki, click Cite at the top of the screen in the visual editor, and then select the Basic template (or hit Ctrl+Shift+K). Simply copy and paste the content of the footnote into the content field, and hit save. Then, refer to Adding Sources to learn how to make these footnotes appear on the page in a references list.

Often, footnotes appear in several chapters. To differentiate between chapters, you need to add a Group to each reference you add into the book. Refer to the Notes section to learn how to do that. The difference with notes is that you must add a custom group, usually we just add the chapter number followed by a dot. Therefore, your footnotes will look like this in the text: [5. 1]

"5." is the custom group name, and the "1" is a number automatically added by the software. Then, when you want to make the footnotes appear, insert the references list, click edit, and under "Use this group" type in 5. (with the period).

Note that by convention and for the purposes of adding references in books, we consider each section to be its own chapter. If a book is structured as such: Preface, Introduction, Chapter 1; then Preface is 1., Introduction is 2., and Chapter 1 is 3. This is entirely up to you however.

By convention, we also recommend moving all footnotes at the end of its corresponding chapter. Most of the time footnotes are located at the end of each page, but because there aren't really pages on our books, it's also accepted in the editing industry to move all footnotes at the end of its chapter instead.

Uploading and using images

Note: you will not be able to upload images until you receive the Trusted role. Refer to the Editor onboarding page for more information.

There are two ways to upload images.

Method 1: from the Upload page

There is a page to Upload your files from.

Select a file from your computer in the Source filename field.

The destination filename is what its name will look like on ProleWiki. It will automatically fill that field based on your filename.

The summary is a brief explanation of what your image depicts or what the document you upload is.

Once you have uploaded your image, follow Method 2 to know how to include it in a page.

Method 2: from the visual editor

This is the easiest method as in most cases, you are probably uploading a picture while you are editing a page.

From the visual editor, click on Insert in the top menu, and then pick the first option: Images and media.

A box will open and show your latest uploads. If you've used method 1, this is how you would find the image you uploaded and insert it in the page: just click on it, then click on Use this image in the top-right corner of the box.

If you need to upload the image first, then once you open the Images and media box, click on the Upload tab near the top of that window. You will be able to select a file from your device. Then, click on "This is a product of human labour" (for the story, we can't get rid of this disclaimer which by default says "I confirm I have the rights to use this image"). You will then be taken through the same process outlined in the last paragraph where you get to fill your image's info.

You will then be taken to a third screen to write a caption and provide alt text. You should always fill in the alt text for our handicapped comrades. The caption is important as it shows under the picture and helps explain what exactly the picture is. If you upload a data graph, for example, it's good practice to provide a caption to explain what the graph shows.

Best practices (please follow)

Please remember that we need to be accessible to people with disabilities and other impairments. For that reason, please name your file with a clear, accurate name (and not asbjsfjbgfabrhb_final_final.jpeg) that represents the document. This will be used as its alt text in the file page.

You don't have to fill the summary as we don't use it (although it's good practice to write what the picture is about e.g. what it depicts, in a concise manner) but please caption your pictures once you add them to a page! Please also fill the alt text when you add a picture to a page: you can simply copy the caption and paste it in the alt text field.

Formatting a picture in the editor

Once you've added your picture as you are editing a page, you can format it a little bit.

In the visual editor, by selecting and dragging the bottom-left corner of the picture, you can change its size.

By clicking on the picture and selecting the Edit tab, you can format it a little bit more: align it left, centre, or right (right is selected by default), wrapping text around it, and selecting how the image displays (thumbnail is selected by default). If you change the format to Frameless for example, you can align a picture in the centre of the page between two paragraphs, which is great for a gallery view:

Finally, you can also drag your image somewhere else in the article by simply dragging and dropping it around. A line will appear between paragraphs to show you where the top of your image will align. Does it sound confusing? Don't worry, the first time you do it, you'll get it right away.

Please note that we normally keep default alignment in pictures as per our conventions (thumbnail, aligned right, text wrapping on). You can change this alignment as you please in Essays, but not necessarily in articles.

Using talk/discussion pages

All wikis come with a template for Talk pages by default. These are easy to access: when viewing any page, you should find a "Discussion" button in the top right (see screenshot).

You will then be taken to the Talk page for this specific page, where you can add a topic or browse existing ones.

If you want to add a topic, you only need to enter the thread name as well as the first message: the structure is sort of like a forum thread.

If you want to reply to someone, you only need to click on their comment and then type your own comment in the box under theirs.

Feel free to use talk pages! They're here to help communicate with other editors, so don't hesitate.

Talk pages are available everywhere, including on user pages as well as protected official ProleWiki pages (such as our editorial guidelines). They are normally freely accessible in read/write permissions for all editors regardless of Trusted role or lack thereof.

An overview of special pages

Special pages can be found here: Special:SpecialPages. They are not related to the wiki itself but rather to its maintenance and administration.

We quickly go through some special pages in this section which you might find interesting in your work as an editor.

The Hub

We created a Hub page for editors to talk with each other and to send announcements from the administration. Feel free to use it if you have a question that affects the whole Wiki.

Sandbox page

Your sandbox page is a special page that is used to try out anything you want. Most editors like to use it to save drafts they are working on until they're ready to be published into an actual page, since MediaWiki doesn't save draft pages.

To get to your sandbox, the easiest way is by opening your profile on the bottom left and clicking "Sandbox" (as per the image on the right).

Use that page as you like; you can edit it however you want (to try out templates, formatting, or save your drafts) without impacting the rest of the site if you mess up something.

Recent Changes

Recent changes is the page you might spend most of your time on. It quickly shows the, well, recent changes that took place on the wiki. It's useful to keep up to date with the happenings of the wiki.

Watchlist

You can place any page on the wiki into your watchlist. Your watchlist can then be accessed here: Special:Watchlist (or from the account icon in the bottom left, under sandbox). From that page, you can also remove any watched page.

Your watchlist will send you a notification (also in the bottom left, the inbox icon) any time an edit is made to a page you are watching. It will also put its name in bold in the Recent Changes page.

To start watching a page, go to any page you want, click the three small dots in the upper-right corner, and then click Watch (with the star icon).

Wanted pages

Wanted pages are interesting to know about. They are pages that are linked in other pages but do not exist yet (the X links mention in parentheses). Hence it is wanted because clearly it's being linked to a lot.

These are worthwhile pages to create and fill up, and wanted pages are always a good place to come back to if you're looking for inspiration or don't know what to write about.

Tip: if you are not a Trusted editor yet, you can ask other editors to create a page for you! Either in the Hub or on the Discord is fine.

Shortcut reference table

You will find all shortcuts available when editing by simply clicking on the ? icon in the top right of the visual editor, and then clicking "Keyboard shortcuts"

  1. 1.0 1.1 source
  2. 2.0 2.1 source
  3. Karl Marx (1848). Manifesto of the Communist Party.
  1. note example
  2. note
  1. this is a book footnote.
Contents