Page MenuHomePhabricator

MediaWiki-Page-editingComponent
ActivePublic

Watchers (4)

Details

Description

Issues relating to the editing pages.

This includes:

  • The edit page (index action=edit, EditPage):
    • its form, its javascript, saving, PHP hooks, edit conflicts, previewing
    • Live Preview
  • API: The edit API (api action=edit, ApiEditPage).
  • Stash: Edit stashing (api action=stashedit, ApiStashEdit), and its JS client on core's edit page.

This project is part of the core MediaWiki software itself.

See also

Recent Activity

Thu, Oct 31

Izno updated subscribers of T373768: Notes in Edit Preview are numbered like references instead of lettered.

@awight I think this request is covered by something or another in the T370027: [Epic] Parsoid CSS counter reset footnote numbering mechanism should be dropped in favor of plain text pile?

Thu, Oct 31, 7:44 PM · Cite, MediaWiki-Page-editing
cscott added a comment to T7004: Keep the pipe trick ([[Piped link|]]) syntax in wikitext instead of converting it at pre-save transform.

Cross-referencing a few other pipetrick-related bugs, in case someone decides to do some work on pipetrick again:

Thu, Oct 31, 2:41 PM · MediaWiki-Page-editing

Wed, Oct 23

MaryMunyoki edited projects for T377054: Using the grave accent key on my keyboard inserts <nowiki> tags , added: MediaWiki-Page-editing; removed LPL Technical Support.
Wed, Oct 23, 5:00 PM · MediaWiki-Page-editing

Tue, Oct 22

MusikAnimal closed T257894: Suggested Parameters don't respect Template Data paramOrder, a subtask of T280927: paramOrder in TemplateData does not work for unnamed template parameters in VisualEditor , as Resolved.
Tue, Oct 22, 4:55 PM · MediaWiki-Page-editing, TemplateData, VisualEditor

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

Tue, Oct 15

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

Tue, Oct 15, 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.

Tue, Oct 15, 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.
Tue, Oct 15, 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

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

Mon, Oct 14

Pppery edited projects for T216893: PageUpdater#saveRevision hook call PageContentSave is causing $summary to be a string, added: MediaWiki-Page-editing; removed Growth-Team-Filtering, Growth-Team, MediaWiki-General, StructuredDiscussions.

Anything left to do here?

Mon, Oct 14, 5:23 PM · MediaWiki-Page-editing, MW-1.33-notes (1.33.0-wmf.23; 2019-03-26)
Pppery removed projects from T139019: statistics about edit conflicts according to page type: Growth-Team-Filtering, Growth-Team, StructuredDiscussions.
Mon, Oct 14, 5:11 PM · Data-Engineering-Icebox, Analytics-Radar, research-ideas, Community-Tech (2015-2017), Two-Column-Edit-Conflict-Merge, MediaWiki-Page-editing

Fri, Oct 11

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.
Fri, Oct 11, 12:20 PM · MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), JavaScript, Wikimedia-production-error, Realtime Preview, MediaWiki-Page-editing

Thu, Oct 10

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

Thu, Oct 10, 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.
Thu, Oct 10, 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.
Thu, Oct 10, 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.
Thu, Oct 10, 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.

Thu, Oct 10, 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).
Thu, Oct 10, 8:23 AM · Realtime Preview, MediaWiki-Page-editing, MediaWiki-extensions-Gadgets
Nardog created T376875: Parse API does not return category-triggered gadgets.
Thu, Oct 10, 8:22 AM · Realtime Preview, MediaWiki-Page-editing, MediaWiki-extensions-Gadgets
Krinkle added a comment to T376647: Warning icon in error message lacks alignment and color contrast.
Thu, Oct 10, 1:34 AM · MediaWiki-Page-editing, Regression, Codex, Design-System-Team

Wed, Oct 9

CCiufo-WMF added a comment to T376647: Warning icon in error message lacks alignment and color contrast.

Would https://codesearch.wmcloud.org/deployed/?q=cdx-message be comprehensive?

Wed, Oct 9, 9:54 PM · MediaWiki-Page-editing, Regression, Codex, Design-System-Team
CCiufo-WMF added a comment to T376647: Warning icon in error message lacks alignment and color contrast.

Thanks for the writeup @Krinkle, I think you've identified an important piece that wasn't directly considered when these messages boxes were ported to use the Codex styles: that historically on the wikis, the color of a message has been used in different ways, often to signal importance/urgency, rather than a semantic connection to a specific type of message (error, warning, success, notice). Maybe that should change, but it would probably need to be done on a case-by-case basis for each message so that a decision can be made depending on the context. Either way, the presence of the icons is clearly unexpected based on the existing designs of many these messages.

Wed, Oct 9, 9:50 PM · MediaWiki-Page-editing, Regression, Codex, Design-System-Team
Krinkle added a comment to T376647: Warning icon in error message lacks alignment and color contrast.

The use of an icon in addition to the color of the message allows for a similar level of cognitive load, as long as the icon is accessible, […]

Wed, Oct 9, 7:16 PM · MediaWiki-Page-editing, Regression, Codex, Design-System-Team
Krinkle added a comment to T376647: Warning icon in error message lacks alignment and color contrast.

Another example:
https://wikitech.wikimedia.org/w/index.php?title=User:Krinkle/common.js&action=edit

Wed, Oct 9, 6:24 PM · MediaWiki-Page-editing, Regression, Codex, Design-System-Team

Tue, Oct 8

CCiufo-WMF added a comment to T376647: Warning icon in error message lacks alignment and color contrast.

Thanks @DTorsani-WMF, sounds like the icon will be accessible if we choose to keep using it in this way.

Tue, Oct 8, 8:38 PM · MediaWiki-Page-editing, Regression, Codex, Design-System-Team
DTorsani-WMF added a comment to T376647: Warning icon in error message lacks alignment and color contrast.

The changes proposed in T376641 as a result of T371119 would introduce a very minor adjustment to the 500 value of all colors, which will serve as the status icon colors in light mode, ensuring sufficient contrast on any background that Codex supplies as tokens.

Tue, Oct 8, 3:22 PM · MediaWiki-Page-editing, Regression, Codex, Design-System-Team

Mon, Oct 7

CCiufo-WMF moved T376647: Warning icon in error message lacks alignment and color contrast from Inbox to Triaging on the Design-System-Team board.

I think one thing we need to look into is whether we need to support status messages without icons. It does feel a bit restrictive to me that an icon is required.

Mon, Oct 7, 8:36 PM · MediaWiki-Page-editing, Regression, Codex, Design-System-Team
Pppery added a project to T323444: Give clarified error message when viewing &action=edit without sufficient rights: MediaWiki-Page-editing.
Mon, Oct 7, 8:00 PM · MediaWiki-Page-editing, MediaWiki-User-Interface

Oct 7 2024

Krinkle edited projects for T376647: Warning icon in error message lacks alignment and color contrast, added: MediaWiki-Page-editing; removed MediaWiki-User-Interface.
Oct 7 2024, 6:53 PM · MediaWiki-Page-editing, Regression, Codex, Design-System-Team

Oct 6 2024

Pppery added a project to T376557: Make autosummary able to be disabled per namespace: MediaWiki-Page-editing.
Oct 6 2024, 4:32 AM · MediaWiki-Page-editing, Patch-For-Review

Oct 3 2024

Jdlrobson closed T375246: Edit page should include Codex styles for message box as Resolved.

This one is fixed visually - I am seeing the inline Codex styles and block styles.
There is follow up work to not rely on Skin.php to load it - I'm going to resolve this and track that work in T375287.

Oct 3 2024, 2:53 PM · MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), MediaWiki-Page-editing

Sep 22 2024

Pppery edited projects for T375350: Improve conjugation in post-edit confirmation messages, added: MediaWiki-Page-editing, I18n; removed MediaWiki-Internationalization.
Sep 22 2024, 7:53 PM · I18n, MediaWiki-Page-editing
gh87 changed the subtype of T181021: Modify the leading for the default MediaWiki editor from "Task" to "Feature Request".
Sep 22 2024, 2:55 AM · CSS, MediaWiki-Page-editing

Sep 21 2024

Od1n added a comment to T373315: collapsibleFooter should be redesigned, maybe using <summary> and <details>?.

I just noticed that when viewing source of a page that is edit-protected, the sections are not made collapsible.

Sep 21 2024, 6:58 PM · MediaWiki-Page-editing, Patch-For-Review

Sep 20 2024

Jdlrobson changed the status of T375246: Edit page should include Codex styles for message box from Open to Stalled.

Stalling until we have T375287 in place so can identify other pages.

Sep 20 2024, 10:19 PM · MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), MediaWiki-Page-editing
ReleaseTaggerBot added a project to T375246: Edit page should include Codex styles for message box: MW-1.43-notes (1.43.0-wmf.24; 2024-09-24).
Sep 20 2024, 6:00 PM · MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), MediaWiki-Page-editing
Maintenance_bot removed a project from T375246: Edit page should include Codex styles for message box: Patch-For-Review.
Sep 20 2024, 5:30 PM · MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), MediaWiki-Page-editing
gerritbot added a comment to T375246: Edit page should include Codex styles for message box.

Change #1074471 merged by jenkins-bot:

[mediawiki/core@master] Add Codex message box style module to pages that need it

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

Sep 20 2024, 5:22 PM · MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), MediaWiki-Page-editing
CCiufo-WMF updated the task description for T375246: Edit page should include Codex styles for message box.
Sep 20 2024, 5:02 PM · MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), MediaWiki-Page-editing
Jdlrobson added a parent task for T375246: Edit page should include Codex styles for message box: T373602: FlaggedRevs: Codex styles display unstyled in some conditions.
Sep 20 2024, 4:27 PM · MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), MediaWiki-Page-editing
gerritbot added a project to T375246: Edit page should include Codex styles for message box: Patch-For-Review.
Sep 20 2024, 4:16 PM · MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), MediaWiki-Page-editing
gerritbot added a comment to T375246: Edit page should include Codex styles for message box.

Change #1074471 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/core@master] Style Codex message boxes on edit pages

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

Sep 20 2024, 4:16 PM · MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), MediaWiki-Page-editing
Aklapper added a project to T375246: Edit page should include Codex styles for message box: MediaWiki-Page-editing.
Sep 20 2024, 8:27 AM · MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), MediaWiki-Page-editing

Sep 17 2024

matmarex created T375004: Log messages at ERROR level on RevertedTagUpdate channel: "Could not find the revert revision in the database.".
Sep 17 2024, 7:04 PM · MediaWiki-Page-editing

Sep 11 2024

Ammarpad moved T374506: Inconsistent state of the bottom sections when awaiting for a preview response from Backlog to Live preview on the MediaWiki-Page-editing board.
Sep 11 2024, 12:38 PM · MediaWiki-Page-editing, JavaScript