User:Olekdia

Use one instance of MediaWiki for different portals (with namespaces)
define("NS_MI", 3000); define("NS_MI_TALK", 3001);
 * First create namespaces in :

$wgExtraNamespaces[NS_MI] = "Magic_Intuition"; $wgExtraNamespaces[NS_MI_TALK] = "Magic_Intuition_talk"; $wgNamespacesWithSubpages[NS_MI] = true;

define("NS_TP", 3010); define("NS_TP_TALK", 3011); $wgExtraNamespaces[NS_TP] = "Time_Planner"; $wgExtraNamespaces[NS_TP_TALK] = "Time_Planner_talk"; $wgNamespacesWithSubpages[NS_TP] = true;

$wgNamespaceAliases = array(
 * You also could add aliases to your Main namespace:

'Prana_Breath' => NS_MAIN,

'TP' => NS_TP

);

$wgMetaNamespace = "Olekdia";
 * As well as set name for Meta namespace:

.ns-3000 #content, .ns-3001 #content { background-color: #f5f5ff; } .ns-3010 #content, .ns-3011 #content { background-color: #fff5ff; }
 * Next change background color for each namespace. For that edit your special mediawiki page :

.ns-3000 #p-logo a { background-image: url(./.../wiki_resources/magic_intuition_logo.png) !important; } .ns-3010 #p-logo a { background-image: url(./.../wiki_resources/time_planner_logo.png) !important; }
 * Than change logo of the MediaWiki for each namespace add to :

$wgLogo = "$wgResourceBasePath/.../wiki_resources/prana_breath_logo.png";
 * Remember to set a default logo for Main namespace :


 * Create pages for each namespace which will be treated as main pages for it's namespaces soon:  (Main),  ,

Or next block if you use WikiTranslate extension: Special:MyLanguage/:Wiki After this step, you also find out that click on logo will direct to main page of the current namespace.
 * Change "Main page" by editing  page, so our created pages will be treated as "Main pages" per namespace:
 * Wiki

$1 - Wiki And after that create pages with name  in each namespace:   > "Magic Intuition" (Your title tail),   > "Prana Breath" (For Main namespace).
 * If you want different page titles in browser you could edit :

So you will get next title in browser:

- for pages from  namespace,

- for pages from  namespace

Create sidebar messages:  > "Wiki",   > "Forum",   > "Download".
 * Create sidebar, with links which leads to different places depends on current namespace. Edit  for that:
 * navigation
 * Special:MyLanguage/:Wiki|sidebar-wiki
 * |sidebar-forum
 * Special:MyLanguage/:Download|sidebar-download
 * TOOLBOX

So you get simple menu like this: But this menu leads to different pages depends on from where it is done. Create pages:,  ,.
 * Wiki
 * Forum
 * Download

Also when you refer to external link to "Forum" you need to create messages with this link:,  ,. In this messages put pure url to your forum.