--- a/mediawiki/INSTALL
+++ b/mediawiki/INSTALL
@@ -1,10 +1,10 @@
1) Download latest stable Mediawiki from http://www.mediawiki.org/
- * Tested with MediaWiki version 1.19
+ * Tested with MediaWiki version 1.21.2
2) Setup MediaWiki
3) Prettify URLs
* Modify your LocalSettings.php by adding several lines below $wgScriptPath:
$wgScriptPath = "%%RELPATH%%";
$wgArticlePath = "$wgScriptPath/$1";
$wgScriptExtension = ".php";
--- a/mediawiki/theme/MCS.php
+++ b/mediawiki/theme/MCS.php
@@ -166,17 +166,20 @@ if ($toc and $this->tocPos=='right') {
</ul>
<div id="content" class="section">
<?php if ($ca_strong) { ?>
<ul class="mcs_edit_button metabox linklist right">
<?php echo $ca_strong; ?>
</ul>
<?php } ?>
<div class="article">
- <h1><?php $this->html('title') ?></h1>
+ <h1 lang="<?php
+ $this->data['pageLanguage'] = $this->getSkin()->getTitle()->getPageViewLanguage()->getCode();
+ $this->html( 'pageLanguage' );
+ ?>"><?php $this->html('title') ?></h1>
<?php if ($this->data['newtalk'] or $this->data['sitenotice']) { ?>
<div class='mw-topboxes'>
<?php if($this->data['newtalk'] ) {
?><div class="notice"><?php $this->html('newtalk') ?></div>
<?php } ?>
<?php if($this->data['sitenotice']) {
?><div class="notice" id="siteNotice"><?php $this->html('sitenotice') ?></div>
<?php } ?>