Changes

Jump to: navigation, search
no edit summary
###run <pre>rm LabeledSectionTransclusion-*.tar.gz</pre>
###run <pre>sudo nano /etc/mediawiki/LocalSettings.php</pre> and add the following to the bottom <pre># Enable LabeledSectionTransclusion&#10;wfLoadExtension( 'LabeledSectionTransclusion' );</pre>
##''IframePage'' to allow you load iFrames from other sites into your wiki pages
###Get the download link for MediaWik 1.31 from https://www.mediawiki.org/wiki/Special:ExtensionDistributor/IframePage
###run <pre>wget https://extdist.wmflabs.org/dist/extensions/IframePage-REL1_31-1414af9.tar.gz</pre>
###run <pre>sudo tar -xzf IframePage-*.tar.gz -C /usr/share/mediawiki/extensions</pre>
###run <pre>sudo chown -R root:root /usr/share/mediawiki/extensions/IframePage/</pre>
###run <pre>rm IframePage-*.tar.gz</pre>
###run <pre>sudo nano /etc/mediawiki/LocalSettings.php</pre> and add the following to the bottom <pre># Enable IframePage&#10;require_once "$IP/extensions/IframePage/IframePage.php";&#10;$wgIframePageSrc= array( /* REQUIRED! */ );</pre>
#Enable a wider array of file uploads by running ''sudo nano /etc/mediawiki/LocalSettings.php'' and placing the following at the bottom of the file <pre># Accepted Upload File Extensions&#10;$wgFileExtensions = array(&#10;'png', 'gif', 'jpg', 'jpeg', 'tiff', 'bmp',&#10;'doc', 'xls', 'ppt', 'docx', 'xlsx', 'pptx',&#10;'odt', 'ods', 'odp', 'odg',&#10;'py', 'py3',&#10;'pdf',&#10;'pem'&#10;);&#10;$wgFileBlacklist = array();&#10;$wgStrictFileExtensions = false;&#10;$wgMimeTypeBlacklist = array();&#10;$wgVerifyMimeType = false;&#10;$wgMaxUploadSize = 20971520;</pre>

Navigation menu