Skip to content

Commit

Permalink
Merge pull request #372 from enterprisemediawiki/REL0_9
Browse files Browse the repository at this point in the history
Release 0.9
  • Loading branch information
jamesmontalvo3 committed Apr 27, 2016
2 parents f463c23 + 606756d commit 0452618
Show file tree
Hide file tree
Showing 79 changed files with 2,771 additions and 3,174 deletions.
19 changes: 18 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,21 @@ sources/*
!sources/README.md
logs/*
!logs/README.md
remote-wiki-config.sh
config/local/*
!config/local/README.md

# data directory used to hold MySQL and Elasticsearch data
# which should not be added to this repo. However, there are
# some README files as placeholders in this directory which
# have been explicitly added to the repo.
data/*


# ignore wiki blender landing page
htdocs/WikiBlender

htdocs/mediawiki
htdocs/wikis/*

simplesamlphp/

5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# meza v0.4
# meza v0.9

meza configures a CentOS/RedHat server with a complete enterprise MediaWiki installation.

Expand Down Expand Up @@ -37,6 +37,9 @@ While the goal is to have an entirely scripted install of CentOS and the entire
## See Also

* [Creating and importing wikis](manual/AddingWikis.md)
* [Accessing Elasticsearch plugins](manual/ElasticsearchPlugins.md)
* [Installing additional extensions](manual/installing-additional-extensions.md)
* [Directory structure overview](manual/DirectoryStructure.md)

## Contributing
If you'd like to contribute to this project, please see [this guide on how to help](CONTRIBUTING.md).
20 changes: 20 additions & 0 deletions config/core/BlenderSettings.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

// Server path
$blenderServer = "https://" . trim( file_get_contents( '/opt/meza/config/local/domain' ) ) . "/";

// Script path
$blenderScriptPath = '/WikiBlender';

// If there is a prime wiki, use its favicon as the landing page favicon
$primeWikiFile = '/opt/meza/config/local/primewiki';
if ( file_exists( $primeWikiFile ) ) {
$primeWiki = file_get_contents( $primeWikiFile );
$blenderFavicon = "/wikis/$primeWiki/config/favicon.ico";
}

// Location of wikis directory
$blenderWikisDir = '/opt/meza/htdocs/wikis';

// Everything above is standard for all meza. This file has server-specific settings.
require_once '/opt/meza/config/local/LandingPage.php';
Loading

0 comments on commit 0452618

Please sign in to comment.