Page MenuHomePhabricator

Oluwatumininu.m (Tumi)
User

Projects

Today

  • No visible events.

Tomorrow

  • No visible events.

Wednesday

  • No visible events.

User Details

User Since
Oct 8 2025, 12:23 AM (4 w, 5 d)
Availability
Available
LDAP User
Oluwatumininu.m
MediaWiki User
Oluwatumininu.m [ Global Accounts ]

Recent Activity

Fri, Nov 7

Oluwatumininu.m created T409535: Implement consistent loading states for asynchronous actions across Paulina.
Fri, Nov 7, 10:12 AM · Patch-For-Review, Tool-paulina

Thu, Nov 6

Oluwatumininu.m added a comment to T409205: search authors for a specific death date year.

@Mind_Booster_Noori Thank you for your suggestion about this important feature, and @Oluwatumininu.m @System625 thank you for your contributions! Date of birth and date of death filters are something I've been considering for quite some time, but until now I haven't been able to implement it precisely for performance reasons. Since searches with "haswbstatement" using the Action API don't allow the "date" data type, we have to use SPARQL, which significantly impacts performance. Some weeks ago I left a comment on an old ticket about this, asking for the date data type to be added to haswbstatement: T238498

I'm very interested in studying the solutions you propose. Using date ranges in the SPARQL query, instead of the YEAR function, is highly recommended to save a few seconds, and it's something I already had in mind. But I'd like to take the time to review the details of your solutions and test them in different cases.

The most important case I'm interested in testing is searching for authors leaving the search box blank, applying the nationality filter for a country with many author entries in Wikidata (for example, the United States, France, the UK), and then applying the "year of death" filter. This use case is the one raised in the ticket and I'm sure it's quite common, since many people want to obtain lists of authors from a country rather than searching for specific names of authors. But it's a case where performance can be particularly affected.

Thu, Nov 6, 3:18 PM · Patch-For-Review, Tool-paulina

Wed, Nov 5

Oluwatumininu.m updated subscribers of T409205: search authors for a specific death date year.

I fixed this issue. Kindly have a look to check if I'm on the right track.

Wed, Nov 5, 12:22 AM · Patch-For-Review, Tool-paulina

Tue, Nov 4

Oluwatumininu.m added a comment to T397963: Restore scholary works to author works query results.

Hi, everyone please see https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines so PRs get automagically linked in Phabricator tasks (though that page is about Gerrit and not GitLab). Thanks.

Tue, Nov 4, 11:39 AM · Tool-paulina

Mon, Oct 27

Oluwatumininu.m added a comment to T407558: Proof of concept: add work form, with autocomplete.

@Oluwatumininu.m Thanks, very good contribution! I really liked the work you did giving priority to the autocomplete suggestions that are actually types of works.

Thank you very much for the feedback 🙌

Mon, Oct 27, 11:52 PM · Tool-paulina

Thu, Oct 23

Oluwatumininu.m added a comment to T407385: Create new generic page.

Thank you very much for the feedback!

Thu, Oct 23, 7:30 AM · Tool-paulina

Wed, Oct 22

Oluwatumininu.m added a comment to T405621: Improve country dropdown for the "country of origin" filter in the advanced search for works..

I discovered a new issue while solving this issue and I have fixed it. I will include the before and after videos whilst creating a new PR.

The "Country of Origin" dropdown type-to-select feature currently matches countries anywhere in the name (e.g., typing "N" shows Afghanistan before Nigeria).

I have improved this behavior so that the filter prioritizes countries that START with the typed letters.

What I did:

  1. Found the code responsible for filtering or matching country names in the dropdown.
  2. Updated the logic so that countries whose names start with the typed query appear first.
    • Used toLowerCase().startsWith(query.toLowerCase()) to check for prefix matches.
    • Optionally, I still included other matches (that contain the query later), but listed them after the prefix matches.
  3. Ensured the alphabetical order of countries remains consistent.
  4. Tested that typing "N" now shows countries like "Namibia", "Nepal", "Nigeria" first.

@Oluwatumininu.m, I think this is an improvement for the behavior of the combobox and was able to verify it work as intended. Although I do have a question about the PR, there are two divs with class "combobox-container" added here. Are both actually needed? May have more questions or comments later.

Thank you very much for the feedback!

This was a duplication issue that I missed.

I have removed the duplicate div and made a commit. I'll be expecting more comments and feedback.

Hi @Oluwatumininu.m, I see the <div> is commented out. If it's not actually needed I'd recommend you remove/delete it completely.

Wed, Oct 22, 4:42 PM · Tool-paulina

Mon, Oct 20

Oluwatumininu.m added a comment to T399974: Results pagination.

Ok! Thank you @Oluwatumininu.m ! I understand better now what was happening.

Mon, Oct 20, 8:28 AM · Tool-paulina
Oluwatumininu.m added a comment to T399974: Results pagination.

@Oluwatumininu.m : Oh that makes sense now! Thank you for this!

If I understand correctly: when my code wasn't right, it will go straight to except: abort(404) and display the 404 error page.
However, because the <script> was still executing and calling the updateDropdown() function, it throws that TypeError because it couldn't find the dropdown in the page.
Is that right?

Mon, Oct 20, 8:14 AM · Tool-paulina

Sun, Oct 19

Oluwatumininu.m added a comment to T405604: Prefill nationality of author and country of origin of work at the country page.

@Oluwatumininu.m Good work! The feature works well. The only minor detail is that when the user switches between Author and Work, the country dropdowns have different styles (one with yellow background and the other with white background). As for app.py, the two new variables you created are interchangeable with each other.

My bad!
Thank you so very much for the feedback!

Sun, Oct 19, 9:20 PM · Tool-paulina
Oluwatumininu.m added a comment to T399974: Results pagination.

Hi everyone!

Really glad to be sending a Merge Request for this task.
Phew, it has been a real struggle to make pagination work and look somewhat nice ^^

I had to:

  • Understand how to add query parameters to the URL
  • Implement a correct formula to offset the results by 10
  • Not to use plural at all in my variables (if you know, you know :D)
  • Making sure that all the variables from app.py are being returned so I can use them in results.html

Looking forward to your feedback and comments: @Pepe_piton and @Nat_WDU

Edit: I also wanted to share with you an error that I've had coming up multiple times from the updateDropdown function inside the <script> tag in layout.hml (see picture attached).
It came up multiple times while I was trying to implement the pagination, even though I was only working on app.py and results.html files.

I am not sure what the issue was, but I guess it was due to the empty value of dropdown.innerHTML or possibly an incorrect URL I was sending...

Error message :

Screenshot 2025-10-17 18.55.28.png (212×623 px, 42 KB)

Has anyone encountered this error?

Sun, Oct 19, 8:24 PM · Tool-paulina

Sat, Oct 18

Oluwatumininu.m added a comment to T405621: Improve country dropdown for the "country of origin" filter in the advanced search for works..

I discovered a new issue while solving this issue and I have fixed it. I will include the before and after videos whilst creating a new PR.

The "Country of Origin" dropdown type-to-select feature currently matches countries anywhere in the name (e.g., typing "N" shows Afghanistan before Nigeria).

I have improved this behavior so that the filter prioritizes countries that START with the typed letters.

What I did:

  1. Found the code responsible for filtering or matching country names in the dropdown.
  2. Updated the logic so that countries whose names start with the typed query appear first.
    • Used toLowerCase().startsWith(query.toLowerCase()) to check for prefix matches.
    • Optionally, I still included other matches (that contain the query later), but listed them after the prefix matches.
  3. Ensured the alphabetical order of countries remains consistent.
  4. Tested that typing "N" now shows countries like "Namibia", "Nepal", "Nigeria" first.

@Oluwatumininu.m, I think this is an improvement for the behavior of the combobox and was able to verify it work as intended. Although I do have a question about the PR, there are two divs with class "combobox-container" added here. Are both actually needed? May have more questions or comments later.

Sat, Oct 18, 11:41 PM · Tool-paulina
Oluwatumininu.m added a comment to T405635: Create API call examples to create and edit Wikidata works and authors items..

@ObediObadiah , @Oluwatumininu.m, @Sandijigs & @Nurah_Wakili
According to your .md you are using an authentication token. Can you better describe how did you get your access token? Either describe it or provide a link to official documentation that explains it. Do the editions appear as done by your username in the Wikidata item’s history?

Sat, Oct 18, 6:24 PM · Tool-paulina

Fri, Oct 17

Oluwatumininu.m added a comment to T406989: Proof of concept for adding new statements.

@Oluwatumininu.m Great work, I really like your solution! It works just as expected. I like that you also included code to hide the button when all fields are complete. Congrats!

Fri, Oct 17, 12:47 AM · Tool-paulina
Oluwatumininu.m added a comment to T405635: Create API call examples to create and edit Wikidata works and authors items..

@ObediObadiah , @Oluwatumininu.m, @Sandijigs & @Nurah_Wakili
According to your .md you are using an authentication token. Can you better describe how did you get your access token? Either describe it or provide a link to official documentation that explains it. Do the editions appear as done by your username in the Wikidata item’s history?

Fri, Oct 17, 12:36 AM · Tool-paulina
Oluwatumininu.m added a comment to T407558: Proof of concept: add work form, with autocomplete.

I have worked on this issue. Here is the link to my MR: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/107
For the Work Type field, I implemented real-time autocomplete using the Wikibase REST API search endpoint — it fetches suggestions from Wikidata as the user types.

Fri, Oct 17, 12:22 AM · Tool-paulina

Thu, Oct 16

Oluwatumininu.m updated subscribers of T407551: Proof of concept: Add author form.

Hi @Pepe_piton @Nat_WDU
I have fixed this issue. Also added the add-author route to the app.py file.
Here is the link to my MR: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/104

Screen Shot 2025-10-17 at 12.33.38 AM.png (1×2 px, 263 KB)

Thu, Oct 16, 11:34 PM · Tool-paulina
Oluwatumininu.m added a comment to T405412: Proof of concept for editing statements in Paulina.

@Oluwatumininu.m I really liked the addition of css styles. Very nice! The feature works very well. The only minor detail I found is that if the user clicks outside the input box, the interface saves the input. May be it's better to leave the input box editable until the user clicks on the publish button or hits the "Enter" key.

Thank you very much for the feedback.
I have made corrections to the input box. It is editable until the user clicks on the publish button.

Thu, Oct 16, 7:48 AM · Tool-paulina

Wed, Oct 15

Oluwatumininu.m updated subscribers of T407385: Create new generic page.

I fixed this issue.
Here is the link to my merge request: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/92

Wed, Oct 15, 4:53 PM · Tool-paulina
Oluwatumininu.m added a comment to T392429: Outreachy 31: Features to edit author and work data on Wikidata directly from Paulina.

Guys my gitlab is saying am pending approval :
Your account is pending approval from your GitLab administrator and hence blocked. Please contact your GitLab administrator if you think this is an error.

Wed, Oct 15, 9:41 AM · Outreachy (Round 31), Tool-paulina
Oluwatumininu.m added a comment to T405635: Create API call examples to create and edit Wikidata works and authors items..

I worked on this issue
Here is the link to my MR: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/88

Wed, Oct 15, 8:50 AM · Tool-paulina

Tue, Oct 14

Oluwatumininu.m added a comment to T406994: Hide work data fields when they have no value.

@Oluwatumininu.m I tried your contribution but I couldn't make it work as you provided here: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/48/diffs
I think the error is in the syntax for appending to a list using Jinja. Jinja doesn't generally have a very user-friendly syntax for such things. But this task doesn't actually require you to do list appending. You can use a more minimalist approach, like you used for example in T406909

Thank you very much @Pepe_piton for the feedback. I have now removed the complex list appending mechanism that was causing failures. I also added the "No details available" feature that @Aradhya05 suggested.

Tue, Oct 14, 8:16 AM · Tool-paulina

Mon, Oct 13

Oluwatumininu.m added a comment to T397554: At an author's list of works, show a link to the SPARQL query at the Wikidata Query Service.

Hello @Sopzy, @Oluwatumininu.m and @Dipanshu1223 , the three of you managed to make a good working implementation of this, congrats!

@Dipanshu1223 I really like that your implementation is so simple! However, the query is not formatted, so the user ends up seeing a query all in one line, which is hard to read

imagen.png (127×1 px, 33 KB)

Also, I think its better for the links’ wording to read “View this query at the Wikidata Query Service” since WQS is not a familiar term for all Paulina’s users

This task is still open if you want to submit improvements for your MRs, and for new applicants to submit their own. Thankseveryone!

Mon, Oct 13, 9:03 PM · Tool-paulina
Oluwatumininu.m added a comment to T406950: Add Wikidata and Wikimedia Commons links to work page.

@Oluwatumininu.m Thanks for your contribution! You managed to place the Wikidata link very well. However, with your current solution, the Wikimedia Commons link isn't displayed. This is because the work.html template doesn't receive a variable named "work_commons_link." For a clue on how to resolve this issue, it might be helpful to revisit the task of adding the "inception" field to the work page: T406949

Thank you so much for the feedback! I have made changes and a new commit. Here is the link: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/23/commits

Mon, Oct 13, 8:04 PM · Tool-paulina
Oluwatumininu.m added a comment to T397554: At an author's list of works, show a link to the SPARQL query at the Wikidata Query Service.

I worked on this issue.
Link to MR: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/71

Mon, Oct 13, 5:03 PM · Tool-paulina
Oluwatumininu.m added a comment to T405603: Improvements to the copyright term page: country list styles.

Hello, everyone!

@shreya-bhagat & @Oluwatumininu.m
good implementation, good job with the SPARQL query

Mon, Oct 13, 4:36 PM · Tool-paulina
Oluwatumininu.m added a comment to T406949: Add field "inception" to work page.

@Oluwatumininu.m Thanks for your contribution! I think there are some changes from other tasks included in the MR diff and the commit diff, but I was easy to identify the changes corresponding to this task, so don't worry. You did a good job, finally identifying the necessary changes to the Work class in pdclasses.py, the work route in app.py, and the template. I tried your code and it works fine.

Thank you very much for the feedback. @Pepe_piton

Mon, Oct 13, 4:28 PM · Tool-paulina
Oluwatumininu.m added a comment to T405598: Improvements to the copyright term page: term description.

@Oluwatumininu.m
As requested in the ticket description, we’d like to show the wikidata item’s description at the page

Mon, Oct 13, 2:43 PM · Tool-paulina
Oluwatumininu.m added a comment to T405385: Minor improvements to the country page.

@Oluwatumininu.m
good implementation
If you can include the name if the ticket in the name of the PR that’s helpful for us to keep things tidy

Thank you very much for the feedback. I will take note for my next tasks.

Mon, Oct 13, 12:38 PM · Tool-paulina
Oluwatumininu.m added a comment to T406909: Hide author data fields when they have no value.

@Oluwatumininu.m, Thanks for your contribution. You catched the essence of the task: adding if statements with Jinja2 in the author.html page. Simple and readable. Congrats!

Mon, Oct 13, 7:06 AM · Tool-paulina

Sun, Oct 12

Oluwatumininu.m added a comment to T405598: Improvements to the copyright term page: term description.

Hi @Nat_WDU @Pepe_piton
I have fixed this issue.
Now each page shows a proper explanation of the term, pulled straight from the corresponding Wikidata item right under the page title. The style matches the paragraph on the Countries and Terms page for consistency
Here is the link to my merge request: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/64

Sun, Oct 12, 7:14 PM · Tool-paulina
Oluwatumininu.m added a comment to T405603: Improvements to the copyright term page: country list styles.

I fixed this issue.
Here is the link to my MR: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/63

Sun, Oct 12, 6:33 PM · Tool-paulina
Oluwatumininu.m added a comment to T405604: Prefill nationality of author and country of origin of work at the country page.

I have fixed this issue.
Here is the link to my merge request: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/62/commits

Screen Shot 2025-10-12 at 11.18.12 AM.png (366×1 px, 44 KB)

Sun, Oct 12, 5:52 PM · Tool-paulina

Sat, Oct 11

Oluwatumininu.m added a comment to T405412: Proof of concept for editing statements in Paulina.

Hi @Pepe_piton @Nat_WDU
I have completed the proof of concept for editing statements in Paulina. The interface now allows inline editing of fields with pencil and check icons. Please have a look when you can. 😊
Here is the link to my MR: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/54

Sat, Oct 11, 5:42 PM · Tool-paulina

Oct 11 2025

Oluwatumininu.m added a comment to T399974: Results pagination.

I have fixed this issue. Here is the link to my MR: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/53

Oct 11 2025, 2:41 PM · Tool-paulina
Oluwatumininu.m added a comment to T405385: Minor improvements to the country page.

I have fixed this issue. Here is the link to the MR: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/52

Oct 11 2025, 12:55 PM · Tool-paulina
Oluwatumininu.m updated subscribers of T406994: Hide work data fields when they have no value.

I have fixed this issue.
Here is the link to the merge request:
https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/48

Oct 11 2025, 12:19 PM · Tool-paulina

Oct 10 2025

Oluwatumininu.m updated subscribers of T406989: Proof of concept for adding new statements.

Hi @Pepe_piton @Nat_WDU
I have fixed this issue.
Here is the link to my MR: https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/35

Oct 10 2025, 4:05 PM · Tool-paulina
Oluwatumininu.m added a comment to T406949: Add field "inception" to work page.

I fixed my mistakes. Took me a while but I did. It's my first time getting familiar with git and actively writing codes.
https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/22

Oct 10 2025, 12:25 PM · Tool-paulina
Oluwatumininu.m added a comment to T397963: Restore scholary works to author works query results.

I have worked on this issue. Here is the link to the MR:
https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/31

Oct 10 2025, 10:35 AM · Tool-paulina
Oluwatumininu.m added a comment to T406949: Add field "inception" to work page.

Thank you @shreya-bhagat
I was making the mistake of pushing to just one PR.

Oct 10 2025, 7:26 AM · Tool-paulina
Oluwatumininu.m added a comment to T406950: Add Wikidata and Wikimedia Commons links to work page.

I have fixed this issue.

Oct 10 2025, 12:18 AM · Tool-paulina

Oct 9 2025

Oluwatumininu.m updated subscribers of T406949: Add field "inception" to work page.

Hi @Pepe19294a
I have fixed this issue

Oct 9 2025, 11:40 PM · Tool-paulina
Oluwatumininu.m added a comment to T406909: Hide author data fields when they have no value.
Oct 9 2025, 7:39 PM · Tool-paulina
Oluwatumininu.m added a comment to T406909: Hide author data fields when they have no value.

I have fixed this issue.
Before:

Screen Shot 2025-10-09 at 6.53.57 PM.png (1×2 px, 279 KB)

After:
{F66740483}

Oct 9 2025, 7:05 PM · Tool-paulina
Oluwatumininu.m added a comment to T405621: Improve country dropdown for the "country of origin" filter in the advanced search for works..

After implementation

Oct 9 2025, 4:57 PM · Tool-paulina
Oluwatumininu.m added a comment to T405621: Improve country dropdown for the "country of origin" filter in the advanced search for works..

Before implementation{F66740375}

Oct 9 2025, 4:56 PM · Tool-paulina
Oluwatumininu.m added a comment to T405621: Improve country dropdown for the "country of origin" filter in the advanced search for works..
Oct 9 2025, 4:49 PM · Tool-paulina
Oluwatumininu.m added a comment to T405621: Improve country dropdown for the "country of origin" filter in the advanced search for works..

I discovered a new issue while solving this issue and I have fixed it. I will include the before and after videos whilst creating a new PR.

Oct 9 2025, 4:27 PM · Tool-paulina
Oluwatumininu.m added a comment to T405621: Improve country dropdown for the "country of origin" filter in the advanced search for works..

Hi @Pepe_piton @Nat_WDU I have completed the task and made a pull request. Could you help look through?
https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/14

Oct 9 2025, 8:38 AM · Tool-paulina
Oluwatumininu.m added a comment to T405621: Improve country dropdown for the "country of origin" filter in the advanced search for works..

https://gitlab.wikimedia.org/toolforge-repos/paulina/-/merge_requests/14

Oct 9 2025, 7:48 AM · Tool-paulina
Oluwatumininu.m changed the status of T405621: Improve country dropdown for the "country of origin" filter in the advanced search for works. from Open to In Progress.
Oct 9 2025, 2:05 AM · Tool-paulina
Oluwatumininu.m placed T405621: Improve country dropdown for the "country of origin" filter in the advanced search for works. up for grabs.
Oct 9 2025, 1:56 AM · Tool-paulina

Oct 8 2025

Oluwatumininu.m added a watcher for Tool-paulina: Oluwatumininu.m.
Oct 8 2025, 12:54 AM
Oluwatumininu.m added a comment to T405621: Improve country dropdown for the "country of origin" filter in the advanced search for works..

I have gone through the “Nationality” filter implementation (Task: T393278) and noticed that the type-to-select functionality is already available in the codebase.

Oct 8 2025, 12:34 AM · Tool-paulina