The front page for all CS wikis is at https://wiki.cs.umd.edu
https://wiki.cs.umd.edu/ < wikiname > /index.php?title=Special:Userlogin&type=signupYou must have been granted the privilege to create new accounts for this to work for you
You can also go directly to the URL using this template:
https://wiki.cs.umd.edu/gradwiki/index.php?title=Special:UserrightsEnter the username whose rights you wish to change, then use the interface to modify their group membership. If you need a group changed or added, you will need to contact an administrator with shell access to the wiki's configuration file.
Only Bureaucrats may change user permissions and groups
Click here to go to the mediawiki documentation
To use kerberos authentication, you must have an administrator create an .htaccess file in the wiki directory. Let them know the CS usernames of the people who should have access to the wiki.
Note that it is not possible to use kerberos access control and also allow anonymous users to view the wiki.
If you use kerberos authentication, you may still want to create a login for yourself using the wiki's internal login system. This will allow you to set a variety of personal preferences that will likely improve your wiki-ing experience.
See also the mediawiki documentation on the navigation bar.
Please follow the links and read the mediawiki documentation -- it includes guidelines for IDs to use and other valuable information.
First, Create a new custom namespace
Add a line like this to LocalSettings.php:
# Add custom namespaces $wgExtraNamespaces = array(100 => "Outliers", 101 => "Outliers_Talk");
Second, modify includes/Title.php to handle a new user right. Change this:
if( $wgUser->isAllowed('read') ) {
return true;
} else {
global $wgWhitelistRead;
To this:
if( $this->getNamespace() == 100 ) {
return $wgUser->isAllowed('read_outliers');
}
if( $wgUser->isAllowed('read') ) {
return true;
} else {
global $wgWhitelistRead;
This new user right read_outliers will permit or deny users to access the new
namespace. Note that the numerical IDs supplied in both sections match. This is the ID
number of the namespace.
Finally, define a group with the read_outliers permission. Add a line like this to LocalSettings.php:
## Create group with outlier read permissions $wgGroupPermissions['outliers' ]['read_outliers'] = true;...now Bureaucrats can add users to the outliers group to allow them to access pages in the Outliers namespace. Pages in the Outliers namespace must all be prefixed with Outliers:. e.g., [Our Stuff] is in the Main namespace, but [Outliers:Our Stuff] is in the Outliers namespace and will be subject to the access controls we've just added.
The instructions below describe creating a wiki manually. You should
use the createwiki script, mcfeely:/export/home/bplecs/createwiki
ssh mcfeelyNow go to https://wiki.cs.umd.edu/ < wikiname > /config and fill out the form...
cd /export/data/www/wikiws
cp -pr protowiki < wikiname>
cd < wikiname > chmod 777 config
Database name: mediawikidb
database user: mediawikiuser
database password:
prefix:
cp -p LocalSettings.php ..Mediawiki access restriction docs
chmod 000 config
$wgEmailAuthentication = true;
$wgEmailConfirmToEdit = true;
$wgGroupPermissions['*']['edit'] = false;Line 3 removes the link to the talk page (aka discussion page) in the header for non-logged in users.
$wgGroupPermissions['user']['edit'] = true;
$wgShowIPinHeader = false; # For non-logged in users
$wgWhitelistRead = array( "Main Page", "Special:Userlogin", "-", "MediaWiki:Monobook.css" );Modify the contest of the array as necessary to grant access to the pages that you want to be visible.
$wgGroupPermissions['*' ]['read'] = false;
This example only allows anonymous users to view the login page:
$wgGroupPermissions['*']['createaccount'] = false;Mediawiki docs
$wgGroupPermissions['*']['read'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgWhitelistRead = array ("Special:Userlogin");
$wgGroupPermissions['*']['createaccount'] = false;Mediawiki user rights docs
$wgLogo = "$wgStylePath/common/images/umd.gif";The file may be .png, .gif, or .jpg.
The path above defaults to < wikihome > /skins/common/images/umd.gif.
$wgEnableUploads = true;Also make sure that the wiki uploads directory (WIKIHOME/images) is writeable by the web server process. To enable file types other than images, add this line:
$wgFileExtensions = array( 'jar', 'java', 'zip', 'gzip', 'gz', 'doc', 'pdf' );Note: This line replaces the list of accepted file extensions. Be sure to include the preexisting image file types if you want them as well.
Make sure you've built texvc. cd to WIKIHOME/math and run make.
Create the directory WIKIHOME/images/math and WIKIHOME/images/tmp and ensure that they are writeable by the web server.
Set this variable in the LocalSettings.php file:
$wgUseTeX = true;