import pywikibot
site = pywikibot.Site('en', 'wikipedia')
site
APISite("en", "wikipedia")
page = pywikibot.Page(site, 'User talk:Soni')
page.exists()
True
page.save
'Hi, this is Soni, previously known as TheOriginalSoni.\n<font color=green><big>\'\'It is time to get the \'\'\'Wiki\'\'\' back into Wikipedia\'\'</big></font>\n{{troutme|icon_nr=1}}\n\n{{talkheader}}\n{{User:HBC Archive Indexerbot/OptIn|target=User talk:TheOriginalSoni/Archive index|mask=User talk:TheOriginalSoni/Archive <#>|leading_zeros=0|indexhere=yes|template=User:TheOriginalSoni/ArchiveTemplate}}\n\n{{User:MiszaBot/config\n|maxarchivesize = 42K\n|counter = 12\n|minthreadsleft = 4\n|minthreadstoarchive = 2\n|algo = old(31d)\n|archive = User talk:Soni/Archive %(counter)d\n}}\n\n==<span style="color:green">Happy</span> <span style="color:red">New</span> <span style="color:blue">Year</span>, [[User:Soni|<span style="color:#FF66CC">Soni</span>]]==\n<div style="border-style:solid; border-color:gold; background-color:lightblue; font color:gray; border-width:2px; text-align:left; padding:8px;" class="plainlinks">[[image:Happy new year 01.svg|100px|left]]\n\'\'\'[[User:Pratyya Ghosh|<span style="color:green;font-family:Comic Sans MS">Pr<span style="color:red;">at</span><span style="color:blue;">yya</span></span>]]\'\'\' <sup>[[User talk:Pratyya Ghosh|<span style="color:orange;font-family:Verdana">\'\'\'(Hello!)\'\'\'</span>]]</sup> — is wishing you a \'\'\'<span style="color:green">Happy</span> <span style="color:red">New</span> <span style="color:blue">Year</span>!\'\'\' Welcome the \'\'\'<font style="white-space:nowrap;text-shadow:green 0em 0em 0.8em,red -0.8em -0.8em 0.9em,blue 0.7em 0.7em 0.8em;color:#000000"><big><span style="color:green">2016</span></big>\'\'\'</font>. Wishing you a happy and fruitful 2016 with good health and your wishes come true! This greeting (and season) promotes [[Wikipedia:WikiLove|WikiLove]] and hopefully this note has made your day a little better. Spread the WikiLove by wishing another user a Happy New Year, whether it be someone you have had disagreements with in the past, a good friend, or just some random person. Happy New Year! May the 2016 go well for you.   <br /> \n\nSpread the New Year cheer by adding {{tlsu|User:Pratyya Ghosh/Happy New Year}} to their talk page with a Happy New Year message.\n\n</div>\n\n== What do I need to do to reference my article correctly ? ==\n\nDear Soni,\n\nMy draft, https://en.wikipedia.org/wiki/Draft:June_Oscar, was rejected because, "Most of this article is unreferenced. More reliable third-party sources need to be added to the article for verification".\n\nI find this feedback confusing, as I have included 18 references. Surely this is enough to verify the information.\n\nIm aware that \'Community reconstruction\' and \'Fighting Fetal Alcohol Spectrum Disorder (FASD)\' don\'t include many references, and this is because most of the info in these sections is from the same source - reference# 7.\n\nI would really appreciate if you could show me what I need to do to reference my article correctly.\n\nThanks,\n\n[[User:Manny Economou|Manny Economou]] ([[User talk:Manny Economou|talk]]) 06:36, 12 July 2016 (UTC)\n\n{{Ping|Manny Economou}}, I do not see many reference problems with your article. I am checking with the original reviewer to see why they rejected. You should have gotten a ping for the same.\nCheers,\nSoni\n\n== Why has my article disappeared from Google ? ==\n\nHi Soni,\n\nIve noticed that my new wiki article, https://en.wikipedia.org/wiki/June_Oscar, disappeared from Google search results.\n\nPlease tell me if you know how to get it back.\n\nThanks,\n\n[[User:Manny Economou|Manny Economou]] ([[User talk:Manny Economou|talk]]) 07:01, 19 July 2016 (UTC)\n\n* [[User:Manny Economou|Manny Economou]] , Google Search results depend on how the GOogle algorithm works, not based on Wikipedia. But based on personal experience, I suggest you to give it a few days. Usually articles pop up on Google results by then.\n:Cheers,\n: [[User:Soni|Soni]] ([[User talk:Soni|talk]])  11:50, 19 July 2016 (UTC)\n\n== A cupcake for you! ==\nI have a page by name cleopus thuku bu cant seem to place it when i search on google\n{| style="background-color: #fdffe7; border: 1px solid #fceb92;"\n|style="vertical-align: middle; padding: 5px;" | [[File:Choco-Nut Bake with Meringue Top cropped.jpg|120px]]\n|style="vertical-align: middle; padding: 3px;" | Hi Soni!\nLong time no see. Hope you\'re doing good.\n <span style="font-family:\'Arial\',cursive"> [[User:Miss Bono|<span style="color:#000;"><small>\'\'\'Miss Bono\'\'\'</small></span>]][[User talk:Miss Bono|<span style="color:#c30000;"><small><sup> [hello, hello!]</sup></small></span>]]</span> 18:27, 31 July 2016 (UTC)\n|}\n\n* Hey [[User:Miss Bono|Miss Bono]],\n: How\'s it been? I\'ve been busy working offwiki and on other onwiki initiatives. How about you? :)\n: [[User:Soni|Soni]] ([[User talk:Soni|talk]])  14:17, 13 August 2016 (UTC)\n\n== A barnstar for you! ==\n\n{| style="background-color: #fdffe7; border: 1px solid #fceb92;"\n|rowspan="2" style="vertical-align: middle; padding: 5px;" | [[File:Original Barnstar Hires.png|100px]]\n|style="font-size: x-large; padding: 3px 3px 0 3px; height: 1.5em;" | \'\'\'The Original Barnstar\'\'\'\n|-\n|style="vertical-align: middle; padding: 3px;" | Hi :) [[User:VikranthSagar|VikranthSagar]] ([[User talk:VikranthSagar|talk]]) 13:12, 31 August 2016 (UTC)\n|}'
 
page.text = page.text + "== Test ==\nHello. This is a test. ~~~~"
page.save()
Page [[en:User talk:Soni]] saved
page.text
'Hi, this is Soni, previously known as TheOriginalSoni.\n<font color=green><big>\'\'It is time to get the \'\'\'Wiki\'\'\' back into Wikipedia\'\'</big></font>\n{{troutme|icon_nr=1}}\n\n{{talkheader}}\n{{User:HBC Archive Indexerbot/OptIn|target=User talk:TheOriginalSoni/Archive index|mask=User talk:TheOriginalSoni/Archive <#>|leading_zeros=0|indexhere=yes|template=User:TheOriginalSoni/ArchiveTemplate}}\n\n{{User:MiszaBot/config\n|maxarchivesize = 42K\n|counter = 12\n|minthreadsleft = 4\n|minthreadstoarchive = 2\n|algo = old(31d)\n|archive = User talk:Soni/Archive %(counter)d\n}}\n\n==<span style="color:green">Happy</span> <span style="color:red">New</span> <span style="color:blue">Year</span>, [[User:Soni|<span style="color:#FF66CC">Soni</span>]]==\n<div style="border-style:solid; border-color:gold; background-color:lightblue; font color:gray; border-width:2px; text-align:left; padding:8px;" class="plainlinks">[[image:Happy new year 01.svg|100px|left]]\n\'\'\'[[User:Pratyya Ghosh|<span style="color:green;font-family:Comic Sans MS">Pr<span style="color:red;">at</span><span style="color:blue;">yya</span></span>]]\'\'\' <sup>[[User talk:Pratyya Ghosh|<span style="color:orange;font-family:Verdana">\'\'\'(Hello!)\'\'\'</span>]]</sup> — is wishing you a \'\'\'<span style="color:green">Happy</span> <span style="color:red">New</span> <span style="color:blue">Year</span>!\'\'\' Welcome the \'\'\'<font style="white-space:nowrap;text-shadow:green 0em 0em 0.8em,red -0.8em -0.8em 0.9em,blue 0.7em 0.7em 0.8em;color:#000000"><big><span style="color:green">2016</span></big>\'\'\'</font>. Wishing you a happy and fruitful 2016 with good health and your wishes come true! This greeting (and season) promotes [[Wikipedia:WikiLove|WikiLove]] and hopefully this note has made your day a little better. Spread the WikiLove by wishing another user a Happy New Year, whether it be someone you have had disagreements with in the past, a good friend, or just some random person. Happy New Year! May the 2016 go well for you.   <br /> \n\nSpread the New Year cheer by adding {{tlsu|User:Pratyya Ghosh/Happy New Year}} to their talk page with a Happy New Year message.\n\n</div>\n\n== What do I need to do to reference my article correctly ? ==\n\nDear Soni,\n\nMy draft, https://en.wikipedia.org/wiki/Draft:June_Oscar, was rejected because, "Most of this article is unreferenced. More reliable third-party sources need to be added to the article for verification".\n\nI find this feedback confusing, as I have included 18 references. Surely this is enough to verify the information.\n\nIm aware that \'Community reconstruction\' and \'Fighting Fetal Alcohol Spectrum Disorder (FASD)\' don\'t include many references, and this is because most of the info in these sections is from the same source - reference# 7.\n\nI would really appreciate if you could show me what I need to do to reference my article correctly.\n\nThanks,\n\n[[User:Manny Economou|Manny Economou]] ([[User talk:Manny Economou|talk]]) 06:36, 12 July 2016 (UTC)\n\n{{Ping|Manny Economou}}, I do not see many reference problems with your article. I am checking with the original reviewer to see why they rejected. You should have gotten a ping for the same.\nCheers,\nSoni\n\n== Why has my article disappeared from Google ? ==\n\nHi Soni,\n\nIve noticed that my new wiki article, https://en.wikipedia.org/wiki/June_Oscar, disappeared from Google search results.\n\nPlease tell me if you know how to get it back.\n\nThanks,\n\n[[User:Manny Economou|Manny Economou]] ([[User talk:Manny Economou|talk]]) 07:01, 19 July 2016 (UTC)\n\n* [[User:Manny Economou|Manny Economou]] , Google Search results depend on how the GOogle algorithm works, not based on Wikipedia. But based on personal experience, I suggest you to give it a few days. Usually articles pop up on Google results by then.\n:Cheers,\n: [[User:Soni|Soni]] ([[User talk:Soni|talk]])  11:50, 19 July 2016 (UTC)\n\n== A cupcake for you! ==\nI have a page by name cleopus thuku bu cant seem to place it when i search on google\n{| style="background-color: #fdffe7; border: 1px solid #fceb92;"\n|style="vertical-align: middle; padding: 5px;" | [[File:Choco-Nut Bake with Meringue Top cropped.jpg|120px]]\n|style="vertical-align: middle; padding: 3px;" | Hi Soni!\nLong time no see. Hope you\'re doing good.\n <span style="font-family:\'Arial\',cursive"> [[User:Miss Bono|<span style="color:#000;"><small>\'\'\'Miss Bono\'\'\'</small></span>]][[User talk:Miss Bono|<span style="color:#c30000;"><small><sup> [hello, hello!]</sup></small></span>]]</span> 18:27, 31 July 2016 (UTC)\n|}\n\n* Hey [[User:Miss Bono|Miss Bono]],\n: How\'s it been? I\'ve been busy working offwiki and on other onwiki initiatives. How about you? :)\n: [[User:Soni|Soni]] ([[User talk:Soni|talk]])  14:17, 13 August 2016 (UTC)\n\n== A barnstar for you! ==\n\n{| style="background-color: #fdffe7; border: 1px solid #fceb92;"\n|rowspan="2" style="vertical-align: middle; padding: 5px;" | [[File:Original Barnstar Hires.png|100px]]\n|style="font-size: x-large; padding: 3px 3px 0 3px; height: 1.5em;" | \'\'\'The Original Barnstar\'\'\'\n|-\n|style="vertical-align: middle; padding: 3px;" | Hi :) [[User:VikranthSagar|VikranthSagar]] ([[User talk:VikranthSagar|talk]]) 13:12, 31 August 2016 (UTC)\n|}== Test ==\nHello. This is a test. [[User:Soni|Soni]] ([[User talk:Soni|talk]])  03:34, 24 September 2016 (UTC)'