Community Wishlist Survey 2017/Mobile and apps/Syntax highlighting for code snippets in mobile app
Jump to navigation
Jump to search
Syntax highlighting for code snippets in mobile app
- Problem: No syntax highlighting while reading articles with code or Lua modules in the Wikipedia mobile application
- Who would benefit: anyone using the Wikipedia mobile app
- Proposed solution: simply integrate syntax highlighting in the code surrounded by <code/>
- More comments: none
- Phabricator tickets:
- Proposer: Hello903hello (talk) 12:43, 11 November 2017 (UTC)
- Translations: none yet
Discussion[edit]
- I created a ticket for this problem. phab:T180332 (Forgot to sign this before —TheDJ (talk • contribs))
- This is something the Android app team has looked into, and there is a basic prototype. Generally, the challenge here is around performance (ie. making the highlighting be quick enough to be useful). But overall this is something we'd all like to see in the apps. JMinor (WMF) (talk) 18:54, 20 November 2017 (UTC)
- @JMinor (WMF): I think this is asking for non-WikiText syntax highlighting, i.e. for code snippets or Module pages. Ryan Kaldari (WMF) (talk) 21:43, 20 November 2017 (UTC)
- Oh, thanks Ryan Kaldari (WMF) I should have read more carefully. In that case I think the ticket linked is the right way to go.
- @JMinor (WMF): I think this is asking for non-WikiText syntax highlighting, i.e. for code snippets or Module pages. Ryan Kaldari (WMF) (talk) 21:43, 20 November 2017 (UTC)
- The ticket linked above has been completed (for Android) and will be deployed with our next release. Wish granted! DBrant (WMF) (talk) 19:59, 28 November 2017 (UTC)
Voting[edit]
Support --Liuxinyu970226 (talk) 13:14, 28 November 2017 (UTC)
Support Thomas Obermair 4 (talk) 22:05, 28 November 2017 (UTC)
Support Donald Trung (Talk 🤳🏻) (My global lock 🔒) (My global unlock 🔓) 10:33, 29 November 2017 (UTC)
Support WQL (talk) 09:44, 1 December 2017 (UTC)
Support It doesn’t work perfectly yet on Android and doesn’t work at all on iOS. Tacsipacsi (talk) 19:32, 3 December 2017 (UTC)
Support Alangi Derick (talk) 15:12, 8 December 2017 (UTC)
Support X:: black ::X (talk) 16:01, 11 December 2017 (UTC)
Support KPFC 💬 16:53, 11 December 2017 (UTC)