Page MenuHomePhabricator

Nizz009 (Nirali Sahoo)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Mar 31 2021, 11:05 AM (6 w, 20 h)
Availability
Available
LDAP User
Unknown
MediaWiki User
Nizz009 [ Global Accounts ]

Recent Activity

Wed, Apr 28

Nizz009 added a comment to T279290: Synchronising Wikidata and Wikipedias using pywikibot - Task 6.

I thought we had to go to each article and search for all wikidata properties that could be added to the wikidata article. Then we would look for the values of those properties from the wikipedia article.

Wed, Apr 28, 10:21 AM · Outreachy (Round 22)

Tue, Apr 20

Nizz009 added a comment to T276329: Synchronising Wikidata and Wikipedias using pywikibot.

Yes - there are several shell scripts that cron runs automatically at those times of the day. Click on the times and you'll see the shell scripts, and the python script names that they run.

Tue, Apr 20, 12:33 PM · Outreachy (Round 22), Outreach-Programs-Projects
Nizz009 added a comment to T276329: Synchronising Wikidata and Wikipedias using pywikibot.

Thank you for the explanation.

Tue, Apr 20, 11:38 AM · Outreachy (Round 22), Outreach-Programs-Projects
Nizz009 added a comment to T276329: Synchronising Wikidata and Wikipedias using pywikibot.

Hello!
I had a doubt regarding the bot approval process for importing data. Does our system need to be active throughout the time we wait for the bot to approve the import?

Tue, Apr 20, 10:46 AM · Outreachy (Round 22), Outreach-Programs-Projects

Mon, Apr 19

Nizz009 added a comment to T276274: Outreachy Round 22 Microtask : Complete PAWS notebook tutorial.

I forgot to mention namespaces in the tutorial template, but this page will explain how they work: https://en.wikipedia.org/wiki/Wikipedia:Namespace
In short -- articles with the same "title" can exist in different namespaces where they serve different purposes. You should focus on namespace 0, which is what we think of as traditional Wikipedia articles. Namespace is an attribute in the XML dump that you can easily access and filter on. In general, when trying to figure these things out, one trick is that you can easily figure out what article is associated with a page ID like this: if the page ID is 413520, then you can see the associated article by going to: https://simple.wikipedia.org/wiki/?curid=413520. Good catch!

Mon, Apr 19, 3:30 PM · Outreachy (Round 22)

Sat, Apr 17

Nizz009 added a comment to T276274: Outreachy Round 22 Microtask : Complete PAWS notebook tutorial.

Hi @Palak199 ! Thank you! I forgot to convert it to string even if I did so in the code snippet above that. That was silly of me. :(

Sat, Apr 17, 5:27 PM · Outreachy (Round 22)
Nizz009 added a comment to T276274: Outreachy Round 22 Microtask : Complete PAWS notebook tutorial.

Hello @DaneshwariK ! Thank you for the suggestion. However, both, the page IDs and the revision IDs associated with each page are different.
The following is just a part of the output that I received: (The numbers below the Page id are the revision IDs in that page)

Sat, Apr 17, 1:40 PM · Outreachy (Round 22)
Nizz009 added a comment to T276274: Outreachy Round 22 Microtask : Complete PAWS notebook tutorial.

Hello everyone! I am Nirali, an applicant for Outreachy and I wanted to contribute to this project as well. :)

Sat, Apr 17, 4:10 AM · Outreachy (Round 22)

Apr 13 2021

Nizz009 added a comment to T278997: Synchronising Wikidata and Wikipedias using pywikibot - Task 3.

Since we are parsing through the article text on wikipedia, are we also meant to get the property id as shown in the example?

"P31 = radio telescope"

If so, how is this possible without accessing wikidata?

Hello @Aminehassou ! What I think that we have to do is that, we search for 'specific information' (especially those that we searched for in Task 1) in the Wikipedia article. And since we know what kind of information we searched for, we can assign the corresponding property ID which is appropriate for it.

Hey, thanks for the response, so in other words, we hardcode the value in since we have already found it during task 1?

No problem. And yes, that's pretty much what we have to do.

Not quite. You hard-code 'P31' ('instance of'), since that is what you are looking for. But then you extract 'radio telescope' directly from the article (e.g., by retrieving the "Lovell Telescope" article and finding "is a [[radio telescope]]" in the first sentence). So you hard-code the question ('what is this an instance of?'), find the answer from the article by python, and then get your code to print it out in terms of Wikidata value 'P31 = value".

Apr 13 2021, 7:36 AM · Outreachy (Round 22)
Nizz009 added a comment to T278997: Synchronising Wikidata and Wikipedias using pywikibot - Task 3.

Since we are parsing through the article text on wikipedia, are we also meant to get the property id as shown in the example?

"P31 = radio telescope"

If so, how is this possible without accessing wikidata?

Hello @Aminehassou ! What I think that we have to do is that, we search for 'specific information' (especially those that we searched for in Task 1) in the Wikipedia article. And since we know what kind of information we searched for, we can assign the corresponding property ID which is appropriate for it.

Hey, thanks for the response, so in other words, we hardcode the value in since we have already found it during task 1?

Apr 13 2021, 5:09 AM · Outreachy (Round 22)
Nizz009 added a comment to T278997: Synchronising Wikidata and Wikipedias using pywikibot - Task 3.

Since we are parsing through the article text on wikipedia, are we also meant to get the property id as shown in the example?

"P31 = radio telescope"

If so, how is this possible without accessing wikidata?

Apr 13 2021, 5:03 AM · Outreachy (Round 22)

Apr 9 2021

Nizz009 added a comment to T279290: Synchronising Wikidata and Wikipedias using pywikibot - Task 6.

Hello Everyone! I want to try and take up the category of "Category:Date of death not in Wikidata" for this task.

Sorry, I shoud have said that 'Date of death' and 'Date of birth' are not suitable for this task, since they are not IDs, and Pi bot automatically synchrotronises them with Wikidata already - so the only ones in those categories will be mismatches and complicated format strings. Sorry about that!

Apr 9 2021, 10:48 AM · Outreachy (Round 22)

Apr 8 2021

Nizz009 added a comment to T279290: Synchronising Wikidata and Wikipedias using pywikibot - Task 6.

Hello Everyone! I want to try and take up the category of "Category:Date of death not in Wikidata" for this task.

Apr 8 2021, 7:03 AM · Outreachy (Round 22)

Apr 5 2021

Nizz009 added a comment to T279288: Synchronising Wikidata and Wikipedias using pywikibot - Task 4.

Hello! Can someone help with what Numerical ID means? I am kind of confused with the difference between the QID and the Numerical ID. Does that refer to the values of properties in the "Identifiers" section in the Wikidata?

Yes, this is under 'identifiers'. For example, https://www.wikidata.org/wiki/Q555130 ('Lovell Telescope') has Property:P1216 ('National Heritage List for England number') as '1221685'.

Apr 5 2021, 3:07 PM · Outreachy (Round 22)
Nizz009 added a comment to T279288: Synchronising Wikidata and Wikipedias using pywikibot - Task 4.

Hello! Can someone help with what Numerical ID means? I am kind of confused with the difference between the QID and the Numerical ID. Does that refer to the values of properties in the "Identifiers" section in the Wikidata?

Apr 5 2021, 3:03 PM · Outreachy (Round 22)

Apr 4 2021

Nizz009 added a comment to T278863: Synchronising Wikidata and Wikipedias using pywikibot - Task 2.

@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.

@Srishti0gupta so we have to rename the user-config.py.sample file to user-config.py and then manually enter our username there?

Apr 4 2021, 5:50 PM · Outreachy (Round 22)