Page MenuHomePhabricator

MacMartin77 (Uwe Martin)
User

Projects

User is not a member of any projects.

Today

  • No visible events.

Tomorrow

  • No visible events.

Wednesday

  • No visible events.

User Details

User Since
Apr 26 2026, 8:54 AM (7 w, 21 h)
Availability
Available
LDAP User
Unknown
MediaWiki User
MacMartin77 [ Global Accounts ]

Recent Activity

Mon, May 18

MacMartin77 added a comment to T403106: [Spike] Investigate RemoteMediator for Notifications .

Some notes as preparation for the pull request:
The approach used in legacy code and the Paging3/RemoteMediator approach have some key differences.
All data from the server is loaded into the database, page by page.
The data from the database is then loaded completely into memory and filtered, sorted.
At least this is my understanding of what the legacy code does.

Mon, May 18, 8:21 PM · Technical-Debt, Wikipedia-Android-App-Backlog
MacMartin77 added a comment to T403106: [Spike] Investigate RemoteMediator for Notifications .

Update:
Note to above post: Room-database query was executed with in-memory database. Hence, the data is not valid.

Mon, May 18, 12:54 PM · Technical-Debt, Wikipedia-Android-App-Backlog

May 14 2026

MacMartin77 added a comment to T403106: [Spike] Investigate RemoteMediator for Notifications .

I created an initial version of a refactored view model/repository which works entirely with a Room-database and does not do any Kotlin-based in-memory manipulation to sort/filter the data.
I ran the tests on a P101-EEA with 3.0GB RAM and Android 10
I created a synthetic dataset of 1000 notifications which filters down to 56 notifications using various exclusions currently implemented.
Each experiment did 100 repetitions (using the same filtering parameters). I repeated each experiment three times.
All data in milliseconds

May 14 2026, 8:32 PM · Technical-Debt, Wikipedia-Android-App-Backlog

May 12 2026

MacMartin77 added a comment to T403106: [Spike] Investigate RemoteMediator for Notifications .

Insights from my ongoing analysis.

May 12 2026, 6:11 AM · Technical-Debt, Wikipedia-Android-App-Backlog

May 10 2026

MacMartin77 claimed T403106: [Spike] Investigate RemoteMediator for Notifications .
May 10 2026, 1:37 PM · Technical-Debt, Wikipedia-Android-App-Backlog

Apr 28 2026

MacMartin77 added a comment to T419169: User reported issue with some articles opening the wrong URLs when tapping view in browser.

Issued PR

Apr 28 2026, 7:28 AM · Wikipedia-Android-App-Backlog

Apr 27 2026

MacMartin77 changed the status of T419169: User reported issue with some articles opening the wrong URLs when tapping view in browser from Open to In Progress.

The problem with the code in LinkHandler is that if the url embedded in the messagePayload transferred to onMessage contains an encoded space character (%20). UriUtil.decodeURL will decode it and replace it with a real space character. This is then passed to onUrlClick where it is assigned to the local variable href. This local variable is then used to create an Uri which is assigned to the local variable uri. In this step, the space character is not encoded again. When passing uri to external browsers using onExternalLinkClicked, it depends on the functionality of the browser how the raw space character is interpreted. Apparently, DuckDuckGo (and potentially further browsers) process only the first part of the uri - ignoring the second part after the space character.

Apr 27 2026, 9:01 PM · Wikipedia-Android-App-Backlog
MacMartin77 claimed T419169: User reported issue with some articles opening the wrong URLs when tapping view in browser.
Apr 27 2026, 5:38 AM · Wikipedia-Android-App-Backlog

Apr 26 2026

MacMartin77 changed the status of T398618: Low contrast in edit highlights when using "Black" app theme from Open to In Progress.

PR has been issued.

Apr 26 2026, 6:45 PM · Wikipedia-Android-App-Backlog (Android Release - FY2025-26)
MacMartin77 claimed T398618: Low contrast in edit highlights when using "Black" app theme.
Apr 26 2026, 1:50 PM · Wikipedia-Android-App-Backlog (Android Release - FY2025-26)
MacMartin77 added a comment to T413447: incorrect edit count on contributions for urdu wikipedia.

Furthermore, I would like to reference from another ticket:
According to the Q&A section in this page edit stats are updated once a day.

Apr 26 2026, 10:13 AM · Wikipedia-Android-App-Backlog
MacMartin77 added a comment to T413447: incorrect edit count on contributions for urdu wikipedia.

I analyzed UserContribListViewModel: The edit count and the actual contributions are retrieved using two different API endpoints.
loadStats queries using userInfoWithMessages and posts UserContribStats using editCount from UserInfo.
There is no logic in the app which modifies the editCount.
The actual contributions come from the method load in the inner class UserContribPagingSource.
Using the number of actual contributions would be incorrect since paging and filtering is applied.
IMHO, this (temporary?) incorrect display of edit count is probably a performance limitation in the backend which cannot be overcome by adaptation of the app's logic.

Apr 26 2026, 10:05 AM · Wikipedia-Android-App-Backlog