As many of you know, wikitext is the main building block of articles across Wikia, but it can often be hard to comprehend what you're seeing at a glance, especially on more complex pages. We're planning on introducing a feature called 'syntax highlighting', visible when editing the source code of an article, to help make this easier.
Essentially, syntax highlighting takes what is written on the page and highlights the various types of code in different colours to help a reader identify what part does what. For example, links are highlighted with a blue background, and templates become yellow.
Both types of highlighting come with light and dark themes - so it should fit in well with your community's design.
We would like to run a beta test of the tool to collect feedback and check for bugs before we begin a global rollout of the new feature.
If you are an admin of a community and would like to test out this feature on your wikia, please let us know, either in the comments below or via Special:Contact/general. It is very easy for us to switch on and off, and has no lasting impact - it just makes some tweaks to the classic editor experience for all visitors.
26 March update: the public beta has ended, and syntax highlighting has now been enabled across Wikia, in the classic editor! If you so desire, a user preference allows users turn off wikitext highlighting - it can be found on the 'Editing' tab.
Amongst other tweaks, we are also looking to add syntax highlighting to the source dialog in the VisualEditor in a future update.
Last updated: 25 March 2015. Note: this is not an exhaustive list.
If an article does not start with highlightable wikitext, or is a subpage, highlighting may be missing.Fixed in 18 March update!
There is no user preference to turn wikitext highlighting on and off.Added in 18 March update!
Highlighting might be misaligned on some pages - if you spot any examples, please let us know.Several examples fixed in 18 March update!
Syntax highlighting incorrectly reduced the line height in the source editor.Fixed in 24 March update!
Syntax highlighting uses the dark theme on some light theme wikias.Fixed in 24 March update!
- Highlighting does not currently appear in the VisualEditor's source dialog. Planned for a future update
Click here to follow the Fandom staff blog.
Interested in learning more about community management on Fandom?
Click here to view our community management blog.
Read through our Best Practices guides for keeping your community growing and healthy.
Join our Official Discord server for registered editors!