We face big challenges to create a nice - mobile friendly - offline version of our Mediawikis because of that bug and a few other ones (see related bugs). This is necessary for Kiwix using mwoffliner. We are pretty much in standby and Kiwix investment in that feature is put in danger. I would be really thankful for your expertise to help us to find a path to make offline user also enjoy a nice responsive layout.
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T162855 Offline Parsoid based offline layout | |||
| Open | None | T162782 problems in getting all dependencies for mobile | |||
| Invalid | None | T162783 parsoid html is not compatible with mobile stylesheet | |||
| Resolved | Arlolra | T162360 Differences in Parsoid HTML compared to PHP parser output breaks javascript that is tailored ot the PHP parser output |
Event Timeline
@ssastry @cscott @Arlolra We are pretty much stuck by using Parsoid to create a nice - mobile friendly - offline version of our Mediawikis because of that bug and a few other ones (see related bugs). @Skylsmoi is pretty much in standby and Kiwix investment in that feature is put in danger. I would be really thankful for your expertise to help us to find a path to make offline user also enjoy a nice responsive layout.
@atgo Thx for asking. It's not as this is not formally a part of the grant. That said it's pretty obvious that having a mobile friendly rendering for ZIM files is pretty essential to offline offering.
Thanks @Kelson. I'm trying to understand more for context, I don't doubt that mobile is critical :)
I've done some digging within the Foundation and @Fjalapeno is best positioned to answer your questions/point you in the right direction. I'll keep an eye here, too.
@Kelson Hey, sorry it took so long to follow up.
I've read over the ticket, and the sub tickets. Made some comments.
The gist is that:
- Parsoid markup is indeed different from PHP
- Android is the only mobile platform using Parsoid markup
- The Parsoid markup used by Android is further transformed by the MCS for use on mobile
- The Android app has local files it uses to style the output
- There is an effort underway to move all platforms to Parsoid markup and consolidate and update all CSS/JS server side
- In the mean time, the Android app is the best example of how to fix these issues now
Is this helpful?
Tagging with Android. They are also trying to figure out how to keep the CSS/JS in sync with Kiwix files
We have achieved thanks to various feedbacks from the WMF developers to get something similar to the WMF mobile output in ZIM files. That said, our code is full of hacks and I predict might be relatively costly to maintain over time.
Considering that Parsoid output is probably the most valuable form of Mediawiki content, this problem should be tacle somehow if we want to push content reusing.
Kiwix/openZIM will start soon to release ZIM files using this layout. We will then see how this will be welcomed and if we detect other problems Parsoid mobile output.