FS#46697 - {wiki} Mobile friendly/responsive theme for the wiki (and possibly other sites)

Attached to Project: Arch Linux
Opened by Bastien Traverse (Neitsab) - Tuesday, 13 October 2015, 16:49 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 15 September 2017, 13:53 GMT
Task Type Feature Request
Category Web Sites
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 9
Private No

Details

I'd like to suggest an update to Arch wiki's skin so as to make it more mobile friendly/responsive.

Argumentation outline:

- The current skin is really ill-adapted to mobile navigation, as we need to zoom in to view text, move focus around to read paragraphs etc.

- Mobile browsers' article/reading mode and dedicated app like [1] are helpful, but are dependent on client configuration and require an additional step, breaking firsthand experience; a unified look and feel would benefit the experience across devices and consolidate the high level of satisfaction the wiki currently enjoys.

- Inspiration can be taken from Gentoo's official wiki and site [2] which uses their own Bootstrap-based theme and Mediawiki skin called Tyrian [3], published under GPLv2 [4] and which provides them with a unified and modern look and feel across all devices.

I believe such a move would be highly beneficial for the Arch community, helping one of its most highly praised achievement come up to speed with the current state of web browsing and the increasingly mobile landscape. Be it a quick glance on one's phone or tablet while troubleshooting a desktop/laptop or more thorough reading and editing while on the go, a more responsive design may only improve things for users of the Arch web sites.

[1]: https://bbs.archlinux.org/viewtopic.php?id=150538
[2]: https://wiki.gentoo.org/
[3]: https://wiki.gentoo.org/wiki/Gentoo_Wiki:About#Setup
[4]: https://gitweb.gentoo.org/proj/gentoo-wiki-tyrian.git/tree/COPYING

Additional info:

Forum thread where the initial suggestion was made: https://bbs.archlinux.org/viewtopic.php?pid=1569997, garnering forum moderator fukawi2's support.

Steps to reproduce:
- browse to the Arch wiki from a mobile device and be faced with the necessity to zoom in to read the articles;
- browse to the official page from a phone to read the latest news before upgrading the system, and struggle to read it.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Friday, 15 September 2017, 13:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  https://bbs.archlinux.org/viewtopic.php? id=229523 should be a fairly comprehensive fix
Comment by Jakub Klinkovský (lahwaacz) - Tuesday, 13 October 2015, 18:18 GMT
The new skin has to be developed by somebody. Users can test their modifications on a local installation of MediaWiki (see e.g. [1]), but since this approach is not straightforward, I've opened  FS#46699  with request for enabling user-stylesheets, which would make it much easier for users to contribute.

[1] https://wiki.archlinux.org/index.php/User:Lahwaacz/LocalArchWiki

P.S.: If anybody has the rights to do so, please prepend "{wiki}" to the task title to make the categorization of wiki bugs more clear.
https://bugs.archlinux.org/index.php?string={wiki}&project=1
Comment by Shohei Kusakata (kusakata) - Tuesday, 03 November 2015, 13:30 GMT
I'm the administrator of Japanese ArchWiki, which experimentally supports mobile devices (try to visit [1] with your Android/iPhone). To make MediaWiki responsive, it's required to apply a mobile-friendly-transforming stylesheet on top of ArchWiki's default ones, as well as to add "viewport" meta tag by making changes in the skin script (like Gentoo's Tyrian [2]).

[1] https://wiki.archlinuxjp.org/
[2] https://gitweb.gentoo.org/proj/gentoo-wiki-tyrian.git/tree/Tyrian.php
Comment by Jakub Klinkovský (lahwaacz) - Saturday, 23 July 2016, 19:22 GMT
Oops, of course this is not implemented yet - I confused this with  FS#46699 ...
Comment by Victor Hermann Chiletto (vitorhnn) - Tuesday, 23 August 2016, 20:46 GMT
For the wiki, MediaWiki has an extension [1], which is used by Wikipedia for their mobile version.

[1] https://www.mediawiki.org/wiki/Extension:MobileFrontend
Comment by Alif (alive4ever) - Saturday, 18 March 2017, 19:30 GMT
I've created some modification to make use of archwikijp mobile.css

Here is my pull request to be included in the archwiki project. Patches are
also attached, in case somebody doesn't want to visit another site.

The following changes since commit 8a8f184693946343aee7194f6a2ccd5580a35bf3:

Add menu entry to security.archlinux.org (2017-02-18 21:34:23 +0100)

are available in the git repository at:

https://bitbucket.org/alive4ever/wiki.archlinux.org/branch/mobile-friendly

for you to fetch changes up to 151c1c6a1d06cc07a4feff87be38af9471d6f51b:

skins/Archlinux: make use of mobile.css (2017-03-19 02:05:11 +0700)

----------------------------------------------------------------
Alif (2):
skins/ArchLinux: import mobile.css
skins/Archlinux: make use of mobile.css

skins/ArchLinux/SkinArchLinux.php | 2 +
skins/ArchLinux/arch.css | 8 +++
skins/ArchLinux/mobile.css | 127 ++++++++++++++++++++++++++++++++++++++
3 files changed, 137 insertions(+)
create mode 100644 skins/ArchLinux/mobile.css
Comment by Pierre Schmitz (Pierre) - Sunday, 19 March 2017, 12:12 GMT
I am evaluating the Mobile Frontend Extension on https://wiki.archlinux.de atm. Following upstream (MediaWiki) here might be a good idea.
Comment by Alif (alive4ever) - Sunday, 19 March 2017, 13:01 GMT
Yeah, it's a good idea since it would make updating easier.
Less modification means less breakage when something is updated.
Comment by Alif (alive4ever) - Sunday, 19 March 2017, 15:19 GMT
With MobileFrontend extension, css can be modified on the special wiki page

https://wiki.archlinux.de/title/MediaWiki:Mobile.css

Without customization, expect plain Wikipedia look n style on mobile devices.
Comment by Pierre Schmitz (Pierre) - Monday, 20 March 2017, 18:16 GMT
I have updated MediaWiki to 1.28 and also enabled MobileFrontend. Let's see how it performs. As for CSS changes: We should try to put these into version control if possible. For now I don'T mind the WikiPedia theme that much; it's quite efficient.
Comment by Bastien Traverse (Neitsab) - Saturday, 25 March 2017, 16:19 GMT
Thanks a lot Pierre for taking the time to update MediaWiki and enable MobileFrontend, this brings the Arch wiki in the 21st century!

It's been quite reliable performance-wise in my very quick testing. However, the change to a default/non-Arch theme is very destabilizing. I'm afraid user reports will start pouring soon (if it hasn't already, I haven't checked the mailing list). I'd highly recommend changing the colors to match the regular/desktop theme, which will preserve the visual context and provide some familiarity.

Comment by Alif (alive4ever) - Monday, 27 March 2017, 19:16 GMT
I've been working on making the BBS mobile friendly, by importing mobile.css from archbbs-jp[1] and
adding meta viewport and style sheet rule to load mobile.css on devices less than 790px width.

The changes are available under 'mobile-friendly' branch on my repository[2].

Patches are attached, which can be applied using 'git am $PATCHFILES'

[1] https://github.com/ArchLinuxJP/archbbs-jp
[2] https://bitbucket.org/alive4ever/bbs.archlinux.org
Comment by Doron Behar (doronbehar) - Wednesday, 31 May 2017, 14:17 GMT
Hi, I'm new to the archlinux community but I stumbled upon this PR (if one should call it so) and forgive my stupidity if I'm wrong, but this bug is not closed yet right? I remember sometime ago the arch Linux websites **had** a mobile friendly interface but as far as I can remember, It came back to the old, unfriendly interface for mobiles a few weeks later. What is holding this issue from being solved?
Comment by Dario Giovannetti (kynikos) - Saturday, 03 June 2017, 10:41 GMT
@doronbehar: Hi, in the footer of all "regular" wiki pages there's a "Mobile view" link, and mobile-friendly pages have an analogous "Desktop" link. My experience is that both links work, and the choice is stored in a cookie and remembered at the next visit.
Comment by Doron Behar (doronbehar) - Saturday, 03 June 2017, 11:08 GMT
Thanks! I still think this should be automatically detected but whatever.

Loading...