BearND has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/379152 )

Change subject: Update diff test results
......................................................................

Update diff test results

Another Parsoid deployment changed out HTML. Now reference lists
<ol>s are wrapped in a new <div>:
  <div class="mw-references-wrap">
    <ol class="mw-references references">

Change-Id: Idef751c256a2bb8c7d037f28150f3f657a3b5629
---
M 
test/diff/results/page_formatted-enwiki-User%3ABSitzmann_(WMF)_MCS_Test_Frankenstein.json
M 
test/diff/results/page_formatted-enwiki-User%3ABSitzmann_(WMF)_MCS_Test_Frankenstein/section25-text.html
M 
test/diff/results/page_formatted-enwiki-User%3ABSitzmann_(WMF)_MCS_Test_TitleLinkEncoding.json
M 
test/diff/results/page_formatted-enwiki-User%3ABSitzmann_(WMF)_MCS_Test_TitleLinkEncoding/section3-text.html
M 
test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_(WMF)_MCS_Test_Frankenstein.json
M 
test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_(WMF)_MCS_Test_Frankenstein/section25-text.html
M 
test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_(WMF)_MCS_Test_TitleLinkEncoding.json
M 
test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_(WMF)_MCS_Test_TitleLinkEncoding/section3-text.html
8 files changed, 61 insertions(+), 53 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/mobileapps 
refs/changes/52/379152/1

diff --git 
"a/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein.json"
 
"b/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein.json"
index 3bea40b..b734a70 100644
--- 
"a/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein.json"
+++ 
"b/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein.json"
@@ -190,7 +190,7 @@
       },
       {
         "id": 25,
-        "text": "\n<div class=\"reflist \" style=\" list-style-type: 
decimal;\">\n<ol class=\"mw-references\"><li id=\"cite_note-sequence-1\"><a 
href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-sequence_1-0\"><span
 class=\"mw-linkback-text\">↑ </span></a> <span 
id=\"mw-reference-text-cite_note-sequence-1\" class=\"mw-reference-text\">This 
sequence has been in place since at least <a rel=\"mw:ExtLink\" 
href=\"http://en.wikipedia.org/w/index.php?title=Wikipedia:Layout&amp;oldid=2166480\";>2003</a>
 (when \"See also\" was called \"Related topics\"). <i>See, for example,</i> <a 
href=\"./Wikipedia:Perennial_proposals#Changes_to_standard_appendices\" 
title=\"Wikipedia:Perennial proposals\">Wikipedia:Perennial proposals#Changes 
to standard appendices</a>. The original rationale for this ordering is that, 
with the exception of <i>Works,</i> sections which contain material outside 
Wikipedia (including <i>Further reading</i> and <i>External links</i>) should 
come after sections that contain Wikipedia material (including <i>See also</i>) 
to help keep the distinction clear. The sections containing notes and 
references often contain both kinds of material and, consequently, appear after 
the <i>See also</i> section (if any) and before the <i>Further reading</i> 
section (if any). Whatever the validity of the original rationale, there is now 
the additional factor that readers have come to expect the appendices to appear 
in this order.</span></li><li id=\"cite_note-2\"><a 
href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-2\"><span 
class=\"mw-linkback-text\">↑ </span></a> <span 
id=\"mw-reference-text-cite_note-2\" class=\"mw-reference-text\">While 
categories are entered on the editing page ahead of stub templates, they appear 
on the visual page in a separate box after the stub templates. One of the 
reasons this happens is that every stub template generates a stub category, and 
those stub categories appear after the \"main\" categories. Another is that 
certain bots and scripts are set up to expect the categories, stubs and <a 
href=\"./Help:Interlanguage_links\" title=\"Help:Interlanguage 
links\">interlanguage links</a> to appear in that order, and will reposition 
them if they don't. Therefore, any manual attempt to change the order is futile 
unless the bots and scripts are also altered.</span></li><li 
id=\"cite_note-3\"><a 
href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-3\"><span 
class=\"mw-linkback-text\">↑ </span></a> <span 
id=\"mw-reference-text-cite_note-3\" class=\"mw-reference-text\">For example, 
skipping heading levels, such as jumping from 
<code>==Heading<span>&nbsp;</span>2==</code> to 
<code>====Heading<span>&nbsp;</span>4====</code> without 
<code>===Heading<span>&nbsp;</span>3===</code> in the middle, violates <a 
href=\"./Wikipedia:Accessibility\" title=\"Wikipedia:Accessibility\" 
class=\"mw-redirect\">Wikipedia:Accessibility</a> as it reduces usability for 
readers on screen readers who use heading levels to navigate 
pages.</span></li><li id=\"cite_note-4\"><a 
href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-4\"><span 
class=\"mw-linkback-text\">↑ </span></a> <span 
id=\"mw-reference-text-cite_note-4\" class=\"mw-reference-text\">Syntax:\n<div 
style=\"color: #000000; background: #FFFFFF; padding: 1em; border: 1px solid 
#8FBC8F; font-size:111%;\" class=\"mw-highlight mw-content-ltr\" 
dir=\"ltr\">\n<pre id=\"mw8g\"><span class=\"gh\">==</span>See also<span 
class=\"gh\">==</span>\n* <span class=\"k\">[[Wikipedia:How to edit a 
page]]</span>\n* <span class=\"k\">[[Wikipedia:Manual of 
Style]]</span>\n</pre></div>\n\nWhich produces:\n<blockquote 
style=\"background: #FFFFFF; padding: 1em; border: 1px solid #999999; 
font-size:111%;\">\n<div style=\"color: #000000; background: none; overflow: 
hidden; page-break-after: avoid; font-size: 1.5em; font-family: 
Georgia,Times,serif; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; 
padding: 0; border-bottom: 1px solid #AAAAAA;\" id=\"mw-A\">See also</div>\n<ul 
id=\"mw-Q\"><li id=\"mw-g\"> <a href=\"./Wikipedia:How_to_edit_a_page\" 
title=\"Wikipedia:How to edit a page\" id=\"mw-w\" 
class=\"mw-redirect\">Wikipedia:How to edit a page</a></li>\n<li> <a 
href=\"./Wikipedia:Manual_of_Style\" title=\"Wikipedia:Manual of 
Style\">Wikipedia:Manual of Style</a></li></ul>\n</blockquote></span></li><li 
id=\"cite_note-5\"><a 
href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-5\"><span 
class=\"mw-linkback-text\">↑ </span></a> <span 
id=\"mw-reference-text-cite_note-5\" class=\"mw-reference-text\">The rationale 
for not printing navigation boxes is that these templates contain <a 
href=\"./Wikilink\" title=\"Wikilink\" class=\"mw-redirect\">wikilinks</a> that 
are of no use to print readers.<a 
href=\"./User_talk:Ruud_Koot/2010#Do_you_recall_the_reason.3F\" title=\"User 
talk:Ruud Koot/2010\">[1]</a> There are two problems with this rationale: 
First, other wikilink content does print, <i>for example</i> <a 
href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#See_also_section\">See 
also</a> and <a 
href=\"./Wikipedia:WikiProject_Succession_Box_Standardization#Overview\" 
title=\"Wikipedia:WikiProject Succession Box Standardization\">succession 
boxes</a>. Second, some navigation boxes contain useful information regarding 
the relationship of the article to the subjects of related 
articles.</span></li></ol></div>\n\n\n\n",
+        "text": "\n<div class=\"reflist \" style=\" list-style-type: 
decimal;\">\n<div class=\"mw-references-wrap\"><ol class=\"mw-references 
references\"><li id=\"cite_note-sequence-1\"><a 
href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-sequence_1-0\"><span
 class=\"mw-linkback-text\">↑ </span></a> <span 
id=\"mw-reference-text-cite_note-sequence-1\" class=\"mw-reference-text\">This 
sequence has been in place since at least <a rel=\"mw:ExtLink\" 
href=\"http://en.wikipedia.org/w/index.php?title=Wikipedia:Layout&amp;oldid=2166480\";>2003</a>
 (when \"See also\" was called \"Related topics\"). <i>See, for example,</i> <a 
href=\"./Wikipedia:Perennial_proposals#Changes_to_standard_appendices\" 
title=\"Wikipedia:Perennial proposals\">Wikipedia:Perennial proposals#Changes 
to standard appendices</a>. The original rationale for this ordering is that, 
with the exception of <i>Works,</i> sections which contain material outside 
Wikipedia (including <i>Further reading</i> and <i>External links</i>) should 
come after sections that contain Wikipedia material (including <i>See also</i>) 
to help keep the distinction clear. The sections containing notes and 
references often contain both kinds of material and, consequently, appear after 
the <i>See also</i> section (if any) and before the <i>Further reading</i> 
section (if any). Whatever the validity of the original rationale, there is now 
the additional factor that readers have come to expect the appendices to appear 
in this order.</span></li><li id=\"cite_note-2\"><a 
href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-2\"><span 
class=\"mw-linkback-text\">↑ </span></a> <span 
id=\"mw-reference-text-cite_note-2\" class=\"mw-reference-text\">While 
categories are entered on the editing page ahead of stub templates, they appear 
on the visual page in a separate box after the stub templates. One of the 
reasons this happens is that every stub template generates a stub category, and 
those stub categories appear after the \"main\" categories. Another is that 
certain bots and scripts are set up to expect the categories, stubs and <a 
href=\"./Help:Interlanguage_links\" title=\"Help:Interlanguage 
links\">interlanguage links</a> to appear in that order, and will reposition 
them if they don't. Therefore, any manual attempt to change the order is futile 
unless the bots and scripts are also altered.</span></li><li 
id=\"cite_note-3\"><a 
href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-3\"><span 
class=\"mw-linkback-text\">↑ </span></a> <span 
id=\"mw-reference-text-cite_note-3\" class=\"mw-reference-text\">For example, 
skipping heading levels, such as jumping from 
<code>==Heading<span>&nbsp;</span>2==</code> to 
<code>====Heading<span>&nbsp;</span>4====</code> without 
<code>===Heading<span>&nbsp;</span>3===</code> in the middle, violates <a 
href=\"./Wikipedia:Accessibility\" title=\"Wikipedia:Accessibility\" 
class=\"mw-redirect\">Wikipedia:Accessibility</a> as it reduces usability for 
readers on screen readers who use heading levels to navigate 
pages.</span></li><li id=\"cite_note-4\"><a 
href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-4\"><span 
class=\"mw-linkback-text\">↑ </span></a> <span 
id=\"mw-reference-text-cite_note-4\" class=\"mw-reference-text\">Syntax:\n<div 
style=\"color: #000000; background: #FFFFFF; padding: 1em; border: 1px solid 
#8FBC8F; font-size:111%;\" class=\"mw-highlight mw-content-ltr\" 
dir=\"ltr\">\n<pre id=\"mw8g\"><span class=\"gh\">==</span>See also<span 
class=\"gh\">==</span>\n* <span class=\"k\">[[Wikipedia:How to edit a 
page]]</span>\n* <span class=\"k\">[[Wikipedia:Manual of 
Style]]</span>\n</pre></div>\n\nWhich produces:\n<blockquote 
style=\"background: #FFFFFF; padding: 1em; border: 1px solid #999999; 
font-size:111%;\">\n<div style=\"color: #000000; background: none; overflow: 
hidden; page-break-after: avoid; font-size: 1.5em; font-family: 
Georgia,Times,serif; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; 
padding: 0; border-bottom: 1px solid #AAAAAA;\" id=\"mw-A\">See also</div>\n<ul 
id=\"mw-Q\"><li id=\"mw-g\"> <a href=\"./Wikipedia:How_to_edit_a_page\" 
title=\"Wikipedia:How to edit a page\" id=\"mw-w\" 
class=\"mw-redirect\">Wikipedia:How to edit a page</a></li>\n<li> <a 
href=\"./Wikipedia:Manual_of_Style\" title=\"Wikipedia:Manual of 
Style\">Wikipedia:Manual of Style</a></li></ul>\n</blockquote></span></li><li 
id=\"cite_note-5\"><a 
href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-5\"><span 
class=\"mw-linkback-text\">↑ </span></a> <span 
id=\"mw-reference-text-cite_note-5\" class=\"mw-reference-text\">The rationale 
for not printing navigation boxes is that these templates contain <a 
href=\"./Wikilink\" title=\"Wikilink\" class=\"mw-redirect\">wikilinks</a> that 
are of no use to print readers.<a 
href=\"./User_talk:Ruud_Koot/2010#Do_you_recall_the_reason.3F\" title=\"User 
talk:Ruud Koot/2010\">[1]</a> There are two problems with this rationale: 
First, other wikilink content does print, <i>for example</i> <a 
href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#See_also_section\">See 
also</a> and <a 
href=\"./Wikipedia:WikiProject_Succession_Box_Standardization#Overview\" 
title=\"Wikipedia:WikiProject Succession Box Standardization\">succession 
boxes</a>. Second, some navigation boxes contain useful information regarding 
the relationship of the article to the subjects of related 
articles.</span></li></ol></div></div>\n\n\n\n",
         "toclevel": 1,
         "line": "Footnotes",
         "anchor": "Footnotes",
diff --git 
"a/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein/section25-text.html"
 
"b/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein/section25-text.html"
index a3d5da9..a5418f0 100644
--- 
"a/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein/section25-text.html"
+++ 
"b/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein/section25-text.html"
@@ -1,28 +1,30 @@
 <div class="reflist " style=" list-style-type: decimal;">
-  <ol class="mw-references">
-    <li id="cite_note-sequence-1"><a 
href="./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-sequence_1-0"><span 
class="mw-linkback-text">↑ </span></a> <span 
id="mw-reference-text-cite_note-sequence-1" class="mw-reference-text">This 
sequence has been in place since at least <a rel="mw:ExtLink" 
href="http://en.wikipedia.org/w/index.php?title=Wikipedia:Layout&amp;oldid=2166480";>2003</a>
 (when "See also" was called "Related topics"). <i>See, for example,</i> <a 
href="./Wikipedia:Perennial_proposals#Changes_to_standard_appendices" 
title="Wikipedia:Perennial proposals">Wikipedia:Perennial proposals#Changes to 
standard appendices</a>. The original rationale for this ordering is that, with 
the exception of <i>Works,</i> sections which contain material outside 
Wikipedia (including <i>Further reading</i> and <i>External links</i>) should 
come after sections that contain Wikipedia material (including <i>See also</i>) 
to help keep the distinction clear. The sections containing notes and 
references often contain both kinds of material and, consequently, appear after 
the <i>See also</i> section (if any) and before the <i>Further reading</i> 
section (if any). Whatever the validity of the original rationale, there is now 
the additional factor that readers have come to expect the appendices to appear 
in this order.</span></li>
-    <li
-      id="cite_note-2"><a 
href="./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-2"><span 
class="mw-linkback-text">↑ </span></a> <span id="mw-reference-text-cite_note-2" 
class="mw-reference-text">While categories are entered on the editing page 
ahead of stub templates, they appear on the visual page in a separate box after 
the stub templates. One of the reasons this happens is that every stub template 
generates a stub category, and those stub categories appear after the "main" 
categories. Another is that certain bots and scripts are set up to expect the 
categories, stubs and <a href="./Help:Interlanguage_links" 
title="Help:Interlanguage links">interlanguage links</a> to appear in that 
order, and will reposition them if they don't. Therefore, any manual attempt to 
change the order is futile unless the bots and scripts are also 
altered.</span></li>
+  <div class="mw-references-wrap">
+    <ol class="mw-references references">
+      <li id="cite_note-sequence-1"><a 
href="./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-sequence_1-0"><span 
class="mw-linkback-text">↑ </span></a> <span 
id="mw-reference-text-cite_note-sequence-1" class="mw-reference-text">This 
sequence has been in place since at least <a rel="mw:ExtLink" 
href="http://en.wikipedia.org/w/index.php?title=Wikipedia:Layout&amp;oldid=2166480";>2003</a>
 (when "See also" was called "Related topics"). <i>See, for example,</i> <a 
href="./Wikipedia:Perennial_proposals#Changes_to_standard_appendices" 
title="Wikipedia:Perennial proposals">Wikipedia:Perennial proposals#Changes to 
standard appendices</a>. The original rationale for this ordering is that, with 
the exception of <i>Works,</i> sections which contain material outside 
Wikipedia (including <i>Further reading</i> and <i>External links</i>) should 
come after sections that contain Wikipedia material (including <i>See also</i>) 
to help keep the distinction clear. The sections containing notes and 
references often contain both kinds of material and, consequently, appear after 
the <i>See also</i> section (if any) and before the <i>Further reading</i> 
section (if any). Whatever the validity of the original rationale, there is now 
the additional factor that readers have come to expect the appendices to appear 
in this order.</span></li>
       <li
-        id="cite_note-3"><a 
href="./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-3"><span 
class="mw-linkback-text">↑ </span></a> <span id="mw-reference-text-cite_note-3" 
class="mw-reference-text">For example, skipping heading levels, such as jumping 
from <code>==Heading<span>&nbsp;</span>2==</code>
-        to <code>====Heading<span>&nbsp;</span>4====</code> without 
<code>===Heading<span>&nbsp;</span>3===</code> in the middle, violates <a 
href="./Wikipedia:Accessibility" title="Wikipedia:Accessibility" 
class="mw-redirect">Wikipedia:Accessibility</a>        as it reduces usability 
for readers on screen readers who use heading levels to navigate pages.</span>
-        </li>
-        <li id="cite_note-4"><a 
href="./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-4"><span 
class="mw-linkback-text">↑ </span></a> <span id="mw-reference-text-cite_note-4" 
class="mw-reference-text">Syntax:
+        id="cite_note-2"><a 
href="./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-2"><span 
class="mw-linkback-text">↑ </span></a> <span id="mw-reference-text-cite_note-2" 
class="mw-reference-text">While categories are entered on the editing page 
ahead of stub templates, they appear on the visual page in a separate box after 
the stub templates. One of the reasons this happens is that every stub template 
generates a stub category, and those stub categories appear after the "main" 
categories. Another is that certain bots and scripts are set up to expect the 
categories, stubs and <a href="./Help:Interlanguage_links" 
title="Help:Interlanguage links">interlanguage links</a> to appear in that 
order, and will reposition them if they don't. Therefore, any manual attempt to 
change the order is futile unless the bots and scripts are also 
altered.</span></li>
+        <li
+          id="cite_note-3"><a 
href="./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-3"><span 
class="mw-linkback-text">↑ </span></a> <span id="mw-reference-text-cite_note-3" 
class="mw-reference-text">For example, skipping heading levels, such as jumping 
from <code>==Heading<span>&nbsp;</span>2==</code>
+          to <code>====Heading<span>&nbsp;</span>4====</code> without 
<code>===Heading<span>&nbsp;</span>3===</code> in the middle, violates <a 
href="./Wikipedia:Accessibility" title="Wikipedia:Accessibility" 
class="mw-redirect">Wikipedia:Accessibility</a>          as it reduces 
usability for readers on screen readers who use heading levels to navigate 
pages.</span>
+          </li>
+          <li id="cite_note-4"><a 
href="./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-4"><span 
class="mw-linkback-text">↑ </span></a> <span id="mw-reference-text-cite_note-4" 
class="mw-reference-text">Syntax:
 <div style="color: #000000; background: #FFFFFF; padding: 1em; border: 1px 
solid #8FBC8F; font-size:111%;" class="mw-highlight mw-content-ltr" dir="ltr">
 <pre id="mw8g"><span class="gh">==</span>See also<span class="gh">==</span> * 
<span class="k">[[Wikipedia:How to edit a page]]</span> * <span 
class="k">[[Wikipedia:Manual of Style]]</span>
-          </pre>
-</div>
+            </pre>
+  </div>
 
-Which produces:
-<blockquote style="background: #FFFFFF; padding: 1em; border: 1px solid 
#999999; font-size:111%;">
-  <div style="color: #000000; background: none; overflow: hidden; 
page-break-after: avoid; font-size: 1.5em; font-family: Georgia,Times,serif; 
margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; padding: 0; 
border-bottom: 1px solid #AAAAAA;" id="mw-A">See also</div>
-  <ul id="mw-Q">
-    <li id="mw-g"> <a href="./Wikipedia:How_to_edit_a_page" 
title="Wikipedia:How to edit a page" id="mw-w" 
class="mw-redirect">Wikipedia:How to edit a page</a></li>
-    <li> <a href="./Wikipedia:Manual_of_Style" title="Wikipedia:Manual of 
Style">Wikipedia:Manual of Style</a></li>
-  </ul>
-</blockquote>
-</span>
-</li>
-<li id="cite_note-5"><a 
href="./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-5"><span 
class="mw-linkback-text">↑ </span></a> <span id="mw-reference-text-cite_note-5" 
class="mw-reference-text">The rationale for not printing navigation boxes is 
that these templates contain <a href="./Wikilink" title="Wikilink" 
class="mw-redirect">wikilinks</a> that are of no use to print readers.<a 
href="./User_talk:Ruud_Koot/2010#Do_you_recall_the_reason.3F" title="User 
talk:Ruud Koot/2010">[1]</a> There are two problems with this rationale: First, 
other wikilink content does print, <i>for example</i> <a 
href="./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#See_also_section">See 
also</a> and <a 
href="./Wikipedia:WikiProject_Succession_Box_Standardization#Overview" 
title="Wikipedia:WikiProject Succession Box Standardization">succession 
boxes</a>. Second, some navigation boxes contain useful information regarding 
the relationship of the article to the subjects of related articles.</span></li>
-</ol>
+  Which produces:
+  <blockquote style="background: #FFFFFF; padding: 1em; border: 1px solid 
#999999; font-size:111%;">
+    <div style="color: #000000; background: none; overflow: hidden; 
page-break-after: avoid; font-size: 1.5em; font-family: Georgia,Times,serif; 
margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; padding: 0; 
border-bottom: 1px solid #AAAAAA;" id="mw-A">See also</div>
+    <ul id="mw-Q">
+      <li id="mw-g"> <a href="./Wikipedia:How_to_edit_a_page" 
title="Wikipedia:How to edit a page" id="mw-w" 
class="mw-redirect">Wikipedia:How to edit a page</a></li>
+      <li> <a href="./Wikipedia:Manual_of_Style" title="Wikipedia:Manual of 
Style">Wikipedia:Manual of Style</a></li>
+    </ul>
+  </blockquote>
+  </span>
+  </li>
+  <li id="cite_note-5"><a 
href="./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_ref-5"><span 
class="mw-linkback-text">↑ </span></a> <span id="mw-reference-text-cite_note-5" 
class="mw-reference-text">The rationale for not printing navigation boxes is 
that these templates contain <a href="./Wikilink" title="Wikilink" 
class="mw-redirect">wikilinks</a> that are of no use to print readers.<a 
href="./User_talk:Ruud_Koot/2010#Do_you_recall_the_reason.3F" title="User 
talk:Ruud Koot/2010">[1]</a> There are two problems with this rationale: First, 
other wikilink content does print, <i>for example</i> <a 
href="./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#See_also_section">See 
also</a> and <a 
href="./Wikipedia:WikiProject_Succession_Box_Standardization#Overview" 
title="Wikipedia:WikiProject Succession Box Standardization">succession 
boxes</a>. Second, some navigation boxes contain useful information regarding 
the relationship of the article to the subjects of related articles.</span></li>
+  </ol>
+</div>
 </div>
diff --git 
"a/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding.json"
 
"b/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding.json"
index 1a6db04..1b13172 100644
--- 
"a/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding.json"
+++ 
"b/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding.json"
@@ -32,7 +32,7 @@
       },
       {
         "id": 3,
-        "text": "\n<ol class=\"mw-references\"><li id=\"cite_note-1\"><a 
href=\"./User:BSitzmann_(WMF)/MCS/Test/TitleLinkEncoding#cite_ref-1\"><span 
class=\"mw-linkback-text\">↑ </span></a> <span 
id=\"mw-reference-text-cite_note-1\" class=\"mw-reference-text\">There's 
something else <a href=\"./Foo\" title=\"Foo\" 
class=\"mw-redirect\">Foo</a></span></li></ol>",
+        "text": "\n<div class=\"mw-references-wrap\"><ol class=\"mw-references 
references\"><li id=\"cite_note-1\"><a 
href=\"./User:BSitzmann_(WMF)/MCS/Test/TitleLinkEncoding#cite_ref-1\"><span 
class=\"mw-linkback-text\">↑ </span></a> <span 
id=\"mw-reference-text-cite_note-1\" class=\"mw-reference-text\">There's 
something else <a href=\"./Foo\" title=\"Foo\" 
class=\"mw-redirect\">Foo</a></span></li></ol></div>",
         "toclevel": 1,
         "line": "References",
         "anchor": "References",
diff --git 
"a/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding/section3-text.html"
 
"b/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding/section3-text.html"
index 3e0db97..999203a 100644
--- 
"a/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding/section3-text.html"
+++ 
"b/test/diff/results/page_formatted-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding/section3-text.html"
@@ -1,3 +1,5 @@
-<ol class="mw-references">
-  <li id="cite_note-1"><a 
href="./User:BSitzmann_(WMF)/MCS/Test/TitleLinkEncoding#cite_ref-1"><span 
class="mw-linkback-text">↑ </span></a> <span id="mw-reference-text-cite_note-1" 
class="mw-reference-text">There's something else <a href="./Foo" title="Foo" 
class="mw-redirect">Foo</a></span></li>
-</ol>
+<div class="mw-references-wrap">
+  <ol class="mw-references references">
+    <li id="cite_note-1"><a 
href="./User:BSitzmann_(WMF)/MCS/Test/TitleLinkEncoding#cite_ref-1"><span 
class="mw-linkback-text">↑ </span></a> <span id="mw-reference-text-cite_note-1" 
class="mw-reference-text">There's something else <a href="./Foo" title="Foo" 
class="mw-redirect">Foo</a></span></li>
+  </ol>
+</div>
diff --git 
"a/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein.json"
 
"b/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein.json"
index 3dacec0..4e95c58 100644
--- 
"a/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein.json"
+++ 
"b/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein.json"
@@ -344,7 +344,7 @@
       },
       {
         "id": 25,
-        "text": "\n<div class=\"reflist \" style=\" list-style-type: 
decimal;\">\n<ol class=\"mw-references\"><li id=\"cite_note-sequence-1\"> <span 
id=\"mw-reference-text-cite_note-sequence-1\" class=\"mw-reference-text\">This 
sequence has been in place since at least <a rel=\"mw:ExtLink\" 
href=\"http://en.wikipedia.org/w/index.php?title=Wikipedia:Layout&amp;oldid=2166480\";
 class=\"external\">2003</a> (when \"See also\" was called \"Related topics\"). 
<i>See, for example,</i> <a 
href=\"/wiki/Wikipedia:Perennial_proposals#Changes_to_standard_appendices\" 
title=\"Wikipedia:Perennial proposals\">Wikipedia:Perennial proposals#Changes 
to standard appendices</a>. The original rationale for this ordering is that, 
with the exception of <i>Works,</i> sections which contain material outside 
Wikipedia (including <i>Further reading</i> and <i>External links</i>) should 
come after sections that contain Wikipedia material (including <i>See also</i>) 
to help keep the distinction clear. The sections containing notes and 
references often contain both kinds of material and, consequently, appear after 
the <i>See also</i> section (if any) and before the <i>Further reading</i> 
section (if any). Whatever the validity of the original rationale, there is now 
the additional factor that readers have come to expect the appendices to appear 
in this order.</span></li><li id=\"cite_note-2\"> <span 
id=\"mw-reference-text-cite_note-2\" class=\"mw-reference-text\">While 
categories are entered on the editing page ahead of stub templates, they appear 
on the visual page in a separate box after the stub templates. One of the 
reasons this happens is that every stub template generates a stub category, and 
those stub categories appear after the \"main\" categories. Another is that 
certain bots and scripts are set up to expect the categories, stubs and <a 
href=\"/wiki/Help:Interlanguage_links\" title=\"Help:Interlanguage 
links\">interlanguage links</a> to appear in that order, and will reposition 
them if they don't. Therefore, any manual attempt to change the order is futile 
unless the bots and scripts are also altered.</span></li><li 
id=\"cite_note-3\"> <span id=\"mw-reference-text-cite_note-3\" 
class=\"mw-reference-text\">For example, skipping heading levels, such as 
jumping from <code>==Heading<span>&nbsp;</span>2==</code> to 
<code>====Heading<span>&nbsp;</span>4====</code> without 
<code>===Heading<span>&nbsp;</span>3===</code> in the middle, violates <a 
href=\"/wiki/Wikipedia:Accessibility\" title=\"Wikipedia:Accessibility\" 
class=\"mw-redirect\">Wikipedia:Accessibility</a> as it reduces usability for 
readers on screen readers who use heading levels to navigate 
pages.</span></li><li id=\"cite_note-4\"> <span 
id=\"mw-reference-text-cite_note-4\" class=\"mw-reference-text\">Syntax:\n<div 
style=\"color: #000000; background: #FFFFFF; padding: 1em; border: 1px solid 
#8FBC8F; font-size:111%;\" class=\"mw-highlight mw-content-ltr\" 
dir=\"ltr\">\n<pre id=\"mw8g\"><span class=\"gh\">==</span>See also<span 
class=\"gh\">==</span>\n* <span class=\"k\">[[Wikipedia:How to edit a 
page]]</span>\n* <span class=\"k\">[[Wikipedia:Manual of 
Style]]</span>\n</pre></div>\n\nWhich produces:\n<blockquote 
style=\"background: #FFFFFF; padding: 1em; border: 1px solid #999999; 
font-size:111%;\">\n<div style=\"color: #000000; background: none; overflow: 
hidden; page-break-after: avoid; font-size: 1.5em; font-family: 
Georgia,Times,serif; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; 
padding: 0; border-bottom: 1px solid #AAAAAA;\" id=\"mw-A\">See also</div>\n<ul 
id=\"mw-Q\"><li id=\"mw-g\"> <a href=\"/wiki/Wikipedia:How_to_edit_a_page\" 
title=\"Wikipedia:How to edit a page\" id=\"mw-w\" 
class=\"mw-redirect\">Wikipedia:How to edit a page</a></li>\n<li> <a 
href=\"/wiki/Wikipedia:Manual_of_Style\" title=\"Wikipedia:Manual of 
Style\">Wikipedia:Manual of Style</a></li></ul>\n</blockquote></span></li><li 
id=\"cite_note-5\"> <span id=\"mw-reference-text-cite_note-5\" 
class=\"mw-reference-text\">The rationale for not printing navigation boxes is 
that these templates contain <a href=\"/wiki/Wikilink\" title=\"Wikilink\" 
class=\"mw-redirect\">wikilinks</a> that are of no use to print readers.<a 
href=\"/wiki/User_talk:Ruud_Koot/2010#Do_you_recall_the_reason.3F\" 
title=\"User talk:Ruud Koot/2010\">[1]</a> There are two problems with this 
rationale: First, other wikilink content does print, <i>for example</i> <a 
href=\"#See_also_section\">See also</a> and <a 
href=\"/wiki/Wikipedia:WikiProject_Succession_Box_Standardization#Overview\" 
title=\"Wikipedia:WikiProject Succession Box Standardization\">succession 
boxes</a>. Second, some navigation boxes contain useful information regarding 
the relationship of the article to the subjects of related 
articles.</span></li></ol></div>\n\n\n\n",
+        "text": "\n<div class=\"reflist \" style=\" list-style-type: 
decimal;\">\n<div class=\"mw-references-wrap\"><ol class=\"mw-references 
references\"><li id=\"cite_note-sequence-1\"> <span 
id=\"mw-reference-text-cite_note-sequence-1\" class=\"mw-reference-text\">This 
sequence has been in place since at least <a rel=\"mw:ExtLink\" 
href=\"http://en.wikipedia.org/w/index.php?title=Wikipedia:Layout&amp;oldid=2166480\";
 class=\"external\">2003</a> (when \"See also\" was called \"Related topics\"). 
<i>See, for example,</i> <a 
href=\"/wiki/Wikipedia:Perennial_proposals#Changes_to_standard_appendices\" 
title=\"Wikipedia:Perennial proposals\">Wikipedia:Perennial proposals#Changes 
to standard appendices</a>. The original rationale for this ordering is that, 
with the exception of <i>Works,</i> sections which contain material outside 
Wikipedia (including <i>Further reading</i> and <i>External links</i>) should 
come after sections that contain Wikipedia material (including <i>See also</i>) 
to help keep the distinction clear. The sections containing notes and 
references often contain both kinds of material and, consequently, appear after 
the <i>See also</i> section (if any) and before the <i>Further reading</i> 
section (if any). Whatever the validity of the original rationale, there is now 
the additional factor that readers have come to expect the appendices to appear 
in this order.</span></li><li id=\"cite_note-2\"> <span 
id=\"mw-reference-text-cite_note-2\" class=\"mw-reference-text\">While 
categories are entered on the editing page ahead of stub templates, they appear 
on the visual page in a separate box after the stub templates. One of the 
reasons this happens is that every stub template generates a stub category, and 
those stub categories appear after the \"main\" categories. Another is that 
certain bots and scripts are set up to expect the categories, stubs and <a 
href=\"/wiki/Help:Interlanguage_links\" title=\"Help:Interlanguage 
links\">interlanguage links</a> to appear in that order, and will reposition 
them if they don't. Therefore, any manual attempt to change the order is futile 
unless the bots and scripts are also altered.</span></li><li 
id=\"cite_note-3\"> <span id=\"mw-reference-text-cite_note-3\" 
class=\"mw-reference-text\">For example, skipping heading levels, such as 
jumping from <code>==Heading<span>&nbsp;</span>2==</code> to 
<code>====Heading<span>&nbsp;</span>4====</code> without 
<code>===Heading<span>&nbsp;</span>3===</code> in the middle, violates <a 
href=\"/wiki/Wikipedia:Accessibility\" title=\"Wikipedia:Accessibility\" 
class=\"mw-redirect\">Wikipedia:Accessibility</a> as it reduces usability for 
readers on screen readers who use heading levels to navigate 
pages.</span></li><li id=\"cite_note-4\"> <span 
id=\"mw-reference-text-cite_note-4\" class=\"mw-reference-text\">Syntax:\n<div 
style=\"color: #000000; background: #FFFFFF; padding: 1em; border: 1px solid 
#8FBC8F; font-size:111%;\" class=\"mw-highlight mw-content-ltr\" 
dir=\"ltr\">\n<pre id=\"mw8g\"><span class=\"gh\">==</span>See also<span 
class=\"gh\">==</span>\n* <span class=\"k\">[[Wikipedia:How to edit a 
page]]</span>\n* <span class=\"k\">[[Wikipedia:Manual of 
Style]]</span>\n</pre></div>\n\nWhich produces:\n<blockquote 
style=\"background: #FFFFFF; padding: 1em; border: 1px solid #999999; 
font-size:111%;\">\n<div style=\"color: #000000; background: none; overflow: 
hidden; page-break-after: avoid; font-size: 1.5em; font-family: 
Georgia,Times,serif; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; 
padding: 0; border-bottom: 1px solid #AAAAAA;\" id=\"mw-A\">See also</div>\n<ul 
id=\"mw-Q\"><li id=\"mw-g\"> <a href=\"/wiki/Wikipedia:How_to_edit_a_page\" 
title=\"Wikipedia:How to edit a page\" id=\"mw-w\" 
class=\"mw-redirect\">Wikipedia:How to edit a page</a></li>\n<li> <a 
href=\"/wiki/Wikipedia:Manual_of_Style\" title=\"Wikipedia:Manual of 
Style\">Wikipedia:Manual of Style</a></li></ul>\n</blockquote></span></li><li 
id=\"cite_note-5\"> <span id=\"mw-reference-text-cite_note-5\" 
class=\"mw-reference-text\">The rationale for not printing navigation boxes is 
that these templates contain <a href=\"/wiki/Wikilink\" title=\"Wikilink\" 
class=\"mw-redirect\">wikilinks</a> that are of no use to print readers.<a 
href=\"/wiki/User_talk:Ruud_Koot/2010#Do_you_recall_the_reason.3F\" 
title=\"User talk:Ruud Koot/2010\">[1]</a> There are two problems with this 
rationale: First, other wikilink content does print, <i>for example</i> <a 
href=\"#See_also_section\">See also</a> and <a 
href=\"/wiki/Wikipedia:WikiProject_Succession_Box_Standardization#Overview\" 
title=\"Wikipedia:WikiProject Succession Box Standardization\">succession 
boxes</a>. Second, some navigation boxes contain useful information regarding 
the relationship of the article to the subjects of related 
articles.</span></li></ol></div></div>\n\n\n\n",
         "toclevel": 1,
         "line": "Footnotes",
         "anchor": "Footnotes",
diff --git 
"a/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein/section25-text.html"
 
"b/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein/section25-text.html"
index 4988919..f81fa62 100644
--- 
"a/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein/section25-text.html"
+++ 
"b/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_Frankenstein/section25-text.html"
@@ -1,27 +1,29 @@
 <div class="reflist " style=" list-style-type: decimal;">
-  <ol class="mw-references">
-    <li id="cite_note-sequence-1"> <span 
id="mw-reference-text-cite_note-sequence-1" class="mw-reference-text">This 
sequence has been in place since at least <a rel="mw:ExtLink" 
href="http://en.wikipedia.org/w/index.php?title=Wikipedia:Layout&amp;oldid=2166480";
 class="external">2003</a> (when "See also" was called "Related topics"). 
<i>See, for example,</i> <a 
href="/wiki/Wikipedia:Perennial_proposals#Changes_to_standard_appendices" 
title="Wikipedia:Perennial proposals">Wikipedia:Perennial proposals#Changes to 
standard appendices</a>. The original rationale for this ordering is that, with 
the exception of <i>Works,</i> sections which contain material outside 
Wikipedia (including <i>Further reading</i> and <i>External links</i>) should 
come after sections that contain Wikipedia material (including <i>See also</i>) 
to help keep the distinction clear. The sections containing notes and 
references often contain both kinds of material and, consequently, appear after 
the <i>See also</i> section (if any) and before the <i>Further reading</i> 
section (if any). Whatever the validity of the original rationale, there is now 
the additional factor that readers have come to expect the appendices to appear 
in this order.</span></li>
-    <li
-      id="cite_note-2"> <span id="mw-reference-text-cite_note-2" 
class="mw-reference-text">While categories are entered on the editing page 
ahead of stub templates, they appear on the visual page in a separate box after 
the stub templates. One of the reasons this happens is that every stub template 
generates a stub category, and those stub categories appear after the "main" 
categories. Another is that certain bots and scripts are set up to expect the 
categories, stubs and <a href="/wiki/Help:Interlanguage_links" 
title="Help:Interlanguage links">interlanguage links</a> to appear in that 
order, and will reposition them if they don't. Therefore, any manual attempt to 
change the order is futile unless the bots and scripts are also 
altered.</span></li>
+  <div class="mw-references-wrap">
+    <ol class="mw-references references">
+      <li id="cite_note-sequence-1"> <span 
id="mw-reference-text-cite_note-sequence-1" class="mw-reference-text">This 
sequence has been in place since at least <a rel="mw:ExtLink" 
href="http://en.wikipedia.org/w/index.php?title=Wikipedia:Layout&amp;oldid=2166480";
 class="external">2003</a> (when "See also" was called "Related topics"). 
<i>See, for example,</i> <a 
href="/wiki/Wikipedia:Perennial_proposals#Changes_to_standard_appendices" 
title="Wikipedia:Perennial proposals">Wikipedia:Perennial proposals#Changes to 
standard appendices</a>. The original rationale for this ordering is that, with 
the exception of <i>Works,</i> sections which contain material outside 
Wikipedia (including <i>Further reading</i> and <i>External links</i>) should 
come after sections that contain Wikipedia material (including <i>See also</i>) 
to help keep the distinction clear. The sections containing notes and 
references often contain both kinds of material and, consequently, appear after 
the <i>See also</i> section (if any) and before the <i>Further reading</i> 
section (if any). Whatever the validity of the original rationale, there is now 
the additional factor that readers have come to expect the appendices to appear 
in this order.</span></li>
       <li
-        id="cite_note-3"> <span id="mw-reference-text-cite_note-3" 
class="mw-reference-text">For example, skipping heading levels, such as jumping 
from <code>==Heading<span>&nbsp;</span>2==</code> to 
<code>====Heading<span>&nbsp;</span>4====</code> without 
<code>===Heading<span>&nbsp;</span>3===</code>        in the middle, violates 
<a href="/wiki/Wikipedia:Accessibility" title="Wikipedia:Accessibility" 
class="mw-redirect">Wikipedia:Accessibility</a> as it reduces usability for 
readers on screen readers who use heading levels to navigate pages.</span>
-        </li>
-        <li id="cite_note-4"> <span id="mw-reference-text-cite_note-4" 
class="mw-reference-text">Syntax:
+        id="cite_note-2"> <span id="mw-reference-text-cite_note-2" 
class="mw-reference-text">While categories are entered on the editing page 
ahead of stub templates, they appear on the visual page in a separate box after 
the stub templates. One of the reasons this happens is that every stub template 
generates a stub category, and those stub categories appear after the "main" 
categories. Another is that certain bots and scripts are set up to expect the 
categories, stubs and <a href="/wiki/Help:Interlanguage_links" 
title="Help:Interlanguage links">interlanguage links</a> to appear in that 
order, and will reposition them if they don't. Therefore, any manual attempt to 
change the order is futile unless the bots and scripts are also 
altered.</span></li>
+        <li
+          id="cite_note-3"> <span id="mw-reference-text-cite_note-3" 
class="mw-reference-text">For example, skipping heading levels, such as jumping 
from <code>==Heading<span>&nbsp;</span>2==</code> to 
<code>====Heading<span>&nbsp;</span>4====</code> without 
<code>===Heading<span>&nbsp;</span>3===</code>          in the middle, violates 
<a href="/wiki/Wikipedia:Accessibility" title="Wikipedia:Accessibility" 
class="mw-redirect">Wikipedia:Accessibility</a> as it reduces usability for 
readers on screen readers who use heading levels to navigate pages.</span>
+          </li>
+          <li id="cite_note-4"> <span id="mw-reference-text-cite_note-4" 
class="mw-reference-text">Syntax:
 <div style="color: #000000; background: #FFFFFF; padding: 1em; border: 1px 
solid #8FBC8F; font-size:111%;" class="mw-highlight mw-content-ltr" dir="ltr">
 <pre id="mw8g"><span class="gh">==</span>See also<span class="gh">==</span> * 
<span class="k">[[Wikipedia:How to edit a page]]</span> * <span 
class="k">[[Wikipedia:Manual of Style]]</span>
-          </pre>
-</div>
+            </pre>
+  </div>
 
-Which produces:
-<blockquote style="background: #FFFFFF; padding: 1em; border: 1px solid 
#999999; font-size:111%;">
-  <div style="color: #000000; background: none; overflow: hidden; 
page-break-after: avoid; font-size: 1.5em; font-family: Georgia,Times,serif; 
margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; padding: 0; 
border-bottom: 1px solid #AAAAAA;" id="mw-A">See also</div>
-  <ul id="mw-Q">
-    <li id="mw-g"> <a href="/wiki/Wikipedia:How_to_edit_a_page" 
title="Wikipedia:How to edit a page" id="mw-w" 
class="mw-redirect">Wikipedia:How to edit a page</a></li>
-    <li> <a href="/wiki/Wikipedia:Manual_of_Style" title="Wikipedia:Manual of 
Style">Wikipedia:Manual of Style</a></li>
-  </ul>
-</blockquote>
-</span>
-</li>
-<li id="cite_note-5"> <span id="mw-reference-text-cite_note-5" 
class="mw-reference-text">The rationale for not printing navigation boxes is 
that these templates contain <a href="/wiki/Wikilink" title="Wikilink" 
class="mw-redirect">wikilinks</a> that are of no use to print readers.<a 
href="/wiki/User_talk:Ruud_Koot/2010#Do_you_recall_the_reason.3F" title="User 
talk:Ruud Koot/2010">[1]</a> There are two problems with this rationale: First, 
other wikilink content does print, <i>for example</i> <a 
href="#See_also_section">See also</a> and <a 
href="/wiki/Wikipedia:WikiProject_Succession_Box_Standardization#Overview" 
title="Wikipedia:WikiProject Succession Box Standardization">succession 
boxes</a>. Second, some navigation boxes contain useful information regarding 
the relationship of the article to the subjects of related articles.</span></li>
-</ol>
+  Which produces:
+  <blockquote style="background: #FFFFFF; padding: 1em; border: 1px solid 
#999999; font-size:111%;">
+    <div style="color: #000000; background: none; overflow: hidden; 
page-break-after: avoid; font-size: 1.5em; font-family: Georgia,Times,serif; 
margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; padding: 0; 
border-bottom: 1px solid #AAAAAA;" id="mw-A">See also</div>
+    <ul id="mw-Q">
+      <li id="mw-g"> <a href="/wiki/Wikipedia:How_to_edit_a_page" 
title="Wikipedia:How to edit a page" id="mw-w" 
class="mw-redirect">Wikipedia:How to edit a page</a></li>
+      <li> <a href="/wiki/Wikipedia:Manual_of_Style" title="Wikipedia:Manual 
of Style">Wikipedia:Manual of Style</a></li>
+    </ul>
+  </blockquote>
+  </span>
+  </li>
+  <li id="cite_note-5"> <span id="mw-reference-text-cite_note-5" 
class="mw-reference-text">The rationale for not printing navigation boxes is 
that these templates contain <a href="/wiki/Wikilink" title="Wikilink" 
class="mw-redirect">wikilinks</a> that are of no use to print readers.<a 
href="/wiki/User_talk:Ruud_Koot/2010#Do_you_recall_the_reason.3F" title="User 
talk:Ruud Koot/2010">[1]</a> There are two problems with this rationale: First, 
other wikilink content does print, <i>for example</i> <a 
href="#See_also_section">See also</a> and <a 
href="/wiki/Wikipedia:WikiProject_Succession_Box_Standardization#Overview" 
title="Wikipedia:WikiProject Succession Box Standardization">succession 
boxes</a>. Second, some navigation boxes contain useful information regarding 
the relationship of the article to the subjects of related articles.</span></li>
+  </ol>
+</div>
 </div>
diff --git 
"a/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding.json"
 
"b/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding.json"
index 509c507..dd2431a 100644
--- 
"a/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding.json"
+++ 
"b/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding.json"
@@ -54,7 +54,7 @@
       },
       {
         "id": 3,
-        "text": "\n<ol class=\"mw-references\"><li id=\"cite_note-1\"> <span 
id=\"mw-reference-text-cite_note-1\" class=\"mw-reference-text\">There's 
something else <a href=\"/wiki/Foo\" title=\"Foo\" 
class=\"mw-redirect\">Foo</a></span></li></ol>",
+        "text": "\n<div class=\"mw-references-wrap\"><ol class=\"mw-references 
references\"><li id=\"cite_note-1\"> <span id=\"mw-reference-text-cite_note-1\" 
class=\"mw-reference-text\">There's something else <a href=\"/wiki/Foo\" 
title=\"Foo\" class=\"mw-redirect\">Foo</a></span></li></ol></div>",
         "toclevel": 1,
         "line": "References",
         "anchor": "References",
diff --git 
"a/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding/section3-text.html"
 
"b/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding/section3-text.html"
index f9545f9..09fb118 100644
--- 
"a/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding/section3-text.html"
+++ 
"b/test/diff/results/page_mobile-sections-enwiki-User%3ABSitzmann_\050WMF\051_MCS_Test_TitleLinkEncoding/section3-text.html"
@@ -1,3 +1,5 @@
-<ol class="mw-references">
-  <li id="cite_note-1"> <span id="mw-reference-text-cite_note-1" 
class="mw-reference-text">There's something else <a href="/wiki/Foo" 
title="Foo" class="mw-redirect">Foo</a></span></li>
-</ol>
+<div class="mw-references-wrap">
+  <ol class="mw-references references">
+    <li id="cite_note-1"> <span id="mw-reference-text-cite_note-1" 
class="mw-reference-text">There's something else <a href="/wiki/Foo" 
title="Foo" class="mw-redirect">Foo</a></span></li>
+  </ol>
+</div>

-- 
To view, visit https://gerrit.wikimedia.org/r/379152
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idef751c256a2bb8c7d037f28150f3f657a3b5629
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/mobileapps
Gerrit-Branch: master
Gerrit-Owner: BearND <bsitzm...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to