Skip to content

hackerdeen/MediaWiki_Skin_57n

Repository files navigation

MediaWiki Skin 57n

This is a MediaWiki skin for the hackspace. It lives in GitHub at https://github.com/hackerdeen/MediaWiki_Skin_57n. The wiki is probably online at https://wiki.57north.org.uk/. There is a wiki page about the wiki at https://wiki.57north.org.uk/index.php/Projects:Wiki. Is it targetted at MediaWiki 1.25 and later. It is based on the example skeleton skin at https://www.mediawiki.org/wiki/Skin:Example .

Installing this skin on a live MediaWiki

  1. Get the code git clone https://github.com/hackerdeen/MediaWiki_Skin_57n.git
  2. Extract the fiftysevennorth directory to the skins directory of your wiki.
  3. Adjust the LocalSettings.php loading the skin like wfLoadSkin( 'fiftysevennorth' );
  4. Adjust the LocalSettings.php setting the default skin like $wgDefaultSkin = "fiftysevennorth";
  5. Adjust the LocalSettings.php setting, the logo like $wgLogo = "$wgResourceBasePath/resources/assets/logo_289x100.png";

Doing development on this skin

  1. Get the code git clone https://github.com/hackerdeen/MediaWiki_Skin_57n.git
  2. Install MediaWiki
  3. Create a symlink to your working copy from the MediaWiki location, like ln -s /home/andy/57north/MediaWiki_Skin_57n/fiftysevennorth /var/www/html/mediawiki/skins
  4. Adjust the LocalSettings.php loading the skin like wfLoadSkin( 'fiftysevennorth' );
  5. Adjust the LocalSettings.php setting the default skin like $wgDefaultSkin = "fiftysevennorth";
  6. Adjust the LocalSettings.php setting, the logo like $wgLogo = "$wgResourceBasePath/resources/assets/logo_289x100.png";

History

Back in maybe 2015, Ian asked Andy about making a MediaWiki skin for the hackspace, Andy said yes, and several years later actually got round to doing it.

Libraries used

  • None yet

Useful links

Git cheatsheet

Clone the repo from github to local...

git clone https://github.com/hackerdeen/MediaWiki_Skin_57n.git ...or... git clone https://github.com/YourGithubUsername/MediaWiki_Skin_57n.git

Add a file...

git add dist/blah.php

Commit...

git commit -m "updates"

Commit...

git commit -a -m "updates"

Send updates to master...

git push -u origin master

Get updates from master...

git fetch origin

git pull