Community-Tech project for Realtime Preview, which is part of WikiEditor (2010)
Details
Fri, Oct 18
Change #1080320 merged by jenkins-bot:
[mediawiki/core@master] live preview: Do not add edit/view-source link for special pages
Change #1080323 merged by jenkins-bot:
[mediawiki/core@master] TemplatesOnThisPage: Do not show non-functional link for special pages
Thu, Oct 17
I couldn't reproduce this at first – special page transclusion does not result in those links being shown. I eventually figured out that the links are produced by Scribunto's mw.title getContent() method. I think that's the real bug here, and I filed a task about it: T377530: Scribunto mw.title getContent() method can record templatelinks to special pages (but I still approved your patches here, as it seems reasonable to handle this case – maybe recording special page transclusions is made to work one day, or maybe no one ever fixes that Scribunto bug).
Oct 15 2024
Change #1080323 had a related patch set uploaded (by Ammarpad; author: Ammarpad):
[mediawiki/core@master] TemplatesOnThisPage: Do not show non-functional link for special pages
I think we also need to duplicate this for the non-live preview version. There's no error in that case, but a non-functional 'view-soure' link is always shown.
Change #1080320 had a related patch set uploaded (by Ammarpad; author: Ammarpad):
[mediawiki/core@master] live preview: Do not add edit/view-source link for special pages
Oct 11 2024
Oct 10 2024
the category existence check has already happened on the first server loading of the edit page which is the only load for live preview
The parse API should return ext.gadget.Calculator as one of the modules.
I believe the problem is the module presence (to be eligible for return) is dependent on category existence, but the category existence check has already happened on the first server loading of the edit page which is the only load for live preview. You can request the parsing API to return the categories of the page blindly, but then you really have to parse that info (maybe in MediaWiki-extensions-Gadgets) and dynamically load the module if it qualifies.
Aug 25 2024
Aug 9 2024
Aug 3 2024
Jun 20 2024
Jun 19 2024
Jun 18 2024
It’s not specific to Vector 2022. I tested all seven skins available on WMF wikis, the results:
- Vector 2022: broken
- Vector 2010: works
- Monobook: broken
- Timeless: broken
- Modern: broken
- Cologne Blue: broken
- Minerva: traditional preview doesn’t show language links either
Jun 16 2024
May 31 2024
May 7 2024
The issue occurred because the mediawiki.ui.button did not load during the preview. I have no idea why the problem happened. As a workaround, you can try the following script:
May 5 2024
There is also an issue with the preview of the 2017 Wikitext Editor. Could this have something to do with Parsoid?
I'm not sure what tag to put on this, but I'll put it like this.
Apr 3 2024
Apr 1 2024
@MusikAnimal Realtime Preview pane updates after a few seconds from the changes in the editor when CM6 is enabled as seen in the videos and screenshots for Beta. Test is what it was before. This will be moved to Done. Thanks for all your work!
Mar 29 2024
Moving to backlog as this has hung around for quite some time without any action
Mar 28 2024
Change #1013403 merged by jenkins-bot:
[mediawiki/extensions/CodeMirror@master] CodeMirrorWikiEditor: add Realtime Preview handler
Mar 26 2024
This is a small UX issue but something that can frustrate users. Text shouldn't overflow in the RTP when re-sizing an editing pane.
Sounds good to me!