[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

[MediaWiki-l] Re: Mediawiki 1.39.5 updagrade and more Composer problems

2023-10-08 Thread Bartosz Dziewoński
. If this isn't acceptable, I'm afraid you're out of luck. -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists

[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

[MediaWiki-l] Re: MW 1.40 and StructuredDisscusion?

2023-07-03 Thread Bartosz Dziewoński
of how exactly it works. -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/mediawiki

[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

[MediaWiki-l] Re: array syntax

2023-02-14 Thread Bartosz Dziewoński
Hi Jeffrey, "NS_FILE" was introduced to replace "NS_IMAGE" in MediaWiki 1.14, which was released in 2009, fourteen years ago. -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsub

[MediaWiki-l] Re: array syntax

2023-02-14 Thread Bartosz Dziewoński
ace was not applying correctly), but PHP 8 treats it as an error. The solution is to just replace all occurrences of NS_IMAGE with NS_FILE (and NS_IMAGE_TALK with NS_FILE_TALK). (Congrats on running MediaWiki for long enough that your configuration still used NS_IMAGE ;) ) -

[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

[MediaWiki-l] Re: How to upgrade old MW Postgres DB backup into much newer MW version?

2023-01-10 Thread Bartosz Dziewoński
/wiki/LTS) supports upgrading from the previous one. Occasionally they might even have bug fixes for the upgrade process missing from non-LTS releases. So you'd only need to go through 1.27, 1.31 and 1.35. -- Bartosz Dziewoński ___ MediaWiki-l mailing

[MediaWiki-l] Re: Problem migrating from 1.38.5 to 1.39.1 due to Composer dependencies

2022-12-27 Thread Bartosz Dziewoński
?keywords=composer , that would be Ubuntu 22.04 Jammy. * Or install Composer 2 manually instead of from the system repositories – https://getcomposer.org/download/ -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org

[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

[MediaWiki-l] Re: Large files for testing

2022-10-17 Thread Bartosz Dziewoński
elt ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ -- Bartosz Dziewoński ___ MediaWiki-l mailing l

[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

[Mediawiki-api] Re: Why does API return HTML in Wget?

2022-10-02 Thread Bartosz Dziewoński
r special characters, you will also need to escape them, in a way that depends on your shell. If you can, do this work from Python, it's a lot less error-prone. -- Bartosz Dziewoński ___ Mediawiki-api mailing list -- mediawiki-api@lists.wiki

[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

[MediaWiki-l] Re: API:Feedrecentchanges timezone?

2022-07-06 Thread Bartosz Dziewoński
Not that I know of. -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/

[MediaWiki-l] Re: API:Feedrecentchanges timezone?

2022-07-04 Thread Bartosz Dziewoński
If you're logged in, and change your timezone in your preferences (Preferences → Appearance → Time zone), the timestamps in the feed HTML will respect that. -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org

[MediaWiki-l] Re: Security vulnerability in load.php

2022-06-09 Thread Bartosz Dziewoński
Thanks for the note. We do not consider this to be a security vulnerability. People using automated scanners occasionally report this as a problem, but it's harmless. See for example discussion here: https://phabricator.wikimedia.org/T228544 -- 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

[MediaWiki-l] Re: magic variable {{LOGGED-IN}} or similar?

2022-01-11 Thread Bartosz Dziewoński
There are some extensions that implement similar things: https://www.mediawiki.org/wiki/Extension:RightFunctions https://www.mediawiki.org/wiki/Extension:UserFunctions I haven't used either of them, but it looks like they both can do this job. -- Bartosz Dziewoński

[MediaWiki-l] Re: Move wiki to subfolder

2022-01-10 Thread Bartosz Dziewoński
You need to update $wgScriptPath and $wgArticlePath (if it's defined) in your LocalSettings.php to point to the new paths. If you've overridden any other "...Path" configuration variables (unlikely), update them too. -- Bartosz

[MediaWiki-l] Re: new tab

2021-12-06 Thread Bartosz Dziewoński
eRelations -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/

[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

[MediaWiki-l] Re: Global parser not initialized on special pages?

2021-06-14 Thread Bartosz Dziewoński
do I need to manually unwrap the text? You can use Parser::stripOuterParagraph( $html ) to do it. -- Bartosz Dziewoński ___ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org List information: https://lists.wikimedia.org/postorius/lists

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: [MediaWiki-l] Question regarding Edit Review Improvements

2021-02-25 Thread Bartosz Dziewoński
The link only appears when there are new changes to show. It works for me on <https://en.wikipedia.org/wiki/Special:RecentChanges>. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/m

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: [MediaWiki-l] Fatal error: Interface 'MediaWiki\Hook\TestCanonicalRedirectHook' not found in /var/www/html/w/includes/HookContainer/HookRunner.php on line 22

2020-12-15 Thread Bartosz Dziewoński
the test files, using .htaccess rules or something. If you want to keep your current (scary) approach, then try changing your 'find' command to only find directories, by adding '-type d' to the arguments. -- Bartosz Dziewoński ___ MediaWiki-l mailing

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: [MediaWiki-l] issue with editing templates in Visual Editor, Mediawiki 1.35.0

2020-11-14 Thread Bartosz Dziewoński
tion. If you can't do that, then you can instead set $wgUsePathInfo=true, allowing you to use URLs like "/w/index.php/Article". -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Issue with VisualEditor on MediaWiki 1.35

2020-10-14 Thread Bartosz Dziewoński
could probably consider that a bug, even if most of the issues being reported don't actually require any code changes on our side to fix. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman

Re: [Mediawiki-api] tpt-target-page : how to anticipate it for API:Edit ?

2020-06-08 Thread Bartosz Dziewoński
their content and working on them) for the moment. You can do this with prop=info=edit, for example: https://meta.wikimedia.org/wiki/Special:ApiSandbox#action=query=json=info=Mission%7CMission%2Fpl=edit=full -- Bartosz Dziewoński ___ Mediawiki-api

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: [MediaWiki-l] Mediawiki 1.33, Apache Event MDM, Wiki displays "run(); "

2020-04-17 Thread Bartosz Dziewoński
Your server is not executing the PHP code, rather it just displays the contents of index.php, and your web browser interprets it as HTML. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman

Re: [MediaWiki-l] Special pages can't be accessed

2020-03-05 Thread Bartosz Dziewoński
SpecialWhatlinkshere.php (in all lower case). -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Installing MW on windows server 2016 browser does not support Unicode

2020-03-02 Thread Bartosz Dziewoński
-to-reproduce issue so that you can report this bug elsewhere ;) -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [Mediawiki-api] [Mediawiki-api-announce] BREAKING CHANGE: Parameter validation error codes

2020-02-22 Thread Bartosz Dziewoński
rmat ('errorformat=bc') the error message is never localized, but it can change in new MW releases without warning. (If you wanted a localized message, 'errorformat=html'/'plaintext'/'wikitext' provides that, with the language specified by 'erro

Re: [Mediawiki-api] How to get parsed results of templates and modules

2020-01-30 Thread Bartosz Dziewoński
pages, then there is probably no way to do it, other than implementing it on your own. -- Bartosz Dziewoński ___ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

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: [MediaWiki-l] Template displays different values for Firefox, Chrome

2019-12-10 Thread Bartosz Dziewoński
hortener" on https://ddowiki.com/page/MediaWiki:Gadgets-definition , I think that's the right way to fix this. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

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: [MediaWiki-l] Obvious bug in maintenance/Maintenance.php since 1.31

2019-09-18 Thread Bartosz Dziewoński
I filed a bug, since no one else did :) https://phabricator.wikimedia.org/T233257 -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] skin indicator

2019-09-18 Thread Bartosz Dziewoński
No, there isn't. However, if you install the TemplateStyles extension, you can write different CSS styles for your content for each skin: https://www.mediawiki.org/wiki/Help:TemplateStyles#How_can_I_target_specific_skins? Hope that helps. -- Bartosz Dziewoński

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: [MediaWiki-l] Users report blank pages

2019-06-17 Thread Bartosz Dziewoński
Looks like this problem to me: https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users)#Avoid_document.write() -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo

Re: [MediaWiki-l] bounces?

2019-06-12 Thread Bartosz Dziewoński
See https://phabricator.wikimedia.org/T225553 "gmail users being suspended from mediawiki-l due to excessive bounces". It seems it should be resolved now. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go

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

Re: [Wikitech-ambassadors] New PDF Render decommissioned on 1st January 2020?

2019-03-15 Thread Bartosz Dziewoński
mention mwlib either, though). -- Bartosz Dziewoński ___ Wikitech-ambassadors mailing list Wikitech-ambassadors@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-ambassadors

[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: [MediaWiki-l] Hint on Media Wiki:Common.css

2019-02-01 Thread Bartosz Dziewoński
Note that the message was accidentally removed for a few versions: https://phabricator.wikimedia.org/T191800 -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Reset password mail wont send

2019-01-30 Thread Bartosz Dziewoński
You could temporarily set $wgPasswordReminderResendTime to a lower value than 24. -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Create page through api very slow

2019-01-21 Thread Bartosz Dziewoński
persons/organizations. Does your wiki happen to have approximately 7 times more persons than organizations? :) -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] CSS for QuestyCaptcha question on Create Account page

2019-01-07 Thread Bartosz Dziewoński
it with the configuration option $wgAllowSiteCSSOnRestrictedPages = true. https://www.mediawiki.org/wiki/Manual:$wgAllowSiteCSSOnRestrictedPages -- Bartosz Dziewoński ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org

Re: [MediaWiki-l] Database exceeds size limit

2018-12-27 Thread Bartosz Dziewoński
You can empty the ‘objectcache’ table. Data in it will be computed again when needed. Note that doing this may also cause all users to get logged out, depending on your wiki configuration. -- Matma Rex ___ MediaWiki-l mailing list To unsubscribe, go

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-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-ambassadors mailing list Wikitech-ambassadors@lists.wikimedia.org

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

Re: [MediaWiki-l] Why are usernames force Ucfirst?

2018-09-19 Thread Bartosz Dziewoński
There is no good reason. But now it's scary to change it, since there could be places where we assume that usernames can not begin with a lowercase letter. There is task https://phabricator.wikimedia.org/T28396 about this. Although folks are complaining about it, it seems that no one has proposed

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-ambassadors] Interface Administrator rollout

2018-08-30 Thread Bartosz Dziewoński
On Thu, Aug 30, 2018 at 3:33 PM Deryck Chan wrote: > Well, the Interface Administrator right got rolled out and thousands of > admins lost their rights to edit the MediaWiki namespace (…) > Administrators can still edit most pages in the MediaWiki namespace. They only can not edit pages

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

  1   2   3   4   5   6   7   8   >