Same as {T395510} (see there for more details), but for the iOS/Android apps.
First step is to manually test both apps with the new details syntax. How do they behave? Document all findings here in this ticket.
[x] iOS - see findings below
[] Android
The equivalent of the tasks below is currently not working on the apps (iOS at least):
* {T378568}
* Screenshot from iOS - the sub-ref number and indentation are missing in the reference list.
{F65618071}
* {T395510}
* Screenshot from iOS - the drawer does not display the main nor the sub-ref.
{F65618073}
**Dev 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 [[ https://gerrit.wikimedia.org/r/admin/repos/mediawiki/services/mobileapps,general | 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
* Required before we can test anything: {T395871}
* iOS and Android are two different codebases:
* https://github.com/wikimedia/wikipedia-ios
* https://github.com/wikimedia/apps-android-wikipedia