If you're interested in becoming a contributor or requesting changes then click here to join the discord

Difference between revisions of "Editor Guide"

From Brain Computer Interface Wiki
Jump to navigation Jump to search
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
Here's some useful info for contributing to the wiki.
+
Here's some info for contributing to the wiki.
 
==Accounts==
 
==Accounts==
 
Please ask on discord or email landon@bciwiki.org for an editor account, @bciwiki.org inbox setup, or discord roles.
 
Please ask on discord or email landon@bciwiki.org for an editor account, @bciwiki.org inbox setup, or discord roles.
 
==MediaWiki Editing==
 
==MediaWiki Editing==
 +
*[https://www.mediawiki.org/wiki/Help:Contents MediaWiki Help Pages]
 
*[https://www.mediawiki.org/wiki/Help:Formatting Text Formatting]
 
*[https://www.mediawiki.org/wiki/Help:Formatting Text Formatting]
 
*[https://www.mediawiki.org/wiki/Help:Tables Table Formatting]
 
*[https://www.mediawiki.org/wiki/Help:Tables Table Formatting]
 
*[https://www.mediawiki.org/wiki/Help:Links Link Formatting]
 
*[https://www.mediawiki.org/wiki/Help:Links Link Formatting]
*[https://www.mediawiki.org/wiki/Help:Lists List Formatting
+
*[https://www.mediawiki.org/wiki/Help:Lists List Formatting]
 
*[https://www.mediawiki.org/wiki/Help:Images Image Formatting]
 
*[https://www.mediawiki.org/wiki/Help:Images Image Formatting]
 
*[https://www.mediawiki.org/wiki/Extension:YouTube YouTube Video Embedding]
 
*[https://www.mediawiki.org/wiki/Extension:YouTube YouTube Video Embedding]
 
==Data Entry==
 
==Data Entry==
 
Below are some tips for standardizing the layout of pages.
 
Below are some tips for standardizing the layout of pages.
#Any text copied from another source should be encapsulated in quotes.
+
===Any text copied from another source should be encapsulated in quotes===
[[File:Quotes_around_copied_text.png|Quotes around copied text highlighted inside an editor source page]]
+
[[File:Quotes_around_copied_text.png]]
 
+
===Category assignments should always be at the top of the page content===
==Scripts==
+
[[File:Category assignments.png]]
 +
===External links should always be at the bottom of the page content===
 +
*Website, Crunchbase, and LinkedIn links should be listed first for organizations
 +
[[File:External links.png]]
 +
===Internal link sections should come before external links===
 +
*Internal links (related organizations, software, hardware, etc.) can also be included in description text.
 +
[[File:Software devtools hardware links.png]]
 +
[[File:Org links.png]]
 +
===Preferred Image format===
 +
*<nowiki>[[File:imagename.png|thumb|Image Caption Text]]</nowiki>
 +
[[File:Image format.png]]
 +
==Automation==
 +
*[https://github.com/lan-party/MediaWiki-Scripts MediaWiki Scripts Repo]
 +
*[https://github.com/lan-party/BCI-Infographic-Generator BCI Infographic Generator Repo]
 +
===How to get wiki, edit, and session tokens from chrome/firefox===
 +
#After logging in to your contributor account, begin editing any page
 +
#Click the F12 key to open developer tools and navigate to the "Network" section
 +
#Ensure "All" is selected on the request filters then clear the log
 +
#Save the page then look in the network log for the first POST request with a url ending in &action=submit
 +
#Select the request and navigate to the "cookies" tab on the right then copy the session and wiki tokens into whatever tool you're using
 +
#Next navigate to the "Request" (firefox) or "Payload" (chrome) tab and copy the edit token
 
==Email==
 
==Email==
 +
*[https://mail.hostinger.com Email Portal]
 +
*[https://www.hostinger.com/tutorials/email/how-to-set-up-gmail-for-your-own-domain How to send/receive bciwiki emails with gmail]

Latest revision as of 20:40, 21 January 2023

Here's some info for contributing to the wiki.

Accounts

Please ask on discord or email landon@bciwiki.org for an editor account, @bciwiki.org inbox setup, or discord roles.

MediaWiki Editing

Data Entry

Below are some tips for standardizing the layout of pages.

Any text copied from another source should be encapsulated in quotes

Quotes around copied text.png

Category assignments should always be at the top of the page content

Category assignments.png

External links should always be at the bottom of the page content

  • Website, Crunchbase, and LinkedIn links should be listed first for organizations

External links.png

Internal link sections should come before external links

  • Internal links (related organizations, software, hardware, etc.) can also be included in description text.

Software devtools hardware links.png Org links.png

Preferred Image format

  • [[File:imagename.png|thumb|Image Caption Text]]

Image format.png

Automation

How to get wiki, edit, and session tokens from chrome/firefox

  1. After logging in to your contributor account, begin editing any page
  2. Click the F12 key to open developer tools and navigate to the "Network" section
  3. Ensure "All" is selected on the request filters then clear the log
  4. Save the page then look in the network log for the first POST request with a url ending in &action=submit
  5. Select the request and navigate to the "cookies" tab on the right then copy the session and wiki tokens into whatever tool you're using
  6. Next navigate to the "Request" (firefox) or "Payload" (chrome) tab and copy the edit token

Email