Page MenuHomePhabricator

Syntax highlighting missing in mobile app
Open, Needs TriagePublic

Description

At least the iOS, but likely also the Android app, do not apply syntax highlighting to articles or Modules containing code.

Example, the article Lua (programming language)

Related Objects

StatusSubtypeAssignedTask
OpenNone
ResolvedMhurd

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 392067 had a related patch set uploaded (by Dbrant; owner: Dbrant):
[apps/android/wikipedia@master] Include syntax highlighting CSS styles.

https://gerrit.wikimedia.org/r/392067

Change 392067 merged by jenkins-bot:
[apps/android/wikipedia@master] Include syntax highlighting CSS styles.

https://gerrit.wikimedia.org/r/392067

<syntaxhighlight> works well in the latest alpha, but modules (e.g. Module:String) and CSS/JS pages (MediaWiki:Common.css/js) not. I suppose it doesn’t check the content type. Modules also don’t show documentation.

Please reopen if still an issue.

Please reopen if still an issue.

Content model-based syntax highlight still doesn’t work.

DannyS712 subscribed.

Please reopen if still an issue.

Content model-based syntax highlight still doesn’t work.

@Dbrant are you still working on this?

Dbrant subscribed.

Nope.