Page MenuHomePhabricator

Schnark (Michael M.)
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

User Since
Oct 7 2014, 7:11 AM (231 w, 6 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Schnark [ Global Accounts ]

Recent Activity

Thu, Mar 14

Schnark added a comment to T218257: Article creation suggestion on search should check for permissions.

Some checking whether the user is allowed to create a page or not does happen, compare https://en.wikipedia.org/w/index.php?search=talk%3Adoes+not+exist&title=Special%3ASearch and https://en.wikipedia.org/w/index.php?search=does+not+exist&title=Special%3ASearch logged out. The latter is using the message searchmenu-new-nocreate.

Thu, Mar 14, 8:41 AM · Need-volunteer, good first bug, MediaWiki-Interface, MediaWiki-Search, Discovery-Search

Wed, Mar 13

Schnark added a comment to T216413: Support accesskey (small k) in AccessKeyedElement trait.

Note that this confusion also exists in the HTML standard: Only the attribute is called accesskey, the corresponding property is accessKey, same with tabindex (that's the attribute) and tabIndex (that's the property).

Wed, Mar 13, 8:56 AM · OOUI

Sat, Mar 9

Schnark added a comment to T217921: Support for prefers-color-scheme CSS @media feature in default skins.

prefers-color-scheme is a new draft proposal, supported by (at the time of this posting) two browsers.

Well, actually this should read "prefers-color-scheme is a new draft proposal, supported by (at the time of this posting) two beta versions of browsers, but only if the user uses a supported OS." (Though AFAIK Firefox supports both MacOS and Windows, only Linux is unsupported.)

Sat, Mar 9, 10:39 AM · CologneBlue, MonoBook, Vector, Modern

Fri, Mar 8

Schnark added a comment to T217857: Be able to choose a specific wikitext editor when switching to source mode.

Technically, this is possible, and I do so in my script https://de.wikipedia.org/wiki/Benutzer:Schnark/js/veCode.js (search for EditModeOweTool).
But generally I'm not sure that two very similar options are a good idea. On which basis does a user - especially a new user - decide which of the two wikitext modes he wants to switch to? Having more choice can make things harder, not easier.

Fri, Mar 8, 8:26 AM · VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor

Wed, Mar 6

Schnark added a comment to T213426: Deprecate jquery.throttle-debounce in favour of OO.ui.debounce/throttle.

Can this note from @Krinkle be added to the description and rationale for the deprecation be added to the task description? There's really no excuse for an empty task description, especially if we're pointing people to it directly from the console.

Wed, Mar 6, 9:15 AM · Patch-For-Review, MW-1.33-notes (1.33.0-wmf.17; 2019-02-12), Technical-Debt (Deprecation), JavaScript, MediaWiki-General-or-Unknown

Tue, Mar 5

Schnark added a comment to T213522: Reconsider URL changes done by Visual Diff.

This would make it unlikely that URLs with accidental diffmode parameters are shared, while it would be automatically included in most cases where a user wants to share the exact mode.

I don't think this works, because the diffmode is remembered in user options. This would effectively stop the diffmode ever being appended after the first time the user changes it to their preference. If the user wanted to share a diffmode they would have to change the mode twice.

Tue, Mar 5, 8:03 AM · VisualEditor, VisualEditor-VisualDiffs

Mon, Mar 4

Schnark added a project to T217494: Tabs being forced down and crashing with page title: VisualEditor-Initialisation.

The label for editing the local page as wikitext is actually "Create source" (see the HTML code), and only gets changed to "Add local description source" by JS (probably VE initialization code). This changes the width of the tabs, but the check whether collapsing some tabs is necessary doesn't happen again.
Ideally, the same message would be used both on server and client side, or at least a re-check should be triggered (I actually run a $(window).trigger('resize') on most pages, which fixes this issue).

Mon, Mar 4, 10:06 AM · VisualEditor, VisualEditor-Initialisation, Vector
Schnark merged T217502: Can't select across reference in VisualEditor into T214976: Can't select across block images in Firefox.
Mon, Mar 4, 9:13 AM · Verified, User-notice, VisualEditor (Current work), VisualEditor-ContentEditable, Browser-Support-Firefox
Schnark merged task T217502: Can't select across reference in VisualEditor into T214976: Can't select across block images in Firefox.
Mon, Mar 4, 9:13 AM · VisualEditor
Schnark added a comment to T217502: Can't select across reference in VisualEditor.

Even though the different title, this is just a duplicate of T214976: Can't select across block images in Firefox, which already is fixed on master. You can verify that selecting across references works as expected in Firefox on https://de.wikipedia.beta.wmflabs.org/wiki/Https_Test_3?veaction=edit.

Mon, Mar 4, 9:12 AM · VisualEditor

Tue, Feb 26

Schnark added a comment to T217122: The message visualeditor-descriptionpagelink should insert the namespace automatically.

That would prevent local communities from changing this to a page in a different namespace, e.g. "Help". Especially, in de.wikipedia, this indeed is the case: https://de.wikipedia.org/wiki/MediaWiki:Visualeditor-descriptionpagelink

Tue, Feb 26, 9:41 AM · good first bug, VisualEditor, I18n
Schnark added a comment to T53547: VisualEditor: Provide a "view VE" mode / disable editing for protected pages.

Additionally, if the user has NWE enabled, the old wikitext editor is still used for protected pages (but NWE loads after switching to visual and back).

And if the user doesn't have NWE enabled, switching back to wikitext gives an error: "Error loading data from server: readonly."

This doesn't happen for me locally, only on Beta, which has been stuck in readonly mode for two weeks now.

Tue, Feb 26, 9:07 AM · Verified, MW-1.33-notes (1.33.0-wmf.19; 2019-02-26), VisualEditor (Current work), VisualEditor-MediaWiki

Mon, Feb 25

Shreyasminocha awarded T75714: ResourceLoader JavaScript parser should allow ES6 syntax features a Like token.
Mon, Feb 25, 3:09 AM · Performance-Team, MediaWiki-ResourceLoader

Sat, Feb 23

Schnark added a comment to T53547: VisualEditor: Provide a "view VE" mode / disable editing for protected pages.

You can only access it by switching from old wikitext editor

Or by using veaction=edit.

Sat, Feb 23, 9:21 AM · Verified, MW-1.33-notes (1.33.0-wmf.19; 2019-02-26), VisualEditor (Current work), VisualEditor-MediaWiki

Fri, Feb 22

Schnark added a comment to T214976: Can't select across block images in Firefox.

Removing the following CSS seems to fix the issue, though it will probably break something else:

.ve-ce-focusableNode * {
 -moz-user-select: none;
}
Fri, Feb 22, 10:59 AM · Verified, User-notice, VisualEditor (Current work), VisualEditor-ContentEditable, Browser-Support-Firefox

Wed, Feb 20

Schnark added a project to T216596: Pressing down arrow on keyboard does not navigate to the next line if it is starts with a link: Browser-Support-Google-Chrome.

I can reproduce the issue in Vivaldi, but not in Firefox.

Wed, Feb 20, 9:56 AM · Browser-Support-Google-Chrome, VisualEditor

Feb 15 2019

Schnark renamed T213214: Visual Editor gets stuck opening article (net::ERR_SPDY_PROTOCOL_ERROR 200/Loading failed for the <script> with source ...) from Visual Editor gets stuck opening article (net::ERR_SPDY_PROTOCOL_ERROR 200) to Visual Editor gets stuck opening article (net::ERR_SPDY_PROTOCOL_ERROR 200/Loading failed for the <script> with source ...).
Feb 15 2019, 10:56 AM · User-Ryasmeen, Traffic, Wikimedia-Apache-configuration, Operations, VisualEditor

Feb 13 2019

Schnark added a comment to T214534: VisualEditor sometimes fails to load (script load.php not loaded).

This may or may not be the same as T213214

Feb 13 2019, 10:24 AM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor

Feb 4 2019

Schnark added a comment to T214534: VisualEditor sometimes fails to load (script load.php not loaded).

Though that might be a red herring. I just noticed that the response is truncated for me, too, even though editing works fine. So perhaps the developer tools just truncate that long response for brevity.

Feb 4 2019, 9:51 AM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor
Schnark added a comment to T214534: VisualEditor sometimes fails to load (script load.php not loaded).

The last response (the modules=diffMatchPatch and so on one, that apparently is causing these issues) is truncated (it ends in this.emit('removeRow',rowProps.index,rowProps.), though the response code is still 200.

Feb 4 2019, 9:25 AM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor

Feb 1 2019

Schnark added a comment to T214534: VisualEditor sometimes fails to load (script load.php not loaded).

the long URL in my request is just 2180 characters long, as opposed to 2403 from the perhaps-too-long URL

Just ignore that, the difference is just that I counted one with %-encoding, the other without. It actually was more or less the same URL.

Feb 1 2019, 9:45 AM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor
Schnark added a comment to T214534: VisualEditor sometimes fails to load (script load.php not loaded).

(Always assuming TheDJ's conjecture is correct, which seems very likely.)

Hmm, maybe not, if this has been in place for 2 years already as the max...

Feb 1 2019, 8:48 AM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor

Jan 31 2019

Schnark added a comment to T214976: Can't select across block images in Firefox.

I can't even select as much as you.
When I draw a selection with the mouse past a reference or a "reference needed", the current selection collapses and starts as a new selection after the reference.
If I use the keyboard with "cursor right", the same happens.
Only if I use the keyboard with "cursor down", I have a chance to select something including references.

Jan 31 2019, 8:50 AM · Verified, User-notice, VisualEditor (Current work), VisualEditor-ContentEditable, Browser-Support-Firefox
Schnark updated subscribers of T214534: VisualEditor sometimes fails to load (script load.php not loaded).

Since rOMWC2e5871e9d6e7: Bump $wgResourceLoaderMaxQueryLength to 5,000 the query can have a length of 5000, while by default MediaWiki will not go beyond 2000. Given that the URL mentioned above has a total length of 2403 this seems like a sensible maximum that should not be increased. (Always assuming TheDJ's conjecture is correct, which seems very likely.)

Jan 31 2019, 8:40 AM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor

Jan 29 2019

Schnark added a comment to T214854: mw.loader.using is not loading QUnit properly?.

There are strange race conditions when loading QUnit asynchronously, as it usually starts immediately, will then fail on the missing tests (which are defined only afterwards), and then be confused on the newly added tests. What you want to do is:

Jan 29 2019, 8:37 AM · Performance-Team, MediaWiki-ResourceLoader, JavaScript

Jan 28 2019

Schnark removed a project from T214534: VisualEditor sometimes fails to load (script load.php not loaded): Browser-Support-Firefox.

Amire80 said he had the same issue with Chrome, too.

Jan 28 2019, 9:20 AM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor
Schnark merged T214777: VisualEditor gets stuck while loading into T214534: VisualEditor sometimes fails to load (script load.php not loaded).
Jan 28 2019, 9:19 AM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor
Schnark merged task T214777: VisualEditor gets stuck while loading into T214534: VisualEditor sometimes fails to load (script load.php not loaded).
Jan 28 2019, 9:19 AM · VisualEditor
Schnark added projects to T214821: Reference previews use target=_blank without rel=noopener: Reference Previews, Page-Previews.
Jan 28 2019, 8:57 AM · Page-Previews, Reference Previews, Security
Schnark created T214821: Reference previews use target=_blank without rel=noopener.
Jan 28 2019, 8:57 AM · Page-Previews, Reference Previews, Security

Jan 26 2019

Schnark added a comment to T214675: Diff view and edit section view ignore whitespace.

Interesting, in edit view they are indeed collapsed to just a few spaces, but they definitely are there: Place the cursor after "locali e spettacoli dal vivo.", press Shift+End to select everything to the end of the line, copy and paste somewhere else, e.g. a text editor. Then you will see 26784 spaces.

Jan 26 2019, 8:39 AM · wikidiff2, MediaWiki-History-and-Diffs

Jan 25 2019

Schnark added a comment to T214675: Diff view and edit section view ignore whitespace.

The edit (and those before) added a lot of spaces, which aren't shown in the diff.

Jan 25 2019, 10:53 AM · wikidiff2, MediaWiki-History-and-Diffs

Jan 24 2019

Schnark added a project to T214534: VisualEditor sometimes fails to load (script load.php not loaded): Browser-Support-Firefox.

All users reporting this error use Firefox, so I assume it is something Firefox specific, perhaps related to its tracking protection.

Jan 24 2019, 8:42 AM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor

Jan 23 2019

Schnark added a comment to T214467: Articles with <graph> can not be openned in VE.

I assume that message is something like "Loading <script> failed"? We have a similar report on de.wiki (https://de.wikipedia.org/wiki/Wikipedia:Fragen_zur_Wikipedia#Probleme_bei_VE/Wikitext_2017_und_Citoid), and I had similar issues a while ago, but not recently, and I don't think it's related to graphs. My best guess is that sometimes the tracking protection in Firefox or something else blocks loading that combined JS code, and VE waits for it infinitely.

Jan 23 2019, 10:08 AM · VisualEditor, Graphs

Jan 19 2019

Schnark added a comment to T153511: Clicking on a reference note from Preview section of NWE takes me to "https://en.wikipedia.org/wiki/Main_Page#cite_note-1" .

Closing as a duplicate this way round, because the other task already has a patch.

Jan 19 2019, 9:02 AM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor
Schnark merged T153511: Clicking on a reference note from Preview section of NWE takes me to "https://en.wikipedia.org/wiki/Main_Page#cite_note-1" into T212554: Visual editor source editing preview does not link to changed reference footnotes.
Jan 19 2019, 9:00 AM · User-Ryasmeen, MW-1.33-notes (1.33.0-wmf.19; 2019-02-26), Verified, VisualEditor (Current work)
Schnark merged task T153511: Clicking on a reference note from Preview section of NWE takes me to "https://en.wikipedia.org/wiki/Main_Page#cite_note-1" into T212554: Visual editor source editing preview does not link to changed reference footnotes.
Jan 19 2019, 9:00 AM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor

Jan 15 2019

Schnark created T213801: CSP blocks inline styles in math rendered as SVG.
Jan 15 2019, 9:49 AM · Math

Jan 11 2019

Schnark created T213528: Adding a category to a page without any categories doesn't show up until saving.
Jan 11 2019, 10:05 AM · MW-1.33-notes (1.33.0-wmf.20; 2019-03-05), Verified, VisualEditor (Current work), VisualEditor-MediaWiki
Schnark renamed T213522: Reconsider URL changes done by Visual Diff from Feconsider URL changes done by Visual Diff to Reconsider URL changes done by Visual Diff.
Jan 11 2019, 8:41 AM · VisualEditor, VisualEditor-VisualDiffs
Schnark created T213522: Reconsider URL changes done by Visual Diff.
Jan 11 2019, 8:40 AM · VisualEditor, VisualEditor-VisualDiffs
Schnark added a comment to T213517: Checkboxes in Preferences are clickable through the floating "Save" button.
.mw-prefs-buttons {
 z-index: 1;
}

seems to fix this.

Jan 11 2019, 8:27 AM · User-notice, OOUI (OOUI-0.30.2), MediaWiki-User-preferences

Jan 10 2019

Schnark added a comment to T213253: Middle-clicking links in inspectors removes elements (related to Linux middle-click to paste?).

Regarding the possible relation to paste: It doesn't make any difference whether I selected something before or not, especially if I did select something, the middle-click does not paste it.
By the way, this does not happen with links.

Jan 10 2019, 8:11 AM · VisualEditor

Jan 9 2019

Schnark created T213253: Middle-clicking links in inspectors removes elements (related to Linux middle-click to paste?).
Jan 9 2019, 9:59 AM · VisualEditor

Jan 7 2019

Schnark created T213060: Continue parameter should be included with exportnowrap.
Jan 7 2019, 10:04 AM · MediaWiki-API

Jan 5 2019

Schnark added a comment to T212975: [Regression pre-wmf.12] Cannot open any citation dialog or insert a new one.

Is this T212977: Widgets should mixin TitledElement by default (OutlineOptionWidget is missing mixin), just from a different perspective?

Jan 5 2019, 8:48 AM · User-Ryasmeen, Verified, MW-1.33-notes (1.33.0-wmf.12; 2019-01-08), VisualEditor-MediaWiki, VisualEditor (Current work), Regression

Jan 4 2019

Schnark added a comment to T153534: NWE: Language links, indicators, and transcluded categories are missing in preview.

Very interesting. I can reproduce with your example and many other Russian articles, but not all. E.g. https://ru.wikipedia.org/wiki/Zing!_Went_the_Strings_of_My_Heart?veaction=editsource has the categories in preview. I never had this issue in German Wikipedia, and I can't reproduce in English and French, either.

Jan 4 2019, 8:25 AM · MW-1.30-release-notes (WMF-deploy-2017-06-27_(1.30.0-wmf.7)), Patch-For-Review, VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor

Jan 3 2019

Schnark merged T212811: Change layout of edit saving dialog into T151313: Handle lengthy interface messages somehow without either truncating them or letting them take up more space.
Jan 3 2019, 8:25 AM · VisualEditor, VisualEditor-MediaWiki
Schnark merged task T212811: Change layout of edit saving dialog into T151313: Handle lengthy interface messages somehow without either truncating them or letting them take up more space.
Jan 3 2019, 8:25 AM · VisualEditor, I18n, VisualEditor-MediaWiki-2017WikitextEditor
Schnark added a comment to T153534: NWE: Language links, indicators, and transcluded categories are missing in preview.

Actually categories seem to be part of preview now?

Was this reverted at any point in time? I can’t see any categories in the preview in 2017 wikitext editor, not even those that weren’t transcluded from a template.

Jan 3 2019, 8:16 AM · MW-1.30-release-notes (WMF-deploy-2017-06-27_(1.30.0-wmf.7)), Patch-For-Review, VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor

Jan 2 2019

stjn awarded T153534: NWE: Language links, indicators, and transcluded categories are missing in preview a Burninate token.
Jan 2 2019, 10:35 PM · MW-1.30-release-notes (WMF-deploy-2017-06-27_(1.30.0-wmf.7)), Patch-For-Review, VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor

Dec 31 2018

Schnark added a comment to T199740: Bold and big not highlighted correctly in the 2017WTE.

I just found the reason why bold is disabled: T184467 (according to the title not only IE). So it seems that neither bold nor big is possible (at least not until font rendering in browsers improves a lot, which would make bold possible again). Is it worth keeping this task open until then?

Dec 31 2018, 10:13 AM · MediaWiki-extensions-CodeMirror, VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor
Schnark added a project to T212680: Cursor off by several lines where the text is edited in new wikitext mode: MediaWiki-extensions-CodeMirror.

For me in Firefox there is no problem with that page.
A very wild guess: It's caused by the italic formatting (like T184467 was by bold). Can you test whether the issue is fixed by adding body .cm-em { font-style: normal; } as CSS? You can do so by oping the browser console and executing mw.util.addCSS('body .cm-em {font-style:normal;}').
Apart from that, there are currently T188839: When editing source, sometimes characters get put in strange places if you have too many characters on a line (due to space collapsing), T205689: NWE+CodeMirror: Notice about unflagged revision can cause different line breaks and T203638: Different widths in NWE+CodeMirror can cause text and color to fall out of sync open.

Dec 31 2018, 10:07 AM · MediaWiki-extensions-CodeMirror, VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor
Schnark merged T212713: With "Syntax highlighting" enabled in 2017 wikitext editor, source code is highlighted in white at first when editing category pages into T194068: CodeMirror and 2017 Wikitext editor combination produce invisible text in Category and File namespaces.
Dec 31 2018, 9:42 AM · Patch-For-Review, VisualEditor (Current work), VisualEditor-MediaWiki-2017WikitextEditor, MediaWiki-extensions-CodeMirror
Schnark merged task T212713: With "Syntax highlighting" enabled in 2017 wikitext editor, source code is highlighted in white at first when editing category pages into T194068: CodeMirror and 2017 Wikitext editor combination produce invisible text in Category and File namespaces.
Dec 31 2018, 9:42 AM · MediaWiki-extensions-CodeMirror, SyntaxHighlight, Community-Tech, MediaWiki-Categories, VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor

Dec 30 2018

Vedmaka awarded T75714: ResourceLoader JavaScript parser should allow ES6 syntax features a Like token.
Dec 30 2018, 5:05 PM · Performance-Team, MediaWiki-ResourceLoader

Dec 28 2018

Schnark added a comment to T212575: Many cawiki users experience VisualEditor getting stuck during loading (due to local script).

Just occurred again: According to the console the script https://de.wikipedia.org/w/load.php?debug=false&lang=de&modules=diffMatchPatch%2Cmoment%2Coojs-ui%2Coojs-ui-core%2Coojs-ui-toolbars%2Coojs-ui-widgets%2Coojs-ui-windows%2Cpapaparse%2Crangefix%2Cspark-md5%2CtreeDiffer%2Cunicodejs%7Cext.CodeMirror.data%2Clib%2CvisualEditor%7Cext.CodeMirror.mode.mediawiki%7Cext.CodeMirror.visualEditor.init%7Cext.abuseFilter.visualEditor%7Cext.cite.style%2CvisualEditor%7Cext.cite.visualEditor.core%2Cdata%2Cicons%7Cext.citoid.visualEditor%7Cext.citoid.visualEditor.data%7Cext.confirmEdit.visualEditor%7Cext.disambiguator.visualEditor%7Cext.geshi.visualEditor%7Cext.graph.data%2CvisualEditor%7Cext.kartographer%7Cext.kartographer.editing%2Cutil%2CvisualEditor%7Cext.math.styles%2CvisualEditor%7Cext.math.visualEditor.icons%7Cext.score.visualEditor%7Cext.score.visualEditor.icons%7Cext.spamBlacklist.visualEditor%7Cext.templateDataGenerator.editPage%7Cext.titleblacklist.visualEditor%7Cext.visualEditor.articleTarget%2Cbase%2Ccore%2Cdata%2CdesktopArticleTarget%2CdesktopTarget%2Cdiffing%2Cicons%2Clanguage%2Cmediawiki%2CmoduleIcons%2CmoduleIndicators%2Cmwalienextension%2Cmwcore%2Cmwextensionmessages%2Cmwextensions%2Cmwformatting%2Cmwgallery%2Cmwimage%2Cmwlanguage%2Cmwlink%2Cmwmeta%2Cmwsave%2Cmwsignature%2Cmwtransclusion%2Cmwwikitext%2Cswitching%2Cwelcome%7Cext.visualEditor.core.desktop%7Cext.visualEditor.mwextensions.desktop%7Cext.visualEditor.mwimage.core%7Cext.wikihiero.visualEditor%7Cext.wikimediaEvents.visualEditor%7Cjquery.lengthLimit%7Cmediawiki.ForeignStructuredUpload%2CForeignUpload%2CUpload%2Cwidgets%7Cmediawiki.ForeignStructuredUpload.BookletLayout%2Cconfig%7Cmediawiki.Upload.BookletLayout%7Cmediawiki.action.view.redirectPage%7Cmediawiki.diff.styles%7Cmediawiki.language.names%7Cmediawiki.libs.jpegmeta%7Cmediawiki.page.gallery.styles%7Cmediawiki.skinning.content.parsoid%7Cmediawiki.widgets.AbandonEditDialog%2CCategoryMultiselectWidget%2CDateInputWidget%2CMediaSearch%2CStashedFileWidget%2CUserInputWidget%2Cstyles%7Cmediawiki.widgets.DateInputWidget.styles%7Coojs-ui-core.styles%7Coojs-ui.styles.icons-accessibility%2Cicons-alerts%2Cicons-content%2Cicons-editing-advanced%2Cicons-editing-citation%2Cicons-editing-core%2Cicons-editing-list%2Cicons-editing-styling%2Cicons-interactions%2Cicons-layout%2Cicons-location%2Cicons-media%2Cicons-moderation%2Cicons-movement%2Cicons-user%2Cicons-wikimedia%2Cindicators%2Ctextures&skin=vector&version=1pqq9xb failed to load (without any helpful details), trying to load it in a new tab works fine.

Dec 28 2018, 10:01 AM · User-Ryasmeen, VisualEditor

Dec 27 2018

Schnark added a comment to T212575: Many cawiki users experience VisualEditor getting stuck during loading (due to local script).

Some time ago (one or two weeks) I had similar issues: For me, this was always caused by some request to load.php not finishing loading, e.g. https://de.wikipedia.org/w/load.php?debug=false&lang=de&modules=diffMatchPatch%2Cmoment%2Cpapaparse%2Crangefix%2Cspark-md5%2CtreeDiffer%2Cunicodejs|ext.CodeMirror.data%2Clib%2CvisualEditor|ext.CodeMirror.mode.mediawiki|ext.CodeMirror.visualEditor.init|ext.cite.style%2Cstyles%2CvisualEditor|ext.cite.visualEditor.core%2Cdata%2Cicons|ext.citoid.visualEditor|ext.citoid.visualEditor.data|ext.confirmEdit.visualEditor|ext.disambiguator.visualEditor|ext.geshi.visualEditor|ext.graph.data%2CvisualEditor|ext.kartographer|ext.kartographer.editing%2Cutil%2CvisualEditor|ext.math.styles%2CvisualEditor|ext.math.visualEditor.icons|ext.score.visualEditor|ext.score.visualEditor.icons|ext.templateDataGenerator.editPage|ext.visualEditor.articleTarget%2Cbase%2Ccore%2Cdata%2CdesktopArticleTarget%2CdesktopTarget%2Cdiffing%2Cicons%2Clanguage%2Cmediawiki%2CmoduleIcons%2Cmwalienextension%2Cmwcore%2Cmwextensionmessages%2Cmwextensions%2Cmwformatting%2Cmwgallery%2Cmwimage%2Cmwlanguage%2Cmwlink%2Cmwmeta%2Cmwsave%2Cmwtransclusion%2Cswitching%2Cwelcome|ext.visualEditor.core.desktop|ext.visualEditor.mwextensions.desktop|ext.visualEditor.mwimage.core|ext.wikihiero.visualEditor|jquery.lengthLimit|mediawiki.ForeignStructuredUpload%2CForeignUpload%2CUpload%2Cwidgets|mediawiki.ForeignStructuredUpload.BookletLayout%2Cconfig|mediawiki.Upload.BookletLayout|mediawiki.action.view.redirectPage|mediawiki.language.names|mediawiki.libs.jpegmeta|mediawiki.page.gallery.styles|mediawiki.skinning.content.parsoid|mediawiki.widgets.AbandonEditDialog%2CCategoryMultiselectWidget%2CDateInputWidget%2CMediaSearch%2CStashedFileWidget%2CUserInputWidget|mediawiki.widgets.DateInputWidget.styles|oojs-ui.styles.icons-editing-citation%2Cicons-editing-core%2Cicons-editing-list%2Cicons-editing-styling%2Cicons-layout%2Cicons-location%2Cicons-media%2Cicons-user%2Cicons-wikimedia&skin=vector&version=0yg1szb

Dec 27 2018, 9:37 AM · User-Ryasmeen, VisualEditor

Dec 19 2018

Pppery awarded T161486: Allow translate attribute in wikitext content a Like token.
Dec 19 2018, 8:01 PM · MediaWiki-Parser

Dec 10 2018

Schnark merged T211479: switching browser tab should not stop loading editor into T154329: NWE should be able to get fully loaded even if the browser tab is not active.
Dec 10 2018, 8:20 AM · Performance-Team (Radar), Performance, VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor
Schnark merged task T211479: switching browser tab should not stop loading editor into T154329: NWE should be able to get fully loaded even if the browser tab is not active.
Dec 10 2018, 8:20 AM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor
Schnark created T211549: Toggle links on Special:NewPages use wrong namespace.
Dec 10 2018, 8:06 AM · MW-1.33-notes (1.33.0-wmf.16; 2019-02-05), Regression, Patch-For-Review, MediaWiki-Special-pages

Dec 8 2018

Schnark added a comment to T211379: Let me visit a red-linked page without opening the editor.

I think this actually makes sense, but:

  1. This will require quite some updating on-wiki, for example, searching for "Elkelkvnelknblekfnbeldkf" brings up the search page containing a redlink that is meant to launch the editor. (https://en.wikipedia.org/w/index.php?search=Elkelkvnelknblekfnbeldkf&title=Special%3ASearch&go=Go) There are probably many other places, where an explicit action=edit would be necessary, if redlinks no longer would launch the editor.
  2. It should be discussed with a much wider audience then just the VE component in Phabricator.
  3. It has been that way for a very long time, so people very probably will complain about changing this, even if it does make sense.
Dec 8 2018, 8:36 AM · VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor

Dec 7 2018

Schnark added a comment to T211379: Let me visit a red-linked page without opening the editor.

The "What if I wanted to start that page in the visual mode?" part is more or less T55441: VisualEditor: Where VisualEditor is the primary editor, redlinks in read mode should open VE (not wikitext editor) (i.e. use default editor for redlinks), which is fixed only for SET wikis.
If you want to create the page in your non-default editor, just switch. If you think this takes to long because the editor initializes too slowly, that's T154843: New Wikitext Editor: Major improvement to load time and preview time.
If you are on a red category page and want to see the list of entries in it, that's T139191: VisualEditor makes redlinked category index pages inacessible.

Dec 7 2018, 9:10 AM · VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor
Schnark closed T211402: Encoding problem in API json at bnwikisource as Invalid.

If any tool misbehaves on this, it uses a completely broken JSON parser, since both variants are completely equivalent. You can test by executing

"গল্পসল্প" === "\u0997\u09b2\u09cd\u09aa\u09b8\u09b2\u09cd\u09aa"

in your browser console, the result will be true. Anyway, to get the unescaped variant (which helps humans to better read it), you can just set the uft8 parameter, or use formatversion=2 (in the APISandbox both in the format=json panel).

Dec 7 2018, 8:52 AM · Bengali-Sites, MediaWiki-API
Schnark added a comment to T207900: Enable csp-report-only mode everywhere .

I'm pretty sure this message is defined by the browser. For me in a German Firefox it is:

Dec 7 2018, 8:32 AM · Patch-For-Review, Restricted Project, Operations, Wikimedia-Site-requests, Security-Team

Dec 6 2018

Schnark updated subscribers of T162337: Document hooks fired by VE via mw.hook.

@Esanders: Since you authored rEVEDbe9c6800adb4: Audit target hooks, you might be interested in clarifying the edge cases here (I didn't test whether my remarks about the CSS class and about switching between VE and NWE are still true, but I assume so).

Dec 6 2018, 10:28 AM · VisualEditor-MediaWiki, Documentation, VisualEditor
Schnark added a comment to T125657: Gray used in .autocomment in RC and watchlist is not accessible against background and hinders link discovery.

What about additionally wrapping the arrow or everything else into an extra element, to make the arrow always blue (and thus easily discoverable as link), like before? That way users without ability to hover over the link will still be able to recognize it as link, and combined with the "turn blue on interacting" above will quickly learn that the whole section name is the link.

Dec 6 2018, 8:22 AM · Growth-Team, UI-Standardization-Kanban, UI-Standardization, MediaWiki-History-and-Diffs, MediaWiki-Recent-changes, MediaWiki-Watchlist, Accessibility

Dec 4 2018

Schnark added a comment to T210914: Valid input in TagMultiselectWidget flagged as invalid on Special:ApiSandbox.

I can see the red-blue border in Vector, but Timeless has a completely red border.

Dec 4 2018, 8:09 AM · MW-1.33-notes (1.33.0-wmf.12; 2019-01-08), OOUI

Dec 1 2018

Schnark created T210914: Valid input in TagMultiselectWidget flagged as invalid on Special:ApiSandbox.
Dec 1 2018, 10:27 AM · MW-1.33-notes (1.33.0-wmf.12; 2019-01-08), OOUI
Schnark added a comment to T210798: BUG: VE freezing when editing table.

Just to link it: ve.dm.TableSelection.static.getTableMatrixCells() was introduced only recently in rGVEDffcd8518ad34: Make table selections immutable (refactor #expand).

Dec 1 2018, 9:29 AM · User-Ryasmeen, Verified-in-Phase2, Verified-in-Phase0, Verified, MW-1.33-notes (1.33.0-wmf.8; 2018-12-11), VisualEditor-Tables, VisualEditor (Current work)
Schnark merged T210867: Firefox sometimes times out when editing tables into T210798: BUG: VE freezing when editing table.
Dec 1 2018, 9:18 AM · User-Ryasmeen, Verified-in-Phase2, Verified-in-Phase0, Verified, MW-1.33-notes (1.33.0-wmf.8; 2018-12-11), VisualEditor-Tables, VisualEditor (Current work)
Schnark merged task T210867: Firefox sometimes times out when editing tables into T210798: BUG: VE freezing when editing table.
Dec 1 2018, 9:18 AM · Browser-Support-Firefox, VisualEditor-Tables, VisualEditor
Schnark added a comment to T210561: Remove MediaWiki:edittools and update charinsert extension to use JS generated inserter.

Of course users that have WikiEditor disabled would benefit, but I was talking about the default behavior (and always keep in mind: users with non-default settings are a small minority), where I do not think two very similar ways to insert special characters make sense.

Dec 1 2018, 8:49 AM · User-TheDJ, CharInsert, Editing-team, MediaWiki-Page-editing
Schnark updated subscribers of T210789: Table of contents' hidden state isn't kept after reload.

Don't know, let's ask @Fomafix.

Dec 1 2018, 8:42 AM · Patch-For-Review, CSS, JavaScript, MediaWiki-Interface

Nov 30 2018

Schnark added a comment to T210789: Table of contents' hidden state isn't kept after reload.

Quote from https://gerrit.wikimedia.org/r/372515: "Changes in the behavior: [...] The state of the button is not saved in a cookie."

Nov 30 2018, 9:15 AM · Patch-For-Review, CSS, JavaScript, MediaWiki-Interface

Nov 29 2018

Schnark added a comment to T210574: Scrolling in the rcdays input field in the preferences leads to decimal value with lots of digits.

This is more or less T102128: Decimal step on NumberInputWidget results in cumulative binary rounding error. The step value seems to be derived from the minimum and is set to some strange decimal value. Fun fact: On GlobalPreferences this only happens once you go below 1, see T206383: Inputs for numbers use different input widget types on Special:Preferences vs. Special:GlobalPreferences.

Nov 29 2018, 8:21 AM · Browser-Support-Firefox, OOUI, MediaWiki-User-preferences
Schnark added a comment to T210561: Remove MediaWiki:edittools and update charinsert extension to use JS generated inserter.

I'm wondering: The WikiEditor toolbar already has a way to input special characters quite similar to the above proposal. So implementing this would mean that by default there would be two special character inputs with the same characters, but slightly different behavior. While this already is the case in some wikis, I don't think this is a good idea (and I'm quite sure that some of the wikis that currently add there own special character input will not remove them, so these wikis might have three more or less identical inputs in the end).

Nov 29 2018, 8:07 AM · User-TheDJ, CharInsert, Editing-team, MediaWiki-Page-editing

Nov 20 2018

Schnark added a comment to T209918: Redundant ways to access the page options dialog (meta dialog) are redundant.

As a new user I don't think I'd look into a menu item labeled "Options" to edit categories, so these redundant entries at least help users to find them.

Nov 20 2018, 10:37 AM · VisualEditor, VisualEditor-MediaWiki

Nov 15 2018

Schnark created T209574: Wrong image shown in MMV after clicking link to previous image, when image used more than once on that page.
Nov 15 2018, 10:39 AM · Multimedia, MediaWiki-extensions-MultimediaViewer
Schnark created T209571: Pasting a link inside a link will confuse VE.
Nov 15 2018, 9:27 AM · VisualEditor-Links, VisualEditor-CopyPaste, VisualEditor

Nov 12 2018

TheDJ awarded T209262: Inserting a table in NWE should show a dialog (like WikiEditor) a Manufacturing Defect? token.
Nov 12 2018, 9:30 AM · VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor
Schnark created T209262: Inserting a table in NWE should show a dialog (like WikiEditor).
Nov 12 2018, 8:43 AM · VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor
Schnark added a comment to T209217: Enable WikiEditor by default in new installs of the MediaWiki bundle.

More importantly, are there any legitimate arguments for MediaWiki to ship without a default enabled toolbar? Extensions are well, extensions. They should not implement what we consider to be core functionality.

The situation is very similar to skins. Actually, while you can use MediaWiki without any toolbar, you can't use it without any skin. And yet MediaWiki core comes without any skin, you have to install at least one (skin-) extension to get a functional wiki.
So obviously having vital components in extensions included in the default bundle instead of core has been working for years without any apparent problems, so why should it be problematic to do the same with the toolbar?

Nov 12 2018, 8:20 AM · TechCom, MediaWiki-Page-editing, WikiEditor

Nov 7 2018

Schnark created T208937: Saving a huge page can show an "Empty server response" error though saving succeeded.
Nov 7 2018, 9:29 AM · VisualEditor, VisualEditor-MediaWiki

Nov 6 2018

Schnark edited projects for T208836: Link gets lost when converting a paste to wikitext, added: VisualEditor-CopyPaste; removed VisualEditor-MediaWiki-2017WikitextEditor.

This also happens in visual mode (where you don't get a choice to convert to plain text anyway): The code tags are preserved, the link isn't.

Nov 6 2018, 11:06 AM · VisualEditor-CopyPaste, VisualEditor
Schnark added a comment to T110722: Remember the "often used" special characters on a per user basis.

I'd suggest "recently used" instead of "often used", as that's probably more common elsewhere, and you don't have to keep track how often which character is used. So the code would be something like this:

Nov 6 2018, 9:28 AM · Epic, WikiEditor, VisualEditor
Schnark created T208836: Link gets lost when converting a paste to wikitext.
Nov 6 2018, 9:20 AM · VisualEditor-CopyPaste, VisualEditor
Schnark added a comment to T202921: Re-design the Editing preferences to make it easier to pick the editing environment that you want to use.

Another point: You can reach this list of prefs on the mobile site, e.g., http://en.m.wikipedia.org/wiki/Special:Preferences#mw-prefsection-editing, but they have no effect on the mobile site. So perhaps labeling them as "Editors (on the desktop site)" would be a good idea.

Nov 6 2018, 8:07 AM · MediaWiki-User-preferences, VisualEditor-MediaWiki-2017WikitextEditor, Design, VisualEditor

Nov 5 2018

Schnark added a comment to T208647: some lbzip2-based XML dumps cannot be processed by 7zip on Windows.

I was able to uncompress https://dumps.wikimedia.org/dewiki/20181020/dewiki-20181020-pages-articles.xml.bz2 successfully, using a very old version of bzip2.

Nov 5 2018, 9:46 AM · Patch-For-Review, Dumps-Generation

Nov 2 2018

Schnark created T208564: [Spike 4 hour] [BUG] MediaViewer ignores thumbnail options when using API provider for thumbnails.
Nov 2 2018, 7:51 AM · Spike, Community-Tech, I18n, MediaWiki-extensions-MultimediaViewer, Multimedia

Oct 29 2018

Schnark added a comment to T30856: Remove classic edit toolbar from core.

I reverted your change. Apart from my above concerns, your code doesn't work at all, since:

  1. This tries to load https://fr.wikipedia.org/w/index.php?title=MediaWiki:Gadget-mediawiki.toolbar.js (yes, exactly that HTML page) as JS.
  2. You left in the line "add this line in your local MediaWiki:Gadgets-definition: mediawiki.toolbar [ResourceLoader|hidden] | mediawiki.toolbar.js.", which has to be replaced with whatever solution you have for dependency management, as explained in my previous comment.
Oct 29 2018, 10:38 AM · MW-1.32-notes, User-notice, MW-1.29-release-notes, Technical-Debt, JavaScript, MediaWiki-Page-editing
Schnark added a comment to T30856: Remove classic edit toolbar from core.

mw.loader.load has two major disadvantages:

  1. Code that uses mw.toolbar.addButton must not run before the code is loaded. While this is trivial if you imported and load the code as gadget, it is not so easy if you plainly load the code from elsewhere. Global gadgets (T22153) would solve this.
  2. If used outside WMF wikis, loading directly from fr.wikipedia might break on that other wiki, if some code changes were made that are only compatible with master, but not with the version that runs on the external wiki.
Oct 29 2018, 10:32 AM · MW-1.32-notes, User-notice, MW-1.29-release-notes, Technical-Debt, JavaScript, MediaWiki-Page-editing
Schnark added a comment to T208134: Add ability to cite books by scanning their ISBN barcode in mobile app. .

I myself am successfully using a JS compilation of zbar: https://github.com/Schnark/barcode-reader/blob/master/js/lib/zbar-worker.js, and IIRC the last time I tested it, it was much faster than quaggaJS, even though it also detects QR codes.

Oct 29 2018, 9:01 AM · Wikipedia-iOS-App-Backlog, Wikipedia-Android-App-Backlog, Citoid, Extension-MobileApp, Outreach-Programs-Projects

Oct 23 2018

Schnark created T207728: DropdownInput no longer reacts to keypresses when menu not shown.
Oct 23 2018, 9:27 AM · OOUI (OOUI-0.29.3)
Schnark awarded T207542: Avatar icon darker than before a Like token.
Oct 23 2018, 8:20 AM · MW-1.33-notes (1.33.0-wmf.4; 2018-11-13), UI-Standardization, Vector

Oct 19 2018

Schnark created T207448: Resetting a custom global preference via API does not work.
Oct 19 2018, 8:53 AM · MediaWiki-API, MediaWiki-extensions-GlobalPreferences
Schnark added a comment to T207430: WikimediaUI theme: Dropdown and button in ActionFieldLayout are not on same baseline.

T179755: DropdownWidget is misaligned due to missing `vertical-align` property is more or less the same, but for Dropdown and input, so the dropdown is the thing that should align to the other elements, not the other way round.

Oct 19 2018, 7:09 AM · OOUI

Oct 18 2018

Schnark created T207365: URL with % in fragment breaks many scripts.
Oct 18 2018, 9:02 AM · MediaWiki-General-or-Unknown, JavaScript

Oct 17 2018

Schnark added a comment to T207182: References get renumbered when editing.

The last sentence of the lead section comes from a template, including the reference, and I think there already is a task about references from templates missing in VE, though I currently can't find it.

Oct 17 2018, 7:16 AM · VisualEditor