Prototyping 2020.01.13: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
m (Text replacement - "<code>" to "<nowiki>")
Line 96: Line 96:
* [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 <code>superwiki</code>   
* change the name on the resulting mw directory, for instance <nowiki>superwiki</code>   
* in the browser go to <code>IP.of.server/superwiki</code> for browser based installer
* in the browser go to <nowiki>IP.of.server/superwiki</code> for browser based installer
* install extensions:
* install extensions:
** wikieditor
** wikieditor
Line 118: Line 118:


=Mediawiki work groups=
=Mediawiki work groups=
'''Each work group should document its changes and process in the <code>[[Help:]]</code> pages of the itchwiki'''
'''Each work group should document its changes and process in the <nowiki>[[Help:]]</code> pages of the itchwiki'''


<code>[[Special:SpecialPages]]</code> and <code>Special:AdminLinks</code> is a good place to look on the wiki for pages that help with Media, Admin, Navigation
<nowiki>[[Special:SpecialPages]]</code> and <nowiki>Special:AdminLinks</code> is a good place to look on the wiki for pages that help with Media, Admin, Navigation


==Group: Media==
==Group: Media==
Line 132: Line 132:


Wiki pages:
Wiki pages:
* <code>[[Special:NewFiles]]</code>
* <nowiki>[[Special:NewFiles]]</code>
* <code>[[Special:ListFiles]]</code>
* <nowiki>[[Special:ListFiles]]</code>
* <code>[[Special:MediaStatistics]]</code>
* <nowiki>[[Special:MediaStatistics]]</code>


Mediawiki documentation:  https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads
Mediawiki documentation:  https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads


itch documentation page <code>[[Help:Media]]</code>
itch documentation page <nowiki>[[Help:Media]]</code>


==Group: Admin==
==Group: Admin==
Line 148: Line 148:


Wiki pages:  
Wiki pages:  
* <code>[[Special:AdminLinks]]</code>
* <nowiki>[[Special:AdminLinks]]</code>
* <code>[[Special:UserRights]]</code>
* <nowiki>[[Special:UserRights]]</code>


Mediawiki documentation: https://www.mediawiki.org/wiki/Manual:System_administration#Setting_administrative_rights
Mediawiki documentation: https://www.mediawiki.org/wiki/Manual:System_administration#Setting_administrative_rights


itch documentation page <code>[[Help:Administration]]</code>
itch documentation page <nowiki>[[Help:Administration]]</code>
==Group: Navigation==
==Group: Navigation==
This groups should be responsible for:
This groups should be responsible for:
* ensuring important pages of wiki have links in sidebar and main page
* ensuring important pages of wiki have links in sidebar and main page
* transclude special pages such as <code>{{Special:NewFiles}}</code> to main page
* transclude special pages such as <nowiki>{{Special:NewFiles}}</code> to main page
* if wished change the CSS in <code>[[MediaWiki:Common.css]]</code>
* if wished change the CSS in <nowiki>[[MediaWiki:Common.css]]</code>


Wiki pages:  
Wiki pages:  
* <code>[[MediaWiki:Sidebar]]</code>
* <nowiki>[[MediaWiki:Sidebar]]</code>
* <code>[[Main_Page]]</code>
* <nowiki>[[Main_Page]]</code>


Mediawiki documentation: https://www.mediawiki.org/wiki/Manual:Interface/Sidebar
Mediawiki documentation: https://www.mediawiki.org/wiki/Manual:Interface/Sidebar


itch documentation page <code>[[Help:Navigation]]</code>
itch documentation page <nowiki>[[Help:Navigation]]</code>

Revision as of 10:27, 13 January 2020

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

Pg 0005.jpg

Mondotheque A Radiated Book Un livre irradiant Een irradierend boek.png


PZI Graduation website

Catalog - result of wiki to print

Natasha Berting: Warnet

Screen Shot 2019-06-05 at 17.52.22.png Screen Shot 2019-06-05 at 17.57.59.png

dynamic

Renee Turner: Warp Weft Memory

The Warp and Weft of Memory-1.jpg

Femke Snelting & Michael Murtaugh: Tonnelstof

ToneelstofMooiBoogCrop-512x203.png

Pages on Wiki based Publishing



Access to sandbox Pi


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 <nowiki>superwiki
  • in the browser go to <nowiki>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


Mediawiki work groups

Each work group should document its changes and process in the <nowiki>[[Help:]] pages of the itchwiki

<nowiki>Special:SpecialPages and <nowiki>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:

Mediawiki documentation: https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads

itch documentation page <nowiki>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:

Mediawiki documentation: https://www.mediawiki.org/wiki/Manual:System_administration#Setting_administrative_rights

itch documentation page <nowiki>Help:Administration

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>
  • Screenshot 2024-06-11 at 21.05.00.png Luni
    21:05, 11 June 2024
    1,489 × 836; 3.02 MB

  • Elevator.png Thijshijsijsjss
    16:45, 11 June 2024
    800 × 800; 450 KB

  • Mama gerts allewway.jpg Thijshijsijsjss
    16:45, 11 June 2024
    798 × 568; 88 KB

  • Name grabbelen.jpg Thijshijsijsjss
    16:42, 11 June 2024
    2,048 × 1,536; 316 KB

  • Roffa6 audio.mp3 Mxrwho
    14:04, 11 June 2024

    540 KB
  • Roffa1.jpg Mxrwho
    14:02, 11 June 2024
    1,536 × 1,902; 819 KB

  • Roffa2.jpg Mxrwho
    14:01, 11 June 2024
    1,536 × 1,899; 503 KB

  • Roffa3.jpg Mxrwho
    14:01, 11 June 2024
    1,536 × 1,902; 661 KB

  • Roffa4.jpg Mxrwho
    14:00, 11 June 2024
    1,536 × 1,899; 301 KB

  • Roffa5.jpg Mxrwho
    13:59, 11 June 2024
    1,524 × 1,902; 890 KB

  • Roffa6.jpg Mxrwho
    13:59, 11 June 2024
    2,040 × 1,390; 727 KB

  • Bubble-punch-4.jpg Chae0
    17:49, 10 June 2024
    1,122 × 2,362; 618 KB

  • Xpub2 graduation mockup.jpg Thijshijsijsjss
    14:22, 10 June 2024
    4,608 × 3,456; 3.94 MB

  • HappyRemoter.jpg Wang ziheng
    10:46, 10 June 2024
    1,500 × 1,500; 995 KB

  • DREAM WEAVER 55555.jpg Taaaaaaaaeto
    09:39, 10 June 2024
    3,840 × 2,160; 3.23 MB

  • SANFUN555.png Taaaaaaaaeto
    09:36, 10 June 2024
    3,344 × 1,870; 8.73 MB

  • MD.jpg Michel W
    22:38, 9 June 2024
    1,920 × 1,080; 2.35 MB

  • 1717938473729.jpg Wang ziheng
    15:11, 9 June 2024
    4,000 × 2,527; 5.3 MB

  • WhatsApp Image 2024-06-06 at 21.48.15 1b35e596.jpg Lor.ensō
    14:36, 7 June 2024
    2,016 × 1,512; 668 KB

  • WhatsApp Image 2024-06-06 at 21.48.14 84d83e91.jpg Lor.ensō
    14:36, 7 June 2024
    2,016 × 1,512; 572 KB

  • WhatsApp Image 2024-06-07 at 14.30.58 c89a7042.jpg Lor.ensō
    14:36, 7 June 2024
    1,726 × 1,220; 233 KB

  • WhatsApp Image 2024-06-06 at 21.48.15 a40eeec4.jpg Lor.ensō
    14:36, 7 June 2024
    2,016 × 1,512; 539 KB

  • WhatsApp Image 2024-06-06 at 21.48.15 046ea3db.jpg Lor.ensō
    14:36, 7 June 2024
    2,016 × 1,512; 706 KB

  • Fency 1.jpg Lor.ensō
    14:35, 7 June 2024
    2,016 × 1,512; 706 KB

  • Pasted image 20240606130223.png Lor.ensō
    13:43, 6 June 2024
    2,560 × 1,440; 5 MB

  • Pasted image 20240606134032.png Lor.ensō
    13:43, 6 June 2024
    2,560 × 1,440; 4.66 MB

  • Pasted image 20240606130844.png Lor.ensō
    13:43, 6 June 2024
    2,560 × 1,440; 3.05 MB

  • Pasted image 20240606130533.png Lor.ensō
    13:42, 6 June 2024
    2,560 × 1,440; 3.06 MB

  • Pasted image 20240606130822.png Lor.ensō
    13:42, 6 June 2024
    2,560 × 1,440; 2.65 MB

  • Evangelist-credits.png Ssstephen
    12:48, 6 June 2024
    2,560 × 1,440; 420 KB

  • Insufficient-permissions.png Ssstephen
    12:39, 6 June 2024
    2,560 × 1,440; 527 KB

  • Add-folder-to-workspace.png Ssstephen
    12:32, 6 June 2024
    2,560 × 1,440; 252 KB

  • Hdsc-diwo.jpg Chae0
    17:22, 5 June 2024
    1,124 × 803; 329 KB

  • Hdsc set-up.jpg Chae0
    17:21, 5 June 2024
    1,124 × 803; 324 KB

  • Screenshot 2024-06-05 at 13.44.03.png Wang ziheng
    13:44, 5 June 2024
    1,182 × 1,416; 2.22 MB

  • Screenshot 2024-06-05 at 11.39.15.png Mania
    11:40, 5 June 2024
    1,876 × 1,214; 2.08 MB

  • Possible script 1.png Anita!
    11:25, 5 June 2024
    842 × 596; 18 KB

  • Possible spread.png Anita!
    11:25, 5 June 2024
    843 × 596; 20 KB

  • Ezgif.com-video-to-gif-converter.gif Rodolfovferro
    18:17, 4 June 2024
    600 × 600; 2.63 MB

  • NS NUDGE.jpg Lor.ensō
    11:28, 3 June 2024
    921 × 2,048; 149 KB

  • WhatsApp Image 2024-06-03 at 10.20.21 7aa9f990.jpg Lor.ensō
    10:23, 3 June 2024
    2,016 × 1,512; 472 KB

  • WhatsApp Image 2024-06-03 at 10.20.21 36072c70.jpg Lor.ensō
    10:23, 3 June 2024
    1,512 × 2,016; 498 KB

  • WhatsApp Image 2024-06-03 at 10.20.20 fa6bc942.jpg Lor.ensō
    10:23, 3 June 2024
    2,016 × 1,512; 371 KB

  • WhatsApp Image 2024-06-03 at 10.20.20 5aee3e1c.jpg Lor.ensō
    10:23, 3 June 2024
    2,016 × 1,512; 514 KB

  • WhatsApp Image 2024-06-03 at 10.20.20 38d7c2ca.jpg Lor.ensō
    10:23, 3 June 2024
    2,016 × 1,512; 367 KB

  • WhatsApp Image 2024-06-03 at 10.20.20 0cbb1498.jpg Lor.ensō
    10:23, 3 June 2024
    2,016 × 1,512; 588 KB

  • 1753197619535.png Wang ziheng
    20:33, 2 June 2024
    1,292 × 685; 170 KB

  • 1717350410901.jpg Wang ziheng
    19:47, 2 June 2024
    1,200 × 1,600; 257 KB

  • 1717349986978.jpg Wang ziheng
    19:41, 2 June 2024
    4,000 × 3,000; 3.09 MB

  • 1717349964661.jpg Wang ziheng
    19:41, 2 June 2024
    3,000 × 4,000; 3.35 MB

  • to main page

    Wiki pages:

    Mediawiki documentation: https://www.mediawiki.org/wiki/Manual:Interface/Sidebar

    itch documentation page <nowiki>Help:Navigation