1/7/2024 0 Comments Mediawiki sidebar edit$wgFileExtensions = array('png','jpg','jpeg','pdf','tgz','tar.gz') Įnter "MediaWiki:Sidebar" into the search box, need sysop rights. $wgMimeDetectorCommand= "file -bi" #use external mime detector With virtual hosting I can't change apache's group, so I have to give write perm to al as above. User/group (you're not root), use chmod instead to give the correctĬhmod o+w /path/to/images/ (e.g /home/sites//bach/images) Since you won't be able to use chown to change ownership to another Ln -s ~/mediawiki/ ~/sites//wiki/ĭon't need to edit /etc/php.ini just add these lines to LocalSettings.php $wgWhitelistRead = array( "Main Page", "Special:Userlogin" ) # add these bits so you can log in still, so you can see the main page # define here (that's what you probably want). # With this line commented you will only overwrite the settings you explicitly # DefaultSettings.php (you probably don't want this). # The following line should be commented, otherwise these settings will # This replaces wgWhitelistAccount and wgWhitelistEdit # combined with the permissions of all groups that a given user is listed # logged-in users are all implicitly in the 'user' group. # All users are implicitly in the '*' group including anonymous visitors # Permission keys given to users in each group. Only registered users can edit: * By adding the following line to LocalSettings.php, it is possible to entirely disable anonymous edits:Ĭp AdminSettings.sample AdminSettings.php and change uname and pword Make sure to undo this, chmod go-rwx config Ln -s ~/sites//cumberswiki/mediawiki-1.5.7/index.php ~/sites//cumberswiki/ Make sure that the database name, user(?) and table prefix are different for this wiki. lndir the /opt/mediawiki to the new directory, assign the appropriate permissions to directories and visit the wiki ( for configuration. To create a second wiki on the same webserver, simply create a new directory (say wiki2) in the document root. $wgLogo = "$wgScriptPath/images/durian_small.png" Answer: I don’t know of a built-in way to easily configure Timeless’ right sidebar, unfortunately, but here’s two options using code: Dynamic customization with JavaScript MediaWiki allows users and wiki admins to customize JavaScript (and CSS) for specific themes or all themes. 125x125 pixels is the ideal size for the image Set $sgLogo in LocalSettings.php to the path of your logo image. In your LocalSettings.php edit $wgArticlePath as follows:Īll customisation entries go into the LocalSettings.php file in the wiki root (/var/LogoĬreate a folder in the webserver document root and place your logo image there. htaccess in your document root directory: e.g mv up a dir, mv ~]# tar -zxvf ~]# mkdir ~]# cp -rf /home/veejay/mediawiki/* /opt/mediawikiġ) A. File dir to avoid the ugly extension eg "mv media.4.5.6 bach" etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |