jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/405047 )
Change subject: Hygiene: Update diff results for <sup>-wrapped references ...................................................................... Hygiene: Update diff results for <sup>-wrapped references Needed now that T45094 is deployed. Change-Id: I0bdde8221cdcd04a39a75259c9aadc4f7cc98663 --- 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_TitleLinkEncoding.json 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_TitleLinkEncoding.json 4 files changed, 10 insertions(+), 10 deletions(-) Approvals: BearND: Looks good to me, approved jenkins-bot: Verified 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 d3eb616..3dc7cf4 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" @@ -117,7 +117,7 @@ }, { "id": 14, - "text": "\n\n<div style=\"position:relative;top:-3em\"></div><span>\n</span><div class=\"shortcutbox plainlist noprint\" role=\"note\" style=\"float:right;border:1px solid #aaa;background:#fff;margin:0em 0em 0em 1em;padding:.3em .6em .2em .6em;text-align:center;font-size:85%;font-weight:bold\"><div style=\"display:inline-block;border-bottom:1px solid #aaa;margin-bottom:.2em;font-weight:normal\"><a href=\"./Wikipedia:Shortcut\" title=\"Wikipedia:Shortcut\">Shortcuts</a>\n</div><ul></ul><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=MOS:ORDER&redirect=no\">MOS:ORDER</a></span></li><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=MOS:SECTIONORDER&redirect=no\">MOS:SECTIONORDER</a></span></li></div>\n<div role=\"note\" class=\"hatnote navigation-not-searchable\">See also: <a href=\"./Wikipedia:Manual_of_Style#Section_headings\" title=\"Wikipedia:Manual of Style\">Wikipedia:Manual of Style §<span> </span>Section headings</a></div>\n\n<p>A <a href=\"./Wikipedia:Stub#Ideal_stub_article\" title=\"Wikipedia:Stub\">simple article</a> should have at least a lead section and references. As editors add complexity where required, the elements (such as sections and templates) that are used typically appear in the following order, although they would not <i>all</i> appear in the same article at the same time: </p>\n<ol><li> Before the lead section\n<ol><li> <a href=\"./Wikipedia:Hatnote\" title=\"Wikipedia:Hatnote\">Hatnotes</a></li>\n<li> Deletion/Protection tags (<a href=\"./Wikipedia:CSD\" title=\"Wikipedia:CSD\" class=\"mw-redirect\">CSD</a>, <a href=\"./Wikipedia:PROD\" title=\"Wikipedia:PROD\" class=\"mw-redirect\">PROD</a>, <a href=\"./Wikipedia:AFD\" title=\"Wikipedia:AFD\" class=\"mw-redirect\">AFD</a>, <a href=\"./Category:Protection_templates\" title=\"Category:Protection templates\">PP</a> notices)</li></ol></li>\n<li> <a href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#Standard_appendices_and_footers\">Appendices</a><span class=\"mw-ref\" id=\"cite_ref-sequence_1-0\"><a href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_note-sequence-1\" style=\"counter-reset: mw-Ref 1;\"><span class=\"mw-reflink-text\">[1]</span></a></span>\n<ol><li> <a href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#works\">Works or publications</a> (for biographies only)</li></ol></li>\n<li> Foo\n<ol><li> <span>{</span><span>{</span><a href=\"./Template:Featured_list\" title=\"Template:Featured list\">featured list</a><span>}</span><span>}</span>, <span>{</span><span>{</span><a href=\"./Template:Featured_article\" title=\"Template:Featured article\">featured article</a><span>}</span><span>}</span> and <span>{</span><span>{</span><a href=\"./Template:Good_article\" title=\"Template:Good article\">good article</a><span>}</span><span>}</span> (where appropriate for article status) </li>\n<li> <a href=\"./Help:Category#Default_sort_key\" title=\"Help:Category\">Defaultsort</a></li>\n<li> <a href=\"./Wikipedia:Categorization\" title=\"Wikipedia:Categorization\">Categories</a><span class=\"mw-ref\" id=\"cite_ref-2\"><a href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_note-2\" style=\"counter-reset: mw-Ref 2;\"><span class=\"mw-reflink-text\">[2]</span></a></span></li></ol></li></ol>\n\n", + "text": "\n\n<div style=\"position:relative;top:-3em\"></div><span>\n</span><div class=\"shortcutbox plainlist noprint\" role=\"note\" style=\"float:right;border:1px solid #aaa;background:#fff;margin:0em 0em 0em 1em;padding:.3em .6em .2em .6em;text-align:center;font-size:85%;font-weight:bold\"><div style=\"display:inline-block;border-bottom:1px solid #aaa;margin-bottom:.2em;font-weight:normal\"><a href=\"./Wikipedia:Shortcut\" title=\"Wikipedia:Shortcut\">Shortcuts</a>\n</div><ul></ul><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=MOS:ORDER&redirect=no\">MOS:ORDER</a></span></li><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=MOS:SECTIONORDER&redirect=no\">MOS:SECTIONORDER</a></span></li></div>\n<div role=\"note\" class=\"hatnote navigation-not-searchable\">See also: <a href=\"./Wikipedia:Manual_of_Style#Section_headings\" title=\"Wikipedia:Manual of Style\">Wikipedia:Manual of Style §<span> </span>Section headings</a></div>\n\n<p>A <a href=\"./Wikipedia:Stub#Ideal_stub_article\" title=\"Wikipedia:Stub\">simple article</a> should have at least a lead section and references. As editors add complexity where required, the elements (such as sections and templates) that are used typically appear in the following order, although they would not <i>all</i> appear in the same article at the same time: </p>\n<ol><li> Before the lead section\n<ol><li> <a href=\"./Wikipedia:Hatnote\" title=\"Wikipedia:Hatnote\">Hatnotes</a></li>\n<li> Deletion/Protection tags (<a href=\"./Wikipedia:CSD\" title=\"Wikipedia:CSD\" class=\"mw-redirect\">CSD</a>, <a href=\"./Wikipedia:PROD\" title=\"Wikipedia:PROD\" class=\"mw-redirect\">PROD</a>, <a href=\"./Wikipedia:AFD\" title=\"Wikipedia:AFD\" class=\"mw-redirect\">AFD</a>, <a href=\"./Category:Protection_templates\" title=\"Category:Protection templates\">PP</a> notices)</li></ol></li>\n<li> <a href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#Standard_appendices_and_footers\">Appendices</a><sup class=\"mw-ref\" id=\"cite_ref-sequence_1-0\"><a href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_note-sequence-1\" style=\"counter-reset: mw-Ref 1;\"><span class=\"mw-reflink-text\">[1]</span></a></sup>\n<ol><li> <a href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#works\">Works or publications</a> (for biographies only)</li></ol></li>\n<li> Foo\n<ol><li> <span>{</span><span>{</span><a href=\"./Template:Featured_list\" title=\"Template:Featured list\">featured list</a><span>}</span><span>}</span>, <span>{</span><span>{</span><a href=\"./Template:Featured_article\" title=\"Template:Featured article\">featured article</a><span>}</span><span>}</span> and <span>{</span><span>{</span><a href=\"./Template:Good_article\" title=\"Template:Good article\">good article</a><span>}</span><span>}</span> (where appropriate for article status) </li>\n<li> <a href=\"./Help:Category#Default_sort_key\" title=\"Help:Category\">Defaultsort</a></li>\n<li> <a href=\"./Wikipedia:Categorization\" title=\"Wikipedia:Categorization\">Categories</a><sup class=\"mw-ref\" id=\"cite_ref-2\"><a href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_note-2\" style=\"counter-reset: mw-Ref 2;\"><span class=\"mw-reflink-text\">[2]</span></a></sup></li></ol></li></ol>\n\n", "toclevel": 2, "line": "Order of article elements", "anchor": "Order_of_article_elements" @@ -131,7 +131,7 @@ }, { "id": 16, - "text": "\n<div role=\"note\" class=\"hatnote navigation-not-searchable\">Further information: <a href=\"./Wikipedia:Manual_of_Style#Section_headings\" title=\"Wikipedia:Manual of Style\">Wikipedia:Manual of Style §<span> </span>Section headings</a></div>\n\n<p>Headings introduce sections and subsections, clarify articles by breaking up text, organize content, and populate the <a href=\"./Wikipedia:TOC\" title=\"Wikipedia:TOC\" class=\"mw-redirect\">table of contents</a>.</p>\n\n<p>Headings follow a six-level hierarchy, starting at 1 and ending at 6. The level of the heading is defined by the number of equal signs on either side of the title. Heading 1 (<code>=Heading<span> </span>1=</code>) is automatically generated as the title of the article, and is never appropriate within the body of articles. Sections start at the second level (<code>==Heading<span> </span>2==</code>), with subsections at the third level (<code>===Heading<span> </span>3===</code>), and additional levels of subsections at the fourth level (<code>====Heading<span> </span>4====</code>), fifth level, and sixth level. Sections should be consecutive, such that they do not skip levels from sections to sub-subsections; the exact methodology is part of the <a href=\"./Wikipedia:ACCESS\" title=\"Wikipedia:ACCESS\" class=\"mw-redirect\">Accessibility</a> guideline.<span class=\"mw-ref\" id=\"cite_ref-3\"><a href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_note-3\" style=\"counter-reset: mw-Ref 3;\"><span class=\"mw-reflink-text\">[3]</span></a></span></p>\n\n", + "text": "\n<div role=\"note\" class=\"hatnote navigation-not-searchable\">Further information: <a href=\"./Wikipedia:Manual_of_Style#Section_headings\" title=\"Wikipedia:Manual of Style\">Wikipedia:Manual of Style §<span> </span>Section headings</a></div>\n\n<p>Headings introduce sections and subsections, clarify articles by breaking up text, organize content, and populate the <a href=\"./Wikipedia:TOC\" title=\"Wikipedia:TOC\" class=\"mw-redirect\">table of contents</a>.</p>\n\n<p>Headings follow a six-level hierarchy, starting at 1 and ending at 6. The level of the heading is defined by the number of equal signs on either side of the title. Heading 1 (<code>=Heading<span> </span>1=</code>) is automatically generated as the title of the article, and is never appropriate within the body of articles. Sections start at the second level (<code>==Heading<span> </span>2==</code>), with subsections at the third level (<code>===Heading<span> </span>3===</code>), and additional levels of subsections at the fourth level (<code>====Heading<span> </span>4====</code>), fifth level, and sixth level. Sections should be consecutive, such that they do not skip levels from sections to sub-subsections; the exact methodology is part of the <a href=\"./Wikipedia:ACCESS\" title=\"Wikipedia:ACCESS\" class=\"mw-redirect\">Accessibility</a> guideline.<sup class=\"mw-ref\" id=\"cite_ref-3\"><a href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_note-3\" style=\"counter-reset: mw-Ref 3;\"><span class=\"mw-reflink-text\">[3]</span></a></sup></p>\n\n", "toclevel": 3, "line": "Headings and sections", "anchor": "Headings_and_sections" @@ -159,7 +159,7 @@ }, { "id": 20, - "text": "\n<p>When appendix sections are used, they should appear at the bottom of an article, with <code>==level 2 headings==</code>,<span class=\"mw-ref\" id=\"cite_ref-4\"><a href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_note-4\" style=\"counter-reset: mw-Ref 4;\"><span class=\"mw-reflink-text\">[4]</span></a></span> followed by the various footers.</p>\n\n", + "text": "\n<p>When appendix sections are used, they should appear at the bottom of an article, with <code>==level 2 headings==</code>,<sup class=\"mw-ref\" id=\"cite_ref-4\"><a href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_note-4\" style=\"counter-reset: mw-Ref 4;\"><span class=\"mw-reflink-text\">[4]</span></a></sup> followed by the various footers.</p>\n\n", "toclevel": 2, "line": "Headings", "anchor": "Headings" @@ -187,7 +187,7 @@ }, { "id": 24, - "text": "\n<div style=\"position:relative;top:-3em\"></div><span>\n</span><div class=\"shortcutbox plainlist noprint\" role=\"note\" style=\"float:right;border:1px solid #aaa;background:#fff;margin:0em 0em 0em 1em;padding:.3em .6em .2em .6em;text-align:center;font-size:85%;font-weight:bold\"><div style=\"display:inline-block;border-bottom:1px solid #aaa;margin-bottom:.2em;font-weight:normal\"><a href=\"./Wikipedia:Shortcut\" title=\"Wikipedia:Shortcut\">Shortcuts</a>\n</div><ul></ul><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=Wikipedia:LAYOUTNAV&redirect=no\">WP:LAYOUTNAV</a></span></li><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=Wikipedia:NAVLAYOUT&redirect=no\">WP:NAVLAYOUT</a></span></li></div>\n<div role=\"note\" class=\"hatnote navigation-not-searchable\">Main page: <a href=\"./Wikipedia:Categories,_lists,_and_navigation_templates#Navigation_templates\" title=\"Wikipedia:Categories, lists, and navigation templates\">Wikipedia:Categories, lists, and navigation templates §<span> </span>Navigation templates</a></div>\n\n<p><b>Contents:</b> <a href=\"./Wikipedia:Navigation_templates\" title=\"Wikipedia:Navigation templates\" class=\"mw-redirect\">Navigation templates</a> and footer navboxes, such as <a href=\"./Wikipedia:WikiProject_Succession_Box_Standardization#Overview\" title=\"Wikipedia:WikiProject Succession Box Standardization\">succession boxes</a> and geography boxes (for example, <code>{{<a href=\"./Template:Geographic_location\" title=\"Template:Geographic location\" class=\"mw-redirect\">Geographic location</a>}}</code>). Most navboxes do not appear in printed versions of Wikipedia articles.<span class=\"mw-ref\" id=\"cite_ref-5\"><a href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_note-5\" style=\"counter-reset: mw-Ref 5;\"><span class=\"mw-reflink-text\">[5]</span></a></span></p>\n\n", + "text": "\n<div style=\"position:relative;top:-3em\"></div><span>\n</span><div class=\"shortcutbox plainlist noprint\" role=\"note\" style=\"float:right;border:1px solid #aaa;background:#fff;margin:0em 0em 0em 1em;padding:.3em .6em .2em .6em;text-align:center;font-size:85%;font-weight:bold\"><div style=\"display:inline-block;border-bottom:1px solid #aaa;margin-bottom:.2em;font-weight:normal\"><a href=\"./Wikipedia:Shortcut\" title=\"Wikipedia:Shortcut\">Shortcuts</a>\n</div><ul></ul><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=Wikipedia:LAYOUTNAV&redirect=no\">WP:LAYOUTNAV</a></span></li><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=Wikipedia:NAVLAYOUT&redirect=no\">WP:NAVLAYOUT</a></span></li></div>\n<div role=\"note\" class=\"hatnote navigation-not-searchable\">Main page: <a href=\"./Wikipedia:Categories,_lists,_and_navigation_templates#Navigation_templates\" title=\"Wikipedia:Categories, lists, and navigation templates\">Wikipedia:Categories, lists, and navigation templates §<span> </span>Navigation templates</a></div>\n\n<p><b>Contents:</b> <a href=\"./Wikipedia:Navigation_templates\" title=\"Wikipedia:Navigation templates\" class=\"mw-redirect\">Navigation templates</a> and footer navboxes, such as <a href=\"./Wikipedia:WikiProject_Succession_Box_Standardization#Overview\" title=\"Wikipedia:WikiProject Succession Box Standardization\">succession boxes</a> and geography boxes (for example, <code>{{<a href=\"./Template:Geographic_location\" title=\"Template:Geographic location\" class=\"mw-redirect\">Geographic location</a>}}</code>). Most navboxes do not appear in printed versions of Wikipedia articles.<sup class=\"mw-ref\" id=\"cite_ref-5\"><a href=\"./User:BSitzmann_(WMF)/MCS/Test/Frankenstein#cite_note-5\" style=\"counter-reset: mw-Ref 5;\"><span class=\"mw-reflink-text\">[5]</span></a></sup></p>\n\n", "toclevel": 2, "line": "Navigation templates", "anchor": "Navigation_templates" 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 4b2d559..31dd8ef 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" @@ -8,7 +8,7 @@ "protection": {}, "editable": true, "hatnotes": [], - "intro": "<p>Some tests for <a rel=\"mw:ExtLink\" href=\"https://phabricator.wikimedia.org/T136346\">T136346: Links with plus signs are not urlencoded</a>:</p><ul><li> <a href=\"./User:BSitzmann_(WMF)/MCS/Test/TitleLinkEncoding#Pushed_to_browser\">#Pushed to browser</a></li>\n<li> <a href=\"./User:BSitzmann_(WMF)/MCS/Test/TitleLinkEncoding#Special_chars_$%&\">#Special chars $%&</a></li>\n<li> <a href=\"./User:BSitzmann_(WMF)/MCS/Test/TitleLinkEncoding#Special_chars_$%&\" title=\"User:BSitzmann (WMF)/MCS/Test/TitleLinkEncoding\">User:BSitzmann (WMF)/MCS/Test/TitleLinkEncoding#Special chars $%&</a></li>\n<li> <a href=\"./User:BSitzmann_(WMF)/MCS/Test/Lead_paragraph_move\" title=\"User:BSitzmann (WMF)/MCS/Test/Lead paragraph move\">User:BSitzmann (WMF)/MCS/Test/Lead paragraph move</a></li>\n<li> <a href=\"./Cation\" title=\"Cation\" class=\"mw-redirect\">Cation</a></li>\n<li> <a href=\"./Ion#Anions_and_cations\" title=\"Ion\">Ion#Anions_and_cations</a></li>\n<li> <a href=\"./Sort_(C++)\" title=\"Sort (C++)\">Sort (C++)</a></li>\n<li> <a href=\"./&\" title=\"&\" class=\"mw-redirect\">&</a></li>\n<li> <a href=\"./100%25\" title=\"100%\">100%</a></li>\n<li> <a href=\"./File:CSA-T4-$50-1861.jpg\" title=\"File:CSA-T4-$50-1861.jpg\">File:CSA-T4-$50-1861.jpg</a></li>\n<li> A reference with an internal link<span class=\"mw-ref\" id=\"cite_ref-1\"><a href=\"./User:BSitzmann_(WMF)/MCS/Test/TitleLinkEncoding#cite_note-1\" style=\"counter-reset: mw-Ref 1;\"><span class=\"mw-reflink-text\">[1]</span></a></span></li>\n<li> <span class=\"new\">TitleStart %!\"$&'()*,-.0-9:;=?@A-Z^_`a-z~+ titleEnd#FragmentStart_!$&'()*+,;=-._~:@/?abc0123456789_FragmentEnd </span></li></ul>", + "intro": "<p>Some tests for <a rel=\"mw:ExtLink\" href=\"https://phabricator.wikimedia.org/T136346\">T136346: Links with plus signs are not urlencoded</a>:</p><ul><li> <a href=\"./User:BSitzmann_(WMF)/MCS/Test/TitleLinkEncoding#Pushed_to_browser\">#Pushed to browser</a></li>\n<li> <a href=\"./User:BSitzmann_(WMF)/MCS/Test/TitleLinkEncoding#Special_chars_$%&\">#Special chars $%&</a></li>\n<li> <a href=\"./User:BSitzmann_(WMF)/MCS/Test/TitleLinkEncoding#Special_chars_$%&\" title=\"User:BSitzmann (WMF)/MCS/Test/TitleLinkEncoding\">User:BSitzmann (WMF)/MCS/Test/TitleLinkEncoding#Special chars $%&</a></li>\n<li> <a href=\"./User:BSitzmann_(WMF)/MCS/Test/Lead_paragraph_move\" title=\"User:BSitzmann (WMF)/MCS/Test/Lead paragraph move\">User:BSitzmann (WMF)/MCS/Test/Lead paragraph move</a></li>\n<li> <a href=\"./Cation\" title=\"Cation\" class=\"mw-redirect\">Cation</a></li>\n<li> <a href=\"./Ion#Anions_and_cations\" title=\"Ion\">Ion#Anions_and_cations</a></li>\n<li> <a href=\"./Sort_(C++)\" title=\"Sort (C++)\">Sort (C++)</a></li>\n<li> <a href=\"./&\" title=\"&\" class=\"mw-redirect\">&</a></li>\n<li> <a href=\"./100%25\" title=\"100%\">100%</a></li>\n<li> <a href=\"./File:CSA-T4-$50-1861.jpg\" title=\"File:CSA-T4-$50-1861.jpg\">File:CSA-T4-$50-1861.jpg</a></li>\n<li> A reference with an internal link<sup class=\"mw-ref\" id=\"cite_ref-1\"><a href=\"./User:BSitzmann_(WMF)/MCS/Test/TitleLinkEncoding#cite_note-1\" style=\"counter-reset: mw-Ref 1;\"><span class=\"mw-reflink-text\">[1]</span></a></sup></li>\n<li> <span class=\"new\">TitleStart %!\"$&'()*,-.0-9:;=?@A-Z^_`a-z~+ titleEnd#FragmentStart_!$&'()*+,;=-._~:@/?abc0123456789_FragmentEnd </span></li></ul>", "text": "" }, "remaining": { 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 c41b638..3cd4804 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" @@ -271,7 +271,7 @@ }, { "id": 14, - "text": "\n\n<div style=\"position:relative;top:-3em\"></div><span>\n</span><div class=\"shortcutbox plainlist noprint\" role=\"note\" style=\"float:right;border:1px solid #aaa;background:#fff;margin:0em 0em 0em 1em;padding:.3em .6em .2em .6em;text-align:center;font-size:85%;font-weight:bold\"><div style=\"display:inline-block;border-bottom:1px solid #aaa;margin-bottom:.2em;font-weight:normal\"><a href=\"/wiki/Wikipedia:Shortcut\" title=\"Wikipedia:Shortcut\">Shortcuts</a>\n</div><ul></ul><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=MOS:ORDER&redirect=no\" class=\"external\">MOS:ORDER</a></span></li><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=MOS:SECTIONORDER&redirect=no\" class=\"external\">MOS:SECTIONORDER</a></span></li></div>\n<div role=\"note\" class=\"hatnote navigation-not-searchable\">See also: <a href=\"/wiki/Wikipedia:Manual_of_Style#Section_headings\" title=\"Wikipedia:Manual of Style\">Wikipedia:Manual of Style §<span> </span>Section headings</a></div>\n\n<p>A <a href=\"/wiki/Wikipedia:Stub#Ideal_stub_article\" title=\"Wikipedia:Stub\">simple article</a> should have at least a lead section and references. As editors add complexity where required, the elements (such as sections and templates) that are used typically appear in the following order, although they would not <i>all</i> appear in the same article at the same time: </p>\n<ol><li> Before the lead section\n<ol><li> <a href=\"/wiki/Wikipedia:Hatnote\" title=\"Wikipedia:Hatnote\">Hatnotes</a></li>\n<li> Deletion/Protection tags (<a href=\"/wiki/Wikipedia:CSD\" title=\"Wikipedia:CSD\" class=\"mw-redirect\">CSD</a>, <a href=\"/wiki/Wikipedia:PROD\" title=\"Wikipedia:PROD\" class=\"mw-redirect\">PROD</a>, <a href=\"/wiki/Wikipedia:AFD\" title=\"Wikipedia:AFD\" class=\"mw-redirect\">AFD</a>, <a href=\"/wiki/Category:Protection_templates\" title=\"Category:Protection templates\">PP</a> notices)</li></ol></li>\n<li> <a href=\"#Standard_appendices_and_footers\">Appendices</a><span class=\"mw-ref\" id=\"cite_ref-sequence_1-0\"><a href=\"#cite_note-sequence-1\" style=\"counter-reset: mw-Ref 1;\"><span class=\"mw-reflink-text\">[1]</span></a></span>\n<ol><li> <a href=\"#works\">Works or publications</a> (for biographies only)</li></ol></li>\n<li> Foo\n<ol><li> <span>{</span><span>{</span><a href=\"/wiki/Template:Featured_list\" title=\"Template:Featured list\">featured list</a><span>}</span><span>}</span>, <span>{</span><span>{</span><a href=\"/wiki/Template:Featured_article\" title=\"Template:Featured article\">featured article</a><span>}</span><span>}</span> and <span>{</span><span>{</span><a href=\"/wiki/Template:Good_article\" title=\"Template:Good article\">good article</a><span>}</span><span>}</span> (where appropriate for article status) </li>\n<li> <a href=\"/wiki/Help:Category#Default_sort_key\" title=\"Help:Category\">Defaultsort</a></li>\n<li> <a href=\"/wiki/Wikipedia:Categorization\" title=\"Wikipedia:Categorization\">Categories</a><span class=\"mw-ref\" id=\"cite_ref-2\"><a href=\"#cite_note-2\" style=\"counter-reset: mw-Ref 2;\"><span class=\"mw-reflink-text\">[2]</span></a></span></li></ol></li></ol>\n\n", + "text": "\n\n<div style=\"position:relative;top:-3em\"></div><span>\n</span><div class=\"shortcutbox plainlist noprint\" role=\"note\" style=\"float:right;border:1px solid #aaa;background:#fff;margin:0em 0em 0em 1em;padding:.3em .6em .2em .6em;text-align:center;font-size:85%;font-weight:bold\"><div style=\"display:inline-block;border-bottom:1px solid #aaa;margin-bottom:.2em;font-weight:normal\"><a href=\"/wiki/Wikipedia:Shortcut\" title=\"Wikipedia:Shortcut\">Shortcuts</a>\n</div><ul></ul><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=MOS:ORDER&redirect=no\" class=\"external\">MOS:ORDER</a></span></li><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=MOS:SECTIONORDER&redirect=no\" class=\"external\">MOS:SECTIONORDER</a></span></li></div>\n<div role=\"note\" class=\"hatnote navigation-not-searchable\">See also: <a href=\"/wiki/Wikipedia:Manual_of_Style#Section_headings\" title=\"Wikipedia:Manual of Style\">Wikipedia:Manual of Style §<span> </span>Section headings</a></div>\n\n<p>A <a href=\"/wiki/Wikipedia:Stub#Ideal_stub_article\" title=\"Wikipedia:Stub\">simple article</a> should have at least a lead section and references. As editors add complexity where required, the elements (such as sections and templates) that are used typically appear in the following order, although they would not <i>all</i> appear in the same article at the same time: </p>\n<ol><li> Before the lead section\n<ol><li> <a href=\"/wiki/Wikipedia:Hatnote\" title=\"Wikipedia:Hatnote\">Hatnotes</a></li>\n<li> Deletion/Protection tags (<a href=\"/wiki/Wikipedia:CSD\" title=\"Wikipedia:CSD\" class=\"mw-redirect\">CSD</a>, <a href=\"/wiki/Wikipedia:PROD\" title=\"Wikipedia:PROD\" class=\"mw-redirect\">PROD</a>, <a href=\"/wiki/Wikipedia:AFD\" title=\"Wikipedia:AFD\" class=\"mw-redirect\">AFD</a>, <a href=\"/wiki/Category:Protection_templates\" title=\"Category:Protection templates\">PP</a> notices)</li></ol></li>\n<li> <a href=\"#Standard_appendices_and_footers\">Appendices</a><sup class=\"mw-ref\" id=\"cite_ref-sequence_1-0\"><a href=\"#cite_note-sequence-1\" style=\"counter-reset: mw-Ref 1;\"><span class=\"mw-reflink-text\">[1]</span></a></sup>\n<ol><li> <a href=\"#works\">Works or publications</a> (for biographies only)</li></ol></li>\n<li> Foo\n<ol><li> <span>{</span><span>{</span><a href=\"/wiki/Template:Featured_list\" title=\"Template:Featured list\">featured list</a><span>}</span><span>}</span>, <span>{</span><span>{</span><a href=\"/wiki/Template:Featured_article\" title=\"Template:Featured article\">featured article</a><span>}</span><span>}</span> and <span>{</span><span>{</span><a href=\"/wiki/Template:Good_article\" title=\"Template:Good article\">good article</a><span>}</span><span>}</span> (where appropriate for article status) </li>\n<li> <a href=\"/wiki/Help:Category#Default_sort_key\" title=\"Help:Category\">Defaultsort</a></li>\n<li> <a href=\"/wiki/Wikipedia:Categorization\" title=\"Wikipedia:Categorization\">Categories</a><sup class=\"mw-ref\" id=\"cite_ref-2\"><a href=\"#cite_note-2\" style=\"counter-reset: mw-Ref 2;\"><span class=\"mw-reflink-text\">[2]</span></a></sup></li></ol></li></ol>\n\n", "toclevel": 2, "line": "Order of article elements", "anchor": "Order_of_article_elements" @@ -285,7 +285,7 @@ }, { "id": 16, - "text": "\n<div role=\"note\" class=\"hatnote navigation-not-searchable\">Further information: <a href=\"/wiki/Wikipedia:Manual_of_Style#Section_headings\" title=\"Wikipedia:Manual of Style\">Wikipedia:Manual of Style §<span> </span>Section headings</a></div>\n\n<p>Headings introduce sections and subsections, clarify articles by breaking up text, organize content, and populate the <a href=\"/wiki/Wikipedia:TOC\" title=\"Wikipedia:TOC\" class=\"mw-redirect\">table of contents</a>.</p>\n\n<p>Headings follow a six-level hierarchy, starting at 1 and ending at 6. The level of the heading is defined by the number of equal signs on either side of the title. Heading 1 (<code>=Heading<span> </span>1=</code>) is automatically generated as the title of the article, and is never appropriate within the body of articles. Sections start at the second level (<code>==Heading<span> </span>2==</code>), with subsections at the third level (<code>===Heading<span> </span>3===</code>), and additional levels of subsections at the fourth level (<code>====Heading<span> </span>4====</code>), fifth level, and sixth level. Sections should be consecutive, such that they do not skip levels from sections to sub-subsections; the exact methodology is part of the <a href=\"/wiki/Wikipedia:ACCESS\" title=\"Wikipedia:ACCESS\" class=\"mw-redirect\">Accessibility</a> guideline.<span class=\"mw-ref\" id=\"cite_ref-3\"><a href=\"#cite_note-3\" style=\"counter-reset: mw-Ref 3;\"><span class=\"mw-reflink-text\">[3]</span></a></span></p>\n\n", + "text": "\n<div role=\"note\" class=\"hatnote navigation-not-searchable\">Further information: <a href=\"/wiki/Wikipedia:Manual_of_Style#Section_headings\" title=\"Wikipedia:Manual of Style\">Wikipedia:Manual of Style §<span> </span>Section headings</a></div>\n\n<p>Headings introduce sections and subsections, clarify articles by breaking up text, organize content, and populate the <a href=\"/wiki/Wikipedia:TOC\" title=\"Wikipedia:TOC\" class=\"mw-redirect\">table of contents</a>.</p>\n\n<p>Headings follow a six-level hierarchy, starting at 1 and ending at 6. The level of the heading is defined by the number of equal signs on either side of the title. Heading 1 (<code>=Heading<span> </span>1=</code>) is automatically generated as the title of the article, and is never appropriate within the body of articles. Sections start at the second level (<code>==Heading<span> </span>2==</code>), with subsections at the third level (<code>===Heading<span> </span>3===</code>), and additional levels of subsections at the fourth level (<code>====Heading<span> </span>4====</code>), fifth level, and sixth level. Sections should be consecutive, such that they do not skip levels from sections to sub-subsections; the exact methodology is part of the <a href=\"/wiki/Wikipedia:ACCESS\" title=\"Wikipedia:ACCESS\" class=\"mw-redirect\">Accessibility</a> guideline.<sup class=\"mw-ref\" id=\"cite_ref-3\"><a href=\"#cite_note-3\" style=\"counter-reset: mw-Ref 3;\"><span class=\"mw-reflink-text\">[3]</span></a></sup></p>\n\n", "toclevel": 3, "line": "Headings and sections", "anchor": "Headings_and_sections" @@ -313,7 +313,7 @@ }, { "id": 20, - "text": "\n<p>When appendix sections are used, they should appear at the bottom of an article, with <code>==level 2 headings==</code>,<span class=\"mw-ref\" id=\"cite_ref-4\"><a href=\"#cite_note-4\" style=\"counter-reset: mw-Ref 4;\"><span class=\"mw-reflink-text\">[4]</span></a></span> followed by the various footers.</p>\n\n", + "text": "\n<p>When appendix sections are used, they should appear at the bottom of an article, with <code>==level 2 headings==</code>,<sup class=\"mw-ref\" id=\"cite_ref-4\"><a href=\"#cite_note-4\" style=\"counter-reset: mw-Ref 4;\"><span class=\"mw-reflink-text\">[4]</span></a></sup> followed by the various footers.</p>\n\n", "toclevel": 2, "line": "Headings", "anchor": "Headings" @@ -341,7 +341,7 @@ }, { "id": 24, - "text": "\n<div style=\"position:relative;top:-3em\"></div><span>\n</span><div class=\"shortcutbox plainlist noprint\" role=\"note\" style=\"float:right;border:1px solid #aaa;background:#fff;margin:0em 0em 0em 1em;padding:.3em .6em .2em .6em;text-align:center;font-size:85%;font-weight:bold\"><div style=\"display:inline-block;border-bottom:1px solid #aaa;margin-bottom:.2em;font-weight:normal\"><a href=\"/wiki/Wikipedia:Shortcut\" title=\"Wikipedia:Shortcut\">Shortcuts</a>\n</div><ul></ul><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=Wikipedia:LAYOUTNAV&redirect=no\" class=\"external\">WP:LAYOUTNAV</a></span></li><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=Wikipedia:NAVLAYOUT&redirect=no\" class=\"external\">WP:NAVLAYOUT</a></span></li></div>\n<div role=\"note\" class=\"hatnote navigation-not-searchable\">Main page: <a href=\"/wiki/Wikipedia:Categories,_lists,_and_navigation_templates#Navigation_templates\" title=\"Wikipedia:Categories, lists, and navigation templates\">Wikipedia:Categories, lists, and navigation templates §<span> </span>Navigation templates</a></div>\n\n<p><b>Contents:</b> <a href=\"/wiki/Wikipedia:Navigation_templates\" title=\"Wikipedia:Navigation templates\" class=\"mw-redirect\">Navigation templates</a> and footer navboxes, such as <a href=\"/wiki/Wikipedia:WikiProject_Succession_Box_Standardization#Overview\" title=\"Wikipedia:WikiProject Succession Box Standardization\">succession boxes</a> and geography boxes (for example, <code>{{<a href=\"/wiki/Template:Geographic_location\" title=\"Template:Geographic location\" class=\"mw-redirect\">Geographic location</a>}}</code>). Most navboxes do not appear in printed versions of Wikipedia articles.<span class=\"mw-ref\" id=\"cite_ref-5\"><a href=\"#cite_note-5\" style=\"counter-reset: mw-Ref 5;\"><span class=\"mw-reflink-text\">[5]</span></a></span></p>\n\n", + "text": "\n<div style=\"position:relative;top:-3em\"></div><span>\n</span><div class=\"shortcutbox plainlist noprint\" role=\"note\" style=\"float:right;border:1px solid #aaa;background:#fff;margin:0em 0em 0em 1em;padding:.3em .6em .2em .6em;text-align:center;font-size:85%;font-weight:bold\"><div style=\"display:inline-block;border-bottom:1px solid #aaa;margin-bottom:.2em;font-weight:normal\"><a href=\"/wiki/Wikipedia:Shortcut\" title=\"Wikipedia:Shortcut\">Shortcuts</a>\n</div><ul></ul><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=Wikipedia:LAYOUTNAV&redirect=no\" class=\"external\">WP:LAYOUTNAV</a></span></li><li><span class=\"plainlinks\"><a rel=\"mw:ExtLink\" href=\"//en.wikipedia.org/w/index.php?title=Wikipedia:NAVLAYOUT&redirect=no\" class=\"external\">WP:NAVLAYOUT</a></span></li></div>\n<div role=\"note\" class=\"hatnote navigation-not-searchable\">Main page: <a href=\"/wiki/Wikipedia:Categories,_lists,_and_navigation_templates#Navigation_templates\" title=\"Wikipedia:Categories, lists, and navigation templates\">Wikipedia:Categories, lists, and navigation templates §<span> </span>Navigation templates</a></div>\n\n<p><b>Contents:</b> <a href=\"/wiki/Wikipedia:Navigation_templates\" title=\"Wikipedia:Navigation templates\" class=\"mw-redirect\">Navigation templates</a> and footer navboxes, such as <a href=\"/wiki/Wikipedia:WikiProject_Succession_Box_Standardization#Overview\" title=\"Wikipedia:WikiProject Succession Box Standardization\">succession boxes</a> and geography boxes (for example, <code>{{<a href=\"/wiki/Template:Geographic_location\" title=\"Template:Geographic location\" class=\"mw-redirect\">Geographic location</a>}}</code>). Most navboxes do not appear in printed versions of Wikipedia articles.<sup class=\"mw-ref\" id=\"cite_ref-5\"><a href=\"#cite_note-5\" style=\"counter-reset: mw-Ref 5;\"><span class=\"mw-reflink-text\">[5]</span></a></sup></p>\n\n", "toclevel": 2, "line": "Navigation templates", "anchor": "Navigation_templates" 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 8516765..82f5907 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" @@ -11,7 +11,7 @@ "sections": [ { "id": 0, - "text": "<span></span><p>Some tests for <a rel=\"mw:ExtLink\" href=\"https://phabricator.wikimedia.org/T136346\" class=\"external\">T136346: Links with plus signs are not urlencoded</a>:</p>\n<ul><li> <a href=\"#Pushed_to_browser\">#Pushed to browser</a></li>\n<li> <a href=\"#Special_chars_$%&\">#Special chars $%&</a></li>\n<li> <a href=\"#Special_chars_$%&\" title=\"User:BSitzmann (WMF)/MCS/Test/TitleLinkEncoding\">User:BSitzmann (WMF)/MCS/Test/TitleLinkEncoding#Special chars $%&</a></li>\n<li> <a href=\"/wiki/User:BSitzmann_(WMF)/MCS/Test/Lead_paragraph_move\" title=\"User:BSitzmann (WMF)/MCS/Test/Lead paragraph move\">User:BSitzmann (WMF)/MCS/Test/Lead paragraph move</a></li>\n<li> <a href=\"/wiki/Cation\" title=\"Cation\" class=\"mw-redirect\">Cation</a></li>\n<li> <a href=\"/wiki/Ion#Anions_and_cations\" title=\"Ion\">Ion#Anions_and_cations</a></li>\n<li> <a href=\"/wiki/Sort_(C++)\" title=\"Sort (C++)\">Sort (C++)</a></li>\n<li> <a href=\"/wiki/&\" title=\"&\" class=\"mw-redirect\">&</a></li>\n<li> <a href=\"/wiki/100%25\" title=\"100%\">100%</a></li>\n<li> <a href=\"/wiki/File:CSA-T4-$50-1861.jpg\" title=\"File:CSA-T4-$50-1861.jpg\">File:CSA-T4-$50-1861.jpg</a></li>\n<li> A reference with an internal link<span class=\"mw-ref\" id=\"cite_ref-1\"><a href=\"#cite_note-1\" style=\"counter-reset: mw-Ref 1;\"><span class=\"mw-reflink-text\">[1]</span></a></span></li>\n<li> <span class=\"new\">TitleStart %!\"$&'()*,-.0-9:;=?@A-Z^_`a-z~+ titleEnd#FragmentStart_!$&'()*+,;=-._~:@/?abc0123456789_FragmentEnd </span></li></ul>\n\n" + "text": "<span></span><p>Some tests for <a rel=\"mw:ExtLink\" href=\"https://phabricator.wikimedia.org/T136346\" class=\"external\">T136346: Links with plus signs are not urlencoded</a>:</p>\n<ul><li> <a href=\"#Pushed_to_browser\">#Pushed to browser</a></li>\n<li> <a href=\"#Special_chars_$%&\">#Special chars $%&</a></li>\n<li> <a href=\"#Special_chars_$%&\" title=\"User:BSitzmann (WMF)/MCS/Test/TitleLinkEncoding\">User:BSitzmann (WMF)/MCS/Test/TitleLinkEncoding#Special chars $%&</a></li>\n<li> <a href=\"/wiki/User:BSitzmann_(WMF)/MCS/Test/Lead_paragraph_move\" title=\"User:BSitzmann (WMF)/MCS/Test/Lead paragraph move\">User:BSitzmann (WMF)/MCS/Test/Lead paragraph move</a></li>\n<li> <a href=\"/wiki/Cation\" title=\"Cation\" class=\"mw-redirect\">Cation</a></li>\n<li> <a href=\"/wiki/Ion#Anions_and_cations\" title=\"Ion\">Ion#Anions_and_cations</a></li>\n<li> <a href=\"/wiki/Sort_(C++)\" title=\"Sort (C++)\">Sort (C++)</a></li>\n<li> <a href=\"/wiki/&\" title=\"&\" class=\"mw-redirect\">&</a></li>\n<li> <a href=\"/wiki/100%25\" title=\"100%\">100%</a></li>\n<li> <a href=\"/wiki/File:CSA-T4-$50-1861.jpg\" title=\"File:CSA-T4-$50-1861.jpg\">File:CSA-T4-$50-1861.jpg</a></li>\n<li> A reference with an internal link<sup class=\"mw-ref\" id=\"cite_ref-1\"><a href=\"#cite_note-1\" style=\"counter-reset: mw-Ref 1;\"><span class=\"mw-reflink-text\">[1]</span></a></sup></li>\n<li> <span class=\"new\">TitleStart %!\"$&'()*,-.0-9:;=?@A-Z^_`a-z~+ titleEnd#FragmentStart_!$&'()*+,;=-._~:@/?abc0123456789_FragmentEnd </span></li></ul>\n\n" }, { "id": 1, -- To view, visit https://gerrit.wikimedia.org/r/405047 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0bdde8221cdcd04a39a75259c9aadc4f7cc98663 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/services/mobileapps Gerrit-Branch: master Gerrit-Owner: Mholloway <mhollo...@wikimedia.org> Gerrit-Reviewer: BearND <bsitzm...@wikimedia.org> Gerrit-Reviewer: Fjalapeno <cfl...@wikimedia.org> Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org> Gerrit-Reviewer: Mhurd <mh...@wikimedia.org> Gerrit-Reviewer: Ppchelko <ppche...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits