Context:
Currently iOS & Android apps are not compatible when it comes to subrefs. Neither the indentaion nor the numbering works in some cases and the reference previews are broken.
Use #talk-to-mobile-apps to communicate with the apps team.
Goal:
- Figure out where we need to change the code to address the issue AND which parts we can do on our own vs handled by the mobile apps teams.
- Both apps seems to use the PCS (Page Content Service)
- PCS related code https://gerrit.wikimedia.org/r/admin/repos/mediawiki/services/mobileapps,general
- iOS codebase https://github.com/wikimedia/wikipedia-ios
- Android codebase https://github.com/wikimedia/apps-android-wikipedia
- This can be done by creating a PoC patch or leaving breadcumbs in the code.
- If we can define further steps from this exploration create subtasks on the parent for the implementation
- Figure out what QA would be required for completing this task. (see chat with Sean Long )
Notes:
From Dmitry Brant
Both iOS and Android apps receive their article content from PCS (Page Content Service), so any fixes and updates would need to be made in that codebase, and will be automatically received by apps. Unfortunately, PCS contains a lot of very legacy code, and at first glance it looks like PCS does some rearranging of reference elements, in a way that is indeed incompatible with sub-referencing. Here is the file within PCS where this logic happens. If you could dig in and make PCS work with sub-referencing, that would be very welcome
Timebox:
2 people 2 days
How to enable testing in the mobile App (Android)
- Open the Wikipedia App on your device
- Go to Settings -> About
- Tab the build number a couple of times (min 5x) until you see "you are now a developer"
- Go to Settings -> Wikipedia Languages
- Search for the language "Test" and select it
- Now you can open an article from test.wikipedia, e.g. CiteDetailsTests