[Wikitech-l] Inserting single line breaks in VisualEditor (from mediwiki-l)

2023-07-24 Thread Robert Vogel via Wikitech-l
here. Any help would be much appreciated. [1] https://www.mediawiki.org/wiki/Topic:Xhywmkd6b0mnwjk7 Greetings, Robert Vogel ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le

[Wikitech-l] VisualEditor inserting ``

2023-03-13 Thread Robert Vogel via Wikitech-l
Hi everyone! Inspired by https://www.mediawiki.org/wiki/VisualEditor/Gadgets#Implementing_a_custom_command I was trying to add a `` into the VE using this command: ``` ve.init.target.getSurface().getModel().getFragment().insertContent( [ { type: 'break' }, { type: '/break' } ] ); ``` While it

[Wikitech-l] Re: help mediawiki extension

2023-01-12 Thread Robert Vogel via Wikitech-l
Hi! Change use UrlUtils; to use MediaWiki\Utils\UrlUtils; - Robert Von: Tim Moody Gesendet: Donnerstag, 12. Januar 2023 16:27 An: Wikitech-l Betreff: [Wikitech-l] Re: help mediawiki extension I'm still a brick shy of a load: in extension.json I have

[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-15 Thread Robert Vogel via Wikitech-l
@Hashar: Just wondering, are there any plans to change CI configs after moving development/code-review from gerrit to gitlab [1]? Maybe some file living in the repo directly rather than using a centralized repo like `integration/config`? [1]

[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-12 Thread Robert Vogel via Wikitech-l
bility with only master is next to useless. To be honest, it boggles my mind that this hasn't become common practice long ago. -- The Slightly Mind-Boggled Ostrzyciel On 12/09/2022 16:14, Robert Vogel via Wikitech-l wrote: The continous integration testing currently uses the same branch fot the &quo

[Wikitech-l] Re: How to specify version of MW that Jenkins should run?

2022-09-12 Thread Robert Vogel via Wikitech-l
The continous integration testing currently uses the same branch fot the "dependecies" as it tests. So if you create a change set on branch `master`, it will use `master` for all the other repos (like mw core, extensions, skins) it clones to build up the environment. I am not aware of any way

[Wikitech-l] Re: Help +2 php 8.1 updates

2022-07-12 Thread Robert Vogel via Wikitech-l
Thanks Mark, that's just awesome! I'd like to express my support for those changes and also kindly ask the core developers of MediaWiki to review those changes. -- Robert Von: Mark A. Hershberger via Wikitech-l Gesendet: Mittwoch, 6. Juli 2022 16:07 An:

Re: [Wikitech-l] Installer override help

2021-01-14 Thread Robert Vogel
Hi Michael! you will need to create a "/mw-config/overrides/" [1] directory where you can implement all kinds of stuff [2], like a "LocalSettingsGenerator" [3]. Here are some examples: [1] https://github.com/hallowelt/mediawiki/tree/REL1_31/mw-config/overrides [2]

Re: [Wikitech-l] VisualEditor inheriting from TransclusionNode in parser function extension?

2020-11-25 Thread Robert Vogel
Hi Luc! >From my expierience inheritance of dialogs is rather hard to do and also >probably not meant to be done. In the end it might be easier to actually implement a standalone dialog. If you are interested in ways to modify existing dialogs and adding stuff to VisualEditor in general, you

Re: [Wikitech-l] Making breaking changes without deprecation?

2020-09-03 Thread Robert Vogel
anyways. As long as we have a way to know about such breaking changes (mailin-list, mw.org pages, release notes, ...) - and how to handle them - we should be good. -- Robert Vogel ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https

[Wikitech-l] `Parser::getTitle` may return `null`, even though it is not allowed to

2020-02-14 Thread Robert Vogel
one of these. -- Robert Vogel ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

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

2020-01-13 Thread Robert Vogel
Hi! have you tried this? https://www.mediawiki.org/wiki/VisualEditor/Gadgets/Add_a_tool -- Robert Von: Wikitech-l im Auftrag von Egbe Eugene Gesendet: Montag, 13. Januar 2020 10:21 An: Wikimedia developers Betreff: [Wikitech-l] How to alter the Visual Editor

[Wikitech-l] Extension:OATHAuth - breaking changes!

2019-08-05 Thread Robert Vogel
imedia.org/T228588 -- Robert Vogel Teamlead Produkt- & Softwareentwicklung   Hallo Welt! GmbH Postfach 11 02 09
93015 Regensburg Germany   Telefon: +49 (0) 941 - 660 80-0 Fax: +49 (0) 941 - 660 80-189   hallowelt.com vo...@hallowelt.com   Sitz: Regensburg Amtsgericht: Regensburg Handelsregister: HRB

[Wikitech-l] MediaWiki 1.28 is now LTS?

2017-07-14 Thread Robert Vogel
Hi! according to [1] the MediaWiki 1.28.2 was a LTS release. On [2] I can not find a hint about this. Is that maybe a mistake? [1] https://www.mediawiki.org/w/index.php?title=Download=2478392 [2] https://www.mediawiki.org/wiki/Version_lifecycle#Release_policy -- Robert Vogel (User:Osnard

Re: [Wikitech-l] OOJS-UI: label/data mechanism in "OO.ui.ComboBoxInputWidget"

2017-02-27 Thread Robert Vogel
Due to a request by a community member, this thread is now also available on http://stackoverflow.com/questions/42502268/oojs-ui-label- data-mechanism-in-oo-ui-comboboxinputwidget -- Robert On Fr, 2017-02-24 at 08:04 +, Robert Vogel wrote: > Hi everybody! > > I'm working on som

Re: [Wikitech-l] OOJS-UI: label/data mechanism in "OO.ui.ComboBoxInputWidget"

2017-02-26 Thread Robert Vogel
ur item's data to the color (value) and the label to > the word > you want to display, and when the user picks an option, the **label** > needs > to show in the ComboBoxInputWidget. > > Be aware, though, that if you listen to 'choose' or 'select' event > from > this input widge

[Wikitech-l] OOJS-UI: label/data mechanism in "OO.ui.ComboBoxInputWidget"

2017-02-24 Thread Robert Vogel
Hi everybody! I'm working on some OOJS-UI components for an extension and I've stumbled across something: The "OO.ui.ComboBoxInputWidget" allows to set an array of "OO.ui.MenuOptionWidget" objects in its "menu.items" config field. Such an item can have a "label" and a "data" field. The "data"

Re: [Wikitech-l] Creating a broken link

2017-01-25 Thread Robert Vogel
Hi Victor, you may use the return value of     MediaWikiServices::getInstance()->getLinkRenderer()->makeLink( Title::newFromText( 'Some title that does not exist' ) ); If you are within a ContextSource you may also call the shortcut "$this->getLinkRenderer()" -- Robert On Mi, 2017-01-25 at

[Wikitech-l] Development on img_auth.php

2016-12-16 Thread Robert Vogel
happy about any feedback. Oh, and I've already created a Phabricator task: https://phabricator.wikimedia.org/T153174 -- Robert Vogel ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] img_auth.php and extensions

2016-09-15 Thread Robert Vogel
or.wikimedia.org/T140334 best regards, Robert Vogel ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] How to make a good MediaWiki distribution?

2016-03-29 Thread Robert Vogel
]. [1] https://phabricator.wikimedia.org/T130812 -- Robert Vogel ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] ResourceLoader: Control caching

2015-11-23 Thread Robert Vogel
do with my custom ResourceLoaderModule subclass. I've already tried to override methods like "getModifiedHash" or "getModifiedTime" but without success. What can I do to get rid of the 'version' parameter in the load.php call and the 'expir

Re: [Wikitech-l] Tutorials / HowTos for VisualEditor

2015-08-28 Thread Robert Vogel
Thank you all for your responses! I've opened up a task on Phabricator [1] to discuss about a pre-save system or public hooks in general. [1] https://phabricator.wikimedia.org/T110644 -- Robert Vogel -Ursprüngliche Nachricht- Von: wikitech-l-boun...@lists.wikimedia.org

Re: [Wikitech-l] Tutorials / HowTos for VisualEditor

2015-08-27 Thread Robert Vogel
returns an error if no category is set. But this API error message cannot be styled/customized and it gets displayed _after_ the user clicked save. But of course I will open a Phabricator task if that is the better place for such a discussion. Thanks again, Robert Vogel -Ursprüngliche Nachricht

[Wikitech-l] Tutorials / HowTos for VisualEditor

2015-08-26 Thread Robert Vogel
] https://en.wikipedia.org/wiki/User:%D7%A2%D7%A8%D7%9F/veReplace.js [3] https://doc.wikimedia.org/VisualEditor/master [4] https://www.mediawiki.org/wiki/OOjs_UI/Toolbars Greetings, Robert Vogel ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

Re: [Wikitech-l] Gadget I18N: Recommendation?

2014-07-23 Thread Robert Vogel
Hi Helder, this is great news, thank you. Unfortunately there is not much information on _how_ to register the messages. I guess the code listing below gd_shared [1] with the line messages: [foobar-welcome, foo-bye, recentchanges], shall be an example definition. It probably is intended

Re: [Wikitech-l] Gadget I18N: Recommendation?

2014-07-23 Thread Robert Vogel
Hi Bartosz, thank you very much. This is exactly the information I needed. -- Robert -Ursprüngliche Nachricht- Von: wikitech-l-boun...@lists.wikimedia.org [mailto:wikitech-l-boun...@lists.wikimedia.org] Im Auftrag von Bartosz Dziewonski Gesendet: Mittwoch, 23. Juli 2014 17:19 An:

[Wikitech-l] Gadget I18N: Recommendation?

2014-07-22 Thread Robert Vogel
%3AOsnard%2FGadget-Test%2Fde.jsaction=rawctype=text%2Fjavascript [3] https://www.mediawiki.org/wiki/User:Osnard/Gadget-Test.js [4] https://www.mediawiki.org/wiki/Localisation#mediaviewer/File:MediaWiki_fallback_chains.svg -- Robert Vogel Softwareentwicklung Hallo Welt! - Medienwerkstatt GmbH

Re: [Wikitech-l] Watchlist and RC refactor, and why you will like it

2014-01-10 Thread Robert Vogel
for the context in some other way? Maybe even by accessing global state? -- Robert Vogel -Ursprüngliche Nachricht- Von: wikitech-l-boun...@lists.wikimedia.org [mailto:wikitech-l-boun...@lists.wikimedia.org] Im Auftrag von Aaron Schulz Gesendet: Freitag, 10. Januar 2014 04:14 An: wikitech-l

Re: [Wikitech-l] wikidata-vagrant: SSH command responded with a non-zero exit status

2013-06-21 Thread Robert Vogel
Hi, never mind. I've submitted a bug report (https://bugzilla.wikimedia.org/show_bug.cgi?id=49944). If I can help you with more information, please let me know. -- Robert Vogel ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https

[Wikitech-l] wikidata-vagrant: SSH command responded with a non-zero exit status

2013-06-14 Thread Robert Vogel
”) are dead. Has anybody an idea what the problem might be? I’m using a Windows 8 machine as host. Thanks! [1] http://meta.wikimedia.org/wiki/Wikidata/Development/Setup -- Robert Vogel ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https

Re: [Wikitech-l] Asynchronous JavaScript execution order questions

2013-01-31 Thread Robert Vogel
Hi Daniel, I'm not very experienced with ResourceLoader, but maybe 'mw.loader.using()' [1] suits your needs. You can specify a module dependency and a callback function on the client side. Another way to keep the right execution order may be to establish some kind of global hook system

Re: [Wikitech-l] Disable module mediawiki.searchSuggest in MW 1.20+

2013-01-21 Thread Robert Vogel
Hi Krinkle! Thanks for the clarification! mediawiki.searchSuggest does NOT use jquery.ui.autocomplete. Yes, I know. I never said anything like this. Maybe this was a misunderstanding. I said I wanted to replace mediawiki.searchSuggest with my own implementation _based on_

Re: [Wikitech-l] Disable module mediawiki.searchSuggest in MW 1.20+

2013-01-21 Thread Robert Vogel
Hi Thomas, thanks for sharing your experiences. The issues you mention can truly be problematic. I will keep them in mind. But for my use case jquery.ui.autocomplete does work quite well. [...] and my advice for MediaWiki is, _not_ to go this way. I don't think there were considerations

Re: [Wikitech-l] Disable module mediawiki.searchSuggest in MW 1.20+

2013-01-17 Thread Robert Vogel
2013 18:02 An: Wikimedia developers Betreff: Re: [Wikitech-l] Disable module mediawiki.searchSuggest in MW 1.20+ On Jan 15, 2013, at 9:18 AM, Robert Vogel vo...@hallowelt.biz wrote: Hi everybody! I'm writing an extension that needs to replace/disable the build-in suggestion feature

[Wikitech-l] Disable module mediawiki.searchSuggest in MW 1.20+

2013-01-15 Thread Robert Vogel
offer me any hooks or interfaces that would allow my extension to remove the module programmatically. Any hints on this? Thanks in advance! Best regards, Robert Vogel Social Web Technologien Softwareentwicklung Hallo Welt! - Medienwerkstatt GmbH __ Residenzstraße 2 93047

Re: [Wikitech-l] New committer

2012-01-12 Thread Robert Vogel
with the file backend we should have a complete Azure bundle, shouldn't we? -- Robert Vogel Social Web Technologien Softwareentwicklung Hallo Welt! - Medienwerkstatt GmbH __ Untere Bachgasse 15 93047 Regensburg Tel. +49 (0) 941 - 66 0 80 - 198 Fax +49 (0) 941 - 66 0 80

[Wikitech-l] Cascading HTMLForms

2011-11-14 Thread Robert Vogel
? I'm a little stuck here. Help is very appreciated. Best regards, Robert Vogel Social Web Technologien Softwareentwicklung Hallo Welt! - Medienwerkstatt GmbH __ Untere Bachgasse 15 93047 Regensburg Tel. +49 (0) 941 - 66 0 80 - 198 Fax +49 (0) 941 - 66 0 80

Re: [Wikitech-l] SQL: Stored Procedures and MediaWiki

2011-08-05 Thread Robert Vogel
Hi Brion, thanks for the hint. Is there a tutorial or documentation on how to use stored procedures in MediaWiki? Do you - or anybody else - know an extension that makes use of this feature? Something we can take a look at? Greetings, Robert Vogel Hallo Welt! - Medienwerkstatt GmbH

Re: [Wikitech-l] SQL: Stored Procedures and MediaWiki

2011-07-28 Thread Robert Vogel
to the SQL Database directly, it works. But the update.php throws a syntax error. In general, is it possible to provide stored procedures this way? Could there be a problem with the way the sql-file is read? Greetings, Robert Vogel Social Web Technologien Softwareentwicklung Hallo Welt

[Wikitech-l] SQL: Stored Procedures and MediaWiki update.php

2011-07-27 Thread Robert Vogel
, or not. We tried it out and it didn't work for us. The update.php says we've got an error in the SQL syntax, but there isn't one. Can anybody help us? Is it possible to provide stored procedures to the database using the update.php? Is there an example anywhere? Thx. Greetings, Robert Vogel Social Web