|
|
(60 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| == template tests == | | <templatestyles src="ProleWiki:Main page/styles.css"/> |
| | <span class="wiki-title">Title 1</span> |
| | <big>Title 2</big> |
|
| |
|
| == Stuff useful for library work == | | == Stuff useful for library work == |
|
| |
|
| === Some useful regex functions ===
| | stuff useful for library work has been [[Comrade:CriticalResist/sandbox/Library stuff|moved here]] |
| You can use search and replace with regex in the visual editor, just tap ''Ctrl+f'' on your keyboard, then click on the icon representing <code>(.*)</code> — that's the regex (regular expression) function, which will interpret your search string as regex.
| |
| | |
| Unfortunately you can't use regex in the replace function but anyway, here are some cool regex functions you can use to help you on pages. Just copy the "regex code" row into the search bar (yes it looks like nothing, that's normal)
| |
| {| class="wikitable"
| |
| |+
| |
| !Regex code
| |
| !What it does
| |
| !Use for
| |
| |-
| |
| |<code>\[(\d+)\]</code>
| |
| |Detects references like <sup>[12]</sup>
| |
| |Transform plain text references into formatted MediaWiki references (ctrl+shift+k to add a reference). Leave replace field blank. Will probably leave behind extra spaces so run the next function.
| |
| |-
| |
| |<code>\s{2,}</code>
| |
| |Detect two spaces or more
| |
| |Search for this code, '''add a space in the replace field''', then press replace all and it will correct all possible extra spaces to just one.
| |
| |-
| |
| |<code>\s(?=[.,;:!?)%])</code>
| |
| |Remove space before punctuation
| |
| |Removes a space '''before''' punctuation, like . or ? or ;
| |
| Be careful before clicking replace all, you should look through instances one by one.
| |
| |-
| |
| |<code><nowiki>\s-{1,2}|\s\u2013</nowiki></code>
| |
| |Detects a hyphen or two OR an en dash after a space
| |
| |This can indicate incorrect use of an em dash<code> —</code>
| |
| Will detect either - or --, which are sometimes incorrectly used. Replace all with em dash ('''with a space before''' but not after)
| |
| | |
| Will also detect the en dash (–), which should also be replaced.
| |
| |-
| |
| |<code>(?<!\s)\d+\s*[.\-\)]</code>
| |
| |Detects improperly formatted ordered lists (e.g. 1), 2), etc)
| |
| |We should use mediawiki lists instead of plain text. This detects such a case. Use only to find instances, then apply the list format manually.
| |
| |-
| |
| |<code>page \d+</code>
| |
| |detects "page X" where X is any number
| |
| |Sometimes in text imported documents online, there will remain a "page X" (page 5, page 12...) in the text; these come from the original PDF. You can quickly remove them with this code.
| |
| |-
| |
| |<code>(?<![.,;!?])\n</code>
| |
| |Detects superfluous line breaks
| |
| |When importing from PDF, you will usually have extra line breaks that shouldn't be here. This code detects most of them (new lines NOT preceded by punctuation that would normally warrant a new line). Replace with an empty space.
| |
| Note: detecting line breaks doesn't work in MediaWiki. Import your text to say Google Docs, use their search function, then import result to ProleWiki. You still have to go through the text manually but it saves a lot of time and cramps.
| |
| |-
| |
| |<code>[.,;:!?][A-Za-z0-9]</code>
| |
| |Detects if a character begins right after punctuation
| |
| |Will detect e.g. <code>Hello.How are you?</code> -- there should be a space after the period. You have to fix it manually unfortunately. Will detect uppercase and lowercase A-Z as well as digits 0-9.
| |
| |}
| |
| | |
| === Other online libraries from marxists.org ===
| |
| Marxists.org is ran by trots and they've been known to edit stuff to fit their bias -- notably in Mastering Bolshevism from Stalin, whole sections are missing and they give the work a completely different name.
| |
| | |
| As much as possible, we shouldn't use them. You simply cannot know if their edition of a book will be truthful or not. They also rely on old translations for many texts, while I've found that newer translations tend to flow better.
| |
| | |
| Here are libraries we can use other than marxists.org:
| |
| | |
| * http://www.marx2mao.com/
| |
| * https://libgen.is/ (if you already know what you're looking for)
| |
| * http://ciml.250x.com/archive/index.html never tested it, only has Marx, Engels, Lenin, Stalin, Hoxha (it's a hoxhaist website)
| |
| * https://redsails.org/categories/ our comrades at Red Sails also have a library (look under Authors); they also say where they source their works from.
| |
| * https://openlibrary.org they have books on everything and from everyone, including marxist authors. However they have to use a "borrowing" system by law, and you have to make an account. Maybe use them to find a book, then download it from libgen.
| |
| * https://www.redstarpublishers.org/#OML has PDFs, which are a pain to edit into ProleWiki. Marxists.org also has PDFs, which I ''doubt'' they edit due to the sheer work, but maybe they still do.
| |
| * https://www.bannedthought.net has mostly documents in PDF format about countries, but some books can be found there.
| |
| * http://hiaw.org/defcon6/works/cw/index.html this page has the M&E letters, which are copyrighted by some company.
| |
| * https://espressostalinist.com/the-real-stalin-series/ this page collects excerpts and collides them into topics; you can look for the original book on libgen.
| |
| * Marx&Engels, Lenin, Stalin and Mao's works are available in their respective '''Collected Works''', which can easily be downloaded from marx2mao for example as PDFs.
| |
| | |
| Make sure that the work you want to copy from these doesn't come from the MIA though, obviously.
| |
| | |
| == Other sandbox stuff for my own use ==
| |
| {{Library_homepage}}
| |
| ===Communists===
| |
| <div class="library-container">
| |
| {{Library card|name=Enver Hoxha|image=Enver_Hoxha_picture.jpg|category=Library works by Enver Hoxha|left=-45}}
| |
| {{Library card|name=Michael Parenti|image=Michael_Parenti,_Democracy_and_the_Pathology_of_Wealth,_44m30s.jpg|category=Library works by Michael Parenti|left=-15}}
| |
| {{Library card|name=Michael Parenti|image=Michael_Parenti,_Democracy_and_the_Pathology_of_Wealth,_44m30s.jpg|category=Library works by Michael Parenti|left=-15}}
| |
| {{Library card|name=Michael Parenti|image=Michael_Parenti,_Democracy_and_the_Pathology_of_Wealth,_44m30s.jpg|category=Library works by Michael Parenti|left=-15}}
| |
| </div>
| |
| | |
| ===Communists 2===
| |
| <div class="library-container-mini">
| |
| {{Library card mini|image=Rosa_Luxemburg_colorised.jpeg|text=[[:Category:Library works by Rosa Luxemburg|Rosa Luxemburg]]|link=[[:Category:Library works by Rosa Luxemburg]]}}
| |
| {{Library card mini|image=Rosa_Luxemburg_colorised.jpeg|text=Library works by [[:Category:Library works by Rosa Luxemburg|Rosa Luxemburg]]|link=[[:Category:Library works by Rosa Luxemburg]]}}
| |
| {{Library card mini|image=Rosa_Luxemburg_colorised.jpeg|text=Library works by [[:Category:Library works by Rosa Luxemburg|Rosa Luxemburg]]|link=[[:Category:Library works by Rosa Luxemburg]]}}
| |
| {{Library card mini|image=Rosa_Luxemburg_colorised.jpeg|text=Library works by [[:Category:Library works by Rosa Luxemburg|Rosa Luxemburg]]|link=[[:Category:Library works by Rosa Luxemburg]]}}
| |
| {{Library card mini|image=Rosa_Luxemburg_colorised.jpeg|text=Library works by [[:Category:Library works by Rosa Luxemburg|Rosa Luxemburg]]|link=[[:Category:Library works by Rosa Luxemburg]]}}
| |
| {{Library card mini|image=Rosa_Luxemburg_colorised.jpeg|text=Library works by [[:Category:Library works by Rosa Luxemburg|Rosa Luxemburg]]|link=[[:Category:Library works by Rosa Luxemburg]]}}
| |
| {{Library card mini|image=Rosa_Luxemburg_colorised.jpeg|text=[[:Category:Library works by Rosa Luxemburg|Rosa Luxemburg]]|link=[[:Category:Library works by Rosa Luxemburg]]|name=Rosa Luxemburg}}
| |
| {{Library card mini|image=Rosa_Luxemburg_colorised.jpeg|text=Library works by [[:Category:Library works by Rosa Luxemburg|Rosa Luxemburg]]|link=[[:Category:Library works by Rosa Luxemburg]]}}
| |
| {{Library card mini|image=Rosa_Luxemburg_colorised.jpeg|text=[[:Category:Library works by Rosa Luxemburg|Rosa Luxemburg]]|link=[[:Category:Library works by Rosa Luxemburg]]}}
| |
| {{Library card mini|image=Rosa_Luxemburg_colorised.jpeg|text=How many Let's find out, shall we? We|link=[[:Category:Library works by Rosa Luxemburg]]}}
| |
| {{Library card mini|image=Rosa_Luxemburg_colorised.jpeg|text=Library works by [[:Category:Library works by Rosa Luxemburg|Rosa Luxemburg]]|link=[[:Category:Library works by Rosa Luxemburg]]}}
| |
| </div>
| |
|
| |
|
| = Donate to ProleWiki = | | = Donate to ProleWiki = |
Line 117: |
Line 28: |
| {{Donate platform|logo=PayPal Logo Icon 2014.svg|alt=Paypal logo|text=Redbubble store|link=https://en.prolewiki.org|subtitle=Coming soon!}} | | {{Donate platform|logo=PayPal Logo Icon 2014.svg|alt=Paypal logo|text=Redbubble store|link=https://en.prolewiki.org|subtitle=Coming soon!}} |
| </div> | | </div> |
|
| |
| == Terms of sending donations ==
| |
| Donations made to ProleWiki are normally not tax deductible -- check if they can be in your legislature.
| |
|
| |
| Any donations sent to ProleWiki are subject to the platform's Terms of Service that the donation was made on.
| |
|
| |
| Additionally, ProleWiki does not normally refund donations once received. However, if a donation was mistakenly entered in good faith, please contact us as soon as possible.
| |
|
| |
| When making a donation to ProleWiki, you agree that it is your responsibility to make sure the funds were not obtained in an unlawful manner. The recipient of the funds denies all responsibility in regards to the provenance or nature of such donations.
| |
|
| |
| By sending any amount of money through the various methods listed below, you agree to the above terms.
| |
|
| |
| == Democratic intent on the excess ==
| |
| If you contribute to ProleWiki, you can join our [https://discord.gg/ZQTBNRU9v5 Discord] and democratically decide on how we spend our funds. You will be able to get the contributor role which gives you access to a specific channel without having to go through vetting.
| |
|
| |
| Please do note that receiving the contributor role does not make one immune to rule violations.
| |
|
| |
| Our current strategy is to hold 2 years worth of hosting (currently 432 USD) in a bank account expressly created for ProleWiki. Any excess pas that amount can be discussed and voted on as for what to do with it.
| |