[go: up one dir, main page]

Page MenuHomePhabricator

Realtime PreviewComponent
ActivePublic

Members (2)

Watchers (1)

Details

Description

Community-Tech project for Realtime Preview, which is part of WikiEditor (2010)

Recent Activity

Fri, Oct 18

ReleaseTaggerBot added a project to T376964: "TypeError: template.apiData.actions is undefined" when live-previewing a page that transcludes a special page: MW-1.43-notes (1.43.0-wmf.28; 2024-10-22).
Fri, Oct 18, 1:00 AM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), JavaScript, Wikimedia-production-error, Realtime Preview, MediaWiki-Page-editing
Maintenance_bot removed a project from T376964: "TypeError: template.apiData.actions is undefined" when live-previewing a page that transcludes a special page: Patch-For-Review.
Fri, Oct 18, 12:30 AM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), JavaScript, Wikimedia-production-error, Realtime Preview, MediaWiki-Page-editing
matmarex closed T376964: "TypeError: template.apiData.actions is undefined" when live-previewing a page that transcludes a special page as Resolved.
Fri, Oct 18, 12:16 AM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), JavaScript, Wikimedia-production-error, Realtime Preview, MediaWiki-Page-editing
gerritbot added a comment to T376964: "TypeError: template.apiData.actions is undefined" when live-previewing a page that transcludes a special page.

Change #1080320 merged by jenkins-bot:

[mediawiki/core@master] live preview: Do not add edit/view-source link for special pages

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

Fri, Oct 18, 12:14 AM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), JavaScript, Wikimedia-production-error, Realtime Preview, MediaWiki-Page-editing
gerritbot added a comment to T376964: "TypeError: template.apiData.actions is undefined" when live-previewing a page that transcludes a special page.

Change #1080323 merged by jenkins-bot:

[mediawiki/core@master] TemplatesOnThisPage: Do not show non-functional link for special pages

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

Fri, Oct 18, 12:14 AM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), JavaScript, Wikimedia-production-error, Realtime Preview, MediaWiki-Page-editing

Thu, Oct 17

matmarex added a comment to T376964: "TypeError: template.apiData.actions is undefined" when live-previewing a page that transcludes a special page.

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).

Thu, Oct 17, 11:55 PM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), JavaScript, Wikimedia-production-error, Realtime Preview, MediaWiki-Page-editing

Oct 15 2024

gerritbot added a comment to T376964: "TypeError: template.apiData.actions is undefined" when live-previewing a page that transcludes a special page.

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

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

Oct 15 2024, 4:40 PM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), JavaScript, Wikimedia-production-error, Realtime Preview, MediaWiki-Page-editing
Ammarpad added a comment to T376964: "TypeError: template.apiData.actions is undefined" when live-previewing a page that transcludes a special page.

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.

Oct 15 2024, 4:33 PM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), JavaScript, Wikimedia-production-error, Realtime Preview, MediaWiki-Page-editing
gerritbot added a project to T376964: "TypeError: template.apiData.actions is undefined" when live-previewing a page that transcludes a special page: Patch-For-Review.
Oct 15 2024, 4:21 PM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), JavaScript, Wikimedia-production-error, Realtime Preview, MediaWiki-Page-editing
gerritbot added a comment to T376964: "TypeError: template.apiData.actions is undefined" when live-previewing a page that transcludes a special page.

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

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

Oct 15 2024, 4:21 PM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), JavaScript, Wikimedia-production-error, Realtime Preview, MediaWiki-Page-editing

Oct 11 2024

Ammarpad changed the status of T376964: "TypeError: template.apiData.actions is undefined" when live-previewing a page that transcludes a special page from Open to In Progress.
Oct 11 2024, 12:20 PM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), JavaScript, Wikimedia-production-error, Realtime Preview, MediaWiki-Page-editing

Oct 10 2024

Nardog added a comment to T376875: Parse API does not return category-triggered gadgets.

the category existence check has already happened on the first server loading of the edit page which is the only load for live preview

Oct 10 2024, 10:35 PM · Realtime Preview, MediaWiki-Page-editing, MediaWiki-extensions-Gadgets
Nardog moved T376964: "TypeError: template.apiData.actions is undefined" when live-previewing a page that transcludes a special page from Backlog to Live preview on the MediaWiki-Page-editing board.
Oct 10 2024, 10:30 PM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), JavaScript, Wikimedia-production-error, Realtime Preview, MediaWiki-Page-editing
Nardog renamed T376964: "TypeError: template.apiData.actions is undefined" when live-previewing a page that transcludes a special page from "TypeError: template.apiData.actions is undefined" when live-previewing page that transcludes a special page to "TypeError: template.apiData.actions is undefined" when live-previewing a page that transcludes a special page.
Oct 10 2024, 10:30 PM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), JavaScript, Wikimedia-production-error, Realtime Preview, MediaWiki-Page-editing
Nardog created T376964: "TypeError: template.apiData.actions is undefined" when live-previewing a page that transcludes a special page.
Oct 10 2024, 10:30 PM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), JavaScript, Wikimedia-production-error, Realtime Preview, MediaWiki-Page-editing
Ammarpad removed projects from T376875: Parse API does not return category-triggered gadgets: MediaWiki-Parser, MediaWiki-Action-API.

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.

Oct 10 2024, 8:46 PM · Realtime Preview, MediaWiki-Page-editing, MediaWiki-extensions-Gadgets
Nardog added a parent task for T376875: Parse API does not return category-triggered gadgets: T63007: Allow specifying when a gadget should load (action, namespace, content model).
Oct 10 2024, 8:23 AM · Realtime Preview, MediaWiki-Page-editing, MediaWiki-extensions-Gadgets
Nardog created T376875: Parse API does not return category-triggered gadgets.
Oct 10 2024, 8:22 AM · Realtime Preview, MediaWiki-Page-editing, MediaWiki-extensions-Gadgets

Aug 25 2024

Izno removed a parent task for T367657: Interlanguage links not available in live preview with Vector 2022: T41272: Bugs in "Live preview" feature (tracking).
Aug 25 2024, 8:35 PM · Desktop Improvements (Vector 2022) (Tracking), Wikidata, JavaScript, MediaWiki-Page-editing, Realtime Preview, Wikidata Sitelinks, UniversalLanguageSelector

Aug 9 2024

thiemowmde edited projects for T359548: State indicating buttons should use inverted icons (white on blue), added: WikiEditor (2010), Realtime Preview; removed MediaWiki-Page-editing.
Aug 9 2024, 10:39 AM · Realtime Preview, WikiEditor (2010), Design, Accessibility, MediaWiki-extensions-CodeMirror, Community-Tech

Aug 3 2024

happy5214 moved T308423: Double border in toolbar on narrow screens from Backlog to Closed on the WikiEditor (2010) board.
Aug 3 2024, 12:15 AM · MW-1.42-notes (1.42.0-wmf.17; 2024-02-06), WikiEditor (2010), Community-Tech (CommTech-Kanban), VisualEditor, WMF-Internships-2023, Realtime Preview

Jun 20 2024

Nardog updated the task description for T367657: Interlanguage links not available in live preview with Vector 2022.
Jun 20 2024, 6:01 PM · Desktop Improvements (Vector 2022) (Tracking), Wikidata, JavaScript, MediaWiki-Page-editing, Realtime Preview, Wikidata Sitelinks, UniversalLanguageSelector
Jdlrobson moved T367657: Interlanguage links not available in live preview with Vector 2022 from Incoming to Tracking on the Desktop Improvements (Vector 2022) board.
Jun 20 2024, 5:15 PM · Desktop Improvements (Vector 2022) (Tracking), Wikidata, JavaScript, MediaWiki-Page-editing, Realtime Preview, Wikidata Sitelinks, UniversalLanguageSelector
Tacsipacsi added a comment to T367657: Interlanguage links not available in live preview with Vector 2022.

There has been no effort yet to define a contract for how language links would update in preview

Jun 20 2024, 12:57 PM · Desktop Improvements (Vector 2022) (Tracking), Wikidata, JavaScript, MediaWiki-Page-editing, Realtime Preview, Wikidata Sitelinks, UniversalLanguageSelector

Jun 19 2024

TheDJ added a comment to T367657: Interlanguage links not available in live preview with Vector 2022.

It looks like live preview makes assumptions about how language links work that hold only in Vector 2010.

Jun 19 2024, 9:26 AM · Desktop Improvements (Vector 2022) (Tracking), Wikidata, JavaScript, MediaWiki-Page-editing, Realtime Preview, Wikidata Sitelinks, UniversalLanguageSelector

Jun 18 2024

Tacsipacsi added a comment to T367657: Interlanguage links not available in live preview with Vector 2022.

It’s not specific to Vector 2022. I tested all seven skins available on WMF wikis, the results:

Jun 18 2024, 11:45 PM · Desktop Improvements (Vector 2022) (Tracking), Wikidata, JavaScript, MediaWiki-Page-editing, Realtime Preview, Wikidata Sitelinks, UniversalLanguageSelector

Jun 16 2024

Maintenance_bot added a project to T367657: Interlanguage links not available in live preview with Vector 2022: Wikidata.
Jun 16 2024, 4:30 PM · Desktop Improvements (Vector 2022) (Tracking), Wikidata, JavaScript, MediaWiki-Page-editing, Realtime Preview, Wikidata Sitelinks, UniversalLanguageSelector
Nardog added a parent task for T367657: Interlanguage links not available in live preview with Vector 2022: T41272: Bugs in "Live preview" feature (tracking).
Jun 16 2024, 3:36 PM · Desktop Improvements (Vector 2022) (Tracking), Wikidata, JavaScript, MediaWiki-Page-editing, Realtime Preview, Wikidata Sitelinks, UniversalLanguageSelector
Nardog created T367657: Interlanguage links not available in live preview with Vector 2022.
Jun 16 2024, 3:35 PM · Desktop Improvements (Vector 2022) (Tracking), Wikidata, JavaScript, MediaWiki-Page-editing, Realtime Preview, Wikidata Sitelinks, UniversalLanguageSelector

May 31 2024

JWheeler-WMF moved T311405: Preview gives no indication that it is out of date from CommTech Backlog to Maintenance Backlog on the Community-Tech board.
May 31 2024, 6:59 PM · Community-Tech, Realtime Preview
JWheeler-WMF moved T316856: Realtime Preview does not interact well with Syntax highlighter gadget from CommTech Backlog to Maintenance Backlog on the Community-Tech board.
May 31 2024, 6:59 PM · Community-Tech, Realtime Preview

May 7 2024

Ykhwong added a comment to T364263: {{Clickable button 2}} not rendering properly in realtime preview and Visual Editor.

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 7 2024, 10:02 AM · MediaWiki-Page-editing, Realtime Preview, VisualEditor

May 5 2024

Bluehill395 added a comment to T364263: {{Clickable button 2}} not rendering properly in realtime preview and Visual Editor.

There is also an issue with the preview of the 2017 Wikitext Editor. Could this have something to do with Parsoid?

May 5 2024, 1:57 PM · MediaWiki-Page-editing, Realtime Preview, VisualEditor
Bluehill395 updated the task description for T364263: {{Clickable button 2}} not rendering properly in realtime preview and Visual Editor.
May 5 2024, 1:53 PM · MediaWiki-Page-editing, Realtime Preview, VisualEditor
Bluehill395 updated the task description for T364263: {{Clickable button 2}} not rendering properly in realtime preview and Visual Editor.
May 5 2024, 1:50 PM · MediaWiki-Page-editing, Realtime Preview, VisualEditor
Bluehill395 edited projects for T364263: {{Clickable button 2}} not rendering properly in realtime preview and Visual Editor, added: Realtime Preview, MediaWiki-Page-editing; removed MediaWiki-General.

I'm not sure what tag to put on this, but I'll put it like this.

May 5 2024, 1:38 PM · MediaWiki-Page-editing, Realtime Preview, VisualEditor

Apr 3 2024

MusikAnimal moved T360708: Realtime Preview does not work with CodeMirror 6 from CodeMirror 6 to Done on the MediaWiki-extensions-CodeMirror board.
Apr 3 2024, 1:34 AM · Community-Tech (CommTech-Kanban), MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), Patch-For-Review, Realtime Preview, MediaWiki-extensions-CodeMirror

Apr 1 2024

MusikAnimal closed T360708: Realtime Preview does not work with CodeMirror 6 as Resolved.
Apr 1 2024, 6:39 PM · Community-Tech (CommTech-Kanban), MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), Patch-For-Review, Realtime Preview, MediaWiki-extensions-CodeMirror
GMikesell-WMF moved T360708: Realtime Preview does not work with CodeMirror 6 from QA 🐛 to Done 🏁 on the Community-Tech (CommTech-Kanban) board.
Apr 1 2024, 6:35 PM · Community-Tech (CommTech-Kanban), MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), Patch-For-Review, Realtime Preview, MediaWiki-extensions-CodeMirror
GMikesell-WMF updated the task description for T360708: Realtime Preview does not work with CodeMirror 6.
Apr 1 2024, 6:35 PM · Community-Tech (CommTech-Kanban), MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), Patch-For-Review, Realtime Preview, MediaWiki-extensions-CodeMirror
GMikesell-WMF added a comment to T360708: Realtime Preview does not work with CodeMirror 6.

@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!

Apr 1 2024, 6:34 PM · Community-Tech (CommTech-Kanban), MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), Patch-For-Review, Realtime Preview, MediaWiki-extensions-CodeMirror

Mar 29 2024

JWheeler-WMF triaged T311405: Preview gives no indication that it is out of date as Low priority.

Moving to backlog as this has hung around for quite some time without any action

Mar 29 2024, 5:12 PM · Community-Tech, Realtime Preview
JWheeler-WMF moved T360708: Realtime Preview does not work with CodeMirror 6 from On deck (June 25-July 5) to CommTech-Kanban on the Community-Tech board.
Mar 29 2024, 5:09 PM · Community-Tech (CommTech-Kanban), MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), Patch-For-Review, Realtime Preview, MediaWiki-extensions-CodeMirror
JWheeler-WMF moved T360708: Realtime Preview does not work with CodeMirror 6 from CommTech-Kanban to On deck (June 25-July 5) on the Community-Tech board.
Mar 29 2024, 5:09 PM · Community-Tech (CommTech-Kanban), MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), Patch-For-Review, Realtime Preview, MediaWiki-extensions-CodeMirror
MusikAnimal moved T360708: Realtime Preview does not work with CodeMirror 6 from Review/Feedback 💬 to QA 🐛 on the Community-Tech (CommTech-Kanban) board.
Mar 29 2024, 4:06 PM · Community-Tech (CommTech-Kanban), MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), Patch-For-Review, Realtime Preview, MediaWiki-extensions-CodeMirror

Mar 28 2024

ReleaseTaggerBot added a project to T360708: Realtime Preview does not work with CodeMirror 6: MW-1.42-notes (1.42.0-wmf.25; 2024-04-02).
Mar 28 2024, 6:00 AM · Community-Tech (CommTech-Kanban), MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), Patch-For-Review, Realtime Preview, MediaWiki-extensions-CodeMirror
gerritbot added a comment to T360708: Realtime Preview does not work with CodeMirror 6.

Change #1013403 merged by jenkins-bot:

[mediawiki/extensions/CodeMirror@master] CodeMirrorWikiEditor: add Realtime Preview handler

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

Mar 28 2024, 5:01 AM · Community-Tech (CommTech-Kanban), MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), Patch-For-Review, Realtime Preview, MediaWiki-extensions-CodeMirror

Mar 26 2024

JWheeler-WMF triaged T316856: Realtime Preview does not interact well with Syntax highlighter gadget as Medium priority.

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.

Mar 26 2024, 10:01 PM · Community-Tech, Realtime Preview
dom_walden added a comment to T316856: Realtime Preview does not interact well with Syntax highlighter gadget.

@dom_walden are you still able to reproduce this issue, and does it only happen on RTL editors?

Mar 26 2024, 2:41 PM · Community-Tech, Realtime Preview
JWheeler-WMF closed T317088: Make it easier to toggle auto-reload on and off as Declined.

Sounds good to me!

Mar 26 2024, 1:35 AM · Community-Tech, Realtime Preview