Last modified: 2014-04-23 12:56:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47258, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45258 - Load CodeEditor on non-editable pages
Load CodeEditor on non-editable pages
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CodeEditor (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-22 00:03 UTC by Dario Taraborelli
Modified: 2014-04-23 12:56 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dario Taraborelli 2013-02-22 00:03:33 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).
Comment 1 Derk-Jan Hartman 2014-01-10 11:22:08 UTC
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...
Comment 2 Gerrit Notification Bot 2014-03-25 22:30:26 UTC
Change 120396 had a related patch set uploaded by TheDJ:
New hook for readonly editpages

https://gerrit.wikimedia.org/r/120396
Comment 3 Gerrit Notification Bot 2014-04-14 14:58:25 UTC
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
Comment 4 Gerrit Notification Bot 2014-04-15 18:16:02 UTC
Change 120396 merged by Mwalker:
New hook for readonly editpages

https://gerrit.wikimedia.org/r/120396
Comment 5 Gerrit Notification Bot 2014-04-17 03:21:23 UTC
Change 120397 merged by jenkins-bot:
Allow the CodeEditor in read only mode

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links