Followup to r105854. Made directionality inline rather than block-level, because text alignment should be consistent with the rest of the site. Added support for Monobook and Modern skins.

This commit is contained in:
Amir E. Aharoni 2011-12-12 12:47:07 +00:00
parent 47d62862bc
commit 2fde32bed6
3 changed files with 5 additions and 3 deletions

View file

@ -52,7 +52,7 @@ class ModernTemplate extends MonoBookTemplate {
?>
<!-- heading -->
<div id="mw_header"><h1 id="firstHeading"><?php $this->html('title') ?></h1></div>
<div id="mw_header"><h1 id="firstHeading"><span dir="auto"><?php $this->html('title') ?></span></h1></div>
<div id="mw_main">
<div id="mw_contentwrapper">

View file

@ -69,7 +69,7 @@ class MonoBookTemplate extends BaseTemplate {
<a id="top"></a>
<?php if($this->data['sitenotice']) { ?><div id="siteNotice"><?php $this->html('sitenotice') ?></div><?php } ?>
<h1 id="firstHeading" class="firstHeading"><?php $this->html('title') ?></h1>
<h1 id="firstHeading" class="firstHeading"><span dir="auto"><?php $this->html('title') ?></span></h1>
<div id="bodyContent" class="mw-body">
<div id="siteSub"><?php $this->msg('tagline') ?></div>
<div id="contentSub"<?php $this->html('userlangattributes') ?>><?php $this->html('subtitle') ?></div>

View file

@ -134,7 +134,9 @@ class VectorTemplate extends BaseTemplate {
<!-- /sitenotice -->
<?php endif; ?>
<!-- firstHeading -->
<h1 id="firstHeading" class="firstHeading" dir="auto"><?php $this->html( 'title' ) ?></h1>
<h1 id="firstHeading" class="firstHeading">
<span dir="auto"><?php $this->html( 'title' ) ?></span>
</h1>
<!-- /firstHeading -->
<!-- bodyContent -->
<div id="bodyContent">