Page MenuHomePhabricator

DevJames1 (James Okolie)
User

Projects

User does not belong to any projects.

Today

  • No visible events.

Tomorrow

  • No visible events.

Tuesday

  • No visible events.

User Details

User Since
Mar 5 2024, 12:41 PM (88 w, 4 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
DevJames1 [ Global Accounts ]

Recent Activity

Aug 22 2024

DevJames1 added a comment to T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Aug 22 2024, 4:28 PM · Developer-Outreach, Outreachy (Round 28)
DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Aug 22 2024, 10:21 AM · Developer-Outreach, Outreachy (Round 28)

Aug 21 2024

DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Aug 21 2024, 9:50 AM · Developer-Outreach, Outreachy (Round 28)
DevJames1 added a comment to T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
  • Implement exporting table data as CSV.
    • Start creating rules for charts in the backend
    • Implementing logic for bar chart race (fetching, processing, displaying)
Aug 21 2024, 9:22 AM · Developer-Outreach, Outreachy (Round 28)
DevJames1 added a comment to T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
  • Work on code editor and handling errors(showing line numbers and highlighting in red)
    • Write a blog post about the Informal chat I organized with Anthony and other interns
Aug 21 2024, 9:12 AM · Developer-Outreach, Outreachy (Round 28)

Aug 7 2024

DevJames1 closed T368202: Fill out the second section in the Technical plan (Requirements), a subtask of T357409: Create tool for informative infographics from structured information from Wikimedia projects, as Resolved.
Aug 7 2024, 9:03 AM · Outreach-Programs-Projects, Developer-Outreach, Outreachy (Round 28)
DevJames1 closed T368202: Fill out the second section in the Technical plan (Requirements) as Resolved.
Aug 7 2024, 9:03 AM · Outreachy (Round 28)
DevJames1 closed T368201: Write Python scripts to fetch and test the structured data from Wikimedia projects, a subtask of T357409: Create tool for informative infographics from structured information from Wikimedia projects, as Resolved.
Aug 7 2024, 9:03 AM · Outreach-Programs-Projects, Developer-Outreach, Outreachy (Round 28)
DevJames1 closed T368201: Write Python scripts to fetch and test the structured data from Wikimedia projects as Resolved.
Aug 7 2024, 9:03 AM · Outreachy (Round 28)
DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Aug 7 2024, 9:01 AM · Developer-Outreach, Outreachy (Round 28)
DevJames1 added a comment to T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
  • Fix the datable issues of reinitializing when new data is retrieved to reduce error.
    • Replace the page after authentication so that users can't go back to the previous page
    • Write documentation
    • Write a diff post on the progress so far in building the application
Aug 7 2024, 8:51 AM · Developer-Outreach, Outreachy (Round 28)

Jul 28 2024

DevJames1 added a comment to T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
  • Fix the dropdown menu for mobile view
    • Separate Frontend/Backend into Different Repositories
    • Signup on Toolforge
Jul 28 2024, 6:57 PM · Developer-Outreach, Outreachy (Round 28)

Jul 21 2024

DevJames1 added a comment to T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
  • Develop front-end interface
    • Complete the Data Table, and make it responsive
Jul 21 2024, 7:04 PM · Developer-Outreach, Outreachy (Round 28)
DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Jul 21 2024, 6:54 PM · Developer-Outreach, Outreachy (Round 28)

Jul 14 2024

DevJames1 added a comment to T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
  • Completed my blog post about what your career goals are.
    • Fixed the Login flow to work seamlessly in a Flask + React setup
    • Continued working on the base/core (Backend) of the application
Jul 14 2024, 2:37 PM · Developer-Outreach, Outreachy (Round 28)

Jul 7 2024

DevJames1 added a comment to T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
  • Completed my blog post a progress report of what I've accomplished in the first half of the internship.
Jul 7 2024, 6:18 PM · Developer-Outreach, Outreachy (Round 28)
DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Jul 7 2024, 5:48 PM · Developer-Outreach, Outreachy (Round 28)
DevJames1 renamed T369181: Build the core/base(Backend) for fetching and processing data from Wikidata. from Login/Logout functionality using the Wikimedia unified account for Authentication to Build the core/base(Backend) for fetching and processing data from Wikidata..
Jul 7 2024, 5:47 PM · Outreachy (Round 28)

Jul 3 2024

DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Jul 3 2024, 3:28 PM · Developer-Outreach, Outreachy (Round 28)
DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Jul 3 2024, 3:28 PM · Developer-Outreach, Outreachy (Round 28)
DevJames1 created T369181: Build the core/base(Backend) for fetching and processing data from Wikidata..
Jul 3 2024, 3:24 PM · Outreachy (Round 28)
DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Jul 3 2024, 9:46 AM · Developer-Outreach, Outreachy (Round 28)

Jun 30 2024

DevJames1 added a comment to T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
  • Completed my blog post explaining my project to a newcomer to our community
Jun 30 2024, 7:14 PM · Developer-Outreach, Outreachy (Round 28)

Jun 23 2024

DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Jun 23 2024, 7:17 PM · Developer-Outreach, Outreachy (Round 28)
DevJames1 added a comment to T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
  • Fill out the technical documentation for processes and tools used so far In the project
Jun 23 2024, 7:12 PM · Developer-Outreach, Outreachy (Round 28)

Jun 22 2024

DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Jun 22 2024, 5:47 PM · Developer-Outreach, Outreachy (Round 28)
DevJames1 created T368202: Fill out the second section in the Technical plan (Requirements).
Jun 22 2024, 5:46 PM · Outreachy (Round 28)
DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Jun 22 2024, 5:26 PM · Developer-Outreach, Outreachy (Round 28)
DevJames1 created T368201: Write Python scripts to fetch and test the structured data from Wikimedia projects.
Jun 22 2024, 5:11 PM · Outreachy (Round 28)

Jun 17 2024

DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Jun 17 2024, 9:49 AM · Developer-Outreach, Outreachy (Round 28)
DevJames1 added a comment to T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
  • Fill out the technical requirement section of the technical plan
Jun 17 2024, 9:46 AM · Developer-Outreach, Outreachy (Round 28)

Jun 9 2024

DevJames1 added a comment to T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
  • Write Python scripts to fetch and test the structured data from Wikidata
Jun 9 2024, 2:30 PM · Developer-Outreach, Outreachy (Round 28)

Jun 8 2024

DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Jun 8 2024, 8:08 AM · Developer-Outreach, Outreachy (Round 28)

Jun 2 2024

DevJames1 added a comment to T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
  • Community Bonding
Jun 2 2024, 4:29 PM · Developer-Outreach, Outreachy (Round 28)

May 30 2024

DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
May 30 2024, 8:09 AM · Developer-Outreach, Outreachy (Round 28)

May 29 2024

DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
May 29 2024, 3:49 PM · Developer-Outreach, Outreachy (Round 28)
DevJames1 added a comment to T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.

I will now regularly update the weekly project progress report here

May 29 2024, 1:02 PM · Developer-Outreach, Outreachy (Round 28)

May 28 2024

DevJames1 reopened T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects as "Open".
May 28 2024, 8:39 PM · Developer-Outreach, Outreachy (Round 28)
DevJames1 reopened T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects, a subtask of T357409: Create tool for informative infographics from structured information from Wikimedia projects, as Open.
May 28 2024, 8:38 PM · Outreach-Programs-Projects, Developer-Outreach, Outreachy (Round 28)
DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
May 28 2024, 7:53 PM · Developer-Outreach, Outreachy (Round 28)
DevJames1 updated the task description for T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
May 28 2024, 7:12 PM · Developer-Outreach, Outreachy (Round 28)

Apr 1 2024

DevJames1 added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.

when I recorded my contribution it's giving me "Contribution #1: started March 3, 2024. Not accepted or merged. Update accepted date by editing this contribution." please date should I put instead or that doesn't matter @Pablo @CMyrick-WMF @Isaac

Apr 1 2024, 4:51 PM · Outreachy (Round 28)

Mar 25 2024

DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Hello @Ederporto and everyone
How can I find my WikiUsername? In my case, I thought GonzaGertrude was my Wikiusername.

Try checking your PAWS link …/user/your_username/lab…
Can you confirm if it’s the same as GonzaGertrude

Yes it is. I named my notebook T357409-GonzaGertrude.ipynb but part of the feedback I received was that It is incorrect. I am confused.

Mar 25 2024, 6:26 AM · Outreach-Programs-Projects, Outreachy (Round 28)
DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Hello @Ederporto and everyone
How can I find my WikiUsername? In my case, I thought GonzaGertrude was my Wikiusername.

Mar 25 2024, 6:16 AM · Outreach-Programs-Projects, Outreachy (Round 28)

Mar 21 2024

DevJames1 added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.

Hello Guys, please i have this error while fetching the API, can you assist

image.png (1×1 px, 199 KB)

Mar 21 2024, 1:41 PM · Outreachy (Round 28)

Mar 20 2024

DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

@Aixvik, @Aananditaa001, @Anju_Maurya, @ElvisGicharu, @Abishekdascs, @Damiodunuga, @Abishek_Das, @Keamybams, @MahimaSinghal, @Andreas_Sune, @Udonels, @Omolade1414, @Chimezee, @BruceMahagwa, @GonzaGertrude, @Anachimuco, @DevJames1 and @Sheilakaruku

I have been abscent from answering questions here and through email, because I'm mostly interested in learning how you code and how you approach development challenges (they will appear in this and other projects in your journey).

But some of the questions and challenges I saw might need clarification, other have been resolved by kind and thoughtful individuals in this thread. Let's tackle the exercise here, and take in mind that you all will receive personal feedback in your submissions next week.

About the task instructions

  1. You should create an Wikimedia account, if you don't already have one. You can do so at https://meta.wikimedia.org/w/index.php?title=Special:CreateAccount;
  2. Log in into the PAWS service with your wikimedia account: https://paws.wmflabs.org/paws/hub;

These two seems to not be a challenge.

  1. Fork this notebook in your repository in PAWS (see the instructions here). Name your file as "T357409 - YourWikiUsername";
  2. Follow the specific directions in the notebook. If you have questions or need assistance, comment your inquiry in this subtask and make sure to ping @Ederporto;

You are not required to code in PAWs, feel free to do this locally, in your Jupyter Notebook instance, for example.
If the Data visualization doesn't work properly in your PAWs instance, but works locally, that's fine for me.
The Completing the gaps section needs to work in PAWs.

  1. Once you feel you have completed your task, generate the public link of your notebook on PAWS (see the instructions here) and send it through email to @Ederporto (you can find his email in Outreachy);

If you are developing locally, you can upload it to PAWs and then generate the public link and send me.

  1. You can request feedback on your task until March 17, and we will answer to you until March 22, in order to give you ample time to work on the feedback and your final submission;

That will happen next week, as announced

  1. Make sure to register the public link as a contribution on the Outreachy website. Your final contribution has to be submitted before April 2, at 4pm UTC.

You all have to make at least a draft proposal in the Outreachy platform by March 17th, as we will close new applications in the 18th, you can update it later, but your draft needs to be up by then.

About the notebook instructions:

  • Your first function is supposed to return a list of the most viewed articles in ptwiki for January;
    • You can check if your function is returning the articles in the correct order by looking at this page.
  • Your second function is supposed to return a dataframe of the most viewed articles in ptwiki for January and February;
  • You are free to use auxiliar functions and libraries as you wish;
  • Your third function, in the Data visualization section, is supposed to get the dataframe you generated in the second function and make a bar chart visualization of it.
    • You can pivot the table.

I hope this helps everyone!

Mar 20 2024, 4:49 PM · Outreach-Programs-Projects, Outreachy (Round 28)

Mar 19 2024

DevJames1 added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.

How can I filter climate change articles from the dataset? Can anyone tell me?

Mar 19 2024, 7:59 PM · Outreachy (Round 28)

Mar 15 2024

DevJames1 added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.

Please if you time your code, how long does your code take to fetch all page views for all time intervals. I need a clue please

Mar 15 2024, 3:19 PM · Outreachy (Round 28)

Mar 14 2024

DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Hi, I found some good examples of project timelines from past Wikimedia Outreachy interns, which may help. You can take a look at the links below:

https://phabricator.wikimedia.org/T161670
https://phabricator.wikimedia.org/T177507
https://phabricator.wikimedia.org/T333790

@Abishek_Das
Great one, thanks, this gives us a structure of what is expected.

Mar 14 2024, 2:10 PM · Outreach-Programs-Projects, Outreachy (Round 28)
DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Screenshot 2024-03-14 143830.png (511×1 px, 36 KB)

I have tried implementing bar-chart-race locally on my machine as well as also tried on PAWS as one of the applicant advised above , but unable to play the video. Can anyone here help me with this issue and rectify my error?
@Ederporto

You will have to return the video from the function, and then when you will call the function, video will display.

I think it is not due to any error, but you will have to return the video from the function.

Screenshot 2024-03-14 143830.png (511×1 px, 36 KB)

I have tried implementing bar-chart-race locally on my machine as well as also tried on PAWS as one of the applicant advised above , but unable to play the video. Can anyone here help me with this issue and rectify my error?
@Ederporto

You will have to return the video from the function, and then when you will call the function, video will display.

Videos don't need to be returned, with the function bcr.bar_chart_race(…), the video is created automatically in the current directory

Yeah but if you want to display it on jupyter notebook, and if you have made a function, then you will have to return it. This is what worked for me.

Mar 14 2024, 9:45 AM · Outreach-Programs-Projects, Outreachy (Round 28)
DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Screenshot 2024-03-14 143830.png (511×1 px, 36 KB)

I have tried implementing bar-chart-race locally on my machine as well as also tried on PAWS as one of the applicant advised above , but unable to play the video. Can anyone here help me with this issue and rectify my error?
@Ederporto

You will have to return the video from the function, and then when you will call the function, video will display.

Mar 14 2024, 9:41 AM · Outreach-Programs-Projects, Outreachy (Round 28)
DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Screenshot 2024-03-14 143830.png (511×1 px, 36 KB)

I have tried implementing bar-chart-race locally on my machine as well as also tried on PAWS as one of the applicant advised above , but unable to play the video. Can anyone here help me with this issue and rectify my error?
@Ederporto

Mar 14 2024, 9:23 AM · Outreach-Programs-Projects, Outreachy (Round 28)
DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

@Aixvik, @Aananditaa001, @Anju_Maurya, @ElvisGicharu, @Abishekdascs, @Damiodunuga, @Abishek_Das, @Keamybams, @MahimaSinghal, @Andreas_Sune, @Udonels, @Omolade1414, @Chimezee, @BruceMahagwa, @GonzaGertrude, @Anachimuco, @DevJames1 and @Sheilakaruku

I have been abscent from answering questions here and through email, because I'm mostly interested in learning how you code and how you approach development challenges (they will appear in this and other projects in your journey).

But some of the questions and challenges I saw might need clarification, other have been resolved by kind and thoughtful individuals in this thread. Let's tackle the exercise here, and take in mind that you all will receive personal feedback in your submissions next week.

About the task instructions

  1. You should create an Wikimedia account, if you don't already have one. You can do so at https://meta.wikimedia.org/w/index.php?title=Special:CreateAccount;
  2. Log in into the PAWS service with your wikimedia account: https://paws.wmflabs.org/paws/hub;

These two seems to not be a challenge.

  1. Fork this notebook in your repository in PAWS (see the instructions here). Name your file as "T357409 - YourWikiUsername";
  2. Follow the specific directions in the notebook. If you have questions or need assistance, comment your inquiry in this subtask and make sure to ping @Ederporto;

You are not required to code in PAWs, feel free to do this locally, in your Jupyter Notebook instance, for example.
If the Data visualization doesn't work properly in your PAWs instance, but works locally, that's fine for me.
The Completing the gaps section needs to work in PAWs.

  1. Once you feel you have completed your task, generate the public link of your notebook on PAWS (see the instructions here) and send it through email to @Ederporto (you can find his email in Outreachy);

If you are developing locally, you can upload it to PAWs and then generate the public link and send me.

  1. You can request feedback on your task until March 17, and we will answer to you until March 22, in order to give you ample time to work on the feedback and your final submission;

That will happen next week, as announced

  1. Make sure to register the public link as a contribution on the Outreachy website. Your final contribution has to be submitted before April 2, at 4pm UTC.

You all have to make at least a draft proposal in the Outreachy platform by March 17th, as we will close new applications in the 18th, you can update it later, but your draft needs to be up by then.

About the notebook instructions:

  • Your first function is supposed to return a list of the most viewed articles in ptwiki for January;
    • You can check if your function is returning the articles in the correct order by looking at this page.
  • Your second function is supposed to return a dataframe of the most viewed articles in ptwiki for January and February;
  • You are free to use auxiliar functions and libraries as you wish;
  • Your third function, in the Data visualization section, is supposed to get the dataframe you generated in the second function and make a bar chart visualization of it.
    • You can pivot the table.

I hope this helps everyone!

Mar 14 2024, 2:07 AM · Outreach-Programs-Projects, Outreachy (Round 28)

Mar 13 2024

DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Hello, @Ederporto

I have a question about visualisation step. On the notebook task we have to do our graphics with the previous result dataframe (top_view_dataframe). According to bar_chart_race documentation, the dataframe to use should have a date on row and different categories of articles on columns but top_view_dataframe is the opposite. My question is can we use different approach instead of top_view_dataframe, for exemple prepare our dataset with the build in method in bar_chart_race release for that goal?

Thank you

Yes, same issue. I find it hard to visualize it with the current state of our data frame. In the documentation, it's specified that every row must represent a single period, which is the exact opposite in ours.

@Ederporto would drop more insights.

I think to address the requirement of using the bar_chart_race library, we can reshape the DataFrame so that dates are on the rows and articles are on the columns. This way, it aligns with the expected format for the library.

@Andreas_Sune, @Udonels, @MahimaSinghal
You can pivot the dataframe inside your function, without any prejudice, as @MahimaSinghal suggested.

Mar 13 2024, 9:41 PM · Outreach-Programs-Projects, Outreachy (Round 28)
DevJames1 added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.

Message from the project mentors about the final application

Some comments on the final application, especially with respect to the project timeline question:

  • The most important aspect of the application is the notebook from the application task. We wont be able to give feedback on the other aspects of the final application.
  • Regarding the project timeline question:
    • Try to give a rough sketch of the different steps you plan to take in order to complete the project. T356498 mentions 4 phases: becoming familiar with the dataset, selection of specific Wikiprojects of interest, analysis and visualization, and building an interactive web interface.
    • The aim is to organize what things you think should be done and in which order. This is flexible and will likely change as you embark on the project.
    • Feel free to identify which aspects are most interesting to you and would like to spend more time on; as well as any additional steps you might think are pertinent for your work on this project.
Mar 13 2024, 7:17 PM · Outreachy (Round 28)
DevJames1 added a comment to T356498: Outreachy Project: Build a data visualization tool for the evolution of Wikipedia articles maintained by WikiProjects.

Hi @Pablo @Isaac @CMyrick-WMF
I hope you're all doing well. I've been working on the microtask T358095 and I'm now at the stage where I need to submit my work for review. Could you please let me know where I can submit my work for review?

Just to provide some context, here's an overview of the work I've done:

  1. Extracted page view counts for Wikipedia articles.
  2. Explored and visualized the evolution of individual articles and a sample of Climate change articles by visualizing feature values and quality scores over time.
  3. Analyzed the distribution of quality scores by year using boxplots.

I'm looking forward to receiving feedback on my work.

Thank you!
Mahima Agarwal

Hello @MahimaSinghal
Could you walk me through how you were able to complete your task?
I have extracted relevant data from the wikipedia articles now I need to visualize it. That's were I'm having challenges. Thanks.

Hello ,

Of course, I'd be happy to help!

Firstly, could you please provide me with more details about the data you've extracted? And the challenges you are facing.
It would be helpful to know which specific features or metrics you're looking to visualize.

Once I have a better understanding of what challenges are facing you exactly, I can suggest something better.
Feel free to ask any questions along the way, and I'll do my best to help you!

Thankyou!
Mahima.

Hey Mahima,
Trust you're doing okay?
So regarding my progress on this task, this is where I'm at right now. Here: https://public-paws.wmcloud.org/User:Victor%20Ebuka96/Project1(T358095).ipynb

I need help on how to proceed with visualizing this data.

Any tip will be highly appreciated.

I think you are missing on first TODO , before proceeding to Data Visualization there is the task of using API to gather pageviews count for all revision timestamps.

Hi,
Oh, yes. I missed out on that.
Could you put me through how to go about it? That is using the API to gather pageviews count in the time period each revision was made.

To gather pageviews count for each revision timestamp, use the API https://wikimedia.org/api/rest_v1/. Specify the desired time period and granularity (e.g., daily) in the API request to retrieve the pageviews data for analysis.

Mar 13 2024, 8:39 AM · Outreachy (Round 28), Outreach-Programs-Projects
DevJames1 added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.

Can anyone please help me with this error

image.png (712×1 px, 88 KB)

This just means that data was not available for the specified dates passed. Please note that for start dates with granularity set to monthly it has to start at the first day of the month ie "01" and the end date must be at least a month away from the start date to work. For some dates the api does not return data and thus gives out an error. Hope this helps.

Mar 13 2024, 6:56 AM · Outreachy (Round 28)

Mar 11 2024

DevJames1 added a comment to T358095: Outreachy Application Task: Tutorial for Wikipedia language-agnostic article quality modeling data.

Message from the project mentors: How will we judge applicants?

It's common for folks to ask us how to make a strong application for this project. The task is open-ended so there is no one "right" answer, but we'll try to give you a bit more guidance. The final notebook (created for the microtask) is our primary means of judging each applicant. For the notebook, we will evaluate it along a few criteria:

  • Quality of code: are there bugs? is your code well-structured, commented, and easy to understand?
  • Quality of notebook: is the notebook well-structured and easy to follow?
  • Creativity: did you try different approaches? did you come up with interesting ideas for future analyses?
  • Iteration: if you receive feedback, were you able to incorporate those changes?
NOTE: because we will likely only provide one round of feedback for each applicant, we recommend submitting the notebook when you are fairly confident it is a complete state. As noted above, you are not evaluated on the quality of your initial notebook but rather how you adapt to the feedback so it's okay to have mistakes, etc., in your notebook in the initial review and you will not be penalized for that.
Mar 11 2024, 12:12 PM · Outreachy (Round 28)

Mar 9 2024

DevJames1 closed T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects as Invalid.
Mar 9 2024, 2:12 PM · Developer-Outreach, Outreachy (Round 28)
DevJames1 closed T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects, a subtask of T357409: Create tool for informative infographics from structured information from Wikimedia projects, as Invalid.
Mar 9 2024, 2:12 PM · Outreach-Programs-Projects, Developer-Outreach, Outreachy (Round 28)
DevJames1 added a comment to T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.

Hello, @DevJames1. As @Maryann-Onyinye stated in the project page, Phabricator isn't really the place to do introductions, you should do that in Zulip.

Mar 9 2024, 2:11 PM · Developer-Outreach, Outreachy (Round 28)

Mar 8 2024

DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Hello everyone, thanks to @Abishek_Das for the tips on installing ffmpeg. It's a timesaver I must say.

If you're looking to embed the output into the notebook, add these few lines of code after you've generated your output animation:

from IPython.display import Video
Video("file_name.mp4", embed=True)

Mar 8 2024, 6:26 PM · Outreach-Programs-Projects, Outreachy (Round 28)
DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Hello everyone, I am also an Outreachy applicant for 2024.

Today, I discovered the message on Phabricator; however, I initially assumed that all discussions were taking place in the Zulip channel. Consequently, I didn't check the Phabricator comments section.

To keep it concise, I'd like to address how to make FFmpeg work on the PAWS Jupyter Notebook for the task "Create a tool for informative infographics from structured information from Wikimedia projects - Task A."

The reason FFmpeg isn't functioning on the PAWS Jupyter Notebook is that we need to download and add FFmpeg Static Builds from (https://johnvansickle.com/ffmpeg/) to the same folder where we have the code.

Here's a step-by-step guide (So, you don't have to go through the trouble of downloading from https://johnvansickle.com/ffmpeg/):

Note: Before you do the step mentioned in point (a), make sure all the steps, i.e., b, c, d, and e, are done first.

a) I've attached code that you can add to your Jupyter Notebook cell (Same notebook where you have your code to generate the bar chart race). Run this code to resolve the FFmpeg issue.

# Download a static FFmpeg build and add it to PATH.
%run 'util/load-ffmpeg.ipynb'
print('Done!')

b) Prior to running the code mentioned in point (a), add/upload the "util" folder to your PAWS. I've included the folder below.


(You, have to unzip it after downloading)

c) The purpose of the "util" folder is to automatically add the FFmpeg Static Build File (which is a folder) to your PAWS when you run the provided code mentioned in point (a).

d) Ensure that the filename in bcr.bar_chart_race() has a ".mp4" extension.

e) After completing these steps, you can run your respective code, which is the code for generating the bar chart race.

Note:

a) You might encounter a warning / Error (Which again doesn't appear when I run my code locally and only sometimes appears on my PAWS Jupyter Notebook), as shown in the attached screenshot. However, this is not an issue, as the video file will be generated in the PAWS folder after running your code. You can then download the bar chart race video and watch the video(as shown the screenshot below).

Code for ffmpeg.png (239×992 px, 48 KB)

mp 4.png (32×418 px, 2 KB)

b) If your code works correctly locally, it should generally (90%-99% of the time) work on the PAWS online Jupyter Notebook.

c) The warning or error screenshot I provided may or may not appear (Which happens to me only on PAWS), so be mindful of that.

d) Ensure that the filename in bcr.bar_chart_race() has a ".mp4" extension, as the ".html" filename won't appear on PAWS. But, Again, the .html works locally.

e) Why the .html doesn't appear on PAWS, I have no idea about it, and I have still not looked for a solution related to .html since the .mp4 file is generated on PAWS without any issue.

f) All the things I have mentioned on how to solve the issue related to FFmpeg were taken from various documentation like Matplotlib 3.8.3 documentation and, of course, my favorite stack overflow (So, thanks to the Devs on Stack Overflow).

Mar 8 2024, 1:15 PM · Outreach-Programs-Projects, Outreachy (Round 28)
DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Hello everyone, I am also an Outreachy applicant for 2024.

Today, I discovered the message on Phabricator; however, I initially assumed that all discussions were taking place in the Zulip channel. Consequently, I didn't check the Phabricator comments section.

To keep it concise, I'd like to address how to make FFmpeg work on the PAWS Jupyter Notebook for the task "Create a tool for informative infographics from structured information from Wikimedia projects - Task A."

The reason FFmpeg isn't functioning on the PAWS Jupyter Notebook is that we need to download and add FFmpeg Static Builds from (https://johnvansickle.com/ffmpeg/) to the same folder where we have the code.

Here's a step-by-step guide (So, you don't have to go through the trouble of downloading from https://johnvansickle.com/ffmpeg/):

Note: Before you do the step mentioned in point (a), make sure all the steps, i.e., b, c, d, and e, are done first.

a) I've attached code that you can add to your Jupyter Notebook cell (Same notebook where you have your code to generate the bar chart race). Run this code to resolve the FFmpeg issue.

# Download a static FFmpeg build and add it to PATH.
%run 'util/load-ffmpeg.ipynb'
print('Done!')

b) Prior to running the code mentioned in point (a), add/upload the "util" folder to your PAWS. I've included the folder below.


(You, have to unzip it after downloading)

c) The purpose of the "util" folder is to automatically add the FFmpeg Static Build File (which is a folder) to your PAWS when you run the provided code mentioned in point (a).

d) Ensure that the filename in bcr.bar_chart_race() has a ".mp4" extension.

e) After completing these steps, you can run your respective code, which is the code for generating the bar chart race.

Note:

a) You might encounter a warning / Error (Which again doesn't appear when I run my code locally and only sometimes appears on my PAWS Jupyter Notebook), as shown in the attached screenshot. However, this is not an issue, as the video file will be generated in the PAWS folder after running your code. You can then download the bar chart race video and watch the video(as shown the screenshot below).

Code for ffmpeg.png (239×992 px, 48 KB)

mp 4.png (32×418 px, 2 KB)

b) If your code works correctly locally, it should generally (90%-99% of the time) work on the PAWS online Jupyter Notebook.

c) The warning or error screenshot I provided may or may not appear (Which happens to me only on PAWS), so be mindful of that.

d) Ensure that the filename in bcr.bar_chart_race() has a ".mp4" extension, as the ".html" filename won't appear on PAWS. But, Again, the .html works locally.

e) Why the .html doesn't appear on PAWS, I have no idea about it, and I have still not looked for a solution related to .html since the .mp4 file is generated on PAWS without any issue.

f) All the things I have mentioned on how to solve the issue related to FFmpeg were taken from various documentation like Matplotlib 3.8.3 documentation and, of course, my favorite stack overflow (So, thanks to the Devs on Stack Overflow).

Mar 8 2024, 8:59 AM · Outreach-Programs-Projects, Outreachy (Round 28)

Mar 7 2024

DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Hi @Ederporto,

I'm facing some trouble gathering data from the Wikimedia API. Every time I make a request in the Jupyter notebook, I'm getting a response status code of 403, indicating forbidden access. Is there a workaround for this? It's worth noting that I can gather data normally from the Wikimedia API website and even when running the link outside of the notebook.

Could you please take a look at the error and see if there's a solution? Thank you

Screenshot 2024-03-05 at 22.19.26.png (850×2 px, 251 KB)

I am having the same issue with this endpoint: https://wikimedia.org/api/rest_v1/metrics/pageviews/top/{project}/{access}/{year}/{month}/{day}
it returns 403. But after getting the text property of the response these were the indicatives.

  1. Our servers are currently under maintenance or experiencing a technical problem.
  2. Error: 403, Scripted requests from your IP have been blocked, please see https://meta.wikimedia.org/wiki/User-Agent_policy.

Assistance is needed to continue with the tasks
OS: Windows
python module: requests

Eror_Making_get_requests.jpg (481×1 px, 117 KB)

@Anachimuco I read on the page view API page that

headers = {
      "User-Agent": user_agent
    }

is required, check if you added this and replace it with an actual user agent.
I was able to get the data after adding it to my code.
I assume you are using Python

Thanks, James. This was helpful. I'm now currently on the second task. I'm thinking that we'd have to call 60 requests to perform it actually, since there's no endpoint to aid.

Mar 7 2024, 10:20 AM · Outreach-Programs-Projects, Outreachy (Round 28)

Mar 6 2024

DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

@Ederporto
I am having issues implementing this function

most_viewed_ptwiki_jan_feb_per_day():

as in the task description.

Mar 6 2024, 4:29 PM · Outreach-Programs-Projects, Outreachy (Round 28)
DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Hi @Ederporto,

I'm facing some trouble gathering data from the Wikimedia API. Every time I make a request in the Jupyter notebook, I'm getting a response status code of 403, indicating forbidden access. Is there a workaround for this? It's worth noting that I can gather data normally from the Wikimedia API website and even when running the link outside of the notebook.

Could you please take a look at the error and see if there's a solution? Thank you

Screenshot 2024-03-05 at 22.19.26.png (850×2 px, 251 KB)

I am having the same issue with this endpoint: https://wikimedia.org/api/rest_v1/metrics/pageviews/top/{project}/{access}/{year}/{month}/{day}
it returns 403. But after getting the text property of the response these were the indicatives.

  1. Our servers are currently under maintenance or experiencing a technical problem.
  2. Error: 403, Scripted requests from your IP have been blocked, please see https://meta.wikimedia.org/wiki/User-Agent_policy.

Assistance is needed to continue with the tasks
OS: Windows
python module: requests

Eror_Making_get_requests.jpg (481×1 px, 117 KB)

Mar 6 2024, 3:21 PM · Outreach-Programs-Projects, Outreachy (Round 28)
DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Hi @Ederporto,

I'm facing some trouble gathering data from the Wikimedia API. Every time I make a request in the Jupyter notebook, I'm getting a response status code of 403, indicating forbidden access. Is there a workaround for this? It's worth noting that I can gather data normally from the Wikimedia API website and even when running the link outside of the notebook.

Could you please take a look at the error and see if there's a solution? Thank you

Screenshot 2024-03-05 at 22.19.26.png (850×2 px, 251 KB)

I am having the same issue with this endpoint: https://wikimedia.org/api/rest_v1/metrics/pageviews/top/{project}/{access}/{year}/{month}/{day}
it returns 403. But after getting the text property of the response these were the indicatives.

  1. Our servers are currently under maintenance or experiencing a technical problem.
  2. Error: 403, Scripted requests from your IP have been blocked, please see https://meta.wikimedia.org/wiki/User-Agent_policy.

Assistance is needed to continue with the tasks
OS: Windows
python module: requests

Eror_Making_get_requests.jpg (481×1 px, 117 KB)

Hey @DevJames1
Are you using the endpoint like so https://wikimedia.org/api/rest_v1/metrics/pageviews/top/%7Bproject%7D/%7Baccess%7D/%7Byear%7D/%7Bmonth%7D/%7Bday%7D

Mar 6 2024, 3:18 PM · Outreach-Programs-Projects, Outreachy (Round 28)
DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Hi @Ederporto,

I'm facing some trouble gathering data from the Wikimedia API. Every time I make a request in the Jupyter notebook, I'm getting a response status code of 403, indicating forbidden access. Is there a workaround for this? It's worth noting that I can gather data normally from the Wikimedia API website and even when running the link outside of the notebook.

Could you please take a look at the error and see if there's a solution? Thank you

Screenshot 2024-03-05 at 22.19.26.png (850×2 px, 251 KB)

Mar 6 2024, 10:39 AM · Outreach-Programs-Projects, Outreachy (Round 28)

Mar 5 2024

DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Hello @Ederporto
I have been able to sign up to wiki PAWS.
When I try to fork the notebook by adding "?format=raw" according to the doc Fork,
my JSON viewer extension only opens the file as JSON, I am having difficulty downloading the file.

OS: Windows 10,
Browser: Chrome

Paw_jason.jpg (661×1 px, 94 KB)

Mar 5 2024, 5:30 PM · Outreach-Programs-Projects, Outreachy (Round 28)
DevJames1 added a comment to T358412: Create tool for informative infographics from structured information from Wikimedia projects - Task A.

Hello @Ederporto
I have been able to sign up to wiki PAWS.
When I try to fork the notebook by adding "?format=raw" according to the doc Fork,
my JSON viewer extension only opens the file as JSON, I am having difficulty downloading the file.

Mar 5 2024, 4:57 PM · Outreach-Programs-Projects, Outreachy (Round 28)
DevJames1 renamed T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects from T357409: Create tool for informative infographics from structured information from Wikimedia projects to Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Mar 5 2024, 3:55 PM · Developer-Outreach, Outreachy (Round 28)
DevJames1 created T359186: Proposal: Create tool for informative infographics from structured information from Wikimedia projects.
Mar 5 2024, 3:52 PM · Developer-Outreach, Outreachy (Round 28)