Page MenuHomePhabricator

Fonyuy237
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
Apr 6 2021, 12:12 PM (167 w, 1 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Fonyuy237 [ Global Accounts ]

Recent Activity

Apr 18 2021

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

Hello, this is the link to my outreach page 2 please check it out and comment
https://www.wikidata.org/wiki/User:Fonyuy237/Outreachy_2

Apr 18 2021, 6:30 PM · Outreachy (Round 22)

Apr 17 2021

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

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?

Hey, if you copy the code from here https://www.wikidata.org/wiki/User:Mike_Peel/Outreachy_2 and paste it to a file that you have created in core/scripts/userscripts , you can then run the file (script) from core using

python pwb.py name_of_your_script.py

When you do this, then you would have successfully connected to wikidata and printed the text from the wiki page that you created earlier. if you are not very clear on which particular line of code connects to wikidata (since the enwiki variable was instead initialized to wikipedia), know that it is the line where enwiki_repo is formed. That is,

enwiki_repo = enwiki.data_repository()

If you need guidance on any of the other sub-tasks, check out the mentor's example code here : https://bitbucket.org/mikepeel/wikicode/src/master/example.py , I found the functions in it very useful.

For any other specific issue, you can simply tag me here and I'll have a look at it.

Best

Thanks alot

Apr 17 2021, 8:41 AM · Outreachy (Round 22)
Fonyuy237 added a comment to T278863: Synchronising Wikidata and Wikipedias using pywikibot - Task 2.

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?

Hey, if you copy the code from here https://www.wikidata.org/wiki/User:Mike_Peel/Outreachy_2 and paste it to a file that you have created in core/scripts/userscripts , you can then run the file (script) from core using

python pwb.py name_of_your_script.py

When you do this, then you would have successfully connected to wikidata and printed the text from the wiki page that you created earlier. if you are not very clear on which particular line of code connects to wikidata (since the enwiki variable was instead initialized to wikipedia), know that it is the line where enwiki_repo is formed. That is,

enwiki_repo = enwiki.data_repository()

If you need guidance on any of the other sub-tasks, check out the mentor's example code here : https://bitbucket.org/mikepeel/wikicode/src/master/example.py , I found the functions in it very useful.

For any other specific issue, you can simply tag me here and I'll have a look at it.

Best

Apr 17 2021, 8:39 AM · Outreachy (Round 22)

Apr 12 2021

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

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 12 2021, 11:03 AM · Outreachy (Round 22)

Apr 6 2021

Fonyuy237 added a comment to T278860: Synchronising Wikidata and Wikipedias using pywikibot - Task 1.

Hello @Mike_Peel I am done with my user page and I'll be waiting for any form of correction or suggestion
https://www.wikidata.org/wiki/User:Fonyuy237/Outreachy_1

Apr 6 2021, 8:14 PM · Outreachy (Round 22)
Fonyuy237 added a comment to T278860: Synchronising Wikidata and Wikipedias using pywikibot - Task 1.

Thanks @Tru2198

Apr 6 2021, 2:15 PM · Outreachy (Round 22)
Fonyuy237 added a comment to T278860: Synchronising Wikidata and Wikipedias using pywikibot - Task 1.

Hello, please for task 1 when we are asked to add statement am i adding the statement directly on the article itself?

Apr 6 2021, 12:22 PM · Outreachy (Round 22)