Jump to content

User:TheresNoTime/enableRealTimePreview

From Wikipedia, the free encyclopedia
enableRealTimePreview
UpdatedSeptember 28, 2022
    (2 years ago)
SourceenableRealTimePreview.js

Manually enables WikiEditor's real-time preview feature — you may wish to use this to test out RTP before it's enabled on your project. I created this entirely in my capacity as a volunteer, and it is not supported by Community Tech.

Please note: You should disable this script once RTP is enabled on your project and use the beta feature instead.

Installation

[edit]

Hint: It's much easier if you get ScriptInstaller, then navigate to User:TheresNoTime/enableRealTimePreview.js and click "Install" at the top.

Manual

[edit]

Add the following line to your common.js page:

mw.loader.load('//en.wiki.x.io/w/index.php?title=User:TheresNoTime/enableRealTimePreview.js&action=raw&ctype=text/javascript'); // Backlink: [[User:TheresNoTime/enableRealTimePreview.js]]

Then save and purge your cache.

Bugs

[edit]

Bugs with real-time preview (not this user script) should be reported on phabricator — though please do mention that you're manually enabling the feature via this script, as it may be relevant.