mediawiki
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tool:software:mediawiki [2020/08/04 21:46] – [Skins] Added notes on various skins rjt | mediawiki [2024/05/20 20:51] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== MediaWIki ====== | ====== MediaWIki ====== | ||
- | ===== Theming | + | ===== Using ===== |
+ | |||
+ | Notes from a regular user's perspective. | ||
+ | |||
+ | ==== Signature ==== | ||
+ | < | ||
+ | < | ||
+ | |||
+ | ==== See Also ==== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | |||
+ | ===== Running ===== | ||
+ | |||
+ | Note's from an admin' | ||
+ | |||
+ | ==== Setup ==== | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | |||
+ | === Interwiki === | ||
+ | |||
+ | Like [[Dokuwiki]], | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | The easiest way to add links is to use the included Interwiki extension, which requires a little manual setup: Just add these lines to your LocalSettings.php file | ||
+ | |||
+ | <code php> | ||
+ | wfLoadExtension( ' | ||
+ | $wgGroupPermissions[' | ||
+ | </ | ||
+ | |||
+ | If you want to add little icons before/ | ||
+ | |||
+ | === Search === | ||
+ | |||
+ | The default Mediawiki search is pretty shit. Autocomplete doesn' | ||
+ | |||
+ | * https:// | ||
+ | * Wikipedia uses: [[ https:// | ||
+ | * https:// | ||
+ | |||
+ | ==== Templates ==== | ||
+ | |||
+ | Templates are a really useful tool for inserting information on multiple pages. They can be simple---like insert a single word; or complex---like the ' | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | To save people the hassle of having to copy+paste the template text each time, you can add a button to the editor: | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | And include ' | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | === Infobox === | ||
+ | |||
+ | ==== Theming ==== | ||
There are a few different ways to theme MediaWiki. | There are a few different ways to theme MediaWiki. | ||
* The most complex is to create a //skin//. This is the base that determines the appearance of the wiki. | * The most complex is to create a //skin//. This is the base that determines the appearance of the wiki. | ||
* Next is a //theme//. Themes are applied on top of skins, and a theme will rely on a particular skin. They change less, but can still do a lot. | * Next is a //theme//. Themes are applied on top of skins, and a theme will rely on a particular skin. They change less, but can still do a lot. | ||
- | * The other option is to just insert a little bit of custom | + | * The other option is to add CSS rules directly to the page '' |
- | I've made one basic theme for the Game Making Tools Wiki, which works with the [[git>wikimedia/mediawiki-skins-Vector|Vector]] skin, but would like to work on a fresh skin with nice, clear, basic markup | + | My theme for the [[game_making_tools# |
- | ==== Skins ==== | + | My theme for the [[videogame_interface_wiki]] is built on < |
- | Mediawiki skins are way too complicated, I think I've given up on ever creating one. The best option seems to be creating //themes//, which are used to modify //skins//. | + | |
- | Looking for Mediawiki skins is annoying! MediaWiki' | + | === Skins === |
- | === Notes === | + | Mediawiki skins are way too complicated, |
- | With a bias towards finding | + | Just looking for Mediawiki skins is annoying! MediaWiki' |
+ | |||
+ | == Notes == | ||
+ | |||
+ | These notes are from when I was looking for a new skin for [[Game Making Tools]]'s wiki (ended up going with Timeless). Looking for something with a narrower reading area((default skins expand to fill width of the browser window, and are fiddlier than they should be to fix)), produces nice markup, and uses '' | ||
* [[https:// | * [[https:// | ||
Line 24: | Line 94: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
- | == Vetoed | + | Vetoed: |
* [[https:// | * [[https:// | ||
Line 33: | Line 104: | ||
- | === See Also === | + | == See Also == |
* https:// | * https:// | ||
* [[https:// | * [[https:// | ||
- | ===== Extensions | + | === Themes |
+ | |||
+ | The documentation on using themes is terrible: https:// | ||
+ | |||
+ | Here's what you need to do: | ||
+ | |||
+ | In '' | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | In '' | ||
+ | |||
+ | <code json> | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | </ | ||
+ | |||
+ | and in the resourcemodules section: | ||
+ | |||
+ | <code json> | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | The path/file in the ' | ||
+ | |||
+ | When you refer to your skin in these files use lowercase. | ||
+ | |||
+ | ==== Extensions | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
Line 45: | Line 151: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
- | ===== See Also ===== | + | ===== See Also ==== |
* [[https:// | * [[https:// | ||
- | {{tag>wiki theming}} | + | {{tag>external-edit-only |
+ |
mediawiki.txt · Last modified: 2024/05/20 20:51 by 127.0.0.1