From Mesopoly 3.0
Jump to navigation Jump to search

MEsopust wiKI

Yes, we are using Mediawiki just like Wikipedia. Here, however, software is employed as CMS, with no public interaction intended within wiki. Contakt us with questions ..

Mediawiki syntax

SHORT ANSWER: use edit tab to see how is each sample made - given you have login and are logged in

LONG ANSWER: Go to Mediawiki Help page on Syntax Image syntax

Configuration - Things that have been done to original Mediawiki source on Mesopust

How do I remove the article/edit etc tabs for users who are not logged in?

  • from here (btw its not '$key => $action' but '$key => $tab' !!!)

You can achieve this by modifying the skin. For the default MonoBook skin, in the MonoBook.php file, search for this line:

foreach($this->data['content_actions'] as $key => $action) {

and insert after $action) this


had to place inside the <?php). So it looks like this:

foreach($this->data['content_actions'] as $key => $action) if($this->data['loggedin']==1) {

To conditionally hide individual tabs, modify the code to check the value of each $key inside the foreach loop.

How do I remove the "Create an Account or Login" link at the top right of the screen?

In Monobook.php change this statement:

 foreach($this->data['personal_urls'] as $key => $item) {


 foreach($this->data['personal_urls'] as $key => $item) {
   if ($key != 'login') {


User-agent: *
Disallow: /miki/
Disallow: /meki/Special:Random
Disallow: /meki/Special%3ARandom
Disallow: /meki/Special:Search
Disallow: /meki/Special%3ASearch


#ErrorDocument 404
# close the php security hole...
#  not actually needed but probably a good idea anyway
php_flag register_globals off

# first, enable the processing - Unless your ISP has it enabled
# already.  That might cause weird errors.
RewriteEngine on
RedirectMatch ^/$
rewriteCond %{HTTP_HOST} .
rewriteCond %{HTTP_HOST} ^(www\.)?mesopust|crowiz\.com
rewriteRule (.*)$1 [R=301,L]

#RewriteRule ^(.*)$1 [R=301]
# BEGIN Wiki

# Don't rewrite requests for files in MediaWiki subdirectories,
# MediaWiki PHP files, HTTP error documents, favicon.ico, or robots.txt

RewriteCond %{REQUEST_URI} !^/meki/sitemap.xml.php
RewriteCond %{REQUEST_URI} !^/meki/Sitemap.xml.php
# uncomment this rule if you want Apache to redirect from to

#  RewriteRule ^/$ /meki/Main_Page [R]
# do the rewrite
RewriteRule ^meki/?(.*)$ /miki/index.php?title=$1 [L,QSA]
Redirect /mailagro

Edit side menu / navigation menu