Mediawiki
From ButlerCommonplace
This page contains various bits of text which are useful for making mediawiki work.
[edit] Questions
Before adding a question here check the MediaWiki FAQ. This is another useful FAQ
[edit] Using a template to create content on a new page
http://en.wikipedia.org/wiki/Wikipedia:Template_substitution
[edit] How do you use IF in an infobox template?
http://www.mwusers.com/forums/showthread.php?t=3862&highlight=random
[edit] How do you disable caching so that Mediawiki provides the newest version of a page
Here are indications of how to disable caching on the server side. http://thinkhole.org/wp/2006/09/13/disabling-caching-in-mediawiki/
[edit] How do you change the default (Ugly) URLs to the short form?
- http://www.mwusers.com/forums/showthread.php?t=950&highlight=random
- http://www.mwusers.com/forums/showthread.php?t=950&highlight=random
- http://www.mediawiki.org/wiki/Manual:Short_URL#Shortened_article_path
However, it should be noted that this in not a trivial change (i.e. it involves more than a small change to the mediawiki files) and it has the potential to create bugs and problems. As a result, it doesn't pass my maintainability criteria and has not be applied.
[edit] How do you change the message anonymous uses see when trying (unsuccessfully) to edit a page in a restricted wiki?
On the Special:AllMessages page change the text of whitelistedittext.
[edit] What are article prefixes?
How do you create and define them? (Special:Prefix Index has something to do with it).
[edit] How do you get a site indexed by Google as a "location"?
For example:
Tapped In HomeAn online community of over 2800 K-16 teachers, staff, and researchers engaged in both formal professional development programs and informal collaborative ... www.tappedin.org/ - 9k - Cached - Similar pages - Note this
- About Tapped In - tappedin.org/tappedin/web/about.jsp
- Log In to Tapped In - tappedin.org/tappedin/do/LoginAction
- Tapped In Help: Introduction to ... - tappedin.org/tappedin/web/help/ui.jsp
- More results from www.tappedin.org ยป
[edit] How do you include material from one page in the body of another?
This is called Transclusion]. And there is an extension that allows for more sophisticated forms of this [1].
If you want to include the contents of a list (Special:LinksTo or Categories (or a category) the use the DynamicPageList extention.
[edit] How do you include an image and right align it?
http://meta.wikimedia.org/wiki/Help:Images_and_other_uploaded_files#Image_at_the_right
[edit] Dynamic Page List
Information about working with the Dynamic Page list extension
- Dynamic Page List
- Manual for DPL
- (see Dynamic Article List for an old version)
[edit] Populating the Help namespace
This page provides instructions for copying the contents of the Mediawiki.org Help pages for use in another wiki.
[edit] WYSIWYG Editors
WikiEd - This seems to be a javasript WYSIWYG editor.
[edit] Changing the Mediawiki Monobox Skin
Changes should be made in the Mediawiki:monobook.css - not directly in the monobook.css file (if it can be avoided).
Some ideas and useful hints: http://wikidev.net/MediaWiki_skin_tweaks
Background and some form of documentation:
- http://meta.wikimedia.org/wiki/Customization:Explaining_skins
- http://meta.wikimedia.org/wiki/User_styles
- http://meta.wikimedia.org/wiki/Layout_customization
Key information: The titles for the left hand menus are .portlet h5 (so setting the color of that element changes their color)
[edit] Manipulating and Using Images in Mediawiki
http://en.wikipedia.org/wiki/Wikipedia:Extended_image_syntax
Using images as the basis for a link: http://meta.wikimedia.org/wiki/Help:Navigational_image (This is not clean and easy)
[edit] Installing Mediawiki
Here is a good installation tutorial.
[edit] Getting started
Consult the User's Guide for information on using the wiki software.
[edit] Editing Pages
A tutorial for how to edit a Mediawiki page.
[edit] Extensions
[edit] E-mailing Content
[edit] Random Content
[edit] Image Related
- Photo extension - For working with Galleries of photos
- RandomImage
- Navigational Images
[edit] Other
- XFeed - Including RSS feeds in a Mediawiki page
- RandomInclude - Randomly includes material from a list
- Tag Cloud
- SimplePie - For RSS feeds
- Google Ads
- AttachComment
- AutoLink - For automatically adding links between new documents and a preset collection of pages. (This would be very useful for things like Katz, Butler projects, key topics, etc.)
- Biblio - Bibliography management extension
- Boilerplate - An extention that generates a standard set of material when a new page is created. It seems like this could be modified to facilitate the creation of new pages of particular types (e.g. Profiles, Book descriptions, project descriptions, etc.) with a more standard format. Boilerplate Selection is one attempt to do something like this.
Although it appears to be a built in feature (and not, strictly speaking and extension) EasyTimeline] is a feature set for displying different types of timelines
A patch for restricting access to a particular page (Question: What happens when that page is linked to by other pages?) restrict access.
[edit] Collections of Extensions
[edit] Templates
[edit] Uploading PDF and other File Formats
- http://www.mwusers.com/forums/showthread.php?t=2618&highlight=pdf
- Metawiki page on uploading files - This has the answer for how to set this up.
- Metawiki page on setting up picture based links to files
[edit] Mediawiki API Documentation
http://www.mediawiki.org/wiki/API#Using_API_internally_by_other_code_.28done.29
[edit] Bots - Examples and Documentation
Bot Documentation from Metawiki (This also has links to the tools needed to create Bots and many examples)
In particular, there is code and examples of bots that have been created to create and do simple updating to pages in certain categories - such as cites in the US and cites in other countries. This could be used as the basis for the resource discovery wikis that I would like to create for within Katz and health sciences.
Example Bots that might be useful for administration of a wiki
[edit] Connections between Mediawiki and other media sources
[edit] PubMed
Mediawiki functionality for linking to Pubmed records
[edit] Amazon
[edit] Managing Access
http://meta.wikimedia.org/wiki/Help:User_rights#Available_rights http://www.mediawiki.org/wiki/Preventing_Access Group Permissions Documentation Example of Usergroup Permissions
[edit] Creating and Managing Namespaces
http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces
[edit] Interwiki Links
mw:Help:Interwiki linking mw:Help:Contents
[edit] Color Names and Codes
http://qed.princeton.edu/index.php/MediaWiki:Color_Names
[edit] Customizations
- Mediawiki:Mainpage - Redirecting the mainpage to a page with a meaningful name
- Mediawiki:monobook.css - Altering the color scheme
- monobook.css file - Addition of defintions needed for the Infobox template
- Localsettings.php
- Extensions added
- Editing/Page Creation restricted
