[Wikitech-l] Proposal to improve cancellable promises in mw.Api [patch]

2024-10-01 Thread Bartosz Dziewoński
: https://patchdemo.wmcloud.org/wikis/ee373520a4/w/docs/js/mw.Api-AbortablePromise.html -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: Connection regression

2024-09-04 Thread Bartosz Dziewoński
I see you've filed https://phabricator.wikimedia.org/T373925, thank you for doing that. I replied there, we might have an idea what caused this. -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe

[Wikitech-l] Re: Collect telemetry (using WikimediaEvents) for a gadget

2024-07-08 Thread Bartosz Dziewoński
w how that happened.) -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: Logging indefinite blocks

2024-06-27 Thread Bartosz Dziewoński
mong users. Is it a bug or a feature? -- Bináris ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/ -- Bartosz Dziewoński __

[Wikitech-l] Re: How to make commits from mirrored Wikimedia repos show up on your GitHub profile

2024-06-17 Thread Bartosz Dziewoński
https://github.com/orgs/community/discussions/128895 On Tue, 9 Jul 2013 at 22:06, Bartosz Dziewoński wrote: > > I know it has been annoying a couple of people other than me, so now that > I've learned how to make it work I'll share the knowledge here. > > tl;dr: Star t

[Wikitech-l] Re: Drop dedicated support for IE 11, Edge Legacy and Opera

2024-05-23 Thread Bartosz Dziewoński
nd as a former Opera fan, I'd like to add: if you're still using it out of nostalgia, it's high time to switch. The company currently behind it doesn't inspire trust in their engineering. I recommend Firefox.) -- Bartosz Dziewoński _

[Wikitech-l] Re: Document usage of gadget exports for other gadgets' use

2023-12-12 Thread Bartosz Dziewoński
Everything you're doing in the examples with `module.exports` and `require` is supported, it works in the same way in Gadgets as in any other ResourceLoader module. We'll find a place to document it better. -- Bartosz Dziewoński ___

[Wikitech-l] Re: Collect telemetry (using WikimediaEvents) for a gadget

2023-12-07 Thread Bartosz Dziewoński
>. Hopefully that's what you were aiming for. This seems like a good idea, so I went ahead and made similar changes to the generic dashboard as well, to allow selecting and graphing multiple metrics. -- Bartosz Dziewoński ___ Wikitech-

[Wikitech-l] Re: Moving special page alias translations to JSON

2023-12-04 Thread Bartosz Dziewoński
JSON. -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: User style to reduce Gerritbot comments on Phabricator

2023-11-30 Thread Bartosz Dziewoński
, I hope it works better. It may still not be perfect, but that's probably as good as it gets. -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wik

[Wikitech-l] Re: User style to reduce Gerritbot comments on Phabricator

2023-11-29 Thread Bartosz Dziewoński
ewhat guide you through it. The simplest way is to click "Get Stylus", follow the links there to your browser's add-ons site, and install it; then come back to that page, click "Install" and then confirm it. -- Bartosz Dziewoński _

[Wikitech-l] User style to reduce Gerritbot comments on Phabricator

2023-11-29 Thread Bartosz Dziewoński
ke it too: https://userstyles.world/style/13140/wikimedia-phabricator-reduce-gerritbot-comments (See screenshots and installation instructions there.) -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe se

[Wikitech-l] Re: SVG and PNG in dewiki and enwiki not transparent any more

2023-11-17 Thread Bartosz Dziewoński
pull request Zoran linked) only applies to sites in the wikipedia.org domain. -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wiki

[Wikitech-l] Re: SVG and PNG in dewiki and enwiki not transparent any more

2023-11-16 Thread Bartosz Dziewoński
I just tested File:Example.svg and it looks transparent to me. Can you link to a page where we can see the problem? -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le

[Wikitech-l] Re: New developer feature: $wgUseXssLanguage / x-xss language code

2023-09-29 Thread Bartosz Dziewoński
is pretty consistent about this [1], but even it has some exceptions. Other code is not all so good. [1] https://codesearch.wmcloud.org/search/?q={{{&files=\.mustache%24&excludeFiles=&repos=Skin%3AVector -- Bartosz Dziewoński __

[Wikitech-l] Why is Resources.php a PHP file?

2023-07-31 Thread Bartosz Dziewoński
? (It looks like it might be slightly tricky to change, because the JSON definitions loading is tied to loading extensions…) -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le

[Wikitech-l] Re: Help with sanitized css and templatestyles

2023-04-14 Thread Bartosz Dziewoński
There is unfortunately no way to do this. The feature request was declined in 2021: https://phabricator.wikimedia.org/T271588#7296606 (although it was with a note to "reopen if you feel you can convince someone to work on the issues"). -- Bartosz

[Wikitech-l] Re: VisualEditor inserting ``

2023-03-15 Thread Bartosz Dziewoński
ding in the document, it will disappear when saving in visual editor), and IIRC some of these cleanups also affected br tags, but I don't think they're supposed to be removed entirely. Want to file a bug? -- Bartosz Dziewoński ___ Wikitec

[Wikitech-l] Re: JSON of Lint errors list

2023-01-19 Thread Bartosz Dziewoński
Yes: https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&format=json&list=linterrors&formatversion=2&lntcategories=obsolete-tag&lntlimit=401&lntnamespace=3 -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikite

[Wikitech-l] Re: OOUI window manager

2023-01-16 Thread Bartosz Dziewoński
(or that you'll be notified when that happens). I am curious about what you need this for, perhaps there's an easier way to achieve it. Can you share what you're building? -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-

[Wikitech-l] Re: No Commons Uploads

2022-11-01 Thread Bartosz Dziewoński
ome issues with uploads, please elaborate. -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/list

[Wikitech-l] Re: Feedback wanted: PHPCS in a static types world

2022-10-28 Thread Bartosz Dziewoński
$linkRenderer; …today!, and no lint checks are going to stop you. I've been suggesting this for new code since we moved to PHP 7.4, which allows these type hints on properties. -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedi

[Wikitech-l] Re: TDF is looking for community representatives

2022-10-10 Thread Bartosz Dziewoński
r that they were not consulted about a change. It won't benefit from community seats, and I worry that they might lead to WMF forgoing real community consultation. -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To uns

[Wikitech-l] Re: Request Timeout

2022-09-07 Thread Bartosz Dziewoński
. -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: Deletion of 5000+ pages forbidden

2022-08-23 Thread Bartosz Dziewoński
ant bug reports at https://phabricator.wikimedia.org/T20493 . -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[Wikitech-l] Re: Double AbuseFilter account on Serbian projects

2022-08-19 Thread Bartosz Dziewoński
-blocker/sr-ec&action=history They can't be merged, but you can remove the user rights from the old one. There is a bug about making these accounts use the same username and a global account on all wikis: https://phabricator.wikimedia.org/T160666 -- Bartosz D

[Wikitech-l] Re: namespace names vs interlanguage links

2022-06-04 Thread Bartosz Dziewoński
age links, since you can't just use another alias, but hopefully this is a minor issue.) If you document specific issues, I think folks would be willing to fix them. -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To un

[Wikitech-l] Re: Help in my tasks in Gerrit

2021-08-14 Thread Bartosz Dziewoński
ndows and follow the instructions under "How to submit a patch for backport". Thanks! -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wiki

[Wikitech-l] Re: Changes to Readers-Web-Backlog

2021-07-15 Thread Bartosz Dziewoński
For tasks where you do not have the capacity to work on them, but which are not declined, can you instead re-open them and only remove the Readers-Web-Backlog project? -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l

[Wikitech-l] Re: Need Help for MediaWiki Skin Development

2021-06-20 Thread Bartosz Dziewoński
I can't help much with Mustache, but I'll note that all of the older documentation is still valid. Skins that do not use Mustache templates are still supported. -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikime

Re: [Wikitech-l] Problem with git clone

2021-03-04 Thread Bartosz Dziewoński
I get the same problem occasionally: https://phabricator.wikimedia.org/T263293 So far, it has always fixed itself after a few minutes or hours. As a workaround I usually clone/pull from the GitHub mirrors instead. -- Bartosz Dziewoński ___ Wikitech-l

Re: [Wikitech-l] The future of UploadWizard

2021-02-04 Thread Bartosz Dziewoński
be better... The upload dialog is this: https://www.mediawiki.org/wiki/Upload_dialog It's accessible from both the visual and wikitext editors (unless you disabled the toolbar), though their dialogs to insert image thumbnails. -- Bartosz Dziewoński _

Re: [Wikitech-l] How to get a list of usercontribs for a given date range?

2020-11-20 Thread Bartosz Dziewoński
efore ucend. older List newest first (default). Note: ucstart has to be later than ucend. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] How to get a list of usercontribs for a given date range?

2020-11-18 Thread Bartosz Dziewoński
incorrect, you can use both 'ucstart' and 'ucend' in one query. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] How to get a list of usercontribs for a given date range?

2020-11-18 Thread Bartosz Dziewoński
#x27;, in which case 'ucstart' and 'ucend' are opposite, like in your original query: https://ta.wikisource.org/wiki/சிறப்பு:ApiSandbox#action=query&format=json&list=usercontribs&ucstart=2020-11-14T19%3A34%3A26.000Z&ucend=2020-11-17T19%3A34%3A26.000Z&ucuser=F

Re: [Wikitech-l] PolyGerrit

2020-04-27 Thread Bartosz Dziewoński
I'm afraid that patch editing is not yet available in the new interface in the Gerrit version we're using :( I occasionally switch to the old version for a moment when I need to do this (there's a "Switch to Old UI" in the page footer)

Re: [Wikitech-l] onVerifyFileUpload error message not displayed 'as is' in visual editor upload form

2020-01-24 Thread Bartosz Dziewoński
layed the expected error message: https://phabricator.wikimedia.org/F31532153 I was testing on MediaWiki 1.35.0-alpha, so perhaps something changed since 1.32.2, but please check if that method works for you. -- Bartosz Dziewoński ___ Wikitech-l ma

Re: [Wikitech-l] How to alter the Visual Editor configuration object for tool bar

2020-01-24 Thread Bartosz Dziewoński
77db340bad572208f69b0cfb53a6c4dc069d5e/modules/ve.ui.Citoid.init.js#L113-L140 -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Equivalence for using Template:Cite_Web with templates surrounding Wikicode

2020-01-07 Thread Bartosz Dziewoński
On 2020-01-07 08:57, Egbe Eugene wrote: Thanks very much Bartosz, it works just fine with Cite. Just a follow up question. *Is Cite responsible for rendering * *?* Yes. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l

Re: [Wikitech-l] Equivalence for using Template:Cite_Web with templates surrounding Wikicode

2020-01-06 Thread Bartosz Dziewoński
erred exception: ve.dm.MWReferenceModel is not a constructor > TypeError: ve.dm.MWReferenceModel is not a constructor* > > I should be lacking a module or something. Please can you help with this? > > Thanks once more, > -- > Eugene > > On Sat, Jan 4, 2020 at 10:10 AM Bartosz Dziew

Re: [Wikitech-l] Equivalence for using Template:Cite_Web with templates surrounding Wikicode

2020-01-04 Thread Bartosz Dziewoński
I am not really sure what you mean… Here's a complete example that inserts, basically, "Hello[1] world[2]" (text with two different references): https://phabricator.wikimedia.org/P10038 Does that help? -- Bartosz Dziewoński ___ Wik

Re: [Wikitech-l] Equivalence for using Template:Cite_Web with templates surrounding Wikicode

2019-12-31 Thread Bartosz Dziewoński
ple from the code in ve.ui.MWCitationDialog.prototype.getActionProcess, which is how VE itself inserts new references. Hope that helps (and doesn't look too awful). -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikim

Re: [Wikitech-l] (no subject)

2019-12-16 Thread Bartosz Dziewoński
;, '2', {type: '/mwHeading'} ]; Or, more convenient to write (using the "spread syntax" for arrays): var data = [ {type: 'mwHeading', attributes: {level: 2}}, ...'Heading 2'.split( '' ), {type: '/mwHeading'} ]; -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Changing the action button labels of a OO.ui.confirm dialog

2019-12-13 Thread Bartosz Dziewoński
on: 'reject', label: 'No…', flags: 'safe' } ] } ).done( function ( confirmed ) { ... } ); Make sure to keep the `action: 'accept'` and `action: 'reject'` (the dialog uses this to

Re: [Wikitech-l] mediawiki.api.edit

2019-09-25 Thread Bartosz Dziewoński
could even be super lazy and register it unconditionally in extension.json, it seems that the module from core will take precedence if it exists, but ResourceLoader will apparently log a warning for this. -- Bartosz Dziewoński ___ Wikitech-

Re: [Wikitech-l] InnoDB / MyISAM

2019-07-27 Thread Bartosz Dziewoński
ble definitions (yet). No idea about the 'math' table. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] VE submodule path update

2019-06-03 Thread Bartosz Dziewoński
It has now been backported [1] to the currently supported MediaWiki branches: REL1_27, REL1_31 and REL1_32 [2]. [1] https://gerrit.wikimedia.org/r/q/I61a5e68e74176f9f25bddf154eb100b224a018f5 [2] https://www.mediawiki.org/wiki/Version_lifecycle -- Bartosz Dziewoński

Re: [Wikitech-l] VE submodule path update

2019-06-03 Thread Bartosz Dziewoński
on or something? -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] OOUI: problem with button groups

2019-04-15 Thread Bartosz Dziewoński
than remove them. For example, instead of: dialog.panelBottom.$element.empty().append(dialog.buttonSelect[item.data.group].$element); You can write: dialog.panelBottom.$element.children().detach(); dialog.panelBottom.$element.append(dialog.buttonSelect[item.data.group].$element); -- Bartosz Dziew

Re: [Wikitech-l] Uploading new versions of other people's patches to gerrit

2019-04-09 Thread Bartosz Dziewoński
ply such a patch file and turn it into a commit: git am foo.patch There are some other options for dealing with multiple dependent commits, if you ever need them. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org ht

Re: [Wikitech-l] Visual Editor and Media namespace

2019-04-06 Thread Bartosz Dziewoński
As I wrote: We fixed this bug in VisualEditor for MediaWiki 1.33: https://phabricator.wikimedia.org/T198511 Note that you’ll also need a fairly recent version of Parsoid (not sure how their releases work). -- Matma Rex ___ Wikitech-l mailing list Wiki

Re: [Wikitech-l] Visual Editor and Media namespace

2019-04-06 Thread Bartosz Dziewoński
W dniu piątek, 5 kwietnia 2019 Carles Pina i Estany napisał(a): > > Hi, > > I've setup a Mediawiki for internal usage with VisualEditor. > > Using the "Edit Source" I can do something like: > [[Media:Traduccio.jpg|test]] > > To have a direct link to a file (instead of the page landing page). > >

Re: [Wikitech-l] resource loader; 1.32 alpha; 1.32 stable breaking change loading scripts in widgets

2019-04-04 Thread Bartosz Dziewoński
load it with addMobules() etc. as usual, instead of inlining the code in the HTML source. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] New Gerrit privilege policy

2019-03-16 Thread Bartosz Dziewoński
ons follow Wikimedia's policy of prohibiting self-merges, but there is no requirement of that. If you are the only person writing the extension and have nobody to review your change, or if the extension is abandoned, it is acceptable to self-merge your changes." -

[Wikitech-l] Thank you Tuesday

2019-03-15 Thread Bartosz Dziewoński
Any day can be Tuesday if you really want. * Thanks to Strainu for insightful comments on the "Backlog on bugs" thread. * Thanks to Roan and Ed for stepping up to review major OOUI patches this week (and to Moriel, Cormac and Matthias who proposed said patches). -- Bartosz

Re: [Wikitech-l] Question to WMF: Backlog on bugs

2019-03-12 Thread Bartosz Dziewoński
thout knowing which tasks it is actually about though. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Community-Engineering gaps as defined in configuration

2019-03-11 Thread Bartosz Dziewoński
on as part of my volunteer work, and the goal was to improve page load performance on wikis that already had that link. In my experience discussing any interface changes to Wikimedia wikis is very unfun and I had no particular interest in doing that for this. -- Bartosz Dziew

Re: [Wikitech-l] Question to WMF: Backlog on bugs

2019-03-11 Thread Bartosz Dziewoński
ences. [1] https://phabricator.wikimedia.org/project/board/483/?hidden=true -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Code sniff for verbose conditionals

2019-02-11 Thread Bartosz Dziewoński
harmless, except for the pattern in LBFactorySimple.php/LoadBalancer.php, which is a little tricky and probably clearer in the original version. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https

Re: [Wikitech-l] Article geotags missing in geo_tags table for some WP languages?

2018-11-07 Thread Bartosz Dziewoński
The coordinates template/module needs to use the {{#coordinates:…}} parser function for the page to be geotagged. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] non-obvious uses of in your language

2018-10-15 Thread Bartosz Dziewoński
s $linkPrefixExtension = true). I am not sure how this feature works, but it probably complicates everything a bit. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] [Wikitech-ambassadors] Translations on hold until further notice

2018-10-04 Thread Bartosz Dziewoński
Good news: l10n-bot appears to be exporting translations again. I assume crisis has been averted. -- Matma Rex ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] [Wikitech-ambassadors] Translations on hold until further notice

2018-09-27 Thread Bartosz Dziewoński
As I understand, nothing terrible will happen if you add new messages to en.json. But new translations will not be added, so any new interfaces will be in English for everyone, which is a poor experience. -- Bartosz Dziewoński ___ Wikitech-l mailing

Re: [Wikitech-l] Overriding MW core messages via extension

2018-09-06 Thread Bartosz Dziewoński
some messages [2]. [1] https://www.mediawiki.org/wiki/Manual:Hooks/MessageCache::get [2] https://phabricator.wikimedia.org/diffusion/EWME/browse/master/WikimediaMessages.hooks.php$15 -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https

Re: [Wikitech-l] OOUI v0.28.0 released

2018-08-20 Thread Bartosz Dziewoński
I grepped a bunch and at least the following projects still use the removed icons: mediawiki/extensions/BlueSpiceBlog Uses 'newspaper' icon in resources/ve/ve.ui.BlogInspectorTool.js. It needs a dependency on 'oojs-ui.styles.icons-editing-citation' to continue displaying the icon. (Filed T202336.)

Re: [Wikitech-l] Tidy removed on all Wikimedia wikis (final update)

2018-08-16 Thread Bartosz Dziewoński
I'd like to offer additional thanks to Izno, who appears to be going through all of the old Tidy-related tasks, meticulously testing to see if they're fixed in Remex, and closing them! :) -- Matma Rex ___ Wikitech-l mailing list Wikitech-l@lists.wikimed

Re: [Wikitech-l] OOUI v0.28.0 released

2018-08-16 Thread Bartosz Dziewoński
Here's the complete list of renamed, moved or removed icons in each icon pack. Your code will need updates if you're using any of them: (I generated this with `git diff v0.27.6 v0.28.0 -- src/themes/wikimediaui/*.json` and some manual editing.) icons-alerts: * 'comment' – Use 'speechBubble' inste

Re: [Wikitech-l] MediaWiki action api - query categories property of allimages list?

2018-08-04 Thread Bartosz Dziewoński
Yes, you have to use 'allimages' as a "generator" for a 'prop=categories' query. Example: https://en.wikipedia.org/w/api.php?action=query&prop=categories&generator=allimages&gaifrom=E More about generators: https://www.mediawiki.org/wiki/A

Re: [Wikitech-l] Add modules=site.styles inline

2018-07-20 Thread Bartosz Dziewoński
Also, I should note that I tested with MW 1.32 alpha (Git master). I don't know if older versions behave differently. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/lis

Re: [Wikitech-l] Add modules=site.styles inline

2018-07-20 Thread Bartosz Dziewoński
luded in this module: MediaWiki:Print.css and MediaWiki:Vector.css (or MediaWiki:Monobook.css, etc., depending on the skin). If you still see this behavior and want to try debugging it, start in ResourceLoaderWikiModule::isKnownEmpty() and its callers, this is the method that decides whether the will be gen

Re: [Wikitech-l] Add modules=site.styles inline

2018-07-20 Thread Bartosz Dziewoński
The will not be generated if the page is actually deleted, rather than existing but empty. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Add modules=site.styles inline

2018-07-19 Thread Bartosz Dziewoński
n't matter – but also, if you don't have caching enabled, then that is probably a much worse performance problem than not embedding the styles :) [1] https://www.mediawiki.org/wiki/Manual:Varnish_caching [2] https://www.mediawiki.org/wiki/Manual:File_cache -

Re: [Wikitech-l] Please comment on the draft consultation for splitting the admin role

2018-06-11 Thread Bartosz Dziewoński
g done by the compromised accounts was adding nasty code to sitewide JavaScript to take over further accounts. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Can/should my extensions be deleted from the Wikimedia Git repository?

2018-06-08 Thread Bartosz Dziewoński
On Fri, Jun 8, 2018 at 3:26 PM, Stephan Gambke wrote: > > It is not the first time that individual developers have misused their +2 > rights to sidestep community processes and enforce their political views. > It is this kind of repeated overreach and casual disregard for the wishes > and opinions

Re: [Wikitech-l] Can/should my extensions be deleted from the Wikimedia Git repository?

2018-06-08 Thread Bartosz Dziewoński
On Fri, Jun 8, 2018 at 12:56 PM, Nischay Nahata wrote: > Also, its strange that someone can just remove someone else's code review > just like that on gerrit, add their own review and merge a patch. > This ability is very useful in some cases - for example, imagine a VisualEditor patch marked as

Re: [Wikitech-l] function drawmap not defined when loading external js with resourceLoader

2018-06-04 Thread Bartosz Dziewoński
Scripts loaded via ResourceLoader are not executed in global scope, so your variables/functions will not be global. To make them global, you have to explicitly attach them to the `window` object – add this at the end of your external_script.js: window.drawmap = drawmap; -- Bartosz

Re: [Wikitech-l] 2018-05-02 Scrum of Scrums meeting notes

2018-05-07 Thread Bartosz Dziewoński
ect_Articles_for_creation -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Getting a local dump of Wikipedia in HTML

2018-05-03 Thread Bartosz Dziewoński
Wikipedia for offline reading: http://www.kiwix.org/downloads/ Their downloads use the ZIM file format, looks like there are libraries available for reading it in many programming languages: http://www.openzim.org/wiki/Readers -- Bartosz Dziewoński

Re: [Wikitech-l] Mobile MonoBook

2018-04-03 Thread Bartosz Dziewoński
Retraux. Pretty metal. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] OOUI 0.26.0 release

2018-03-21 Thread Bartosz Dziewoński
dia.org/T177432#4066077 -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Some images are not visible in the preview when you hover over a link to another wikipedia webpage

2018-01-01 Thread Bartosz Dziewoński
rest_v1/page/summary/Pince_à_avoyer https://fr.wikipedia.org/api/rest_v1/page/summary/Pince_universelle The first of these pages has a "thumbnail" defined, the second doesn't. Unfortunately I don't know what generates this data, but perhaps someone

Re: [Wikitech-l] FLIF for Wikimedia

2017-12-11 Thread Bartosz Dziewoński
If you want to work on implementing support for FLIF, I would recommend doing it as an extension (similar to e.g. https://www.mediawiki.org/wiki/Extension:PdfHandler) rather than in MediaWiki core. -- Bartosz Dziewoński ___ Wikitech-l mailing list

Re: [Wikitech-l] On InvalidArgumentException and user-facing errors

2017-12-07 Thread Bartosz Dziewoński
safe to use now. 25c3c061b51cbfe377ebb2decbe09f7db7bc7397 https://gerrit.wikimedia.org/r/#/c/363660/ -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] On InvalidArgumentException and user-facing errors

2017-12-07 Thread Bartosz Dziewoński
For "expected" exceptions, you can throw ErrorPageError or one of its subclasses, which is handled internally to produce a pretty user-facing error page. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia

Re: [Wikitech-l] [Engineering] Tech talk: Selenium tests in Node.js

2017-10-30 Thread Bartosz Dziewoński
On 2017-10-31 01:36, John wrote: Željko, Im tempted to throw a {{trout}} at you. Please never repeat what you did in this post and talk via emoji. We do not write in hieroglyphics. Luckily enough, everything was also written in normal text 😂 -- Bartosz Dziewoński

Re: [Wikitech-l] Editing module in the wiki editor lead to overloading resouces of processor

2017-10-30 Thread Bartosz Dziewoński
large.) Afterwards click the "Resume" button (in the same location as "Pause") to let the page continue executing. Try doing this a few times, in case multiple scripts are running, to increase the chance of seeing each one. -- Bartosz Dziewoński ___

Re: [Wikitech-l] Person of interest to blame

2017-10-11 Thread Bartosz Dziewoński
(For future reference, this seems to be related to https://phabricator.wikimedia.org/T176367 and there was an answer there.) On Wed, Oct 4, 2017 at 1:16 PM, יגאל חיטרון wrote: > Thank you all. > ​Unfortunately, I can't create my wiki. I have no skills or ability to do > this. > I checked the lis

Re: [Wikitech-l] The target revision does not exist

2017-10-01 Thread Bartosz Dziewoński
This issue seems to be filed as . -- Matma Rex ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Wiki farm configuration

2017-09-11 Thread Bartosz Dziewoński
n mind in their SQL queries. But I've had table name prefixes on my development wiki for years and don't remember the last time I ran into this. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Update to web print styles

2017-08-30 Thread Bartosz Dziewoński
On Mon, Aug 28, 2017 at 10:18 PM, Isarra Yos wrote: > Are these changes in core, or in the skins themselves (Vector and > Minerva)? In other words, will printing from other deployed skins such as > MonoBook also see improvement, or is it up to the maintainers of each other > skin to independently

Re: [Wikitech-l] Timeless skin now available on mw.org

2017-08-12 Thread Bartosz Dziewoński
W dniu sobota, 12 sierpnia 2017 Amir Ladsgroup napisał(a): > It's fantastic, it will be my default skin when it gets deployed in > Wikipedia. > > One thing: OOjs UI has a different theme for monobook (apex theme) and for > vector the theme is "mediawiki", Are you planning to design another OOjs U

Re: [Wikitech-l] Timeless skin now available on mw.org

2017-08-11 Thread Bartosz Dziewoński
at we should pull out the ULS menu item out of the dropdown, like we already do for Echo notifications. I don't think there's a task for this yet. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists

Re: [Wikitech-l] Log of nulledits

2017-07-25 Thread Bartosz Dziewoński
ing rate limits is logged in server logs. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] SkinOOUIThemes

2017-07-18 Thread Bartosz Dziewoński
/status:open+topic:custom-ooui-themes [3] https://phabricator.wikimedia.org/T100896 -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] [WikimediaMobile] MobileFrontend disruption: Plans to break Minerva out into its own repository

2017-07-04 Thread Bartosz Dziewoński
://tinyurl.com/y8jl2526 -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] "Unloading"/reloading ResourceLoader modules the proper way?

2017-06-19 Thread Bartosz Dziewoński
I don't think "unloading" modules will ever be a thing. While ResourceLoader could be made to keep track of modules' CSS to be able to remove it, we can't "unload" JavaScript modules at all (because their code has already executed), so I'm not sure if we'd want to add such special case. If you wan

Re: [Wikitech-l] Fwd: OOjs UI 0.22.0 release (breaking change)

2017-06-05 Thread Bartosz Dziewoński
Still, consider renaming your > style > and script references in the time being. > MediaWiki has been updated for this and this is unlikely to affect your code, unless you hardcoded the theme name somewhere. > > > [Deprecations since last release:] * WindowManager: De

Re: [Wikitech-l] Editing JSON in MediaWiki

2017-04-10 Thread Bartosz Dziewoński
n one field and ']]' into another and then be mad at you when you change the structure in a minor way and their link no longer works. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Error when using OOjs UI/Windows/Message Dialogs

2017-02-22 Thread Bartosz Dziewoński
Looks like you're not loading the OOjs UI code you're trying to use. Assuming that you're writing this as part of MediaWiki (or an extension), you need to add a dependency on the 'oojs-ui' ResourceLoader module. -- Bartosz Dziewoński _

Re: [Wikitech-l] MediaWiki-Vagrant needs testers for Debian Jessie changes

2017-02-15 Thread Bartosz Dziewoński
It works! (On Windows, do setup.bat rather than ./setup.sh.) This is actually the third time I'm trying MediaWiki-Vagrant, and the first time I've gotten it to run (previous attempts ended with obscure error messages). So I'd say the Jessie migration was a success :) -- Bar

  1   2   3   4   5   >