Prototyping 2020.01.13: Difference between revisions
Andre Castro (talk | contribs) No edit summary |
Andre Castro (talk | contribs) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''pad https://pad.xpub.nl/p/Prototyping_2020.01.13''' | |||
=Mediawiki as development archive and editorial space= | |||
<pre> | |||
text, images, pdf (audio) | |||
\ DEV | |||
` | |||
` ********** | |||
-> * mediawiki * | |||
********** | |||
\ | |||
`-> site generator | |||
_ _ _ _ _ _ _ _ _ _ _ \_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |||
\ | |||
`-> static website | |||
\ | |||
|`-> access via Tor | |||
RELEASE \ | |||
`-> print publication | |||
</pre> | |||
Line 20: | Line 41: | ||
* Resulting website: https://www.lensbased.nl/ | * Resulting website: https://www.lensbased.nl/ | ||
* Wiki Pages [[Category:Graduation_work]] | * Wiki Pages [[:Category:Graduation_work]] | ||
* [https://git.xpub.nl/acastro/pzimediadesign Wiki to Web scripts] | * [https://git.xpub.nl/acastro/pzimediadesign Wiki to Web scripts] | ||
Line 76: | Line 97: | ||
* [https://www.mediawiki.org/wiki/Download Download MW] .tar.gz folder to the the html/ dir of this machine, usually `/var/www/html` | * [https://www.mediawiki.org/wiki/Download Download MW] .tar.gz folder to the the html/ dir of this machine, usually `/var/www/html` | ||
* untar `tar xfvz mediawiki-1.34.0.tar.gz` | * untar `tar xfvz mediawiki-1.34.0.tar.gz` | ||
* change the name on the resulting mw directory, for instance < | * change the name on the resulting mw directory, for instance <nowiki>superwiki</nowiki> | ||
* in the browser go to < | * in the browser go to <nowiki>IP.of.server/superwiki</nowiki> for browser based installer | ||
* install extensions: | * install extensions: | ||
** wikieditor | ** wikieditor | ||
Line 97: | Line 118: | ||
=Mediawiki work groups= | |||
'''Each work group should document its changes and process in the <nowiki>[[Help:]]</nowiki> pages of the itchwiki''' | |||
<nowiki>[[Special:SpecialPages]]</nowiki> and <nowiki>[[Special:AdminLinks]]</nowiki> is a good place to look on the wiki for pages that help with Media, Admin, Navigation | |||
==Group: Media== | |||
* ensure media files can be uploaded | |||
* ensure media are uploaded to the right location: where external harddisk is mounted | |||
* ensure that the upload size limit is large enough to allow for the largest upload | |||
* outline the information that should be included once media is uploaded | |||
* upload the media from the archive, following the process describe in [[Digital_zines_I:_PDF#Make_a_single_PDF_of_all_the_images]] | |||
** why PDFs instead of single images? | |||
** searchable pdfs | |||
Wiki pages: | |||
* <nowiki>[[Special:NewFiles]]</nowiki> | |||
* <nowiki>[[Special:ListFiles]]</nowiki> | |||
* <nowiki>[[Special:MediaStatistics]]</nowiki> | |||
Mediawiki documentation: https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads | |||
itch documentation page <nowiki>[[Help:Media]]</nowiki> | |||
==Group: Admin== | |||
This groups should be responsible for | |||
* creating account to guests & tutors | |||
** xpub1 + tutors should be given admin rights | |||
* give or revoke rights to users | |||
* keep an eye on active users | |||
Wiki pages: | |||
* <nowiki>[[Special:CreateAccount]]</nowiki> for creating accounts | |||
* <nowiki>[[Special:UserRights]]</nowiki> for giving or revoking users' rights | |||
* <nowiki>[[Special:AdminLinks]]</nowiki> | |||
Mediawiki documentation: https://www.mediawiki.org/wiki/Manual:System_administration#Setting_administrative_rights | |||
itch documentation page <nowiki>[[Help:Administration]]</nowiki> | |||
==Group: Navigation== | |||
This groups should be responsible for: | |||
* ensuring important pages of wiki have links in sidebar and main page | |||
* transclude special pages such as <nowiki>{{Special:NewFiles}}</nowiki> to main page | |||
* if wished change the CSS in <nowiki>[[MediaWiki:Common.css]]</nowiki> | |||
Wiki pages: | |||
* <nowiki>[[MediaWiki:Sidebar]]</nowiki> | |||
* <nowiki>[[Main_Page]]</nowiki> | |||
Mediawiki documentation: https://www.mediawiki.org/wiki/Manual:Interface/Sidebar | |||
itch documentation page <nowiki>[[Help:Navigation]]</nowiki> | |||
Latest revision as of 14:35, 14 January 2020
pad https://pad.xpub.nl/p/Prototyping_2020.01.13
Mediawiki as development archive and editorial space
text, images, pdf (audio) \ DEV ` ` ********** -> * mediawiki * ********** \ `-> site generator _ _ _ _ _ _ _ _ _ _ _ \_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ `-> static website \ |`-> access via Tor RELEASE \ `-> print publication
Projects where MW serves as backed to other reading interfaces
static
Mondotheque / The Radiated Book
PZI Graduation website
- Resulting website: https://www.lensbased.nl/
- Wiki Pages Category:Graduation_work
- Wiki to Web scripts
Natasha Berting: Warnet
- Project wiki: https://hub.xpub.nl/warnet/
- Process documentation: User:Tash/grad_prototyping3
- Wiki to Print: Game Cards
dynamic
Renee Turner: Warp Weft Memory
- Website: http://warpweftmemory.net/#/notes
- Interview https://www.pandemic.space/2018/10/31/the-warp-and-weft-of-memory/
Femke Snelting & Michael Murtaugh: Tonnelstof
Pages on Wiki based Publishing
Access to sandbox Pi
- url: http://hub.xpub.nl/sandbox
- tinc IP: 10.0.0.11
How to SSH to HUB nodes
On the user's personal machine (where the public key was generated) just:
ssh -J xpub.nl:2501 $IP
If for any reason it doesnt work, please send us the output of:
ssh -J xpub.nl:2501 $IP -vvv
~/.ssh/config
Here is a ssh configuration which should allow you to ssh easily from your local machine to one of the Hub nodes
using only:
ssh hub.nodename
By adding to ~/.ssh/config the following configuration, and changing with the correct details:
Host hub.nodename User username Hostname 10.0.0.XXX ProxyJump username@xpub.nl:2501 Identityfile ~/.ssh/id_rsa Serveraliveinterval 30
Where:
- nodename: is the name you would like to give this node of hub.
- XXX: termination if node's IP
- username: your username in the Pi and Xpub server (should be the same)
- ~/.ssh/id_rsa location of the private keys
Mediawiki install:
Follow instructions at https://www.mediawiki.org/wiki/Manual:Installation_guide
Dependencies installed:
- webserver: Apache
- PHP7.3 + necessary extensions
- imagemagick
- MYSQL server
- create db & db user for wiki
Install MediaWiki
- Download MW .tar.gz folder to the the html/ dir of this machine, usually `/var/www/html`
- untar `tar xfvz mediawiki-1.34.0.tar.gz`
- change the name on the resulting mw directory, for instance superwiki
- in the browser go to IP.of.server/superwiki for browser based installer
- install extensions:
- wikieditor
- OATHAuth
Post Installation
- image uploads
- enable images upload to designate location (inside MW directory)
- define formats allowed
- define maximum size of uploads
- in MW LocalSettings.php
- in php.ini
- extensions
Mediawiki work groups
Each work group should document its changes and process in the [[Help:]] pages of the itchwiki
[[Special:SpecialPages]] and [[Special:AdminLinks]] is a good place to look on the wiki for pages that help with Media, Admin, Navigation
Group: Media
- ensure media files can be uploaded
- ensure media are uploaded to the right location: where external harddisk is mounted
- ensure that the upload size limit is large enough to allow for the largest upload
- outline the information that should be included once media is uploaded
- upload the media from the archive, following the process describe in Digital_zines_I:_PDF#Make_a_single_PDF_of_all_the_images
- why PDFs instead of single images?
- searchable pdfs
Wiki pages:
- [[Special:NewFiles]]
- [[Special:ListFiles]]
- [[Special:MediaStatistics]]
Mediawiki documentation: https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads
itch documentation page [[Help:Media]]
Group: Admin
This groups should be responsible for
- creating account to guests & tutors
- xpub1 + tutors should be given admin rights
- give or revoke rights to users
- keep an eye on active users
Wiki pages:
- [[Special:CreateAccount]] for creating accounts
- [[Special:UserRights]] for giving or revoking users' rights
- [[Special:AdminLinks]]
Mediawiki documentation: https://www.mediawiki.org/wiki/Manual:System_administration#Setting_administrative_rights
itch documentation page [[Help:Administration]]
This groups should be responsible for:
- ensuring important pages of wiki have links in sidebar and main page
- transclude special pages such as {{Special:NewFiles}} to main page
- if wished change the CSS in [[MediaWiki:Common.css]]
Wiki pages:
- [[MediaWiki:Sidebar]]
- [[Main_Page]]
Mediawiki documentation: https://www.mediawiki.org/wiki/Manual:Interface/Sidebar
itch documentation page [[Help:Navigation]]