It should be using the API which is located at domain,com/w/api.php if you are having more issues feel free to email me off list with with script output and we can debug it
On Thu, Oct 17, 2013 at 5:59 AM, Nasir Khan <[email protected]> wrote: > Hi John, > > Thanks, i have installed the pywikipedia. I tried the way mentioned in the > documentation and it did not work for me. but your mentioned path was very > helpful. why it is not included in the main documentation? > > I need an another help. When i run the script replace.py it show the error > "PageNotFound". Here the reason is the script is trying to get the page > form a url like "MY_DOMAIN/wiki/PageName". But i am using default setting > and my page url are like "MY_DOMAIN/index.php/PageName". > > can you tell me where can i change this to make the scripts work. > > > > *-- > **Nasir Khan Saikat* <http://profiles.google.com/nasir8891> > www.nasirkhn.com > > > > On Thu, Oct 17, 2013 at 12:28 AM, John <[email protected]> wrote: > > > Its fairly easy to setup on any wiki. > > Checkout https://gerrit.wikimedia.org/r/pywikibot/compat.git > > run generate_family_file.py http://linktoyoursite.com shortnameofsite > > run generate_user_files.py and select shortnameofsite > > > > Then use replace.py > > Profit > > > > > > On Wed, Oct 16, 2013 at 1:28 PM, Nasir Khan <[email protected]> wrote: > > > > > Thanks for the response. > > > > > > I tried to use the pywikipedia bot, but i am not trying on Wikipedia > now > > > and could not setup the bot, and that is why i did not mentioned it in > my > > > previous email. > > > > > > > > > *-- > > > **Nasir Khan Saikat* <http://profiles.google.com/nasir8891> > > > www.nasirkhn.com > > > > > > > > > > > > On Wed, Oct 16, 2013 at 9:59 PM, John <[email protected]> > wrote: > > > > > > > I'm on my phone but look up pywikipedia > > > > > > > > On Wednesday, October 16, 2013, Nasir Khan wrote: > > > > > > > > > Hi, > > > > > > > > > > I need to fix some links and i want to use a bot for this. I tried > > the > > > > > ApiBot 0.4 but could not succeed with that. I faced a few issues, > and > > > do > > > > > not know the solution yet. If anyone can provide me solution using > > any > > > > > other bot framework then it is also ok for me. > > > > > > > > > > Goal: > > > > > I have a list of 100 pair of article titles and i want to replace > the > > > old > > > > > title with a new one. > > > > > > > > > > Issues faced with ApiBot: > > > > > I tried the example and it works for a single pair, but the script > > > never > > > > > ends and edit the same page again and again. how can i stop this? > > > > > how can i use this bot to fix my 100 pair of links? > > > > > > > > > > thanks in advance. > > > > > > > > > > > > > > > > > > > > *-- > > > > > **Nasir Khan Saikat* <http://profiles.google.com/nasir8891> > > > > > www.nasirkhn.com > > > > > _______________________________________________ > > > > > MediaWiki-l mailing list > > > > > [email protected] <javascript:;> > > > > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > > > > > > > _______________________________________________ > > > > MediaWiki-l mailing list > > > > [email protected] > > > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > > > > > _______________________________________________ > > > MediaWiki-l mailing list > > > [email protected] > > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > > > _______________________________________________ > > MediaWiki-l mailing list > > [email protected] > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
