Changes

Jump to navigation Jump to search
add short URLs section
require_once "$IP/extensions/MobileFrontend/MobileFrontend.php";
$wgMFAutodetectMobileView = true;
 
== Short URLs (1/27/16) ==
 
The goal is to get the URLs to look like www.mcnaircenter.org/wiki/Page_Title. Mediawiki has [https://www.mediawiki.org/wiki/Manual:Short_URL/Apache a page] for configuring short URLs on Apache.
 
First, enable the mod_rewrite Apache module (if it isn't enabled already). In Apache 2.4.7, this can be done from the command line:
 
$ sudo a2enmod rewrite
 
You can also check that mod_rewrite has been enabled by creating a phpinfo page and looking for mod_rewrite under the apache "Loaded Modules" section as described in [http://stackoverflow.com/a/10891317 this Stack Overflow answer].
== To-do list ==
* Short URLs (goal is to get the URL to look like www.mcnaircenter.org/wiki/Page_Title)
* "infobox" templates (like the ones that Wikipedia has for countries, notable people, etc.) e.g. [https://en.wikipedia.org/w/index.php?title=Jeb_Bush&action=edit the source of the Wikipedia page for Jeb Bush] has a good example
Anonymous user

Navigation menu