Thanks a lot, this works.
Martin ...
Am Do., 16. Nov. 2023 um 11:11 Uhr schrieb Jon Harald Søby <jhsoby@gmail.com
:
It's not a bug. The behaviour depends on what key combination your browser needs to trigger access keys. Look at the table in https://en.wikipedia.org/wiki/Wikipedia:Keyboard_shortcuts for a list of the default key combinations. The one in Firefox is configurable at least, so the others might be too.
If you want to disable Alt+V for everything on-wiki, you can use this JavaScript instead:
$( '[accesskey=v]' ).removeAttr( 'accesskey' );
If you want to remove all on-wiki accesskeys altogether, you can remove the =v part from accesskey=v in that snippet.
tor. 16. nov. 2023 kl. 08:49 skrev Martin Domdey dr.taxon@gmail.com:
Thank you!
It's the second one of your suggestions.
But now ALT+V loads the diff of the editing page. I guess, loading the diff of the editing page should be SHIFT+ALT+V, not ALT+V. Is this a bug?
Kind regards Martin ...
Am Do., 16. Nov. 2023 um 08:32 Uhr schrieb Jon Harald Søby < jhsoby@gmail.com>:
For an entire wiki:
Change the content of [[MediaWiki:accesskey-ca-ve-edit]] to nothing (an empty page).
For just you:
Add this to your common.js or global.js https://www.mediawiki.org/wiki/Manual:Interface/JavaScript:
$( '#ca-ve-edit a' ).removeAttr( 'accesskey' );
ons. 15. nov. 2023 kl. 22:43 skrev Martin Domdey dr.taxon@gmail.com:
Hello!
Can you say me please how can I opt out the switch to Visual Editor by ALT+V ?
Thank you Martin ...
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
-- mvh Jon Harald Søby _______________________________________________ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
-- mvh Jon Harald Søby _______________________________________________ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/