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

2024-05-23 Thread Bartosz Dziewoński
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 mailing list -- wikitech-l

[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

[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-l mailing

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

2023-12-04 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: 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.wikimedia.org

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

2023-11-29 Thread Bartosz Dziewoński
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 ___ Wik

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

2023-11-29 Thread Bartosz Dziewoński
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 send

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

2023-11-17 Thread Bartosz Dziewoński
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.wikimedia.org/postorius/lists/wi

[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
], but even it has some exceptions. Other code is not all so good. [1] https://codesearch.wmcloud.org/search/?q={{{=\.mustache%24==Skin%3AVector -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send

[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
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 ___ Wikitech-l mailing list -- wikitech-l@list

[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=json=linterrors=2=obsolete-tag=401=3 -- Bartosz Dziewoński ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le

[Wikitech-l] Re: OOUI window manager

2023-01-16 Thread Bartosz Dziewoński
l 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-l@lists.wikimedia.org To unsubsc

[Wikitech-l] Re: No Commons Uploads

2022-11-01 Thread Bartosz Dziewoński
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/lists/wikitech

[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.wikimedia.org

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

2022-10-10 Thread Bartosz Dziewoński
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 unsubscribe send an email

[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
://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=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 Dziewoński

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

2022-06-04 Thread Bartosz Dziewoński
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 unsubscribe send an email to wikitech-l-le

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

2021-08-14 Thread Bartosz Dziewoński
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.wikimedia

[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.wikimedia.org

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
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 ___ Wikitech-l ma

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

2020-11-20 Thread Bartosz Dziewoński
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
. This is 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
://ta.wikisource.org/wiki/சிறப்பு:ApiSandbox#action=query=json=usercontribs=2020-11-14T19%3A34%3A26.000Z=2020-11-17T19%3A34%3A26.000Z=Fathima%20Shaila=newer -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org

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). -- Bartosz

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

2020-01-24 Thread Bartosz Dziewoński
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 mailing

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

2020-01-24 Thread Bartosz Dziewoński
3a6c4dc069d5e/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 ___ Wikitech

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

2019-12-31 Thread Bartosz Dziewoński
m 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.wikimedia.org/mailma

Re: [Wikitech-l] (no subject)

2019-12-16 Thread Bartosz Dziewoński
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
' } ] } ).done( function ( confirmed ) { ... } ); Make sure to keep the `action: 'accept'` and `action: 'reject'` (the dialog uses this to make the two buttons do things), the other pieces can be changed. -- Bartosz Dziewoński

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

2019-09-25 Thread Bartosz Dziewoński
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-l mailing list

Re: [Wikitech-l] InnoDB / MyISAM

2019-07-27 Thread Bartosz Dziewoński
). 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
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
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 Dziewoński

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

2019-04-09 Thread Bartosz Dziewoński
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 https://lists.wikimedia.org

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

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
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
ollow 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." -- Bartosz

[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
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
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 Dziewoński

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

2019-03-11 Thread Bartosz Dziewoński
/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
or 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
efixExtension = 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
://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://lists.wikimedia.org/mailman

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

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

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'

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=categories=allimages=E More about generators: https://www.mediawiki.org/wiki/API:Query#Generators -- Bartosz

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/listinfo

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

2018-07-20 Thread Bartosz Dziewoński
: 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 generated. -- Bartosz

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
– 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 -- Bartosz Dziewoński

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

2018-06-11 Thread Bartosz Dziewoński
ompromised 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

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

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
rticles_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
of 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
rg/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 else can

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
. 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
ards 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 >

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
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 >

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

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

2017-08-11 Thread Bartosz Dziewoński
– I think somebody was suggesting today that 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.w

Re: [Wikitech-l] Log of nulledits

2017-07-25 Thread Bartosz Dziewoński
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
ustom-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

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

2017-06-05 Thread Bartosz Dziewoński
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: Deprecate using `openWindow`/`closeWindow` re

Re: [Wikitech-l] Editing JSON in MediaWiki

2017-04-10 Thread Bartosz Dziewoński
in 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/m

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 ___ Wikitech-l

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 :) -- Bartosz Dziewoński

Re: [Wikitech-l] Mediawiki core has reached to its 400th contributor

2017-02-07 Thread Bartosz Dziewoński
The commits from SVN era are confounded in both directions. On one hand, like Brian says, people who still commit today are counted double. On the other, patches that were submitted through Bugzilla or mailing lists by one-time contributors are counted under the name of the committer who applied

Re: [Wikitech-l] catching errors in local JavaScript

2017-01-19 Thread Bartosz Dziewoński
Oh, and also, a more general limitation: the error messages may be localised, depending on the browser. I hope you speak Korean. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman

Re: [Wikitech-l] catching errors in local JavaScript

2017-01-19 Thread Bartosz Dziewoński
features and ResourceLoader's mechanisms often hide the real source of the error, you have to investigate everything by hand. And that's my experience only looking at errors happening on one page, on one wiki. :) -- Bartosz Dziewoński ___ Wikitech-l

Re: [Wikitech-l] I8n

2017-01-07 Thread Bartosz Dziewoński
No. -- Matma Rex ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] SOLVED Re: VisualEditor in 1.28 - fails after upgrade from 1.27

2016-12-19 Thread Bartosz Dziewoński
and if not, display an error message and abort execution. You can optionally pass a custom error message. See e.g. /includes/specials/SpecialWatchlist.php in MediaWiki for an example. -- Bartosz Dziewoński ___ Wikitech-l mailing list Wikitech-l@lists.

  1   2   3   4   5   >