Page MenuHomePhabricator

Citation reference links have unexpected anchor format
Closed, ResolvedPublic1 Estimated Story Points

Description

Reference citations are still coming in with an unexpected format on certain pages. The Obama page works fine:

<span class=\"mw-ref\"><a href=\"#cite_note-1\" style=\"counter-reset: mw-Ref 1;\"><span class=\"mw-reflink-text\">[1]</span></a></span>

The Wikipedia:Manual of Style page does not:

<span class=\"mw-ref\"><a href=\"/wiki/Wikipedia:Manual_of_Style#cite_note-1\" style=\"counter-reset: mw-Ref 1;\" data-mw-group=\"lower-alpha\"><span class=\"mw-reflink-text\">[lower-alpha 1]</span></a></span>

Possibly related to T155070:

A quick look at the underlying HTML reveals that the reference anchors have changed to <article name>#<reference> instead of the expected #<reference>. Tagging with MCS, since this is likely due to a change in the service's output.

Full lead response examples below.

https://en.wikipedia.org/api/rest_v1/page/mobile-sections-lead/Barack_Obama

{
  "ns": 0,
  "id": 534366,
  "revision": "769042084",
  "lastmodified": "2017-03-07T06:29:07Z",
  "lastmodifier": {
    "name": "Katastasi",
    "gender": "unknown"
  },
  "displaytitle": "Barack Obama",
  "normalizedtitle": "Barack Obama",
  "wikibase_item": "Q76",
  "description": "44th President of the United States of America",
  "protection": {
    "edit": [
      "autoconfirmed"
    ],
    "move": [
      "sysop"
    ]
  },
  "editable": false,
  "languagecount": 219,
  "image": {
    "file": "President Barack Obama.jpg",
    "urls": {
      "320": "//upload.wikimedia.org/wikipedia/commons/thumb/8/8d/President_Barack_Obama.jpg/320px-President_Barack_Obama.jpg",
      "640": "//upload.wikimedia.org/wikipedia/commons/thumb/8/8d/President_Barack_Obama.jpg/640px-President_Barack_Obama.jpg",
      "800": "//upload.wikimedia.org/wikipedia/commons/thumb/8/8d/President_Barack_Obama.jpg/800px-President_Barack_Obama.jpg",
      "1024": "//upload.wikimedia.org/wikipedia/commons/thumb/8/8d/President_Barack_Obama.jpg/1024px-President_Barack_Obama.jpg"
    }
  },
  "pronunciation": {
    "url": "//upload.wikimedia.org/wikipedia/commons/8/82/En-us-Barack-Hussein-Obama.ogg"
  },
  "spoken": {
    "files": [
      "File:Barack Obama.ogg"
    ]
  },
  "hatnotes": [
    "\"Barack\" and \"Obama\" redirect here. For other uses, see <a href=\"/wiki/Barack_(disambiguation)\" title=\"Barack (disambiguation)\">Barack (disambiguation)</a> and <a href=\"/wiki/Obama_(disambiguation)\" title=\"Obama (disambiguation)\">Obama (disambiguation)</a>."
  ],
  "sections": [
    {
      "id": 0,
      "text": "<span><p><b>Barack Hussein Obama II</b> (<span><span class=\"ipa_button\"></span><span class=\"nowrap mcs-ipa\" style=\"display: none;\"><small><a href=\"/wiki/American_English\" title=\"American English\">US</a> </small><span class=\"noexcerpt\"><span><a href=\"//upload.wikimedia.org/wikipedia/commons/8/82/En-us-Barack-Hussein-Obama.ogg\"><img src=\"//upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Speakerlink-new.svg/11px-Speakerlink-new.svg.png\" data-file-type=\"drawing\" srcset=\"//upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Speakerlink-new.svg/22px-Speakerlink-new.svg.png 2x, //upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Speakerlink-new.svg/17px-Speakerlink-new.svg.png 1.5x\" height=\"11\" width=\"11\"></a></span><sup><span class=\"IPA\" style=\"color:#00e;font:bold 80% sans-serif;padding:0 .1em\"><a href=\"/wiki/File:En-us-Barack-Hussein-Obama.ogg\" title=\"File:En-us-Barack-Hussein-Obama.ogg\">i</a></span></sup></span><span class=\"IPA nopopups\"><a href=\"/wiki/Help:IPA_for_English\" title=\"Help:IPA for English\">/<span style=\"border-bottom:1px dotted\"><span>b</span><span>ə</span><span>ˈ</span><span>r</span><span>ɑː</span><span>k</span></span> <span style=\"border-bottom:1px dotted\"><span>h</span><span>uː</span><span>ˈ</span><span>s</span><span>eɪ</span><span>n</span></span> <span style=\"border-bottom:1px dotted\"><span>oʊ</span><span>ˈ</span><span>b</span><span>ɑː</span><span>m</span><span>ə</span></span>/</a></span></span></span> <span><a href=\"/wiki/Help:Pronunciation_respelling_key\" title=\"Help:Pronunciation respelling key\"><i>bə-<b><span class=\"smallcaps\"><span style=\"font-variant: small-caps; text-transform: lowercase;\">RAHK</span></span></b></i></a></span> <span><a href=\"/wiki/Help:Pronunciation_respelling_key\" title=\"Help:Pronunciation respelling key\"><i>hoo-<b><span class=\"smallcaps\"><span style=\"font-variant: small-caps; text-transform: lowercase;\">SAYN</span></span></b></i></a></span> <span><a href=\"/wiki/Help:Pronunciation_respelling_key\" title=\"Help:Pronunciation respelling key\"><i>oh-<b><span class=\"smallcaps\"><span style=\"font-variant: small-caps; text-transform: lowercase;\">BAH</span></span></b>-mə</i></a></span>;<span class=\"mw-ref\"><a href=\"#cite_note-1\" style=\"counter-reset: mw-Ref 1;\"><span class=\"mw-reflink-text\">[1]</span></a></span><span class=\"mw-ref\"><a href=\"#cite_note-2\" style=\"counter-reset: mw-Ref 2;\"><span class=\"mw-reflink-text\">[2]</span></a></span> born August 4, 1961) is an American politician who served as the <a href=\"/wiki/List_of_Presidents_of_the_United_States\" title=\"List of Presidents of the United States\">44th</a> <a href=\"/wiki/President_of_the_United_States\" title=\"President of the United States\">President of the United States</a> from 2009 to 2017. He is the first <a href=\"/wiki/African_American\" title=\"African American\">African American</a> to have served as president, as well as the first born outside the <a href=\"/wiki/Contiguous_United_States\" title=\"Contiguous United States\">contiguous United States</a>. He previously served in the <a href=\"/wiki/United_States_Senate\" title=\"United States Senate\">U.S. Senate</a> representing <a href=\"/wiki/Illinois\" title=\"Illinois\">Illinois</a> from 2005 to 2008, and in the <a href=\"/wiki/Illinois_State_Senate\" title=\"Illinois State Senate\">Illinois State Senate</a> from 1997 to 2004.</p></span><div class=\"hatnote\">\"Barack\" and \"Obama\" redirect here. For other uses, see <a href=\"/wiki/Barack_(disambiguation)\" title=\"Barack (disambiguation)\">Barack (disambiguation)</a> and <a href=\"/wiki/Obama_(disambiguation)\" title=\"Obama (disambiguation)\">Obama (disambiguation)</a>.</div>\n\n\n<p class=\"skipped\"><span>\n</span>\n\n\n</p>\n<table class=\"infobox vcard\" style=\"width:22em\"><tbody><tr><th colspan=\"2\" style=\"text-align:center;font-size:125%;font-weight:bold;font-size: 130%;\"><span class=\"fn\">Barack Obama</span></th></tr><tr><td colspan=\"2\" style=\"text-align:center\">\n<span class=\"mw-default-size\"><a href=\"/wiki/File:President_Barack_Obama.jpg\"><img src=\"//upload.wikimedia.org/wikipedia/commons/thumb/8/8d/President_Barack_Obama.jpg/220px-President_Barack_Obama.jpg\" data-file-type=\"bitmap\" srcset=\"//upload.wikimedia.org/wikipedia/commons/thumb/8/8d/President_Barack_Obama.jpg/440px-President_Barack_Obama.jpg 2x, //upload.wikimedia.org/wikipedia/commons/thumb/8/8d/President_Barack_Obama.jpg/330px-President_Barack_Obama.jpg 1.5x\" height=\"275\" width=\"220\"></a></span></td></tr><tr><td colspan=\"2\" style=\"text-align:center\"></td></tr>\n<tr><th colspan=\"2\" style=\"text-align:center;background:lavender\"><a href=\"/wiki/List_of_Presidents_of_the_United_States\" title=\"List of Presidents of the United States\">44th</a><span> </span><a href=\"/wiki/President_of_the_United_States\" title=\"President of the United States\">President of the United States</a></th></tr><tr><td colspan=\"2\" style=\"text-align:center;border-bottom:none\">\n<span class=\"nowrap\"><b>In office</b></span><br>January 20, 2009<span>&nbsp;</span>–<span> </span>January 20, 2017</td></tr><tr><th scope=\"row\" style=\"text-align:left\"><span class=\"nowrap\"><a href=\"/wiki/Vice_President_of_the_United_States\" title=\"Vice President of the United States\">Vice President</a></span></th><td>\n<a href=\"/wiki/Joe_Biden\" title=\"Joe Biden\">Joe Biden</a></td></tr><tr><th scope=\"row\" style=\"text-align:left\"><span class=\"nowrap\">Preceded by</span></th><td>\n<a href=\"/wiki/George_W._Bush\" title=\"George W. Bush\">George W. Bush</a></td></tr><tr><th scope=\"row\" style=\"text-align:left\"><span class=\"nowrap\">Succeeded by</span></th><td>\n<a href=\"/wiki/Donald_Trump\" title=\"Donald Trump\">Donald Trump</a></td></tr><tr><th colspan=\"2\" style=\"text-align:center;background:lavender\"><a href=\"/wiki/United_States_Senate\" title=\"United States Senate\">United States Senator</a><br>from <a href=\"/wiki/Illinois\" title=\"Illinois\">Illinois</a></th></tr><tr><td colspan=\"2\" style=\"text-align:center;border-bottom:none\">\n<span class=\"nowrap\"><b>In office</b></span><br>January 3, 2005<span>&nbsp;</span>–<span> </span>November 16, 2008</td></tr><tr><th scope=\"row\" style=\"text-align:left\"><span class=\"nowrap\">Preceded by</span></th><td>\n<a href=\"/wiki/Peter_Fitzgerald_(politician)\" title=\"Peter Fitzgerald (politician)\">Peter Fitzgerald</a></td></tr><tr><th scope=\"row\" style=\"text-align:left\"><span class=\"nowrap\">Succeeded by</span></th><td>\n<a href=\"/wiki/Roland_Burris\" title=\"Roland Burris\">Roland Burris</a></td></tr><tr><th colspan=\"2\" style=\"text-align:center;background:lavender\">Member of the <span style=\"display: inline-block;\"><a href=\"/wiki/Illinois_Senate\" title=\"Illinois Senate\">Illinois Senate</a></span><br>from the 13th district</th></tr><tr><td colspan=\"2\" style=\"text-align:center;border-bottom:none\">\n<span class=\"nowrap\"><b>In office</b></span><br>January 8, 1997<span>&nbsp;</span>–<span> </span>November 4, 2004</td></tr><tr><th scope=\"row\" style=\"text-align:left\"><span class=\"nowrap\">Preceded by</span></th><td>\n<a href=\"/wiki/Alice_Palmer_(politician)\" title=\"Alice Palmer (politician)\">Alice Palmer</a></td></tr><tr><th scope=\"row\" style=\"text-align:left\"><span class=\"nowrap\">Succeeded by</span></th><td>\n<a href=\"/wiki/Kwame_Raoul\" title=\"Kwame Raoul\">Kwame Raoul</a></td></tr><tr><th colspan=\"2\" style=\"text-align:center;background:lavender\">Personal details</th></tr><tr><th scope=\"row\">Born</th><td>\n<span class=\"nickname\">Barack Hussein Obama II</span><br><span style=\"display:none\"> (<span class=\"bday\">1961-08-04</span>) </span>August 4, 1961<span class=\"noprint ForceAgeToShow\"> (age<span>&nbsp;</span>55)</span><br><a href=\"/wiki/Honolulu\" title=\"Honolulu\">Honolulu</a>, <a href=\"/wiki/Hawaii\" title=\"Hawaii\">Hawaii</a>, U.S.</td></tr><tr><th scope=\"row\">Political party</th><td>\n<a href=\"/wiki/Democratic_Party_(United_States)\" title=\"Democratic Party (United States)\">Democratic</a></td></tr><tr><th scope=\"row\">Spouse(s)</th><td>\n<span><a href=\"/wiki/Michelle_Obama\" title=\"Michelle Obama\">Michelle Robinson</a><span> </span>(<abbr>m.</abbr><span>&nbsp;</span><abbr>1992</abbr>)</span></td></tr><tr><th scope=\"row\">Children</th><td>\nMalia and Sasha</td></tr><tr><th scope=\"row\">Parents</th><td>\n<a href=\"/wiki/Barack_Obama_Sr.\" title=\"Barack Obama Sr.\">Barack Obama Sr.</a><br><a href=\"/wiki/Ann_Dunham\" title=\"Ann Dunham\">Ann Dunham</a></td></tr><tr><th scope=\"row\">Relatives</th><td>\nSee <a href=\"/wiki/Family_of_Barack_Obama\" title=\"Family of Barack Obama\">Family of Barack Obama</a></td></tr><tr><th scope=\"row\"><a href=\"/wiki/Alma_mater\" title=\"Alma mater\">Alma mater</a></th><td>\n<div class=\"plainlist\"><ul><li><a href=\"/wiki/Occidental_College\" title=\"Occidental College\">Occidental College</a></li><li><a href=\"/wiki/Columbia_University\" title=\"Columbia University\">Columbia University</a></li><li><a href=\"/wiki/Harvard_University\" title=\"Harvard University\">Harvard University</a></li></ul></div></td></tr><tr><th scope=\"row\">Awards</th><td>\n<a href=\"/wiki/Nobel_Peace_Prize\" title=\"Nobel Peace Prize\">Nobel Peace Prize</a> <small>(<a href=\"/wiki/2009_Nobel_Peace_Prize\" title=\"2009 Nobel Peace Prize\">2009</a>)</small><br><a href=\"/wiki/Profile_in_Courage_Award\" title=\"Profile in Courage Award\">Profile in Courage Award</a> <small>(2017)</small></td></tr><tr><th scope=\"row\">Signature</th><td>\n<span><a href=\"/wiki/File:Barack_Obama_signature.svg\"><img src=\"//upload.wikimedia.org/wikipedia/commons/thumb/1/11/Barack_Obama_signature.svg/128px-Barack_Obama_signature.svg.png\" data-file-type=\"drawing\" srcset=\"//upload.wikimedia.org/wikipedia/commons/thumb/1/11/Barack_Obama_signature.svg/256px-Barack_Obama_signature.svg.png 2x, //upload.wikimedia.org/wikipedia/commons/thumb/1/11/Barack_Obama_signature.svg/192px-Barack_Obama_signature.svg.png 1.5x\" height=\"31\" width=\"128\"></a></span></td></tr><tr><th scope=\"row\">Website</th><td>\n<div class=\"plainlist\"><ul><li><span class=\"url\"><a href=\"http://barackobama.com\">Organizing for Action</a></span></li><li><span class=\"url\"><a href=\"http://barackobamafoundation.org\">Obama Foundation</a></span></li><li><span class=\"url\"><a href=\"https://obamawhitehouse.archives.gov\">The White House</a></span> <small>(Archived)</small></li></ul></div></td></tr></tbody></table>\n<table class=\"vertical-navbox nowraplinks vcard hlist\" style=\"float:right;clear:right;width:22.0em;margin:0 0 1.0em 1.0em;background:#f9f9f9;border:1px solid #aaa;padding:0.2em;border-spacing:0.4em 0;text-align:center;line-height:1.4em;font-size:88%;border: 4px double #d69d36;\"><tbody><tr><th style=\"padding:0.2em 0.4em 0.2em;font-size:145%;line-height:1.2em;font-size: 110%; padding: 0; line-height: 150%;\"><table><tbody><tr>\n<td style=\"background:#002466; vertical-align:middle; padding:5px;\"><span class=\"mw-image-border\"><a href=\"/wiki/File:President_Barack_Obama,_2012_portrait_crop.jpg\"><img src=\"//upload.wikimedia.org/wikipedia/commons/thumb/5/55/President_Barack_Obama%2C_2012_portrait_crop.jpg/75px-President_Barack_Obama%2C_2012_portrait_crop.jpg\" data-file-type=\"bitmap\" srcset=\"//upload.wikimedia.org/wikipedia/commons/thumb/5/55/President_Barack_Obama%2C_2012_portrait_crop.jpg/150px-President_Barack_Obama%2C_2012_portrait_crop.jpg 2x, //upload.wikimedia.org/wikipedia/commons/thumb/5/55/President_Barack_Obama%2C_2012_portrait_crop.jpg/113px-President_Barack_Obama%2C_2012_portrait_crop.jpg 1.5x\" height=\"97\" width=\"75\"></a></span></td>\n<td style=\"background:#002466; vertical-align:middle; padding:6px; width:100%;\"><span style=\"font-size:0.75em;\"><span style=\"color:#FFF\">This article is part of <br>a series about</span></span><br><span class=\"vcard\"><span class=\"fn\"><a href=\"/wiki/Barack_Obama\" title=\"Barack Obama\"><span style=\"color:#FFF\">Barack Obama</span></a></span></span></td>\n</tr></tbody></table></th></tr><tr><td style=\"padding:0 0.1em 0.4em;padding:0.3em;\">\n<ul><li> <a href=\"/wiki/Political_positions_of_Barack_Obama\" title=\"Political positions of Barack Obama\">Political positions</a></li>\n<li> <a href=\"/wiki/Electoral_history_of_Barack_Obama\" title=\"Electoral history of Barack Obama\">Electoral history</a></li></ul>\n<hr>\n<ul><li> <a href=\"/wiki/Early_life_and_career_of_Barack_Obama\" title=\"Early life and career of Barack Obama\">Early life and career</a></li>\n<li> <a href=\"/wiki/Family_of_Barack_Obama\" title=\"Family of Barack Obama\">Family</a></li>\n<li> <a href=\"/wiki/Public_image_of_Barack_Obama\" title=\"Public image of Barack Obama\">Public image</a></li></ul>\n<hr>\n<p><a href=\"/wiki/Illinois_Senate_career_of_Barack_Obama\" title=\"Illinois Senate career of Barack Obama\">Illinois State Senator</a><br>\n<a href=\"/wiki/United_States_Senate_career_of_Barack_Obama\" title=\"United States Senate career of Barack Obama\">U.S. Senator from Illinois</a></p>\n\n<hr>\n<p><b>44th President of the United States</b></p>\n<hr>\n<p><b>Policies</b></p>\n<div class=\"plainlist \">\n<ul><li> <a href=\"/wiki/Climate_change_policy_of_the_United_States\" title=\"Climate change policy of the United States\">Climate change</a></li>\n<li> <a href=\"/wiki/Economic_policy_of_Barack_Obama\" title=\"Economic policy of Barack Obama\">Economy</a></li>\n<li> <a href=\"/wiki/Energy_policy_of_the_Obama_administration\" title=\"Energy policy of the Obama administration\">Energy</a></li>\n<li> <a href=\"/wiki/Foreign_policy_of_the_Barack_Obama_administration\" title=\"Foreign policy of the Barack Obama administration\">Foreign policy</a>\n<ul><li> <a href=\"/wiki/Obama_Doctrine\" title=\"Obama Doctrine\">Obama Doctrine</a></li>\n<li> <a href=\"/wiki/List_of_presidential_trips_made_by_Barack_Obama\" title=\"List of presidential trips made by Barack Obama\">Foreign trips</a></li></ul></li>\n<li> <a href=\"/wiki/List_of_people_granted_executive_clemency_by_Barack_Obama\" title=\"List of people granted executive clemency by Barack Obama\">Pardons</a></li>\n<li> <a href=\"/wiki/Social_policy_of_Barack_Obama\" title=\"Social policy of Barack Obama\">Social</a></li>\n<li> <a href=\"/wiki/Space_policy_of_the_Barack_Obama_administration\" title=\"Space policy of the Barack Obama administration\">Space</a></li></ul>\n\n</div>\n<p><b>Appointments</b></p>\n<div class=\"plainlist \">\n<ul><li> <a href=\"/wiki/Presidency_of_Barack_Obama#Personnel\" title=\"Presidency of Barack Obama\">Cabinet</a></li>\n<li> <a href=\"/wiki/List_of_federal_judges_appointed_by_Barack_Obama\" title=\"List of federal judges appointed by Barack Obama\">Judges</a></li></ul>\n\n</div>\n<hr>\n<p><b>First term</b></p>\n<ul><li> <a href=\"/wiki/Barack_Obama_presidential_campaign,_2008\" title=\"Barack Obama presidential campaign, 2008\">Campaign for the Presidency</a>\n<ul><li><a href=\"/wiki/United_States_presidential_election,_2008\" title=\"United States presidential election, 2008\">2008 General election</a></li>\n<li><a href=\"/wiki/Barack_Obama_presidential_primary_campaign,_2008\" title=\"Barack Obama presidential primary campaign, 2008\">Primaries</a></li></ul></li></ul>\n\n<ul><li> <a href=\"/wiki/Presidential_transition_of_Barack_Obama\" title=\"Presidential transition of Barack Obama\">Transition</a></li>\n<li> <a href=\"/wiki/First_inauguration_of_Barack_Obama\" title=\"First inauguration of Barack Obama\">1st inauguration</a></li>\n<li> <a href=\"/wiki/Presidency_of_Barack_Obama\" title=\"Presidency of Barack Obama\">Presidency</a></li></ul>\n\n<ul><li> <a href=\"/wiki/First_100_days_of_Barack_Obama's_presidency\" title=\"First 100 days of Barack Obama's presidency\">First 100 days</a></li>\n<li> <a href=\"/wiki/Patient_Protection_and_Affordable_Care_Act\" title=\"Patient Protection and Affordable Care Act\">Affordable Care Act</a></li>\n<li> <a href=\"/wiki/Withdrawal_of_U.S._troops_from_Iraq\" title=\"Withdrawal of U.S. troops from Iraq\">Iraq Withdrawal</a> </li>\n<li> <a href=\"/wiki/Death_of_Osama_bin_Laden\" title=\"Death of Osama bin Laden\">Death of Osama bin Laden</a></li></ul>\n\n<ul><li><ul><li> Timeline: <a href=\"/wiki/Timeline_of_the_presidency_of_Barack_Obama_(2009)\" title=\"Timeline of the presidency of Barack Obama (2009)\">'09</a></li>\n<li> <a href=\"/wiki/Timeline_of_the_presidency_of_Barack_Obama_(2010)\" title=\"Timeline of the presidency of Barack Obama (2010)\">'10</a></li>\n<li> <a href=\"/wiki/Timeline_of_the_presidency_of_Barack_Obama_(2011)\" title=\"Timeline of the presidency of Barack Obama (2011)\">'11</a></li>\n<li> <a href=\"/wiki/Timeline_of_the_presidency_of_Barack_Obama_(2012)\" title=\"Timeline of the presidency of Barack Obama (2012)\">'12</a></li></ul></li></ul>\n<hr>\n<p><b>Second term</b></p>\n<ul><li> <a href=\"/wiki/Barack_Obama_presidential_campaign,_2012\" title=\"Barack Obama presidential campaign, 2012\">Reelection campaign</a><br>\n<ul><li><a href=\"/wiki/United_States_presidential_election,_2012\" title=\"United States presidential election, 2012\">2012 General election</a></li>\n<li><a href=\"/wiki/International_reactions_to_the_United_States_presidential_election,_2012\" title=\"International reactions to the United States presidential election, 2012\">Reactions</a></li></ul></li></ul>\n\n<ul><li> <a href=\"/wiki/Second_inauguration_of_Barack_Obama\" title=\"Second inauguration of Barack Obama\">2nd inauguration</a></li>\n<li> <a href=\"/wiki/Presidency_of_Barack_Obama\" title=\"Presidency of Barack Obama\">Presidency</a></li>\n<li> <a href=\"/wiki/Immigration_reform#Obama.27s_executive_actions_of_November_2014\" title=\"Immigration reform\">Immigration executive action</a></li>\n<li> <a href=\"/wiki/Joint_Comprehensive_Plan_of_Action\" title=\"Joint Comprehensive Plan of Action\">Iran Deal</a></li>\n<li> <a href=\"/wiki/United_States–Cuban_Thaw\" title=\"United States–Cuban Thaw\">Cuban Thaw</a></li></ul>\n\n<ul><li><ul><li> Timeline: <a href=\"/wiki/Timeline_of_the_presidency_of_Barack_Obama_(2013)\" title=\"Timeline of the presidency of Barack Obama (2013)\">'13</a></li>\n<li> <a href=\"/wiki/Timeline_of_the_presidency_of_Barack_Obama_(2014)\" title=\"Timeline of the presidency of Barack Obama (2014)\">'14</a></li>\n<li> <a href=\"/wiki/Timeline_of_the_presidency_of_Barack_Obama_(2015)\" title=\"Timeline of the presidency of Barack Obama (2015)\">'15</a></li>\n<li> <a href=\"/wiki/Timeline_of_the_presidency_of_Barack_Obama_(2016)\" title=\"Timeline of the presidency of Barack Obama (2016)\">'16</a></li>\n<li> <a href=\"/wiki/Timeline_of_the_presidency_of_Barack_Obama_(2017)\" title=\"Timeline of the presidency of Barack Obama (2017)\">'17</a></li></ul></li></ul>\n<hr>\n<ul><li> <i><a href=\"/wiki/The_Audacity_of_Hope\" title=\"The Audacity of Hope\">The Audacity of Hope</a></i></li>\n<li> <a href=\"/wiki/Barack_Obama_Presidential_Center\" title=\"Barack Obama Presidential Center\">Planned Library</a></li>\n<li> <a href=\"/wiki/2009_Nobel_Peace_Prize\" title=\"2009 Nobel Peace Prize\">Nobel Peace Prize</a></li></ul>\n<hr>\n\n<span><a href=\"/wiki/President_of_the_United_States\"><img src=\"//upload.wikimedia.org/wikipedia/commons/thumb/3/36/Seal_of_the_President_of_the_United_States.svg/40px-Seal_of_the_President_of_the_United_States.svg.png\" data-file-type=\"drawing\" srcset=\"//upload.wikimedia.org/wikipedia/commons/thumb/3/36/Seal_of_the_President_of_the_United_States.svg/80px-Seal_of_the_President_of_the_United_States.svg.png 2x, //upload.wikimedia.org/wikipedia/commons/thumb/3/36/Seal_of_the_President_of_the_United_States.svg/60px-Seal_of_the_President_of_the_United_States.svg.png 1.5x\" height=\"40\" width=\"40\"></a></span></td>\n</tr><tr><td style=\"text-align:right;font-size:115%;text-align:center;\"><div class=\"plainlinks hlist navbar mini\"><ul><li class=\"nv-view\"><a href=\"/wiki/Template:Barack_Obama_sidebar\" title=\"Template:Barack Obama sidebar\"><abbr>v</abbr></a></li><li class=\"nv-talk\"><a href=\"/wiki/Template_talk:Barack_Obama_sidebar\" title=\"Template talk:Barack Obama sidebar\"><abbr>t</abbr></a></li><li class=\"nv-edit\"><a href=\"//en.wikipedia.org/w/index.php?title=Template:Barack_Obama_sidebar&amp;action=edit\"><abbr>e</abbr></a></li></ul></div></td></tr></tbody></table>\n<table class=\"vertical-navbox nowraplinks\" style=\"float:right;clear:right;width:22.0em;margin:0 0 1.0em 1.0em;background:#f9f9f9;border:1px solid #aaa;padding:0.2em;border-spacing:0.4em 0;text-align:center;line-height:1.4em;font-size:88%\"><tbody><tr><td style=\"padding-top:0.4em;line-height:1.2em\">Part of a series on</td></tr><tr><th style=\"padding:0.2em 0.4em 0.2em;padding-top:0;font-size:145%;line-height:1.2em;font-size:175%;\"><a href=\"/wiki/New_Democrats\" title=\"New Democrats\">New Democrats</a></th></tr><tr><td style=\"padding:0.2em 0 0.4em\"><span><a href=\"/wiki/File:Barack_Obama_and_Bill_Clinton.jpg\"><img src=\"//upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Barack_Obama_and_Bill_Clinton.jpg/180px-Barack_Obama_and_Bill_Clinton.jpg\" data-file-type=\"bitmap\" srcset=\"//upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Barack_Obama_and_Bill_Clinton.jpg/360px-Barack_Obama_and_Bill_Clinton.jpg 2x, //upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Barack_Obama_and_Bill_Clinton.jpg/270px-Barack_Obama_and_Bill_Clinton.jpg 1.5x\" height=\"120\" width=\"180\"></a></span></td></tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;text-align:center;\">Ideology</div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\"><div class=\"hlist\">\n<ul><li> <a href=\"/wiki/Centrism#United_States\" title=\"Centrism\">Centrism</a></li>\n<li> <a href=\"/wiki/Clintonism\" title=\"Clintonism\">Clintonism</a></li>\n<li> <a href=\"/wiki/Cultural_liberalism\" title=\"Cultural liberalism\">Cultural liberalism</a></li>\n<li> <a href=\"/wiki/Radical_centrism\" title=\"Radical centrism\">Radical centrism</a></li>\n<li> <a href=\"/wiki/Social_liberalism\" title=\"Social liberalism\">Social liberalism</a></li>\n<li> <a href=\"/wiki/Third_Way\" title=\"Third Way\">Third Way</a></li></ul>\n</div></div></div></td>\n</tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;text-align:center;\">People</div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\"><div class=\"hlist\">\n<ul><li> <a href=\"/wiki/Bruce_Babbitt\" title=\"Bruce Babbitt\">Bruce Babbitt</a></li>\n<li> <a href=\"/wiki/Evan_Bayh\" title=\"Evan Bayh\">Evan Bayh</a></li>\n<li> <a href=\"/wiki/John_Carney_(politician)\" title=\"John Carney (politician)\">John Carney</a></li>\n<li> <a href=\"/wiki/Tom_Carper\" title=\"Tom Carper\">Tom Carper</a></li>\n<li> <a href=\"/wiki/Lawton_Chiles\" title=\"Lawton Chiles\">Lawton Chiles</a></li>\n<li> <a href=\"/wiki/Bill_Clinton\" title=\"Bill Clinton\">Bill Clinton</a></li>\n<li> <a href=\"/wiki/Hillary_Clinton\" title=\"Hillary Clinton\">Hillary Clinton</a></li>\n<li> <a href=\"/wiki/Gerry_Connolly\" title=\"Gerry Connolly\">Gerry Connolly</a></li>\n<li> <a href=\"/wiki/Jim_Davis_(Florida_politician)\" title=\"Jim Davis (Florida politician)\">Jim Davis</a></li>\n<li> <a href=\"/wiki/Susan_Davis_(politician)\" title=\"Susan Davis (politician)\">Susan Davis</a></li>\n<li> <a href=\"/wiki/Cal_Dooley\" title=\"Cal Dooley\">Cal Dooley</a></li>\n<li> <a href=\"/wiki/John_Edwards\" title=\"John Edwards\">John Edwards</a></li>\n<li> <a href=\"/wiki/Harold_Ford_Jr.\" title=\"Harold Ford Jr.\">Harold Ford Jr.</a></li>\n<li> <a href=\"/wiki/Al_From\" title=\"Al From\">Al From</a></li>\n<li> <a href=\"/wiki/Dick_Gephardt\" title=\"Dick Gephardt\">Dick Gephardt</a></li>\n<li> <a href=\"/wiki/Al_Gore\" title=\"Al Gore\">Al Gore</a></li>\n<li> <a href=\"/wiki/Bob_Graham\" title=\"Bob Graham\">Bob Graham</a></li>\n<li> <a href=\"/wiki/Jim_Himes\" title=\"Jim Himes\">Jim Himes</a></li>\n<li> <a href=\"/wiki/John_Kerry\" title=\"John Kerry\">John Kerry</a></li>\n<li> <a href=\"/wiki/Ron_Kind\" title=\"Ron Kind\">Ron Kind</a></li>\n<li> <a href=\"/wiki/Mary_Landrieu\" title=\"Mary Landrieu\">Mary Landrieu</a></li>\n<li> <a href=\"/wiki/Rick_Larsen\" title=\"Rick Larsen\">Rick Larsen</a></li>\n<li> <a href=\"/wiki/Joe_Lieberman\" title=\"Joe Lieberman\">Joe Lieberman</a></li>\n<li> <a href=\"/wiki/Blanche_Lincoln\" title=\"Blanche Lincoln\">Blanche Lincoln</a></li>\n<li> <a href=\"/wiki/Will_Marshall\" title=\"Will Marshall\">Will Marshall</a></li>\n<li> <a href=\"/wiki/Jim_Moran\" title=\"Jim Moran\">Jim Moran</a></li>\n<li> <a href=\"/wiki/Sam_Nunn\" title=\"Sam Nunn\">Sam Nunn</a></li>\n<li> <a href=\"/wiki/Barack_Obama\" title=\"Barack Obama\">Barack Obama</a></li>\n<li> <a href=\"/wiki/Jared_Polis\" title=\"Jared Polis\">Jared Polis</a></li>\n<li> <a href=\"/wiki/Chuck_Robb\" title=\"Chuck Robb\">Chuck Robb</a></li>\n<li> <a href=\"/wiki/Timothy_J._Roemer\" title=\"Timothy J. Roemer\">Timothy J. Roemer</a></li>\n<li> <a href=\"/wiki/Allyson_Schwartz\" title=\"Allyson Schwartz\">Allyson Schwartz</a></li>\n<li> <a href=\"/wiki/Adam_Smith_(politician)\" title=\"Adam Smith (politician)\">Adam Smith</a></li></ul>\n\n</div></div></div></td>\n</tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;text-align:center;\">Organizations</div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\"><div class=\"hlist\">\n<ul><li> <a href=\"/wiki/Coalition_for_a_Democratic_Majority\" title=\"Coalition for a Democratic Majority\">Coalition for a Democratic Majority</a></li>\n<li> <a href=\"/wiki/Democratic_Leadership_Council\" title=\"Democratic Leadership Council\">Democratic Leadership Council</a></li>\n<li> <a href=\"/wiki/Moderate_Dems_Working_Group\" title=\"Moderate Dems Working Group\">Moderate Dems Working Group</a></li>\n<li> <a href=\"/wiki/New_Democrat_Coalition\" title=\"New Democrat Coalition\">New Democrat Coalition</a></li>\n<li> <a href=\"/wiki/New_Democrat_Network\" title=\"New Democrat Network\">New Democrat Network</a></li>\n<li> <a href=\"/wiki/Progressive_Policy_Institute\" title=\"Progressive Policy Institute\">Progressive Policy Institute</a></li>\n<li> <a href=\"/wiki/Senate_Centrist_Coalition\" title=\"Senate Centrist Coalition\">Senate Centrist Coalition</a></li>\n<li> <a href=\"/wiki/Third_Way_(think_tank)\" title=\"Third Way (think tank)\">Third Way</a></li></ul>\n</div></div></div></td>\n</tr><tr><td class=\"plainlist\" style=\"padding:0.3em 0.4em 0.3em;font-weight:bold;border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;line-height:1.6em;\">\n<ul><li> <span class=\"noviewer\"><a href=\"/wiki/File:A_coloured_voting_box.svg\"><img src=\"//upload.wikimedia.org/wikipedia/en/thumb/0/01/A_coloured_voting_box.svg/16px-A_coloured_voting_box.svg.png\" data-file-type=\"drawing\" srcset=\"//upload.wikimedia.org/wikipedia/en/thumb/0/01/A_coloured_voting_box.svg/32px-A_coloured_voting_box.svg.png 2x, //upload.wikimedia.org/wikipedia/en/thumb/0/01/A_coloured_voting_box.svg/24px-A_coloured_voting_box.svg.png 1.5x\" height=\"16\" width=\"16\"></a></span> <a href=\"/wiki/Portal:Politics\" title=\"Portal:Politics\">Politics<span> </span>portal</a></li></ul></td></tr><tr><td style=\"text-align:right;font-size:115%;padding-top: 0.6em;\"><div class=\"plainlinks hlist navbar mini\"><ul><li class=\"nv-view\"><a href=\"/wiki/Template:New_Democrats\" title=\"Template:New Democrats\"><abbr>v</abbr></a></li><li class=\"nv-talk\"><a href=\"/wiki/Template_talk:New_Democrats\" title=\"Template talk:New Democrats\"><abbr>t</abbr></a></li><li class=\"nv-edit\"><a href=\"//en.wikipedia.org/w/index.php?title=Template:New_Democrats&amp;action=edit\"><abbr>e</abbr></a></li></ul></div></td></tr></tbody></table>\n\n\n<p>Obama was born in <a href=\"/wiki/Honolulu\" title=\"Honolulu\">Honolulu, Hawaii</a>, two years after the territory was admitted to the Union as the 50th state. He grew up mostly in Hawaii, but also spent one year of his childhood in <a href=\"/wiki/Washington_(state)\" title=\"Washington (state)\">Washington State</a> and four years in <a href=\"/wiki/Indonesia\" title=\"Indonesia\">Indonesia</a>. After graduating from <a href=\"/wiki/Columbia_University\" title=\"Columbia University\">Columbia University</a> in 1983, he worked as a <a href=\"/wiki/Community_organizing\" title=\"Community organizing\">community organizer</a> in <a href=\"/wiki/Chicago\" title=\"Chicago\">Chicago</a>. In 1988 Obama enrolled in <a href=\"/wiki/Harvard_Law_School\" title=\"Harvard Law School\">Harvard Law School</a>, where he was the first black president of the <i><a href=\"/wiki/Harvard_Law_Review\" title=\"Harvard Law Review\">Harvard Law Review</a></i>. After graduation, he became a <a href=\"/wiki/Civil_and_political_rights\" title=\"Civil and political rights\">civil rights</a> attorney and professor, teaching <a href=\"/wiki/Constitutional_law\" title=\"Constitutional law\">constitutional law</a> at the <a href=\"/wiki/University_of_Chicago_Law_School\" title=\"University of Chicago Law School\">University of Chicago Law School</a> from 1992 to 2004. Obama <a href=\"/wiki/Illinois_Senate_career_of_Barack_Obama\" title=\"Illinois Senate career of Barack Obama\">represented the 13th District for three terms</a> in the <a href=\"/wiki/Illinois_Senate\" title=\"Illinois Senate\">Illinois Senate</a> from 1997 to 2004, when he <a href=\"/wiki/United_States_Senate_election_in_Illinois,_2004\" title=\"United States Senate election in Illinois, 2004\">ran for the U.S. Senate</a>. Obama received national attention in 2004, with his unexpected March <a href=\"/wiki/Primary_election\" title=\"Primary election\">primary</a> win, his well-received July <a href=\"/wiki/2004_Democratic_National_Convention\" title=\"2004 Democratic National Convention\">Democratic National Convention</a> <a href=\"/wiki/2004_Democratic_National_Convention_keynote_address\" title=\"2004 Democratic National Convention keynote address\">keynote address</a>, and his landslide November election to the Senate. In 2008, Obama was nominated for president, a year after <a href=\"/wiki/Barack_Obama_presidential_campaign,_2008\" title=\"Barack Obama presidential campaign, 2008\">his campaign began</a>, and after <a href=\"/wiki/Democratic_Party_presidential_primaries,_2008\" title=\"Democratic Party presidential primaries, 2008\">a close primary campaign</a> against <a href=\"/wiki/Hillary_Clinton\" title=\"Hillary Clinton\">Hillary Clinton</a>. He was <a href=\"/wiki/United_States_presidential_election,_2008\" title=\"United States presidential election, 2008\">elected</a> over <a href=\"/wiki/Republican_Party_(United_States)\" title=\"Republican Party (United States)\">Republican</a> <a href=\"/wiki/John_McCain\" title=\"John McCain\">John McCain</a>, and was <a href=\"/wiki/First_inauguration_of_Barack_Obama\" title=\"First inauguration of Barack Obama\">inaugurated</a> on January 20, 2009. Nine months later, Obama was named the <a href=\"/wiki/2009_Nobel_Peace_Prize\" title=\"2009 Nobel Peace Prize\">2009 Nobel Peace Prize</a> laureate.</p>\n\n<p>During his first two years in office, Obama signed more landmark legislation than any Democratic president since <a href=\"/wiki/Lyndon_B._Johnson\" title=\"Lyndon B. Johnson\">LBJ</a>'s <a href=\"/wiki/Great_Society\" title=\"Great Society\">Great Society</a>. Main reforms were the <a href=\"/wiki/Patient_Protection_and_Affordable_Care_Act\" title=\"Patient Protection and Affordable Care Act\">Patient Protection and Affordable Care Act</a> (often referred to as \"Obamacare\"), the <a href=\"/wiki/Dodd–Frank_Wall_Street_Reform_and_Consumer_Protection_Act\" title=\"Dodd–Frank Wall Street Reform and Consumer Protection Act\">Dodd–Frank Wall Street Reform and Consumer Protection Act</a>, and the <a href=\"/wiki/Don't_Ask,_Don't_Tell_Repeal_Act_of_2010\" title=\"Don't Ask, Don't Tell Repeal Act of 2010\">Don't Ask, Don't Tell Repeal Act of 2010</a>. The <a href=\"/wiki/American_Recovery_and_Reinvestment_Act_of_2009\" title=\"American Recovery and Reinvestment Act of 2009\">American Recovery and Reinvestment Act of 2009</a> and <a href=\"/wiki/Tax_Relief,_Unemployment_Insurance_Reauthorization,_and_Job_Creation_Act_of_2010\" title=\"Tax Relief, Unemployment Insurance Reauthorization, and Job Creation Act of 2010\">Tax Relief, Unemployment Insurance Reauthorization, and Job Creation Act of 2010</a> served as <a href=\"/wiki/Stimulus_(economics)\" title=\"Stimulus (economics)\">economic stimulus</a> amidst the <a href=\"/wiki/Great_Recession\" title=\"Great Recession\">Great Recession</a>, but the <a href=\"/wiki/United_States_House_of_Representatives_elections,_2010\" title=\"United States House of Representatives elections, 2010\">GOP regained control of the House of Representatives</a> in 2011. After a lengthy debate over the national <a href=\"/wiki/United_States_debt_ceiling\" title=\"United States debt ceiling\">debt limit</a>, Obama signed the <a href=\"/wiki/Budget_Control_Act_of_2011\" title=\"Budget Control Act of 2011\">Budget Control</a> and the <a href=\"/wiki/American_Taxpayer_Relief_Act_of_2012\" title=\"American Taxpayer Relief Act of 2012\">American Taxpayer Relief Acts</a>. In foreign policy, Obama increased U.S. troop levels in <a href=\"/wiki/War_in_Afghanistan_(2001–14)\" title=\"War in Afghanistan (2001–14)\">Afghanistan</a>, reduced nuclear weapons with the U.S.-<a href=\"/wiki/Russia\" title=\"Russia\">Russian</a> <a href=\"/wiki/New_START\" title=\"New START\">New START</a> treaty, and <a href=\"/wiki/Withdrawal_of_U.S._troops_from_Iraq\" title=\"Withdrawal of U.S. troops from Iraq\">ended military involvement</a> in the <a href=\"/wiki/Iraq_War\" title=\"Iraq War\">Iraq War</a>. He ordered <a href=\"/wiki/2011_military_intervention_in_Libya\" title=\"2011 military intervention in Libya\">military involvement in Libya</a> in opposition to <a href=\"/wiki/Muammar_Gaddafi\" title=\"Muammar Gaddafi\">Muammar Gaddafi</a>, and the military operation that resulted in the <a href=\"/wiki/Death_of_Osama_bin_Laden\" title=\"Death of Osama bin Laden\">death of Osama bin Laden</a>.</p>\n\n<p>After winning <a href=\"/wiki/United_States_presidential_election,_2012\" title=\"United States presidential election, 2012\">re-election</a> over <a href=\"/wiki/Mitt_Romney\" title=\"Mitt Romney\">Mitt Romney</a>, Obama was <a href=\"/wiki/Second_inauguration_of_Barack_Obama\" title=\"Second inauguration of Barack Obama\">sworn in for a second term</a> in 2013. During his second term, Obama promoted greater inclusiveness for <a href=\"/wiki/LGBT_American\" title=\"LGBT American\">LGBT Americans</a>, with his administration filing briefs that urged the <a href=\"/wiki/Supreme_Court_of_the_United_States\" title=\"Supreme Court of the United States\">Supreme Court</a> to strike down <a href=\"/wiki/Same-sex_marriage_in_the_United_States\" title=\"Same-sex marriage in the United States\">same-sex marriage</a> bans as unconstitutional (<i><a href=\"/wiki/United_States_v._Windsor\" title=\"United States v. Windsor\">United States v. Windsor</a></i> and <i><a href=\"/wiki/Obergefell_v._Hodges\" title=\"Obergefell v. Hodges\">Obergefell v. Hodges</a></i>). Obama also advocated <a href=\"/wiki/Gun_politics_in_the_United_States\" title=\"Gun politics in the United States\">gun control</a> in response to the <a href=\"/wiki/Sandy_Hook_Elementary_School_shooting\" title=\"Sandy Hook Elementary School shooting\">Sandy Hook Elementary School shooting</a>, and issued wide-ranging executive actions concerning <a href=\"/wiki/Climate_change\" title=\"Climate change\">climate change</a> and immigration. In foreign policy, Obama ordered <a href=\"/wiki/American-led_intervention_in_Iraq_(2014–present)\" title=\"American-led intervention in Iraq (2014–present)\">military intervention in Iraq</a> in response to <a href=\"/wiki/Iraqi_insurgency_(2011–13)\" title=\"Iraqi insurgency (2011–13)\">gains made</a> by <a href=\"/wiki/ISIL\" title=\"ISIL\">ISIL</a> after the <a href=\"/wiki/Withdrawal_of_U.S._troops_from_Iraq\" title=\"Withdrawal of U.S. troops from Iraq\">2011 withdrawal from Iraq</a>, continued the process of <a href=\"/wiki/Withdrawal_of_U.S._troops_from_Afghanistan\" title=\"Withdrawal of U.S. troops from Afghanistan\">ending U.S. combat operations in Afghanistan</a>, promoted discussions that led to the 2015 <a href=\"/wiki/Paris_Agreement\" title=\"Paris Agreement\">Paris Agreement</a> on global climate change, initiated the <a href=\"/wiki/International_sanctions_during_the_Ukrainian_crisis\" title=\"International sanctions during the Ukrainian crisis\">sanctions against Russia</a> following the <a href=\"/wiki/Russian_military_intervention_in_Ukraine_(2014–present)\" title=\"Russian military intervention in Ukraine (2014–present)\">invasion in Ukraine</a>, brokered a <a href=\"/wiki/Joint_Comprehensive_Plan_of_Action\" title=\"Joint Comprehensive Plan of Action\">nuclear deal with Iran</a>, and <a href=\"/wiki/United_States–Cuban_Thaw\" title=\"United States–Cuban Thaw\">normalized U.S. relations with Cuba</a>.</p>\n\n<p>Obama left office in January 2017 with a 60% approval rating.<span class=\"mw-ref\"><a href=\"#cite_note-3\" style=\"counter-reset: mw-Ref 3;\"><span class=\"mw-reflink-text\">[3]</span></a></span><span class=\"mw-ref\"><a href=\"#cite_note-4\" style=\"counter-reset: mw-Ref 4;\"><span class=\"mw-reflink-text\">[4]</span></a></span> He currently resides in <a href=\"/wiki/Washington,_D.C.\" title=\"Washington, D.C.\">Washington, D.C.</a>. His <a href=\"/wiki/Barack_Obama_Presidential_Center\" title=\"Barack Obama Presidential Center\">presidential library</a> will be built in Chicago.</p>\n\n"
    },
    {
      "id": 1,
      "toclevel": 1,
      "anchor": "Early_life_and_career",
      "line": "Early life and career"
    },
    {
      "id": 2,
      "toclevel": 2,
      "anchor": "Education",
      "line": "Education"
    },
    {
      "id": 3,
      "toclevel": 2,
      "anchor": "Family_and_personal_life",
      "line": "Family and personal life"
    },
    {
      "id": 4,
      "toclevel": 3,
      "anchor": "Religious_views",
      "line": "Religious views"
    },
    {
      "id": 5,
      "toclevel": 2,
      "anchor": "Law_career",
      "line": "Law career"
    },
    {
      "id": 6,
      "toclevel": 3,
      "anchor": "Community_organizer_and_Harvard_Law_School",
      "line": "Community organizer and Harvard Law School"
    },
    {
      "id": 7,
      "toclevel": 3,
      "anchor": "Chicago_Law_School_and_civil_rights_attorney",
      "line": "Chicago Law School and civil rights attorney"
    },
    {
      "id": 8,
      "toclevel": 2,
      "anchor": "Legislative_career",
      "line": "Legislative career"
    },
    {
      "id": 9,
      "toclevel": 3,
      "anchor": "Illinois_State_Senator_.281997.E2.80.932004.29",
      "line": "Illinois State Senator (1997–2004)"
    },
    {
      "id": 10,
      "toclevel": 3,
      "anchor": "2004_U.S._Senate_campaign",
      "line": "2004 U.S. Senate campaign"
    },
    {
      "id": 11,
      "toclevel": 3,
      "anchor": "U.S._Senator_from_Illinois_.282005.E2.80.932008.29",
      "line": "U.S. Senator from Illinois (2005–2008)"
    },
    {
      "id": 12,
      "toclevel": 4,
      "anchor": "Legislation",
      "line": "Legislation"
    },
    {
      "id": 13,
      "toclevel": 4,
      "anchor": "Committees",
      "line": "Committees"
    },
    {
      "id": 14,
      "toclevel": 1,
      "anchor": "Presidential_campaigns",
      "line": "Presidential campaigns"
    },
    {
      "id": 15,
      "toclevel": 2,
      "anchor": "2008_presidential_campaign",
      "line": "2008 presidential campaign"
    },
    {
      "id": 16,
      "toclevel": 2,
      "anchor": "2012_presidential_campaign",
      "line": "2012 presidential campaign"
    },
    {
      "id": 17,
      "toclevel": 1,
      "anchor": "Presidency_.282009.E2.80.932017.29",
      "line": "Presidency (2009–2017)"
    },
    {
      "id": 18,
      "toclevel": 2,
      "anchor": "First_100_days",
      "line": "First 100 days"
    },
    {
      "id": 19,
      "toclevel": 2,
      "anchor": "Domestic_policy",
      "line": "Domestic policy"
    },
    {
      "id": 20,
      "toclevel": 3,
      "anchor": "LGBT_rights",
      "line": "LGBT rights"
    },
    {
      "id": 21,
      "toclevel": 3,
      "anchor": "White_House_advisory_and_oversight_groups",
      "line": "White House advisory and oversight groups"
    },
    {
      "id": 22,
      "toclevel": 3,
      "anchor": "Economic_policy",
      "line": "Economic policy"
    },
    {
      "id": 23,
      "toclevel": 3,
      "anchor": "Environmental_policy",
      "line": "Environmental policy"
    },
    {
      "id": 24,
      "toclevel": 3,
      "anchor": "Health_care_reform",
      "line": "Health care reform"
    },
    {
      "id": 25,
      "toclevel": 3,
      "anchor": "Energy_policy",
      "line": "Energy policy"
    },
    {
      "id": 26,
      "toclevel": 3,
      "anchor": "Gun_control",
      "line": "Gun control"
    },
    {
      "id": 27,
      "toclevel": 3,
      "anchor": "2010_midterm_elections",
      "line": "2010 midterm elections"
    },
    {
      "id": 28,
      "toclevel": 3,
      "anchor": "Cybersecurity_and_Internet_policy",
      "line": "Cybersecurity and Internet policy"
    },
    {
      "id": 29,
      "toclevel": 2,
      "anchor": "Foreign_policy",
      "line": "Foreign policy"
    },
    {
      "id": 30,
      "toclevel": 3,
      "anchor": "War_in_Iraq",
      "line": "War in Iraq"
    },
    {
      "id": 31,
      "toclevel": 3,
      "anchor": "War_in_Afghanistan",
      "line": "War in Afghanistan"
    },
    {
      "id": 32,
      "toclevel": 3,
      "anchor": "Israel",
      "line": "Israel"
    },
    {
      "id": 33,
      "toclevel": 3,
      "anchor": "Libya",
      "line": "Libya"
    },
    {
      "id": 34,
      "toclevel": 3,
      "anchor": "Syrian_Civil_War",
      "line": "Syrian Civil War"
    },
    {
      "id": 35,
      "toclevel": 3,
      "anchor": "Death_of_Osama_bin_Laden",
      "line": "Death of Osama bin Laden"
    },
    {
      "id": 36,
      "toclevel": 3,
      "anchor": "Iran_nuclear_talks",
      "line": "Iran nuclear talks"
    },
    {
      "id": 37,
      "toclevel": 3,
      "anchor": "Relations_with_Cuba",
      "line": "Relations with Cuba"
    },
    {
      "id": 38,
      "toclevel": 3,
      "anchor": "Africa",
      "line": "Africa"
    },
    {
      "id": 39,
      "toclevel": 3,
      "anchor": "Hiroshima_speech",
      "line": "Hiroshima speech"
    },
    {
      "id": 40,
      "toclevel": 3,
      "anchor": "Russia",
      "line": "Russia"
    },
    {
      "id": 41,
      "toclevel": 2,
      "anchor": "Cultural_and_political_image",
      "line": "Cultural and political image"
    },
    {
      "id": 42,
      "toclevel": 1,
      "anchor": "Post-presidency",
      "line": "Post-presidency"
    },
    {
      "id": 43,
      "toclevel": 2,
      "anchor": "Presidential_library",
      "line": "Presidential library"
    },
    {
      "id": 44,
      "toclevel": 1,
      "anchor": "Legacy",
      "line": "Legacy"
    },
    {
      "id": 45,
      "toclevel": 1,
      "anchor": "See_also",
      "line": "See also"
    },
    {
      "id": 46,
      "toclevel": 2,
      "anchor": "Politics",
      "line": "Politics"
    },
    {
      "id": 47,
      "toclevel": 2,
      "anchor": "Other",
      "line": "Other"
    },
    {
      "id": 48,
      "toclevel": 2,
      "anchor": "Lists",
      "line": "Lists"
    },
    {
      "id": 49,
      "toclevel": 1,
      "anchor": "Notes_and_references",
      "line": "Notes and references"
    },
    {
      "id": 50,
      "toclevel": 2,
      "anchor": "Notes",
      "line": "Notes"
    },
    {
      "id": 51,
      "toclevel": 2,
      "anchor": "References",
      "line": "References"
    },
    {
      "id": 52,
      "toclevel": 2,
      "anchor": "Further_reading",
      "line": "Further reading"
    },
    {
      "id": 53,
      "toclevel": 1,
      "anchor": "External_links",
      "line": "External links"
    },
    {
      "id": 54,
      "toclevel": 2,
      "anchor": "Official",
      "line": "Official"
    },
    {
      "id": 55,
      "toclevel": 2,
      "anchor": "Other",
      "line": "Other"
    }
  ]
}
https://en.wikipedia.org/api/rest_v1/page/mobile-sections-lead/Wikipedia:Manual_of_Style

{
  "ns": 4,
  "id": 33697,
  "revision": "767911068",
  "lastmodified": "2017-02-28T17:47:40Z",
  "lastmodifier": {
    "name": "EEng",
    "gender": "unknown"
  },
  "displaytitle": "Wikipedia:Manual of Style",
  "normalizedtitle": "Wikipedia:Manual of Style",
  "wikibase_item": "Q4994848",
  "description": "style guide for all Wikimedia articles",
  "protection": {},
  "editable": true,
  "languagecount": 99,
  "hatnotes": [
    "\"WP:MANUAL\" redirects here. For Wikipedia not being a manual, see <a href=\"/wiki/Wikipedia:NOTMANUAL\" title=\"Wikipedia:NOTMANUAL\">WP:NOTMANUAL</a>."
  ],
  "sections": [
    {
      "id": 0,
      "text": "<span><p>The <b>Manual of Style</b> (abbreviated as <b>MoS</b> or <b>MOS</b>) is the <a href=\"/wiki/Style_manual\" title=\"Style manual\">style manual</a> for all Wikipedia articles. This primary page of the guideline covers certain topics (e.g., punctuation) in detail and <a href=\"/wiki/Wikipedia:Summary_style\" title=\"Wikipedia:Summary style\">summarizes</a> the key points of other topics. The detail pages, which are cross-referenced here and linked by this page's menu or listed at <a href=\"/wiki/Wikipedia:Manual_of_Style/Contents\" title=\"Wikipedia:Manual of Style/Contents\">Wikipedia:Manual of Style/Contents</a>, provide specific guidance on those topics. If any contradiction arises, <em about=\"#mwt4\" typeof=\"mw:Transclusion\" data-mw=\"{&quot;parts&quot;:[{&quot;template&quot;:{&quot;target&quot;:{&quot;wt&quot;:&quot;em&quot;,&quot;href&quot;:&quot;./Template:Em&quot;},&quot;params&quot;:{&quot;1&quot;:{&quot;wt&quot;:&quot;this page has precedence&quot;}},&quot;i&quot;:0}}]}\" id=\"mwCw\">this page has precedence</em> over all detail pages of the guideline, <a href=\"/wiki/Wikipedia:WikiProject_Council/Guide#Advice_pages\" title=\"Wikipedia:WikiProject Council/Guide\">style essays</a>, and the <a href=\"/wiki/Wikipedia:Simplified_Manual_of_Style\" title=\"Wikipedia:Simplified Manual of Style\">Simplified Manual of Style</a>.<span class=\"mw-ref\"><a href=\"/wiki/Wikipedia:Manual_of_Style#cite_note-1\" style=\"counter-reset: mw-Ref 1;\" data-mw-group=\"lower-alpha\"><span class=\"mw-reflink-text\">[lower-alpha 1]</span></a></span></p></span><div class=\"hatnote\">\"WP:MANUAL\" redirects here. For Wikipedia not being a manual, see <a href=\"/wiki/Wikipedia:NOTMANUAL\" title=\"Wikipedia:NOTMANUAL\">WP:NOTMANUAL</a>.</div>\n<table class=\"plainlinks ombox ombox-notice\"><tbody><tr><td class=\"mbox-image\"><span><span><img src=\"//upload.wikimedia.org/wikipedia/commons/thumb/e/eb/Blue_check.svg/30px-Blue_check.svg.png\" data-file-type=\"drawing\" srcset=\"//upload.wikimedia.org/wikipedia/commons/thumb/e/eb/Blue_check.svg/60px-Blue_check.svg.png 2x, //upload.wikimedia.org/wikipedia/commons/thumb/e/eb/Blue_check.svg/45px-Blue_check.svg.png 1.5x\" height=\"30\" width=\"30\"></span></span></td><td class=\"mbox-text\"><b>This <a href=\"/wiki/Wikipedia:Policies_and_guidelines#guide\" title=\"Wikipedia:Policies and guidelines\">guideline</a> is a part of the English Wikipedia's Manual of Style</b>. It is a generally accepted standard that editors should attempt to follow, though it is best treated with <a href=\"/wiki/Wikipedia:What_%22Ignore_all_rules%22_means#Use_common_sense\" title=\"Wikipedia:What &quot;Ignore all rules&quot; means\">common sense</a>, and <a href=\"/wiki/Wikipedia:Ignore_all_rules\" title=\"Wikipedia:Ignore all rules\">occasional exceptions</a> may apply. Any substantive edit to this page should reflect <a href=\"/wiki/Wikipedia:Consensus\" title=\"Wikipedia:Consensus\">consensus</a>. When in doubt, discuss first on the <a href=\"/wiki/Wikipedia_talk:Manual_of_Style\" title=\"Wikipedia talk:Manual of Style\">talk page</a>.</td><td class=\"mbox-imageright\"><div class=\"shortcutbox plainlist noprint\" style=\"float: right; border: 1px solid #aaa; background: #fff; margin: 0; padding: 0.3em; text-align: center; line-height: 1.4em; font-weight: bold; font-size: smaller;\"><a href=\"/wiki/Wikipedia:Shortcut\" title=\"Wikipedia:Shortcut\">Shortcuts</a>:\n<ul><li> <span class=\"nowrap\"><a href=\"/wiki/Wikipedia:MOS\" title=\"Wikipedia:MOS\">WP:MOS</a></span></li>\n<li> <span class=\"nowrap\"><a href=\"/wiki/MOS:MAIN\" title=\"MOS:MAIN\">MOS:MAIN</a></span></li>\n<li> <span class=\"nowrap\"><a href=\"/wiki/MOS:\" title=\"MOS:\">MOS:</a></span></li></ul>\n</div></td></tr></tbody></table>\n<table class=\"vertical-navbox nowraplinks hlist\" style=\"float:right;clear:right;width:22.0em;margin:0 0 1.0em 1.0em;background:#f9f9f9;border:1px solid #aaa;padding:0.2em;border-spacing:0.4em 0;text-align:center;line-height:1.4em;font-size:88%\"><tbody><tr><th style=\"padding:0.2em 0.4em 0.2em;font-size:145%;line-height:1.2em\"><a href=\"/wiki/Wikipedia:Manual_of_Style\" title=\"Wikipedia:Manual of Style\">Manual of Style (MoS)</a></th></tr><tr><td style=\"padding:0.2em 0 0.4em\"><div class=\"mw-inputbox-centered\" style=\"\">\n<form name=\"searchbox\" class=\"searchbox\" action=\"/wiki/Special:Search\" id=\"style-searchbox\">\n<p><input class=\"searchboxInput mw-ui-input mw-ui-input-inline\" name=\"search\" type=\"text\" value=\"\" placeholder=\"\" size=\"25\" dir=\"ltr\"><input type=\"hidden\" value=\"Wikipedia:Manual of Style\" name=\"prefix\"> <input type=\"submit\" name=\"fulltext\" class=\"mw-ui-button\" value=\"Search the MoS\"><input type=\"hidden\" value=\"Search\" name=\"fulltext\"></p>\n</form>\n</div></td></tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;background-color: #def; padding-left: 2px;\"><a href=\"/wiki/Category:Wikipedia_Manual_of_Style_(content)\" title=\"Category:Wikipedia Manual of Style (content)\">Content</a></div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\">\n<ul><li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Accessibility\" title=\"Wikipedia:Manual of Style/Accessibility\">Accessibility</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Biographies\" title=\"Wikipedia:Manual of Style/Biographies\">Biographies</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Disambiguation_pages\" title=\"Wikipedia:Manual of Style/Disambiguation pages\">Disambiguation pages</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Hidden_text\" title=\"Wikipedia:Manual of Style/Hidden text\">Hidden text</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Infoboxes\" title=\"Wikipedia:Manual of Style/Infoboxes\">Infoboxes</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Linking\" title=\"Wikipedia:Manual of Style/Linking\">Linking</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Self-references_to_avoid\" title=\"Wikipedia:Manual of Style/Self-references to avoid\">Self-references</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Words_to_watch\" title=\"Wikipedia:Manual of Style/Words to watch\">Words to watch</a></li></ul></div></div></td>\n</tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;background-color: #def; padding-left: 2px;\"><a href=\"/wiki/Category:Wikipedia_Manual_of_Style_(formatting)\" title=\"Category:Wikipedia Manual of Style (formatting)\">Formatting</a></div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\">\n<ul><li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Abbreviations\" title=\"Wikipedia:Manual of Style/Abbreviations\">Abbreviations</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Capital_letters\" title=\"Wikipedia:Manual of Style/Capital letters\">Capitalization</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Dates_and_numbers\" title=\"Wikipedia:Manual of Style/Dates and numbers\">Dates and numbers</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Pronunciation\" title=\"Wikipedia:Manual of Style/Pronunciation\">Pronunciation</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Proper_names\" title=\"Wikipedia:Manual of Style/Proper names\">Proper names</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Spelling\" title=\"Wikipedia:Manual of Style/Spelling\">Spelling</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Text_formatting\" title=\"Wikipedia:Manual of Style/Text formatting\">Text formatting</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Titles\" title=\"Wikipedia:Manual of Style/Titles\">Titles</a></li></ul></div></div></td>\n</tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;background-color: #def; padding-left: 2px;\"><a href=\"/wiki/Category:Wikipedia_Manual_of_Style_(images)\" title=\"Category:Wikipedia Manual of Style (images)\">Images</a></div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\">\n<ul><li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Captions\" title=\"Wikipedia:Manual of Style/Captions\">Captions</a></li>\n<li> <a href=\"/wiki/Wikipedia:Galleries\" title=\"Wikipedia:Galleries\">Galleries</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Icons\" title=\"Wikipedia:Manual of Style/Icons\">Icons</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Images\" title=\"Wikipedia:Manual of Style/Images\">Images</a></li></ul></div></div></td>\n</tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;background-color: #def; padding-left: 2px;\"><a href=\"/wiki/Category:Wikipedia_Manual_of_Style_(layout)\" title=\"Category:Wikipedia Manual of Style (layout)\">Layout</a></div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\">\n<ul><li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Layout\" title=\"Wikipedia:Manual of Style/Layout\">Layout</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Lead_section\" title=\"Wikipedia:Manual of Style/Lead section\">Lead section</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Tables\" title=\"Wikipedia:Manual of Style/Tables\">Tables</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Trivia_sections\" title=\"Wikipedia:Manual of Style/Trivia sections\">Trivia sections</a></li></ul></div></div></td>\n</tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;background-color: #def; padding-left: 2px;\"><a href=\"/wiki/Category:Wikipedia_Manual_of_Style_(lists)\" title=\"Category:Wikipedia Manual of Style (lists)\">Lists</a></div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\">\n<ul><li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Embedded_lists\" title=\"Wikipedia:Manual of Style/Embedded lists\">Embedded lists</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Lists\" title=\"Wikipedia:Manual of Style/Lists\">Lists</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Lists_of_works\" title=\"Wikipedia:Manual of Style/Lists of works\">Lists of works</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Road_junction_lists\" title=\"Wikipedia:Manual of Style/Road junction lists\">Road junctions</a></li>\n<li> <a href=\"/wiki/Wikipedia:Stand-alone_lists\" title=\"Wikipedia:Stand-alone lists\">Stand-alone lists</a></li></ul></div></div></td>\n</tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;background-color: #def; padding-left: 2px;\"><a href=\"/wiki/Category:Wikipedia_Manual_of_Style_(legal)\" title=\"Category:Wikipedia Manual of Style (legal)\">Legal</a></div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\">\n<ul><li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Legal\" title=\"Wikipedia:Manual of Style/Legal\">Legal</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Trademarks\" title=\"Wikipedia:Manual of Style/Trademarks\">Trademarks</a></li></ul></div></div></td>\n</tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;background-color: #def; padding-left: 2px;\">By topic area</div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\"><table class=\"vertical-navbox nowraplinks\" style=\"float:right;clear:right;width:22.0em;margin:0 0 1.0em 1.0em;background:#f9f9f9;border:1px solid #aaa;padding:0.2em;border-spacing:0.4em 0;text-align:center;line-height:1.4em;font-size:88%;border-collapse:collapse; border-spacing:0px; border:none; width:100%; margin:0px; font-size:100%; clear:none; float:none\"><tbody><tr><td style=\"padding:0 0.1em 0.4em\">\n<hr></td>\n</tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;background-color: #def; padding-left: 2px;\"><a href=\"/wiki/Category:Wikipedia_Manual_of_Style_(arts)\" title=\"Category:Wikipedia Manual of Style (arts)\">Arts</a></div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\"><table class=\"vertical-navbox nowraplinks\" style=\"float:right;clear:right;width:22.0em;margin:0 0 1.0em 1.0em;background:#f9f9f9;border:1px solid #aaa;padding:0.2em;border-spacing:0.4em 0;text-align:center;line-height:1.4em;font-size:88%;border-collapse:collapse; border-spacing:0px; border:none; width:100%; margin:0px; font-size:100%; clear:none; float:none\"><tbody><tr><td style=\"padding:0 0.1em 0.4em\">\n<ul><li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Comics\" title=\"Wikipedia:Manual of Style/Comics\">Comics</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Film\" title=\"Wikipedia:Manual of Style/Film\">Film</a></li>\n<li> <a href=\"/wiki/Wikipedia:Lyrics_and_poetry\" title=\"Wikipedia:Lyrics and poetry\">Lyrics and Poetry</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Novels\" title=\"Wikipedia:Manual of Style/Novels\">Novels</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Philosophy\" title=\"Wikipedia:Manual of Style/Philosophy\">Philosophy</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Television\" title=\"Wikipedia:Manual of Style/Television\">Television</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Visual_arts\" title=\"Wikipedia:Manual of Style/Visual arts\">Visual arts</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Writing_about_fiction\" title=\"Wikipedia:Manual of Style/Writing about fiction\">Writing about fiction</a></li></ul></td>\n</tr><tr><th style=\"padding:0.1em\">\n<a href=\"/wiki/Wikipedia:Manual_of_Style/Music\" title=\"Wikipedia:Manual of Style/Music\">Music</a></th></tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<ul><li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Music_samples\" title=\"Wikipedia:Manual of Style/Music samples\">Music samples</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Record_charts\" title=\"Wikipedia:Manual of Style/Record charts\">Record charts</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Stringed_instrument_tunings\" title=\"Wikipedia:Manual of Style/Stringed instrument tunings\">Stringed instruments</a></li>\n<li> <a href=\"/wiki/Category:Wikipedia_Manual_of_Style_(music)\" title=\"Category:Wikipedia Manual of Style (music)\">Category</a></li></ul></td>\n</tr></tbody></table></div></div></td>\n</tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;background-color: #def; padding-left: 2px;\"><a href=\"/wiki/Category:Wikipedia_Manual_of_Style_(regional)\" title=\"Category:Wikipedia Manual of Style (regional)\">Regional</a></div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\"><a href=\"/wiki/Wikipedia:Naming_conventions_(geographic_names)#Specific_topics\" title=\"Wikipedia:Naming conventions (geographic names)\">Specific naming conventions</a>\n<ul><li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Canada-related_articles\" title=\"Wikipedia:Manual of Style/Canada-related articles\">Canada</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/China-related_articles\" title=\"Wikipedia:Manual of Style/China-related articles\">China</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/France_&amp;_French-related\" title=\"Wikipedia:Manual of Style/France &amp; French-related\">France</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Hawaii-related_articles\" title=\"Wikipedia:Manual of Style/Hawaii-related articles\">Hawaii</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/India-related_articles\" title=\"Wikipedia:Manual of Style/India-related articles\">India</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Ireland-related_articles\" title=\"Wikipedia:Manual of Style/Ireland-related articles\">Ireland</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Japan-related_articles\" title=\"Wikipedia:Manual of Style/Japan-related articles\">Japan</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Korea-related_articles\" title=\"Wikipedia:Manual of Style/Korea-related articles\">Korea</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Philippine-related_articles\" title=\"Wikipedia:Manual of Style/Philippine-related articles\">Philippines</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Poland-related_articles\" title=\"Wikipedia:Manual of Style/Poland-related articles\">Poland</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Singapore-related_articles\" title=\"Wikipedia:Manual of Style/Singapore-related articles\">Singapore</a></li>\n<li> <a href=\"/wiki/Wikipedia:Trinidad_and_Tobago_Wikipedians'_notice_board/Style_guide\" title=\"Wikipedia:Trinidad and Tobago Wikipedians' notice board/Style guide\">Trinidad and Tobago</a></li></ul></div></div></td>\n</tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;background-color: #def; padding-left: 2px;\"><a href=\"/wiki/Category:Wikipedia_Manual_of_Style_(religion)\" title=\"Category:Wikipedia Manual of Style (religion)\">Religion</a></div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\">\n<ul><li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Islam-related_articles\" title=\"Wikipedia:Manual of Style/Islam-related articles\">Islam</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Latter_Day_Saints\" title=\"Wikipedia:Manual of Style/Latter Day Saints\">Latter Day Saints</a></li></ul></div></div></td>\n</tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;background-color: #def; padding-left: 2px;\"><a href=\"/wiki/Category:Wikipedia_Manual_of_Style_(science)\" title=\"Category:Wikipedia Manual of Style (science)\">Science</a></div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\">\n<ul><li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Chemistry\" title=\"Wikipedia:Manual of Style/Chemistry\">Chemistry</a></li>\n<li> <a href=\"/wiki/Wikipedia:WikiProject_Computer_science/Manual_of_style\" title=\"Wikipedia:WikiProject Computer science/Manual of style\">Computer science</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Computing\" title=\"Wikipedia:Manual of Style/Computing\">Computing</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Mathematics\" title=\"Wikipedia:Manual of Style/Mathematics\">Mathematics</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Medicine-related_articles\" title=\"Wikipedia:Manual of Style/Medicine-related articles\">Medicine</a></li></ul></div></div></td>\n</tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;background-color: #def; padding-left: 2px;\"><a href=\"/wiki/Category:Wikipedia_Manual_of_Style_(sports)\" title=\"Category:Wikipedia Manual of Style (sports)\">Sports</a></div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\">\n<ul><li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Cue_sports\" title=\"Wikipedia:Manual of Style/Cue sports\">Cue sports</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Snooker\" title=\"Wikipedia:Manual of Style/Snooker\">Snooker</a></li></ul></div></div></td>\n</tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<hr></td>\n</tr></tbody></table></div></div></td>\n</tr><tr><td style=\"padding:0 0.1em 0.4em\">\n<div class=\"NavFrame collapsed\" style=\"border:none;padding:0\"><div class=\"NavHead\" style=\"font-size:105%;background:transparent;text-align:left;background-color: #def; padding-left: 2px;\">Related guidelines</div><div class=\"NavContent\" style=\"font-size:105%;padding:0.2em 0 0.4em;text-align:center\">\n<ul><li> <a href=\"/wiki/Wikipedia:Article_size\" title=\"Wikipedia:Article size\">Article size</a></li>\n<li> <a href=\"/wiki/Wikipedia:Article_titles\" title=\"Wikipedia:Article titles\">Article titles</a></li>\n<li> <a href=\"/wiki/Wikipedia:Categories,_lists,_and_navigation_templates\" title=\"Wikipedia:Categories, lists, and navigation templates\">Categories, lists, and navigation templates</a></li>\n<li> <a href=\"/wiki/Wikipedia:Categorization\" title=\"Wikipedia:Categorization\">Categorization</a></li>\n<li> <a href=\"/wiki/Wikipedia:Citing_sources\" title=\"Wikipedia:Citing sources\">Citing sources</a></li>\n<li> <a href=\"/wiki/Wikipedia:Hatnote\" title=\"Wikipedia:Hatnote\">Hatnotes</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Military_history\" title=\"Wikipedia:Manual of Style/Military history\">Military history</a></li>\n<li> <a href=\"/wiki/Wikipedia:Signatures\" title=\"Wikipedia:Signatures\">Signatures</a></li>\n<li> <a href=\"/wiki/Wikipedia:Subpages\" title=\"Wikipedia:Subpages\">Subpages</a></li>\n<li> <a href=\"/wiki/Wikipedia:Talk_page_guidelines\" title=\"Wikipedia:Talk page guidelines\">Talk page guidelines</a></li>\n<li> <a href=\"/wiki/Wikipedia:Template_namespace\" title=\"Wikipedia:Template namespace\">Template namespace</a></li>\n<li> <a href=\"/wiki/Wikipedia:Make_technical_articles_understandable\" title=\"Wikipedia:Make technical articles understandable\">Understandability</a></li>\n<li> <a href=\"/wiki/Wikipedia:User_pages\" title=\"Wikipedia:User pages\">User pages</a></li>\n<li> <a href=\"/wiki/Wikipedia:Wikimedia_sister_projects\" title=\"Wikipedia:Wikimedia sister projects\">Wikimedia sister projects</a></li>\n<li> <a href=\"/wiki/Wikipedia:WikiProject_Council/Guide\" title=\"Wikipedia:WikiProject Council/Guide\">WikiProjects</a></li></ul></div></div></td>\n</tr><tr><td style=\"padding:0.3em 0.4em 0.3em;font-weight:bold;border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;\">\n<ul><li> <a href=\"/wiki/Wikipedia:Simplified_Manual_of_Style\" title=\"Wikipedia:Simplified Manual of Style\">Overview</a></li>\n<li> <a href=\"/wiki/Wikipedia:Manual_of_Style/Contents\" title=\"Wikipedia:Manual of Style/Contents\">Directory</a></li>\n<li> <a href=\"/wiki/Wikipedia:Styletips\" title=\"Wikipedia:Styletips\">Tips</a></li></ul></td></tr><tr><td style=\"text-align:right;font-size:115%;padding-top: 0.6em;\"><div class=\"plainlinks hlist navbar mini\"><ul><li class=\"nv-view\"><a href=\"/wiki/Template:Style\" title=\"Template:Style\"><abbr>v</abbr></a></li><li class=\"nv-talk\"><a href=\"/wiki/Template_talk:Style\" title=\"Template talk:Style\"><abbr>t</abbr></a></li><li class=\"nv-edit\"><a href=\"//en.wikipedia.org/w/index.php?title=Template:Style&amp;action=edit\"><abbr>e</abbr></a></li></ul></div></td></tr></tbody></table>\n\n\n\n<p>\nThe Manual of Style presents Wikipedia's <a href=\"/wiki/Style_guide\" title=\"Style guide\">house style</a>. The goal is to make using Wikipedia easier and more intuitive by promoting clarity and cohesion, while helping editors write articles with consistent and precise language, layout, and formatting. <a href=\"/wiki/Plain_English\" title=\"Plain English\">Plain English</a> works best. Avoid ambiguity, jargon, and vague or unnecessarily complex wording. Any new content added to the body of this page should directly address a style issue that has occurred in a significant number of instances. </p>\n\n<p>Discuss style issues on the <a href=\"/wiki/Wikipedia_talk:Manual_of_Style\" title=\"Wikipedia talk:Manual of Style\">MOS talk page</a>.</p>\n\n<div class=\"toclimit-3\"><meta property=\"mw:PageProp/toc\"></div>\n\n"
    },
    {
      "id": 1,
      "toclevel": 1,
      "anchor": "Article_titles.2C_headings.2C_and_sections",
      "line": "Article titles, headings, and sections"
    },
    {
      "id": 2,
      "toclevel": 2,
      "anchor": "Article_titles",
      "line": "Article titles"
    },
    {
      "id": 3,
      "toclevel": 2,
      "anchor": "Section_organization",
      "line": "Section organization"
    },
    {
      "id": 4,
      "toclevel": 2,
      "anchor": "Section_headings",
      "line": "Section headings"
    },
    {
      "id": 5,
      "toclevel": 1,
      "anchor": "Retaining_existing_styles",
      "line": "Retaining existing styles"
    },
    {
      "id": 6,
      "toclevel": 1,
      "anchor": "National_varieties_of_English",
      "line": "National varieties of English"
    },
    {
      "id": 7,
      "toclevel": 2,
      "anchor": "Opportunities_for_commonality",
      "line": "Opportunities for commonality"
    },
    {
      "id": 8,
      "toclevel": 2,
      "anchor": "Consistency_within_articles",
      "line": "Consistency within articles"
    },
    {
      "id": 9,
      "toclevel": 2,
      "anchor": "Strong_national_ties_to_a_topic",
      "line": "Strong national ties to a topic"
    },
    {
      "id": 10,
      "toclevel": 2,
      "anchor": "Retaining_the_existing_variety",
      "line": "Retaining the existing variety"
    },
    {
      "id": 11,
      "toclevel": 1,
      "anchor": "Capital_letters",
      "line": "Capital letters"
    },
    {
      "id": 12,
      "toclevel": 2,
      "anchor": "Do_not_use_capitals_for_emphasis",
      "line": "Do not use capitals for emphasis"
    },
    {
      "id": 13,
      "toclevel": 2,
      "anchor": "Capitalization_of_.22The.22",
      "line": "Capitalization of \"The\""
    },
    {
      "id": 14,
      "toclevel": 2,
      "anchor": "Titles_of_works",
      "line": "Titles of works"
    },
    {
      "id": 15,
      "toclevel": 2,
      "anchor": "Titles_of_people",
      "line": "Titles of people"
    },
    {
      "id": 16,
      "toclevel": 2,
      "anchor": "Religions.2C_deities.2C_philosophies.2C_doctrines",
      "line": "Religions, deities, philosophies, doctrines"
    },
    {
      "id": 17,
      "toclevel": 2,
      "anchor": "Calendar_items",
      "line": "Calendar items"
    },
    {
      "id": 18,
      "toclevel": 2,
      "anchor": "Animals.2C_plants.2C_and_other_organisms",
      "line": "Animals, plants, and other organisms"
    },
    {
      "id": 19,
      "toclevel": 2,
      "anchor": "Celestial_bodies",
      "line": "Celestial bodies"
    },
    {
      "id": 20,
      "toclevel": 2,
      "anchor": "Compass_points",
      "line": "Compass points"
    },
    {
      "id": 21,
      "toclevel": 2,
      "anchor": "Institutions",
      "line": "Institutions"
    },
    {
      "id": 22,
      "toclevel": 1,
      "anchor": "Ligatures",
      "line": "Ligatures"
    },
    {
      "id": 23,
      "toclevel": 1,
      "anchor": "Abbreviations",
      "line": "Abbreviations"
    },
    {
      "id": 24,
      "toclevel": 2,
      "anchor": "Write_out_both_the_full_version_and_the_abbreviation_at_first_occurrence",
      "line": "Write out both the full version and the abbreviation at first occurrence"
    },
    {
      "id": 25,
      "toclevel": 2,
      "anchor": "Plural_and_possessive_forms",
      "line": "Plural and possessive forms"
    },
    {
      "id": 26,
      "toclevel": 2,
      "anchor": "Full_stops_and_spaces",
      "line": "Full stops and spaces"
    },
    {
      "id": 27,
      "toclevel": 2,
      "anchor": "US_and_U.S.",
      "line": "US and U.S."
    },
    {
      "id": 28,
      "toclevel": 2,
      "anchor": "Circa",
      "line": "Circa"
    },
    {
      "id": 29,
      "toclevel": 2,
      "anchor": "Do_not_use_unwarranted_abbreviations",
      "line": "Do not use unwarranted abbreviations"
    },
    {
      "id": 30,
      "toclevel": 2,
      "anchor": "Do_not_invent_abbreviations_or_acronyms",
      "line": "Do not invent abbreviations or acronyms"
    },
    {
      "id": 31,
      "toclevel": 2,
      "anchor": "HTML_elements",
      "line": "HTML elements"
    },
    {
      "id": 32,
      "toclevel": 2,
      "anchor": "Ampersand",
      "line": "Ampersand"
    },
    {
      "id": 33,
      "toclevel": 1,
      "anchor": "Italics",
      "line": "Italics"
    },
    {
      "id": 34,
      "toclevel": 2,
      "anchor": "Emphasis",
      "line": "Emphasis"
    },
    {
      "id": 35,
      "toclevel": 2,
      "anchor": "Titles",
      "line": "Titles"
    },
    {
      "id": 36,
      "toclevel": 2,
      "anchor": "Words_as_words",
      "line": "Words as words"
    },
    {
      "id": 37,
      "toclevel": 2,
      "anchor": "Foreign_words",
      "line": "Foreign words"
    },
    {
      "id": 38,
      "toclevel": 2,
      "anchor": "Scientific_names",
      "line": "Scientific names"
    },
    {
      "id": 39,
      "toclevel": 2,
      "anchor": "Quotations_in_italics",
      "line": "Quotations in italics"
    },
    {
      "id": 40,
      "toclevel": 2,
      "anchor": "Italics_within_quotations",
      "line": "Italics within quotations"
    },
    {
      "id": 41,
      "toclevel": 2,
      "anchor": "Effect_on_nearby_punctuation",
      "line": "Effect on nearby punctuation"
    },
    {
      "id": 42,
      "toclevel": 2,
      "anchor": "Italicized_links",
      "line": "Italicized links"
    },
    {
      "id": 43,
      "toclevel": 1,
      "anchor": "Controlling_line_breaks",
      "line": "Controlling line breaks"
    },
    {
      "id": 44,
      "toclevel": 1,
      "anchor": "Quotations",
      "line": "Quotations"
    },
    {
      "id": 45,
      "toclevel": 2,
      "anchor": "Original_wording",
      "line": "Original wording"
    },
    {
      "id": 46,
      "toclevel": 2,
      "anchor": "Point_of_view",
      "line": "Point of view"
    },
    {
      "id": 47,
      "toclevel": 2,
      "anchor": "Typographic_conformity",
      "line": "Typographic conformity"
    },
    {
      "id": 48,
      "toclevel": 2,
      "anchor": "Attribution",
      "line": "Attribution"
    },
    {
      "id": 49,
      "toclevel": 2,
      "anchor": "Quotations_within_quotations",
      "line": "Quotations within quotations"
    },
    {
      "id": 50,
      "toclevel": 2,
      "anchor": "Linking",
      "line": "Linking"
    },
    {
      "id": 51,
      "toclevel": 2,
      "anchor": "Block_quotations",
      "line": "Block quotations"
    },
    {
      "id": 52,
      "toclevel": 2,
      "anchor": "Foreign-language_quotations",
      "line": "Foreign-language quotations"
    },
    {
      "id": 53,
      "toclevel": 1,
      "anchor": "Punctuation",
      "line": "Punctuation"
    },
    {
      "id": 54,
      "toclevel": 2,
      "anchor": "Apostrophes",
      "line": "Apostrophes"
    },
    {
      "id": 55,
      "toclevel": 2,
      "anchor": "Quotation_marks",
      "line": "Quotation marks"
    },
    {
      "id": 56,
      "toclevel": 3,
      "anchor": "Reasons_to_prefer_straight_quotation_marks_and_apostrophes",
      "line": "Reasons to prefer straight quotation marks and apostrophes"
    },
    {
      "id": 57,
      "toclevel": 3,
      "anchor": "Reasons_to_prefer_double_quotation_marks_to_single_quotation_marks",
      "line": "Reasons to prefer double quotation marks to single quotation marks"
    },
    {
      "id": 58,
      "toclevel": 3,
      "anchor": "Names_and_titles",
      "line": "Names and titles"
    },
    {
      "id": 59,
      "toclevel": 3,
      "anchor": "Punctuation_inside_or_outside",
      "line": "Punctuation inside or outside"
    },
    {
      "id": 60,
      "toclevel": 2,
      "anchor": "Brackets_and_parentheses",
      "line": "Brackets and parentheses"
    },
    {
      "id": 61,
      "toclevel": 3,
      "anchor": "Sentences_and_brackets",
      "line": "Sentences and brackets"
    },
    {
      "id": 62,
      "toclevel": 3,
      "anchor": "Brackets_and_linking",
      "line": "Brackets and linking"
    },
    {
      "id": 63,
      "toclevel": 2,
      "anchor": "Ellipses",
      "line": "Ellipses"
    },
    {
      "id": 64,
      "toclevel": 2,
      "anchor": "Commas",
      "line": "Commas"
    },
    {
      "id": 65,
      "toclevel": 3,
      "anchor": "Serial_commas",
      "line": "Serial commas"
    },
    {
      "id": 66,
      "toclevel": 2,
      "anchor": "Colons",
      "line": "Colons"
    },
    {
      "id": 67,
      "toclevel": 2,
      "anchor": "Semicolons",
      "line": "Semicolons"
    },
    {
      "id": 68,
      "toclevel": 3,
      "anchor": "Semicolon_before_.22however.22",
      "line": "Semicolon before \"however\""
    },
    {
      "id": 69,
      "toclevel": 2,
      "anchor": "Hyphens",
      "line": "Hyphens"
    },
    {
      "id": 70,
      "toclevel": 2,
      "anchor": "Dashes",
      "line": "Dashes"
    },
    {
      "id": 71,
      "toclevel": 3,
      "anchor": "Punctuating_a_sentence_.28em_or_en_dashes.29",
      "line": "Punctuating a sentence (em or en dashes)"
    },
    {
      "id": 72,
      "toclevel": 3,
      "anchor": "Other_uses_.28en_dash_only.29",
      "line": "Other uses (en dash only)"
    },
    {
      "id": 73,
      "toclevel": 4,
      "anchor": "In_ranges_that_might_otherwise_be_expressed_with_.3Ci.3Eto.3C.2Fi.3E_or_.3Ci.3Ethrough.3C.2Fi.3E",
      "line": "In ranges that might otherwise be expressed with <i>to</i> or <i>through</i>"
    },
    {
      "id": 74,
      "toclevel": 4,
      "anchor": "In_compounds_when_the_connection_might_otherwise_be_expressed_with_.3Ci.3Eto.3C.2Fi.3E.2C_.3Ci.3Eversus.3C.2Fi.3E.2C_.3Ci.3Eand.3C.2Fi.3E.2C_or_.3Ci.3Ebetween.3C.2Fi.3E",
      "line": "In compounds when the connection might otherwise be expressed with <i>to</i>, <i>versus</i>, <i>and</i>, or <i>between</i>"
    },
    {
      "id": 75,
      "toclevel": 4,
      "anchor": "Instead_of_a_hyphen.2C_when_applying_a_prefix_to_a_compound_that_includes_a_space",
      "line": "Instead of a hyphen, when applying a prefix to a compound that includes a space"
    },
    {
      "id": 76,
      "toclevel": 4,
      "anchor": "To_separate_parts_of_an_item_in_a_list",
      "line": "To separate parts of an item in a list"
    },
    {
      "id": 77,
      "toclevel": 3,
      "anchor": "Other_dashes",
      "line": "Other dashes"
    },
    {
      "id": 78,
      "toclevel": 2,
      "anchor": "Slashes",
      "line": "Slashes"
    },
    {
      "id": 79,
      "toclevel": 3,
      "anchor": "And.2For",
      "line": "And/or"
    },
    {
      "id": 80,
      "toclevel": 2,
      "anchor": "Number_sign",
      "line": "Number sign"
    },
    {
      "id": 81,
      "toclevel": 2,
      "anchor": "Terminal_punctuation",
      "line": "Terminal punctuation"
    },
    {
      "id": 82,
      "toclevel": 2,
      "anchor": "Spacing",
      "line": "Spacing"
    },
    {
      "id": 83,
      "toclevel": 3,
      "anchor": "Spaces_following_terminal_punctuation",
      "line": "Spaces following terminal punctuation"
    },
    {
      "id": 84,
      "toclevel": 2,
      "anchor": "Consecutive_punctuation_marks",
      "line": "Consecutive punctuation marks"
    },
    {
      "id": 85,
      "toclevel": 2,
      "anchor": "Punctuation_and_footnotes",
      "line": "Punctuation and footnotes"
    },
    {
      "id": 86,
      "toclevel": 2,
      "anchor": "Punctuation_after_formulae",
      "line": "Punctuation after formulae"
    },
    {
      "id": 87,
      "toclevel": 1,
      "anchor": "Dates_and_time",
      "line": "Dates and time"
    },
    {
      "id": 88,
      "toclevel": 2,
      "anchor": "Time_of_day",
      "line": "Time of day"
    },
    {
      "id": 89,
      "toclevel": 2,
      "anchor": "Days",
      "line": "Days"
    },
    {
      "id": 90,
      "toclevel": 3,
      "anchor": "Choice_of_format",
      "line": "Choice of format"
    },
    {
      "id": 91,
      "toclevel": 2,
      "anchor": "Months",
      "line": "Months"
    },
    {
      "id": 92,
      "toclevel": 2,
      "anchor": "Seasons",
      "line": "Seasons"
    },
    {
      "id": 93,
      "toclevel": 2,
      "anchor": "Years_and_longer_periods",
      "line": "Years and longer periods"
    },
    {
      "id": 94,
      "toclevel": 2,
      "anchor": "Current",
      "line": "Current"
    },
    {
      "id": 95,
      "toclevel": 1,
      "anchor": "Numbers",
      "line": "Numbers"
    },
    {
      "id": 96,
      "toclevel": 1,
      "anchor": "Currencies",
      "line": "Currencies"
    },
    {
      "id": 97,
      "toclevel": 1,
      "anchor": "Units_of_measurement",
      "line": "Units of measurement"
    },
    {
      "id": 98,
      "toclevel": 1,
      "anchor": "Common_mathematical_symbols",
      "line": "Common mathematical symbols"
    },
    {
      "id": 99,
      "toclevel": 1,
      "anchor": "Grammar_and_usage",
      "line": "Grammar and usage"
    },
    {
      "id": 100,
      "toclevel": 2,
      "anchor": "Possessives",
      "line": "Possessives"
    },
    {
      "id": 101,
      "toclevel": 3,
      "anchor": "Singular_nouns",
      "line": "Singular nouns"
    },
    {
      "id": 102,
      "toclevel": 3,
      "anchor": "Plural_nouns",
      "line": "Plural nouns"
    },
    {
      "id": 103,
      "toclevel": 3,
      "anchor": "Official_names",
      "line": "Official names"
    },
    {
      "id": 104,
      "toclevel": 2,
      "anchor": "First-person_pronouns",
      "line": "First-person pronouns"
    },
    {
      "id": 105,
      "toclevel": 2,
      "anchor": "Second-person_pronouns",
      "line": "Second-person pronouns"
    },
    {
      "id": 106,
      "toclevel": 2,
      "anchor": "Plurals",
      "line": "Plurals"
    },
    {
      "id": 107,
      "toclevel": 2,
      "anchor": "Verb_tense",
      "line": "Verb tense"
    },
    {
      "id": 108,
      "toclevel": 1,
      "anchor": "Vocabulary",
      "line": "Vocabulary"
    },
    {
      "id": 109,
      "toclevel": 2,
      "anchor": "Contractions",
      "line": "Contractions"
    },
    {
      "id": 110,
      "toclevel": 2,
      "anchor": "Gender-neutral_language",
      "line": "Gender-neutral language"
    },
    {
      "id": 111,
      "toclevel": 2,
      "anchor": "Contested_vocabulary",
      "line": "Contested vocabulary"
    },
    {
      "id": 112,
      "toclevel": 2,
      "anchor": "Instructional_and_presumptuous_language",
      "line": "Instructional and presumptuous language"
    },
    {
      "id": 113,
      "toclevel": 2,
      "anchor": "Subset_terms",
      "line": "Subset terms"
    },
    {
      "id": 114,
      "toclevel": 2,
      "anchor": "Identity",
      "line": "Identity"
    },
    {
      "id": 115,
      "toclevel": 3,
      "anchor": "Use_of_.22Arab.22_and_.22Arabic.22",
      "line": "Use of \"Arab\" and \"Arabic\""
    },
    {
      "id": 116,
      "toclevel": 3,
      "anchor": "Gender_identity",
      "line": "Gender identity"
    },
    {
      "id": 117,
      "toclevel": 2,
      "anchor": "Foreign_terms",
      "line": "Foreign terms"
    },
    {
      "id": 118,
      "toclevel": 3,
      "anchor": "No_common_usage_in_English",
      "line": "No common usage in English"
    },
    {
      "id": 119,
      "toclevel": 3,
      "anchor": "Common_usage_in_English",
      "line": "Common usage in English"
    },
    {
      "id": 120,
      "toclevel": 3,
      "anchor": "Spelling_and_romanization",
      "line": "Spelling and romanization"
    },
    {
      "id": 121,
      "toclevel": 3,
      "anchor": "Other_concerns",
      "line": "Other concerns"
    },
    {
      "id": 122,
      "toclevel": 2,
      "anchor": "Technical_language",
      "line": "Technical language"
    },
    {
      "id": 123,
      "toclevel": 2,
      "anchor": "Geographical_items",
      "line": "Geographical items"
    },
    {
      "id": 124,
      "toclevel": 1,
      "anchor": "Media_files",
      "line": "Media files"
    },
    {
      "id": 125,
      "toclevel": 2,
      "anchor": "Images",
      "line": "Images"
    },
    {
      "id": 126,
      "toclevel": 2,
      "anchor": "Other_media_files",
      "line": "Other media files"
    },
    {
      "id": 127,
      "toclevel": 2,
      "anchor": "Avoid_entering_textual_information_as_images",
      "line": "Avoid entering textual information as images"
    },
    {
      "id": 128,
      "toclevel": 2,
      "anchor": "Captions",
      "line": "Captions"
    },
    {
      "id": 129,
      "toclevel": 3,
      "anchor": "Formatting_of_captions",
      "line": "Formatting of captions"
    },
    {
      "id": 130,
      "toclevel": 1,
      "anchor": "Bulleted_and_numbered_lists",
      "line": "Bulleted and numbered lists"
    },
    {
      "id": 131,
      "toclevel": 1,
      "anchor": "Links",
      "line": "Links"
    },
    {
      "id": 132,
      "toclevel": 2,
      "anchor": "Wikilinks",
      "line": "Wikilinks"
    },
    {
      "id": 133,
      "toclevel": 2,
      "anchor": "External_links",
      "line": "External links"
    },
    {
      "id": 134,
      "toclevel": 1,
      "anchor": "Miscellaneous",
      "line": "Miscellaneous"
    },
    {
      "id": 135,
      "toclevel": 2,
      "anchor": "Keep_markup_simple",
      "line": "Keep markup simple"
    },
    {
      "id": 136,
      "toclevel": 2,
      "anchor": "Formatting_issues",
      "line": "Formatting issues"
    },
    {
      "id": 137,
      "toclevel": 3,
      "anchor": "Color_coding",
      "line": "Color coding"
    },
    {
      "id": 138,
      "toclevel": 2,
      "anchor": "Scrolling_lists_and_collapsible_content",
      "line": "Scrolling lists and collapsible content"
    },
    {
      "id": 139,
      "toclevel": 2,
      "anchor": "Invisible_comments",
      "line": "Invisible comments"
    },
    {
      "id": 140,
      "toclevel": 2,
      "anchor": "Pronunciation",
      "line": "Pronunciation"
    },
    {
      "id": 141,
      "toclevel": 1,
      "anchor": "See_also",
      "line": "See also"
    },
    {
      "id": 142,
      "toclevel": 2,
      "anchor": "Guidance",
      "line": "Guidance"
    },
    {
      "id": 143,
      "toclevel": 2,
      "anchor": "Development",
      "line": "Development"
    },
    {
      "id": 144,
      "toclevel": 2,
      "anchor": "Tools",
      "line": "Tools"
    },
    {
      "id": 145,
      "toclevel": 2,
      "anchor": "Other_community_standards",
      "line": "Other community standards"
    },
    {
      "id": 146,
      "toclevel": 2,
      "anchor": "Guidelines_within_Manual_of_Style",
      "line": "Guidelines within Manual of Style"
    },
    {
      "id": 147,
      "toclevel": 3,
      "anchor": "Names",
      "line": "Names"
    },
    {
      "id": 148,
      "toclevel": 3,
      "anchor": "Capitalization",
      "line": "Capitalization"
    },
    {
      "id": 149,
      "toclevel": 3,
      "anchor": "Language_varieties",
      "line": "Language varieties"
    },
    {
      "id": 150,
      "toclevel": 3,
      "anchor": "Foreign_terms_used_in_English",
      "line": "Foreign terms used in English"
    },
    {
      "id": 151,
      "toclevel": 3,
      "anchor": "Quotations_in_articles",
      "line": "Quotations in articles"
    },
    {
      "id": 152,
      "toclevel": 3,
      "anchor": "Numbers.2C_times.2C_and_dates",
      "line": "Numbers, times, and dates"
    },
    {
      "id": 153,
      "toclevel": 3,
      "anchor": "Lists",
      "line": "Lists"
    },
    {
      "id": 154,
      "toclevel": 3,
      "anchor": "Punctuation_guidance",
      "line": "Punctuation guidance"
    },
    {
      "id": 155,
      "toclevel": 1,
      "anchor": "Notes",
      "line": "Notes"
    },
    {
      "id": 156,
      "toclevel": 1,
      "anchor": "Further_reading",
      "line": "Further reading"
    },
    {
      "id": 157,
      "toclevel": 2,
      "anchor": "Style_guides_on_other_Wikimedia_projects",
      "line": "Style guides on other Wikimedia projects"
    },
    {
      "id": 158,
      "toclevel": 2,
      "anchor": "External_style_guides",
      "line": "External style guides"
    },
    {
      "id": 159,
      "toclevel": 2,
      "anchor": "Search_engines",
      "line": "Search engines"
    }
  ]
}

Event Timeline

MCS tries to get the current DB title from this tag inside the <head> element

<link rel="dc:isVersionOf" href="//en.wikipedia.org/wiki/Wikipedia%3AManual_of_Style"/>

Note the percent-encoded colon (':' => '%3A'). Colons (:) are valid characters in a title so we can't just simply replace the first '%3A' with a colon in all cases. It probably would work for the majority of cases but not for all.

For this to work properly for all pages MCS needs to know all possible namespace prefixes for a given language.

Why does the Content Service need the DB title / dbname? Is the dbname needed to strip off //en.wikipedia.org/wiki/? If so, would it break anything to extract the last path segment instead of doing a prefix strip?

Change 343424 had a related patch set uploaded (by BearND):
[mediawiki/services/mobileapps] Add namespaces.json file

https://gerrit.wikimedia.org/r/343424

Note the percent-encoded colon (':' => '%3A'). Colons (:) are valid characters in a title so we can't just simply replace the first '%3A' with a colon in all cases. It probably would work for the majority of cases but not for all.

For this to work properly for all pages MCS needs to know all possible namespace prefixes for a given language.

Knowing which part of the prefixed DB name is the namespace name does not seem relevant. Just strip the domain, percent-decode the remainder and you have the string to prefix-match against. Or does the dc:isVersionOf link get localized differently than the wikilinks?

Why does the Content Service need the DB title / dbname? Is the dbname needed to strip off //en.wikipedia.org/wiki/? If so, would it break anything to extract the last path segment instead of doing a prefix strip?

The DB title is needed because it is used for the page internal links.
MCS strips off the beginning of the URL by removing the baseUri. I can't just use the last part of the path since a title can have slashes, too.

Example from https://test.wikipedia.org/api/rest_v1/page/html/User%3ABSitzmann_(WMF)%2FMCS%2FTest%2FTitle_with_:

<head>
<base href="//test.wikipedia.org/wiki/"/>
<link rel="dc:isVersionOf" href="//test.wikipedia.org/wiki/User%3ABSitzmann_(WMF)/MCS/Test/Title_with_%3A"/>
</head>
<body>
...
<a rel="mw:WikiLink" href="./User:BSitzmann_(WMF)/MCS/Test/Title_with_:#Section_1" id="mwDw">#Section 1</a>

Knowing which part of the prefixed DB name is the namespace name does not seem relevant. Just strip the domain, percent-decode the remainder and you have the string to prefix-match against. Or does the dc:isVersionOf link get localized differently than the wikilinks?

Good point. This prompted me to come up with the above test title. I'll just do what you suggest and percent-decode everything in the title. This should be much easier to handle and also more efficient. Thanks!

Change 343586 had a related patch set uploaded (by BearND):
[mediawiki/services/mobileapps] mobile-sections: Percent-decode title in Parsoid head

https://gerrit.wikimedia.org/r/343586

@bearND, is it a bug that your example does not have a fully URL encoded title (I thought the forward slashes should be encoded!)? The service appears to handled both correctly:

test.wikipedia.org/wiki/User:BSitzmann_(WMF)/MCS/Test/Title_with_:
test.wikipedia.org/wiki/User%3ABSitzmann_(WMF)%2FMCS%2FTest%2FTitle_with_%3A

@Niedzielski The example came from Parsoid HTML.

When accessed via RB the forwards slashes in a title always need to be percent-encoded or the route would not be found correctly. For the other characters it doesn't really matter if you use the percent-encoded version or not.
The <link rel="dc:isVersionOf" href values and the URIs in the anchor elements are identical in both variants respectively:
https://test.wikipedia.org/api/rest_v1/page/html/User:BSitzmann_(WMF)%2FMCS%2FTest%2FTitle_with_:
https://test.wikipedia.org/api/rest_v1/page/html/User%3ABSitzmann_(WMF)%2FMCS%2FTest%2FTitle_with_%3A

Is it a bug in Parsoid? I guess it depends on what the expectation is. If one expects to use the href string as is to request the linked title then I guess a case could be made to call this a bug. But a client should know to percent-encode the title before using it to get the content of another page via RB.

When accessed via RB the forwards slashes in a title always need to be percent-encoded or the route would not be found correctly.

Your example shows a partially encoded URL where the forward slashes are not encoded but the colon is. Is this a legitimate use case?

If one expects to use the href string as is to request the linked title then I guess a case could be made to call this a bug. But a client should know to percent-encode the title before using it to get the content of another page via RB.

A client can't know how to percent encode a partially encoded title:

//test.wikipedia.org/wiki/User%3ABSitzmann_(WMF)/MCS/Test/Title_with_%3A

=>

%2F%2Ftest.wikipedia.org%2Fwiki%2FUser%253ABSitzmann_(WMF)%2FMCS%2FTest%2FTitle_with_%253A

Or even if the client is able to identify just the title, the encoded parts get re-encoded which is also incorrect:

//test.wikipedia.org/wiki/User%3ABSitzmann_(WMF)/MCS/Test/Title_with_%3A

=>

//test.wikipedia.org/wiki/User%253ABSitzmann_(WMF)%2FMCS%2FTest%2FTitle_with_%253A

Change 343586 merged by jenkins-bot:
[mediawiki/services/mobileapps] mobile-sections: Percent-decode title in Parsoid head

https://gerrit.wikimedia.org/r/343586