Page MenuHomePhabricator

Aminehassou
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

User Since
Mar 30 2021, 7:53 PM (162 w, 6 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Amine hassou [ Global Accounts ]

Recent Activity

Apr 3 2023

Aminehassou added a comment to T332976: [Proposal] Wiki Education Dashboard: Refactoring and upgrading React.

Thanks for the heads up!

Apr 3 2023, 1:43 PM · Google-Summer-of-Code (2023)
Aminehassou moved T332976: [Proposal] Wiki Education Dashboard: Refactoring and upgrading React from Proposals in Progress to Proposals Selected on the Google-Summer-of-Code (2023) board.
Apr 3 2023, 10:02 AM · Google-Summer-of-Code (2023)

Mar 31 2023

Aminehassou updated the task description for T332976: [Proposal] Wiki Education Dashboard: Refactoring and upgrading React.
Mar 31 2023, 2:56 PM · Google-Summer-of-Code (2023)
Aminehassou added a comment to T332976: [Proposal] Wiki Education Dashboard: Refactoring and upgrading React.

Made some changes regarding the jquery UI library

Mar 31 2023, 2:52 PM · Google-Summer-of-Code (2023)
Aminehassou updated the task description for T332976: [Proposal] Wiki Education Dashboard: Refactoring and upgrading React.
Mar 31 2023, 2:50 PM · Google-Summer-of-Code (2023)

Mar 30 2023

Aminehassou updated the task description for T332976: [Proposal] Wiki Education Dashboard: Refactoring and upgrading React.
Mar 30 2023, 7:59 PM · Google-Summer-of-Code (2023)

Mar 25 2023

Aminehassou updated the task description for T332976: [Proposal] Wiki Education Dashboard: Refactoring and upgrading React.
Mar 25 2023, 8:57 AM · Google-Summer-of-Code (2023)
Aminehassou updated the task description for T332976: [Proposal] Wiki Education Dashboard: Refactoring and upgrading React.
Mar 25 2023, 8:40 AM · Google-Summer-of-Code (2023)

Mar 24 2023

Aminehassou renamed T332976: [Proposal] Wiki Education Dashboard: Refactoring and upgrading React from [Proposal] Wiki Education Dashboard: Refactor remaining React class components into functional components, replace jquery with vanilla JS, and upgrade React to version 18 to [Proposal] Wiki Education Dashboard: Refactoring and upgrading React.
Mar 24 2023, 8:41 PM · Google-Summer-of-Code (2023)
Aminehassou created T332976: [Proposal] Wiki Education Dashboard: Refactoring and upgrading React.
Mar 24 2023, 10:01 AM · Google-Summer-of-Code (2023)

Apr 24 2021

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

I sent my task 6 code by email.

Apr 24 2021, 2:56 PM · Outreachy (Round 22)

Apr 23 2021

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

What if certain articles don't have the id written anywhere? Do I skip those ones? Or are the articles in the categories hand-picked in a way where every article has to have the id?

Apr 23 2021, 7:51 PM · Outreachy (Round 22)
Aminehassou added a comment to T279290: Synchronising Wikidata and Wikipedias using pywikibot - Task 6.

Just for clarification, are we meant to hardcode the ids in? I don't see a way to get the ids through code unless that specific category has an API tied to it.

Apr 23 2021, 1:16 AM · Outreachy (Round 22)
Aminehassou added a comment to T279290: Synchronising Wikidata and Wikipedias using pywikibot - Task 6.

Hello, I would like to pick the L'Équipe football player ID not in Wikidata‎ category

Apr 23 2021, 1:00 AM · Outreachy (Round 22)
Aminehassou added a comment to T279289: Synchronising Wikidata and Wikipedias using pywikibot - Task 5.

I have submitted my task 5 code through email.

Apr 23 2021, 12:47 AM · Outreachy (Round 22)

Apr 19 2021

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

Hello, I sent my task 4 code through email.

Apr 19 2021, 8:30 AM · Outreachy (Round 22)

Apr 14 2021

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

I submitted my task 3 code through email, looking forward to the feedback!

Apr 14 2021, 5:24 PM · Outreachy (Round 22)

Apr 13 2021

Aminehassou 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, 10:34 AM · Outreachy (Round 22)
Aminehassou 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.

Apr 13 2021, 5:07 AM · Outreachy (Round 22)
Aminehassou 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?

Apr 13 2021, 4:55 AM · Outreachy (Round 22)

Apr 11 2021

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

image.png (152×785 px, 19 KB)

Can anyone point me to where I can find documentation for the reload function in line 15 of example.py? It seems to be causing the above error when I execute my code. My terminal defaults to UTF-8, so I could for the sake of the project just comment out the code I'm sure just to take a look at things. However, I've been through documentation for the imported modules and can't find anything, nor could I find the code defined in the script itself. Thanks

Apr 11 2021, 8:48 PM · Outreachy (Round 22)

Apr 5 2021

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

Hello, I submitted my task 2 code by email.
Thanks,

Apr 5 2021, 3:38 AM · Outreachy (Round 22)

Apr 2 2021

Aminehassou added a comment to T279162: Trouble using Python 3.8.3 pip on Windows 10.

No problem. :)

Apr 2 2021, 6:24 PM
Aminehassou added a comment to T279162: Trouble using Python 3.8.3 pip on Windows 10.

Make sure you're running the command line as administrator. If you are and it's still giving you an error, it might be an issue with your PATH variables. Try doing a fresh install of Python 3 through the official website https://www.python.org/downloads/
then trying again from scratch.

Apr 2 2021, 6:11 PM
Aminehassou added a comment to T279162: Trouble using Python 3.8.3 pip on Windows 10.

What error did you get when running

pip install -U --force requests
Apr 2 2021, 5:58 PM
Aminehassou added a comment to T279162: Trouble using Python 3.8.3 pip on Windows 10.

If the other fixes don't work, try this fix as well:

Apr 2 2021, 5:39 PM
Aminehassou added a comment to T279162: Trouble using Python 3.8.3 pip on Windows 10.

https://stackoverflow.com/questions/37220055/pip-fatal-error-in-launcher-unable-to-create-process-using
This seems to be the same error you are having, try the suggested fixes given by the answers.

Apr 2 2021, 5:34 PM
Aminehassou added a comment to T279162: Trouble using Python 3.8.3 pip on Windows 10.

Can you post a screenshot of the full error when running

pip install "requests>=2.20.1"
Apr 2 2021, 5:25 PM
Aminehassou added a comment to T278863: Synchronising Wikidata and Wikipedias using pywikibot - Task 2.

Ok, thanks for the clarification!

Apr 2 2021, 4:04 PM · Outreachy (Round 22)

Apr 1 2021

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

Load a Wikidata item (use 'Q4115189' to start with - it is the sandbox), and print out information from it. You could also try loading some of the other items you looked at in the first task.

Apr 1 2021, 8:44 PM · Outreachy (Round 22)
Aminehassou added a comment to T278863: Synchronising Wikidata and Wikipedias using pywikibot - Task 2.

It's generally better to write code that is stand-alone and others can run, so in this case it's worth including '('en', 'wikidata')' in the main script, even if it's not strictly needed for you to run it. You shouldn't normally share your user config file.

Apr 1 2021, 7:00 PM · Outreachy (Round 22)
Aminehassou added a comment to T278863: Synchronising Wikidata and Wikipedias using pywikibot - Task 2.

When submitting my code, should I also send my user_config.py file privately? Since I picked Wikidata as my default family of sites. When I write my script, I don't have to write:

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

Mar 31 2021

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

Here is my Wikidata Page

Mar 31 2021, 12:03 AM · Outreachy (Round 22)