Werdna has uploaded a new change for review.
https://gerrit.wikimedia.org/r/199869
Change subject: Add #bodyContent element, fixes VisualEditor
......................................................................
Add #bodyContent element, fixes VisualEditor
Change-Id: I705de99a2dc03ea97f2790b152570445490b6f06
---
M templates/Skin.php
M templates/Skin.template
2 files changed, 8 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Blueprint
refs/changes/69/199869/1
diff --git a/templates/Skin.php b/templates/Skin.php
index 5d0f912..4874899 100644
--- a/templates/Skin.php
+++ b/templates/Skin.php
@@ -253,7 +253,7 @@
</div>
<ul class="nav navbar-nav navbar-right">
- <li><a rhref="#">Desktop</a></li>
+ <li><a href="#">Desktop</a></li>
<li><a href="#">Mobile</a></li>
</ul>
</nav>
@@ -280,7 +280,9 @@
</div>
'.(($cx['funcs']['ifvar']($cx, $cx['funcs']['v']($cx, $in,
array('undelete')))) ? ' <div
id="contentSub2">'.$cx['funcs']['v']($cx, $in, array('undelete')).'</div>
' : '').''.(($cx['funcs']['ifvar']($cx, $cx['funcs']['v']($cx, $in,
array('newtalk')))) ? ' <div
class="usermessage">'.htmlentities((string)$cx['funcs']['v']($cx, $in,
array('newtalk')), ENT_QUOTES, 'UTF-8').'</div>
-' : '').' '.$cx['funcs']['v']($cx, $in,
array('bodytext')).'
+' : '').' <div class="mw-body-content" id="bodyContent">
+ '.$cx['funcs']['v']($cx, $in,
array('bodytext')).'
+ </div>
'.(($cx['funcs']['ifvar']($cx, $cx['funcs']['v']($cx, $in,
array('printfooter')))) ? ' <div class="printfooter">
'.$cx['funcs']['v']($cx, $in,
array('printfooter')).'
</div>
@@ -293,4 +295,4 @@
</html>
';
}
-?>
+?>
\ No newline at end of file
diff --git a/templates/Skin.template b/templates/Skin.template
index 8124965..fd46d99 100755
--- a/templates/Skin.template
+++ b/templates/Skin.template
@@ -70,7 +70,9 @@
{{#if newtalk}}
<div class="usermessage">{{newtalk}}</div>
{{/if}}
- {{{bodytext}}}
+ <div class="mw-body-content" id="bodyContent">
+ {{{bodytext}}}
+ </div>
{{#if printfooter}}
<div class="printfooter">
{{{printfooter}}}
--
To view, visit https://gerrit.wikimedia.org/r/199869
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I705de99a2dc03ea97f2790b152570445490b6f06
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Blueprint
Gerrit-Branch: master
Gerrit-Owner: Werdna <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits