Last modified: 2014-04-23 12:56:40 UTC
It would be good to leverage CodeEditor's syntax highlighting and line numbering when viewing a non-editable page source, for example: http://meta.wikimedia.org/w/index.php?title=Schema:Sandbox&action=edit (for anon users).
It seems we don't have any type of hook for the textfield in this sort of view... So to enable this, we need to add a change to core I think...
Change 120396 had a related patch set uploaded by TheDJ: New hook for readonly editpages https://gerrit.wikimedia.org/r/120396
Change 120397 had a related patch set uploaded by TheDJ: [Do not merge] Allow the CodeEditor in read only mode https://gerrit.wikimedia.org/r/120397
Change 120396 merged by Mwalker: New hook for readonly editpages https://gerrit.wikimedia.org/r/120396
Change 120397 merged by jenkins-bot: Allow the CodeEditor in read only mode https://gerrit.wikimedia.org/r/120397