Page MenuHomePhabricator

Ascotmonth
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
Oct 23 2018, 1:52 PM (283 w, 3 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Ascotmonth [ Global Accounts ]

Recent Activity

May 9 2019

Ascotmonth added a comment to T212502: 'insert media' in visual editor should support filenames.

You won't be able to reproduce it on WMF because it doesn't use the standard search engine, see this old comment for reference:

May 9 2019, 9:16 AM · VisualEditor

Nov 12 2018

Ascotmonth added a comment to T207875: File search only returns word matches.

As far as my understanding goes, WMF uses Extension:CirrusSearch. I can confirm that the issue is happening with the default search engine.

Nov 12 2018, 9:40 AM · Discovery-Search, MediaWiki-Search, VisualEditor

Nov 4 2018

Ascotmonth added a comment to T207751: Global usage links don't show on shared wiki.

All right, I dug into the code and those are actually two separate issues.

Nov 4 2018, 6:09 PM · GlobalUsage, Multimedia

Nov 2 2018

Ascotmonth added a comment to T207872: Wikicode in MediaWiki:Uploaddisabledtext is not parsed.

Makes sense, after all API is just for the local API right?

Nov 2 2018, 3:45 PM · VisualEditor
Ascotmonth created T208601: ForeignApi adds the origin parameter even if the other wiki is on the same domain.
Nov 2 2018, 3:44 PM · MW-1.34-notes (1.34.0-wmf.23; 2019-09-17), Platform Team Workboards (Clinic Duty Team), Wikidata-Bridge-Sprint-5, Wikidata-Bridge-Sprint-4, MediaWiki-User-Interface, JavaScript

Oct 30 2018

Ascotmonth added a comment to T207751: Global usage links don't show on shared wiki.

I also tried using a fully specified ForeignDBRepo (rather the one generated by $wgUseSharedUploads) but to no avail:

Oct 30 2018, 4:39 PM · GlobalUsage, Multimedia
Ascotmonth added a comment to T207872: Wikicode in MediaWiki:Uploaddisabledtext is not parsed.

The origin parameter is automatically added by ForeignApi. I disabled this by commenting out line 63 in ForeignApi.js and this fixes the offending calls (meta=userinfo&uiprop=groups%7Crights and meta=siteinfo&siprop=uploaddialog) but it then breaks a subsequent call that for some reason does include the Origin header.

Oct 30 2018, 2:28 PM · VisualEditor
Ascotmonth added a comment to T207872: Wikicode in MediaWiki:Uploaddisabledtext is not parsed.

Well it seems that the Origin header is automatically added by the browser unless it's a same-origin request. Since my wikis are all on the same domain, it doesn't get sent, hence the error.

Oct 30 2018, 1:44 PM · VisualEditor
Ascotmonth added a comment to T207872: Wikicode in MediaWiki:Uploaddisabledtext is not parsed.

Thanks, I was able to get the wikicode to show up by following the restrictions you posted.

Oct 30 2018, 12:39 PM · VisualEditor
Ascotmonth added a comment to T207752: MediaWiki's $wgUseSharedUploads configuration should provide a way to set 'scriptDirUrl' on the resulting foreign repo (for compatibility with VisualEditor file browser).

Thanks for your reply.

Oct 30 2018, 11:47 AM · MediaWiki-Configuration, MediaWiki-Uploading, Multimedia

Oct 24 2018

Ascotmonth added a comment to T207751: Global usage links don't show on shared wiki.

For the record, I tried switching to a ForeignAPIRepo rather than the ForeignDBRepo automatically generated by $wgUseSharedUploads but the behaviour was left unchanged.

Oct 24 2018, 6:43 PM · GlobalUsage, Multimedia
Ascotmonth created T207875: File search only returns word matches.
Oct 24 2018, 6:18 PM · Discovery-Search, MediaWiki-Search, VisualEditor
Ascotmonth created T207872: Wikicode in MediaWiki:Uploaddisabledtext is not parsed.
Oct 24 2018, 6:01 PM · VisualEditor
Ascotmonth added a comment to T207752: MediaWiki's $wgUseSharedUploads configuration should provide a way to set 'scriptDirUrl' on the resulting foreign repo (for compatibility with VisualEditor file browser).

Thanks a lot for your reply,

Oct 24 2018, 5:54 PM · MediaWiki-Configuration, MediaWiki-Uploading, Multimedia

Oct 23 2018

Ascotmonth added a comment to T207752: MediaWiki's $wgUseSharedUploads configuration should provide a way to set 'scriptDirUrl' on the resulting foreign repo (for compatibility with VisualEditor file browser).

MediaWiki version: 1.31.1
VisualEditor version: 0.1.0 (13a585a)

Oct 23 2018, 4:31 PM · MediaWiki-Configuration, MediaWiki-Uploading, Multimedia
Ascotmonth added a comment to T207751: Global usage links don't show on shared wiki.

Hi @Aklapper , thanks for your reply.

Oct 23 2018, 4:26 PM · GlobalUsage, Multimedia
Ascotmonth created T207752: MediaWiki's $wgUseSharedUploads configuration should provide a way to set 'scriptDirUrl' on the resulting foreign repo (for compatibility with VisualEditor file browser).
Oct 23 2018, 2:09 PM · MediaWiki-Configuration, MediaWiki-Uploading, Multimedia
Ascotmonth created T207751: Global usage links don't show on shared wiki.
Oct 23 2018, 2:01 PM · GlobalUsage, Multimedia