Hello, @Mike_Peel I have pinged you my task. Kindly review.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Apr 21 2021
Apr 12 2021
In T278997#6989205, @Srishti0gupta wrote:In T278997#6988594, @AnkitaxPriya wrote:@Tru2198 and @Srishti0gupta I have been trying to write a parsing function but could any of you help me out with the steps involved in writing the same? Parsing is something I haven't tried before.
I'd be highly grateful to you.@AnkitaxPriya I have re-started working on the code as I interpreted in a different way earlier, once I myself get to it, will surely help you.
In T278997#6988626, @Mike_Peel wrote:In T278997#6984598, @Tru2198 wrote:@Mike_Peel So we have to print from both Wikipedia and wikidata? Maybe I mistakenly did only the bonus part! Thank you
Sorry for the confusion, I've tried to clarify the task today. The main aim of this task is to extract information from the Wikipedia article. @Srishti0gupta @AnkitaxPriya please also check that. :-) You shouldn't need to scrape the HTML code, since you can get page.text for the Wikipedia article through pywikibot (as per task 2).
In T278863#6990866, @Fonyuy237 wrote:Hello @Mike_Peel and other applicants. I have had issues with installing pywikibot had similar problems @AnkitaxPriya on my windows changed to linux and i am having issues
please how are we to create a script that will link to wikidata?
Apr 10 2021
@Tru2198 and @Srishti0gupta I have been trying to write a parsing function but could any of you help me out with the steps involved in writing the same? Parsing is something I haven't tried before.
I'd be highly grateful to you.
Apr 7 2021
Hello @Pushp24, this may be because of one of the following reasons:
- You didn't login to your Wikidata account properly.
- You might have entered a different username by mistake.
- You are just mentioning the page "Outreachy_1" instead of the full link to your page.
Apr 5 2021
@Mike_Peel kindly review my Task 2 at https://www.wikidata.org/wiki/User:AnkitaxPriya/Outreachy_2 and do suggest some improvements (if needed).
Apr 4 2021
Thank you so much for the help @Srishti0gupta and @Nizz009. It worked!
In T278863#6971042, @Srishti0gupta wrote:In T278863#6971034, @AnkitaxPriya wrote:@Mike_Peel I tried to configure Pywikibot but I am facing some issues while doing so. Here is the screenshot of the commands I am running.
Please guide me on what must I do to fix this.@AnkitaxPriya Would you once try to login through your username only i.e AnkitaxPriya. Meaning not keeping botname bot1 and setting password for it and see if your problem is resolving.
After you run this command: $ python pwb.py generate_user_files , you have to do below step manually by going inside the User Config File which was generated in this step.
this step --> usernames['wikidata']['wikidata'] = u'Your username' into the generated user-config.py file.
After this try to login with $ python pwb.py login command.
Hope it works.
@Mike_Peel I have updated my Task 1. Kindly review the same and let me know if any changes are needed. https://www.wikidata.org/wiki/User:AnkitaxPriya/Outreachy_1
@Mike_Peel I tried to configure Pywikibot but I am facing some issues while doing so. Here is the screenshot of the commands I am running.
Please guide me on what must I do to fix this.
Apr 2 2021
In T278860#6968835, @Mike_Peel wrote:In T278860#6968732, @AnkitaxPriya wrote:@Mike_Peel will you be reviewing our Task 1 before we proceed to Task 2 (for any improvements to be made from our end) or shall we proceed anyhow?
Oops, sorry! Feedback left at https://www.wikidata.org/wiki/User_talk:AnkitaxPriya Tasks 1 and 2 are mostly independent, but they become more interlinked later.
In T278860#6968697, @Mike_Peel wrote:I think I'm up to date with replies now, if I've missed replying to you then please tell me!
Just installed the latest version of Python 3 and the commands are working. Thank you!
In T279162#6968658, @Aminehassou wrote:What error did you get when running
pip install -U --force requests
In T279162#6968595, @Aminehassou wrote:If the other fixes don't work, try this fix as well:
To recover do the following: Run CMD as admin Do a 'python -m pip install -U --force pip' (this will fix your Pip installation) Then close the CMD and open another admin CMD to make sure you get the PATH updates effectively Do 'pip install -U --force requests'Taken from: https://stackoverflow.com/questions/61278097/how-do-i-fix-pip
In T279162#6968563, @Mike_Peel wrote:Ah, try "pip install requests" to see if that works.
In T279162#6968516, @Aminehassou wrote:Can you post a screenshot of the full error when running
pip install "requests>=2.20.1"
I have linked the task below, @Mike_Peel. Please let me know if I need to add more details to it.
In T278863#6968339, @Mike_Peel wrote:Hmm, I'm not sure then. Possibly it's related to T120222 . Could you start a new task for this via https://phabricator.wikimedia.org/maniphest/task/edit/form/1/ - and include the full set of steps and the OS versions you're using, please?
In T278863#6968314, @Mike_Peel wrote:I think you need to be in 'core' to run that command, since that is where 'pwb.py' is located. I think you can then move the user script to a different directory afterwards and still be able to 'import pywikibot' though.
In T278863#6968284, @Mike_Peel wrote:In T278863#6968276, @AnkitaxPriya wrote:@Mike_Peel I am getting an error while configuring Pywikibot. It says:
python: can't open file 'pwb.py': [Errno 2] No such file or directoryPlease suggest how should I fix this.
Are you in the same directory as pywikibot or it is otherwise in the python path? You might need to change into the 'core' subdirectory.
@Mike_Peel I am getting an error while configuring Pywikibot. It says:
python: can't open file 'pwb.py': [Errno 2] No such file or directory
In T278860#6968086, @Mike_Peel wrote:In T278860#6967778, @AnkitaxPriya wrote:I'm trying to 'Add statements' in Wikidata but unable to. Please guide @Mike_Peel
Looking at https://www.wikidata.org/wiki/Special:Contributions/AnkitaxPriya - it seems that you have successfully made some edits. You might be trying to edit a protected item, can you give the Q-number or URL for the item you are trying to edit please?
I'm trying to 'Add statements' in Wikidata but unable to. Please guide @Mike_Peel
In T278860#6967740, @Anubhuti wrote:@AnkitaxPriya For now you could simply mention the date without any underlying link and if you wish you could add the reference url given along with the date.
You can later modify your list according to @Mike_Peel 's instructions
@Mike_Peel I am still working on task 1 and I found that "dates" do not have an additional property on Wikipedia. How am I supposed to list them?
Mar 31 2021
@Mike_Peel Do I need to edit this wikidata page https://www.wikidata.org/wiki/User:Mike_Peel/Outreachy_1 or make one of my own?