{"id":658,"date":"2021-03-18T14:46:37","date_gmt":"2021-03-18T14:46:37","guid":{"rendered":"http:\/\/sites.grinnell.edu\/support\/?page_id=658"},"modified":"2021-06-30T17:34:51","modified_gmt":"2021-06-30T17:34:51","slug":"mediawiki-community-docs","status":"publish","type":"page","link":"https:\/\/sites.grinnell.edu\/support\/mediawiki-community-docs\/","title":{"rendered":"MediaWiki Community Docs"},"content":{"rendered":"\n<link rel='stylesheet' href='https:\/\/sites.grinnell.edu\/support\/wp-content\/plugins\/documentor\/skins\/default\/style.css' type='text\/css' media='all' \/><div id=\"documentor-5\" class=\"documentor-default documentor-wrap\" data-docid = \"5\" data-epid = \"658\" ><div class=\"documentor-topicons doc-noprint\"><span class=\"doc-topiconswrap\"><span><form method=\"post\" class=\"save_docpdf\"><span class=\"save_secpdf\"> <img loading=\"lazy\" height=\"15\" width=\"15\" src=https:\/\/sites.grinnell.edu\/support\/wp-content\/plugins\/documentor\/skins\/default\/images\/pdf.png > <\/span><input type=\"hidden\" name=\"doc_pdf\" value=\"document_pdf\" \/><input type=\"hidden\" name=\"doc_id\" value=\"5\"><\/form><\/span><\/span><div class=\"cleardiv\"><\/div><div class=\"clrright\"><\/div><\/div><div class=\"document-wrapper\"><div class=\"doc-menu doc-noprint\"><span class=\"doc-search\">\n\t\t\t\t\t<input type=\"text\" name=\"search_document\" class=\"search-document\" placeholder=\"Search\" \/>\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/sites.grinnell.edu\/support\/wp-content\/plugins\/documentor\/skins\/default\/images\/search.png\" \/>\n\t\t\t\t<\/span><div class=\"doc-menurelated\"><ol class=\"doc-list-front\"><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#introduction\"   data-href=\"#introduction\" data-sec-counter=\"1\" data-section-id=\"84\">MediaWiki & Sites.Grinnell<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#mediawiki\"   data-href=\"#mediawiki\" data-sec-counter=\"2\" data-section-id=\"85\">Mediawiki<\/a><\/li><li class=\"doc-actli\"><a class=\"documentor-menu\" href=\"#managing-permissions\"   data-href=\"#managing-permissions\" data-sec-counter=\"3\" data-section-id=\"86\">Managing Permissions<\/a><\/li><\/ol><\/div><\/div><div class=\"doc-sec-container\" id=\"documentor_seccontainer\"><div class=\"doc-sectionwrap\" id=\"introduction_wrap\"><div class=\"documentor-section  section-84\" id=\"introduction\" data-section-id=\"84\"><h3 class=\"doc-sec-title\" > <span class=\"doc-sec-count\" style=\"display:inline-block\">1.<\/span><span class=\"title-text\">Introduction<\/span> <span class=\"doc-sec-link doc-noprint\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/sites.grinnell.edu\/support\/wp-json\/wp\/v2\/pages\/658#introduction')\">#<\/span> <div class=\"documentor-social doc-noprint\"><\/div><\/h3><div class=\"doc-sec-content\" ><p>Welcome to Sites at Grinnell\u2019s guide to MediaWiki! This guide will walk you through how to get started with your new MediaWiki website. Please note: many users receive access to MediaWiki and other Sites at Grinnell applications on the site level, with a username and password that allows you to log into and make changes to your site. If you would like access to and control over your own domain, which allows you more control over your digital presence and the ability to create additional sites and subdomains, DLAC is here to help! Simply email dlac@grinnell.edu to request domain-level cPanel access.<\/p><\/div><div class=\"documentor-help\"><div class=\"negative-feedbackform doc-noprint\">\n\t\t\t\t\t<\/div><div class=\"feedback-msg doc-noprint\"><\/div><\/div><\/div><\/div><!--.\/doc-sectionwrap--><div class=\"doc-sectionwrap\" id=\"mediawiki_wrap\"><div class=\"documentor-section  section-85\" id=\"mediawiki\" data-section-id=\"85\"><h3 class=\"doc-sec-title\" > <span class=\"doc-sec-count\" style=\"display:inline-block\">2.<\/span><span class=\"title-text\">Mediawiki<\/span> <span class=\"doc-sec-link doc-noprint\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/sites.grinnell.edu\/support\/wp-json\/wp\/v2\/pages\/658#mediawiki')\">#<\/span> <div class=\"documentor-social doc-noprint\"><\/div><\/h3><div class=\"doc-sec-content\" ><div class=\"level1\">\n<p>MediaWiki is an open-source publishing platform that can be used for creating a collaborative document repository. It&#8217;s the software that drives the\u00a0<a class=\"urlextern\" title=\"http:\/\/wikipedia.com\" href=\"http:\/\/wikipedia.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Wikipedia<\/a>\u00a0website.<\/p>\n<\/div>\n<div class=\"level1\">\n<p>You can learn how to use this application at the\u00a0official <a href=\"https:\/\/www.mediawiki.org\/wiki\/Help:Contents\" target=\"_blank\" rel=\"noopener noreferrer\">MediaWiki Help Pages<\/a>. This support documentation wiki will\u00a0show you how to manage all aspects of your wiki, including customizing its\u00a0appearance, editing content, and changing user settings.<\/p>\n<\/div>\n<\/div><div class=\"documentor-help\"><div class=\"negative-feedbackform doc-noprint\">\n\t\t\t\t\t<\/div><div class=\"feedback-msg doc-noprint\"><\/div><\/div><\/div><\/div><!--.\/doc-sectionwrap--><div class=\"doc-sectionwrap\" id=\"managing-permissions_wrap\"><div class=\"documentor-section  section-86\" id=\"managing-permissions\" data-section-id=\"86\"><h3 class=\"doc-sec-title\" > <span class=\"doc-sec-count\" style=\"display:inline-block\">3.<\/span><span class=\"title-text\">Managing Permissions<\/span> <span class=\"doc-sec-link doc-noprint\" onclick=\"prompt('Press Ctrl + C, then Enter to copy to clipboard','https:\/\/sites.grinnell.edu\/support\/wp-json\/wp\/v2\/pages\/658#managing-permissions')\">#<\/span> <div class=\"documentor-social doc-noprint\"><\/div><\/h3><div class=\"doc-sec-content\" ><p>The default Mediawiki installed has been customized to make it a bit harder for spammers to overwhelm wikis with illegitimate content and comments. This is done by modifying the\u00a0<strong>LocalSettings.php<\/strong> file (a file that is included in every install in which it is possible to provide configurations details).<\/p>\n<p>Please note that if you are not sure how to access your cPanel, you will not be able to modify the LocalSettings,php file on your own in order to limit anonymous editing of your wiki. Please email dlac@grinnell.edu for assistance or to request domain-level cPanel access.<\/p>\n<p>By default, Mediawiki allows anonymous users to create pages and edit pages in the wiki. The modifications change this in the following ways:<\/p>\n<ul>\n<li class=\"level1\">\n<div class=\"li\">Anonymous users cannot edit existing pages<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">Anonymous users cannot create pages<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">Registered users must click the confirmation link in the registration email in order to edit or create pages<\/div>\n<\/li>\n<\/ul>\n<p>This approach should drastically reduce unsolicited content and comments on Mediawiki installations. One further step that administrator might take is to turn registration off after a predetermined amount of time. Users must create accounts by this date; after that, the settings are changed so that registrations are no longer open.<\/p>\n<p>To add this setting, you must edit\u00a0<strong>LocalSettings.php<\/strong>\u00a0in your Mediawiki install:<\/p>\n<ol>\n<li class=\"vspace\">Login to cPanel and browse to your\u00a0<a class=\"urlextern\" title=\"http:\/\/sites.grinnell.edu\/support\/cpanel\/accessing-your-files-through-the-file-manager\" href=\"http:\/\/sites.grinnell.edu\/support\/uncategorized\/accessing-your-files-through-the-file-manager\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">File Manager<\/a>.<br \/>\n<a href=\"https:\/\/sites.grinnell.edu\/support\/wp-content\/uploads\/2018\/03\/2018-03-30-at-12.37-PM-1.png\"><img fetchpriority=\"high\" fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-206\" src=\"https:\/\/sites.grinnell.edu\/support\/wp-content\/uploads\/2018\/03\/2018-03-30-at-12.37-PM-1.png\" alt=\"Screenshot of cPanel search bar searching for File Manager\" width=\"759\" height=\"379\" srcset=\"https:\/\/sites.grinnell.edu\/support\/wp-content\/uploads\/2018\/03\/2018-03-30-at-12.37-PM-1.png 759w, https:\/\/sites.grinnell.edu\/support\/wp-content\/uploads\/2018\/03\/2018-03-30-at-12.37-PM-1-300x150.png 300w\" sizes=\"(max-width: 759px) 100vw, 759px\" \/><\/a><\/li>\n<li class=\"vspace\">In the File Manager, browse to the folder within<strong> public_html<\/strong> that contains your Mediawiki install. If you installed the wiki at the root of your domain, you won&#8217;t need to go any further than public_html. If you installed the wiki in a subdomain or subdirectory, you&#8217;ll need to find the directory that is associated with that space.<\/li>\n<li class=\"vspace\">Locate\u00a0<strong>LocalSettings.php. <\/strong>Once selecting the file, click <strong>download<\/strong>\u00a0in the top menu bar to download the file as a backup before proceeding. Then click\u00a0<strong>Edit<\/strong>\u00a0in the top menu bar to edit the file.<br \/>\n<a href=\"https:\/\/sites.grinnell.edu\/support\/wp-content\/uploads\/2018\/04\/2018-04-03-at-1.21-PM.png\"><img decoding=\"async\" class=\"alignnone wp-image-241 size-full\" src=\"https:\/\/sites.grinnell.edu\/support\/wp-content\/uploads\/2018\/04\/2018-04-03-at-1.21-PM.png\" alt=\"Screenshot of File Manager wiki folders with LocalSettings.php file highlighted\" width=\"1430\" height=\"727\" srcset=\"https:\/\/sites.grinnell.edu\/support\/wp-content\/uploads\/2018\/04\/2018-04-03-at-1.21-PM.png 1430w, https:\/\/sites.grinnell.edu\/support\/wp-content\/uploads\/2018\/04\/2018-04-03-at-1.21-PM-300x153.png 300w, https:\/\/sites.grinnell.edu\/support\/wp-content\/uploads\/2018\/04\/2018-04-03-at-1.21-PM-768x390.png 768w, https:\/\/sites.grinnell.edu\/support\/wp-content\/uploads\/2018\/04\/2018-04-03-at-1.21-PM-1024x521.png 1024w\" sizes=\"(max-width: 1430px) 100vw, 1430px\" \/><\/a><\/li>\n<li class=\"vspace\">\u00a0Confirm that you want to edit the file.<br \/>\n<img decoding=\"async\" class=\"shadow alignnone wp-image-465 size-full\" src=\"http:\/\/sites.grinnell.edu\/support\/wp-content\/uploads\/2019\/10\/2019104.4-MediaWiki-files-confirm-edit.gif\" alt=\"Screenshot of file edit confirmation pop-up\" width=\"502\" height=\"349\" \/><\/li>\n<li class=\"vspace\">Browse to the bottom of the document, and locate the custom settings that were added during the Mediawiki install and the following line:<\/li>\n<\/ol>\n<pre>$wgGroupPermissions['*']['createaccount'] = false;<\/pre>\n<p><a href=\"https:\/\/sites.grinnell.edu\/support\/wp-content\/uploads\/2018\/04\/2018-04-03-at-1.30-PM.png\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-242\" src=\"https:\/\/sites.grinnell.edu\/support\/wp-content\/uploads\/2018\/04\/2018-04-03-at-1.30-PM.png\" alt=\"Screenshot of code configuration options\" width=\"743\" height=\"634\" srcset=\"https:\/\/sites.grinnell.edu\/support\/wp-content\/uploads\/2018\/04\/2018-04-03-at-1.30-PM.png 743w, https:\/\/sites.grinnell.edu\/support\/wp-content\/uploads\/2018\/04\/2018-04-03-at-1.30-PM-300x256.png 300w\" sizes=\"auto, (max-width: 743px) 100vw, 743px\" \/><\/a><\/p>\n<\/div><div class=\"documentor-help\"><div class=\"negative-feedbackform doc-noprint\">\n\t\t\t\t\t<\/div><div class=\"feedback-msg doc-noprint\"><\/div><\/div><\/div><\/div><!--.\/doc-sectionwrap--><\/div><!--.doc-sec-container--><div id=\"sugestedit_popup5\" class=\"sugestedit_popup\">\n\t\t\t\t<a class=\"modal_close\"><\/a>\n\t\t\t\t<form name=\"documentor-suggestform\" method=\"post\" class=\"documentor-suggestform\">\n\t\t\t\t\t<div class=\"doc-frmdiv\" style=\"font-weight: bold;\">Suggest Edit\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"doc-frmdiv\">\n\t\t\t\t\t\t<input type=\"text\" name=\"sec_title\" class=\"sedit-sectitle txtinput\" value=\"\" \/>\n\t\t\t\t\t<\/div><div class=\"doc-frmdiv\">\n\t\t\t\t\t\t\t<input type=\"text\" name=\"name\" class=\"txtinput\" placeholder=\"Name\" required \/>\n\t\t\t\t\t\t<\/div><div class=\"doc-frmdiv\">\n\t\t\t\t\t\t\t<input type=\"email\" class=\"emailinput\" placeholder=\"Email\" name=\"email\" required \/> \n\t\t\t\t\t\t<\/div><div class=\"doc-frmdiv\">\n\t\t\t\t\t\t\t<textarea name=\"content\" class=\"textareainput\" placeholder=\"Post your suggestion...\" required><\/textarea>\n\t\t\t\t\t\t<\/div><div class=\"doc-frmdiv\"><label> Captcha :&nbsp; <\/label><span class=\"doc-sedit-captcha\"><\/span><\/div><input type=\"hidden\" class=\"sedit-secid\" name=\"secid\" value=\"\" \/>\n\t\t\t\t\t<input type=\"hidden\" class=\"sedit-postid\" name=\"sedit_postid\" value=\"\" \/>\n\t\t\t\t\t<input type=\"hidden\" class=\"sedit-docid\" name=\"docid\" value=\"5\" \/>\n\t\t\t\t\t<button class=\"docsubmit-suggestform\"> Submit <\/button>\n\t\t\t\t<\/form>\n\t\t\t<\/div><script type=\"text\/javascript\">\n\t\t\tjQuery(document).ready(function(){\n\t\t\t\tjQuery(\"#documentor-5\").documentor({\n\t\t\t\t\tdocumentid\t: 5,\n\t\t\t\t\tdocid\t\t: \"documentor-5\",\n\t\t\t\t\tanimation\t: \"\",\n\t\t\t\t\tindexformat\t: \"1\",\n\t\t\t\t\tpformat\t\t: \"decimal\",\n\t\t\t\t\tcformat\t\t: \"decimal\",\t\t\t\t\t\n\t\t\t\t\tsecstyle\t: \"\",\n\t\t\t\t\tsecelement  : \"3\",\n\t\t\t\t\tactnavbg_default: \"1\",\n\t\t\t\t\tactnavbg_color\t: \"#21237c\",\n\t\t\t\t\tenable_ajax\t: \"0\",\n\t\t\t\t\tload\t\t: \"0\",\n\t\t\t\t\tscrolling\t: \"1\",\n\t\t\t\t\tfixmenu\t\t: \"1\",\n\t\t\t\t\tskin\t\t: \"default\",\n\t\t\t\t\tscrollBarSize\t: \"3\",\n\t\t\t\t\tscrollBarColor\t: \"#21237c\",\n\t\t\t\t\tscrollBarOpacity: \"0.4\",\n\t\t\t\t\twindowprint\t: \"0\",\n\t\t\t\t\tmenuTop: \"0\",\n\t\t\t\t\tsocialshare\t: 0,\n\t\t\t\t\tsharecount\t: 1,\n\t\t\t\t\tfbshare\t\t: 1,\n\t\t\t\t\ttwittershare\t: 1,\n\t\t\t\t\tgplusshare\t: 1,\n\t\t\t\t\tpinshare\t: 1,\n\t\t\t\t\ttogglechild\t: 0,\n\t\t\t\t\tnoResultsStr: \"No results found!\",\n\t\t\t\t});\t\n\t\t\t});<\/script><div class=\"cleardiv cleardiv-rtl\"><\/div><\/div><!--\/.document-wrapper--><div class=\"cleardiv cleardiv-rtl\"><\/div><a class=\"scrollup doc-noprint\" style=\"display: block;\"><span class=\"icon-angle-up\"><\/span><\/a><\/div><div class=\"cleardiv\"> <\/div><div id=\"documentor-5-end\"><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-658","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.grinnell.edu\/support\/wp-json\/wp\/v2\/pages\/658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.grinnell.edu\/support\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.grinnell.edu\/support\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.grinnell.edu\/support\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.grinnell.edu\/support\/wp-json\/wp\/v2\/comments?post=658"}],"version-history":[{"count":2,"href":"https:\/\/sites.grinnell.edu\/support\/wp-json\/wp\/v2\/pages\/658\/revisions"}],"predecessor-version":[{"id":669,"href":"https:\/\/sites.grinnell.edu\/support\/wp-json\/wp\/v2\/pages\/658\/revisions\/669"}],"wp:attachment":[{"href":"https:\/\/sites.grinnell.edu\/support\/wp-json\/wp\/v2\/media?parent=658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}