Page MenuHomePhabricator

EditCheck broken in Safari, edits not saved: quotes.values().some is not a function
Closed, ResolvedPublicPRODUCTION ERROR

Description

Steps to replicate the issue (include links if applicable):

  • Edit a main namespace page on enwiki using Safari
  • Click "Publish changes"

What happens?:

Nothing - the button animates clicking, but nothing happens.

What should have happened instead?:

The button should have worked to publish the edit.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

new console.png (2,866×1,278 px, 1 MB)

Reported on:

  • macOS Sequía 15.0 and Safari 18.0
  • macOS Sonoma 14.0 and Safari 17.0

(I am reporting this on behalf of a report received on IRC, I don't experience it myself.)

Event Timeline

Restricted Application changed the subtype of this task from "Bug Report" to "Production Error". · View Herald TranscriptMar 4 2026, 10:07 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Raine renamed this task from EditCheck broken in Safari: quotes.values().some is not a function to EditCheck broken in Safari, edits not saved: quotes.values().some is not a function.Mar 4 2026, 10:22 PM
Raine updated the task description. (Show Details)

This is on https://en.wikipedia.org/wiki/Fuel_shortages_in_Venezuela. The user reports that they are able to publish changes to other pages like their sandbox, outline and bibliography for class, but not on that page.

Change #1248624 had a related patch set uploaded (by Medelius; author: Medelius):

[mediawiki/extensions/VisualEditor@master] Edit check: update for Safari < 18.4 compatibility

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

Change #1248624 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Edit check: update for Safari < 18.4 compatibility

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

Code was using Iterator#some (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Iterator/some). Unfortunately we can't lint for that as the more common Array#some is allowed.

Can't see any other instances in MW codesearch:
https://codesearch.wmcloud.org/search/?q=%5C.values%5C%28%5C%29%5C.some%5C%28&files=&excludeFiles=&repos=

ppelberg claimed this task.
ppelberg added a project: Skipped QA.

@Raine: we think this is fixed. Although, if/when you notice this not to be true, can you please boldly re-open this?