To Do Items

  • how do I make the home page a table of contents, category list?
  • how do I get the search box to work?
  • how do I embed teachertube videos in my wiki?
  • how do I enter a Math formula, seems the easiest is Microsoft Word - export math equation. Design Science - makers of MathType doesn't work with IE10 or 11
  • how do you get a list of all users on a wiki?


Amazon AWS

Logo and Favicon


Semantic Bundle

  • Procedure to install
  1. Download Semantic Bundle
  2. Go Daddy File Manager, upload zip file ( to /home/jefferyjensen/public_html/
  3. the extract using Go Daddy File Manager (/public_html/
    1. Maps
    2. Validator
    3. Widgets
    4. Arrays
    1. copy require_once lines of code
    2. require_once( “$IP/extensions/SemanticBundle/SemanticBundleSettings.php” );
    3. require_once( “$IP/extensions/SemanticBundle/SemanticBundle.php” );
  4. open and login with fullname NormalOne as admin login
  5. then click on <b>Initialize or upgrade tables</b> button
  6. edit SemanticBundleSettings.php and uncomment Widgets lines (require_once and wgGroupPermissions)
    1. Figure 1-0 GoDaddy Change Permissions Widgets Folder
  7. visit select Widgets from the drop down
    1. Figure 1-0 YouTube widget code page on

Collection Extension - PediaPress

  1. upload to wwwjefferyjjensen.commediawikiextensions
  2. use to unzip and extract
  3. rename folder wikimedia-mediawiki-extensions-Collection-bf7c4b9 to Collection

<syntaxhighlight lang=“php”>

  1. export wiki to PDF, ODF and DocBook XML

require_once( “$IP/extensions/Collection/Collection.php” ); </syntaxhighlight>



  • create folder mediawiki/extensions/Cite
  • Download Cite extension and unzip in the mediawiki/extensions/Cite folder
  • unzip wikimedia-mediawiki-extensions-Cite-e688aad.tar.gz
  • rename folder to Cite
  • edit and add the following

<syntaxhighlight lang=“php”>

require_once( “$IP/extensions/Cite/Cite.php” ); </syntaxhighlight>




Category Tree


<syntaxhighlight lang=“php”> wikimedia-mediawiki-extensions-SyntaxHighlight_GeSHi-7fa4488 to SyntaxHighlight_GeSHi </syntaxhighlight>

  • Step 5. edit LocalSettings.php, add the following at the end of the file

<syntaxhighlight lang=“html4strict” highlight=“4” enclose=“div”>

  1. unzip in extensions folder, creates subfolder geshi, need to rename

require_once “$IP/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php”; </syntaxhighlight>

  • Step 6. Edit a wiki page. Enclose code in <syntaxhighlight> tags

<code> <syntaxhighlight lang=“html4strict” line start=“100” highlight=“5” enclose=“div”> HTML module goes here… </syntaxhighlight> <\/code>



<syntaxhighlight lang=“php”> url= |width=640 |height=360 </syntaxhighlight>


  • Installation
    • login to control panel and create a directory <b>GeoGebra</b> in the <b>extensions</b> folder
    • upload Wikimedia-mediawiki-extensions-GeoGebra-4371f58.tar.gz to above directory
    • unzip in the same folder, will create a sub-directory Wikimedia-mediawiki-extensions-GeoGebra-4371f58
    • move all files from sub-directory Wikimedia-mediawiki-extensions-GeoGebra-4371f58 into the parent directory <b>GeoGebra</b>
    • edit LocalSettings.php and add the following code

<syntaxhighlight lang=“php”>

require_once( “$IP/extensions/GeoGebra/GeoGebra.php” ); </syntaxhighlight>



<syntaxhighlight lang=“php”> <script type=“text/javascript”

require_once( “$IP/extensions/MathJax/MathJax.php” ); </script> </syntaxhighlight>

  • Step 3 - type some math markup in a wiki page

<syntaxhighlight lang=“php”> <script type=“text/javascript”


</script> </syntaxhighlight>

  • Step 2 - add math markup language to webpage. Hopefully can just type the equation in Microsoft Word Equation Editor and then copy the MathML and paste in the webpage

<syntaxhighlight lang=“php”> <math xmlns=“”>

<mo>+</mo> <mi>b</mi><mi>x</mi>
<mo>+</mo> <mi>c</mi> <mo>=</mo> <mn>0</mn>

</math> </syntaxhighlight>


Google Analytics


Short URL


  • Level 1 - Grandparent Category
    • Main
    • Main Page
  • Level 2 - Parent Category
    • Autodesk Inventor
  • Level 3 - Child Category
    • Machine Vise, Cams, Gears, Geneva Wheel
  • “Categories are MediaWiki's basic method of organizing information. On wikis that don't use Semantic MediaWiki, categories are really the only way to tag information about pages. Categories, for that reason, have been used in a large variety of ways - you only have to look at the explosion of categories on Wikipedia to see that. On the English-language Wikipedia, there are at least 6 ways in which categories get used:
  1. to establish the basic type of page's subject, e.g. 'Space Shuttles'
  2. to define further characteristics of a page's subject, e.g. 'Italian generals'
  3. to note a larger topic to which this page's subject relates, e.g. 'Theosophy'
  4. to tag temporary information about the page itself, e.g. 'Proposed deletion as of September 20, 2012'
  5. to serve as a container super-category for other categories, e.g. 'Symphonies by composer'
  6. to tag pages other than regular pages or categories, e.g. 'Animal templates'
  • There are better ways of tagging much of this information, which take less work and lead to less redundancy. In fact, Semantic MediaWiki, which we'll get to in later chapters, was first thought up in part in order to remove the need for the profusion of categories on Wikipedia. Still, even with Semantic MediaWiki, categories play an important role.” (Working with MediaWiki by Yaron Koren, p. 43-4)
  • Step 1. Adding a page to a category Edit LocalSettings.php to include the following:

<syntaxhighlight lang=“php”>

  1. Category Browser breadcrumb-style

$wgUseCategoryBrowser = true; </syntaxhighlight>

  • Step 2. Check if the proposed name category already exists, visit
  • Step 3a. create the parent category (e.g. Autodesk Inventor)
    • Part A. Edit the wiki page you want to be included in the proposed category (e.g. Edit the Main Page)
    • Part B. Add the following to the bottom of the wiki page, then click the <b>Save page</b> button

<syntaxhighlight lang=“php”> Inventor </syntaxhighlight>

  • Part C. Click the newly created category link at the bottom of the saved wiki page
  • Part D option 1. Will get a new page 'Creating Category:Machine Vise' then type

<syntaxhighlight lang=“php”> Vise </syntaxhighlight> In the edit portion of the page, will see the formatting buttons like Bold, Italic, Underline, etc. in the upper right corner of the editing portion of the page.

  • Part D option 2. If the page already exists, will see Category:Autodesk Inventor heading. Below that will see another heading, <b>Pages in category “Autodesk Inventor”</b>
  • Step 3b. create the child category (e.g. Geneva Wheel)
  • Part A. Edit the parent wiki page you want to be included in the proposed category (e.g. Edit Inventor
  • Part B. Add the following to the bottom of the wiki page, then click the <b>Save page</b> button

<syntaxhighlight lang=“php”> Wheel </syntaxhighlight>

  • Part C. Click the newly created category link at the bottom of the saved wiki page Wheel
  • Part D option 1. Will get a new page 'Creating Category:Geneva Wheel' then type

<syntaxhighlight lang=“php”> Wheel </syntaxhighlight>

  • Step 4. assign a category to a page
    • Part A. visit the child page, say Vise and edit the page. At the bottom add the following:

<syntaxhighlight lang=“php”> Inventor </syntaxhighlight>

  • Part B. save the page. Then click the Autodesk Inventor category link at the bottom of the page. Should see that Vise is now listed as a child category of the Inventor parent page.
  • “To assign a category to a page, simply add the link Category:Category name enclosed in square brackets to the page's wikitext. The usual place to add it is at the bottom of the page.”

<syntaxhighlight lang=“php”>

Sort of Warcraft:Class Guides of Magic:Class Guides </syntaxhighlight>

  • Question: How do you make a category reference to the Main Page?
  • Recommend using Categories instead of subpages


  • “You can embed pages within other pages - if, for instance, you have a lot of content whose editing you want to break up into multiple pages but still display together. If you have a page like 'History of chairs' that you want to embed in a page called 'Chairs', you can do that with the following wikitext:

<syntaxhighlight lang=“php”> history_of_chairs </syntaxhighlight> For pages in namespaces other than the main one, you simply put the entire page name in curly brackets, like: <syntaxhighlight lang=“php”> how_to_get_started </syntaxhighlight> Such embedding is also called 'transclusion'. The most important use of such transclusion is to include templates, which, unlike other page types, can take in variables when they're called. Templates are covered later in this chapter. Within transcluded pages, one can add the markup tags <noinclude>, <includeonly> and <onlyinclude>, all of which affect what shows up when the page is both viewed on its own, and transcluded elsewhere. These three tags are all covered in the section on templates.” (Working with MediaWiki by Yaron Koren, p. 29-30)



  • “Subpages are a handy way to break up a single page into multiple pages, if it gets too big or unwieldy. A subpage is simply a page whose name takes the form “main page name/additional text”, where “main page name” already exists. So if you have a page about the company Ace Motors, and it contains a long section about company's history, you could spin off that section into its own page, named “Ace Motors/History”, and link to it from the “Ace Motors” page.” (Working with Mediawiki by Yaron Koren, p. 52)
  • “Of course, you could also call the page 'History of Ace Motors', which is how it would be done on Wikipedia (Wikipedia doesn't use subpages in its main namespace, though it does use them in other namespaces, like 'Wikipedia:' and 'Template:'). So are subpages just another naming convention? To some extent, yes, although MediaWiki does offer one important feature that makes subpages feel more like they 'belong' to their main page: if you turn on the subpages, any page with a slash in its name will include a small 'breadcrumb' link at the top, pointing back to the 'main' page, i.e., the section before the slash, provided that the main page exists. This small feature goes a long way toward making subpages feel legitimate.” (Working with Mediawiki by Yaron Koren, p. 52-3)
  • “Sub-subpages, and pages further down the hierarchy, are also possible, provided that each page further up in the hierarchy already exists. The 'breadcrumb' link at the top will link to each sub-section of the page name in turn. So you could have a page like “Ace Motors/History/Europe/1900-1950”, and, if subpages are enabled for the main namespace, the top of the page will look like: (Working with Mediawiki by Yaron Koren, p. 52-3)

Enabling subpages

  • “Subpages are enabled through the global variable $wgNamespacesWithSubpages, which by default is empty. If you want to have subpages, say, the main namespace and the template namespace, you could add the following to LocalSettings.php:

<syntaxhighlight lang=“php”> $wgNamespacesWithSubpages = array( NS_MAIN, NS_TEMPLATE ); </syntaxhighlight>

Conversely, if you wanted every namespace to have subpages, you would be best off calling array_fill(), like the following:

<syntaxhighlight lang=“php”> $wgnamespacesWithSubpages = array_fill( 0, 200, true ); </syntaxhighlight>

(In this case, 200 is an arbitrarily high number, with the assumption that there are no namespaces on this wiki with an ID greater than 200).” (Working with Mediawiki by Yaron Koren, p. 53)


  • “A wiki doesn't usually consist of text alone, and often it's helpful to embed outside media into the pages. MediaWiki itself doesn't allow for embedding HTML and JavaScript within pages, though, which means that audio and video players, and other content like RSS viewers, can't be added by default into MediaWiki. To get around this problem, a staggering array of extensions have been created, tasked with embedding specific players and widgets. Of the around 1,000 extensions listed on, 44 are in the 'Video player extensions' category; and around 12 exist for YoutTube alone. Each one embeds into the wiki page some variation of the required HTML and JavaScript. The need for all of these ended, however, in 2008, when the Widgets extension was released.” (Working with MediaWiki by Yaron Koren, p. 263)


Animated GIFs


  • Basic wiki formatting text

<syntaxhighlight lang=“php”> Example Adds wiki page to category 'example' thumb|Text image thumbnail –~~~~ signature with timestamp </syntaxhighlight>


<ul> <li>Reference</li> <ul>

<li>[[|MediaWiki Help:Formatting]]</li>

</ul> </ul>

MediaWiki Help:Links

MediaWiki and Moodle

MediaWiki Support desk

MediaWiki People

recommend using Amazon Web Service or to host mediawiki sites


<references />

Jjensen (talk) 21:01, 9 March 2014 (PDT) Software Applications:MediaWiki MediaWiki notes by Jeff Jensen


Civil Engineering Engineering - Computer Engineering - Electrical Mechanical Engineering

QR Code
QR Code engineer-computer:mediawiki (generated for current page)