User talk:Dragoniez

From Meta, a Wikimedia project coordination wiki

Do you write user scripts for wikisource projects too? if not can you write one?[edit]

We at mrwikisource project are facing hell of a trouble about ocr tools. we need some tool to mass ocr pages. Atleast a one book at a time kind of tool. is it possible for you to write such a script? thanks QueerEcofeminist🌈 12:52, 5 August 2022 (UTC)[reply]

The lock checks can be improved by adding the lock reason to the tooltip. See also a similar change on enwiki. DatGuy (talk) 16:32, 11 November 2022 (UTC)[reply]

Configure MarkBLocked[edit]

I have enabled the MarkBLockedGlobal. Thanks for the script, but the "MarkBLockedGlobal" link from the right toolbar is intrusive. Is there any way to disable it? I do not think that I will visit Special:MarkBLockedConfig too often. --NGC 54 (talkcontribs) 20:04, 9 December 2023 (UTC)[reply]

The same issue with "ToollinkTweaks". :) --NGC 54 (talkcontribs) 20:12, 9 December 2023 (UTC)[reply]
Hi NGC 54, just to make sure I've got your needs right, you want the portlet links to not be there because they in some sense flood the toolbar (and you don't mean by "instrusive" that there're technical issues with them)?
The scripts currently don't have an option to opt out for portlet link generation, but you can remove the links right after their generations by adding the following code to the top of your global.js:
mw.hook('util.addPortletLink').add(function(portlet) {
	var id = portlet && portlet.id;
	if (id === 'ca-mblc' || id === 'ca-ttc') {
		portlet.remove();
	}
});
You might want to try this. Let me know if you need further help. Dragoniez (talk) 04:19, 10 December 2023 (UTC)[reply]
It works now, after adding the code. --NGC 54 (talkcontribs) 14:15, 10 December 2023 (UTC)[reply]
@NGC 54 Great :) I’m guessing it may be useful if I add a config for this, and if I ever do that I’ll let you know. Dragoniez (talk) 17:01, 10 December 2023 (UTC)[reply]

Have MarkBLocked doublestrike instead of red underline[edit]

Is it possible to configure MarkBLocked to strike global (b)locks twice, slightly similar to an oversighted revision, instead of a red underline? Aaron Liu (talk) 20:13, 25 February 2024 (UTC)[reply]

@Aaron Liu Yes that's possible, although you'll need to prepare CSS that overwrites ja:MediaWiki:Gadget-MarkBLocked-core.css. Find RU (signifying "red underline"), copy all of them into your global.css, and modify the code in a way like this. Dragoniez (talk) 01:25, 26 February 2024 (UTC)[reply]
Wow, that's a lot! I'll take a look at it, thanks! Aaron Liu (talk) 01:48, 26 February 2024 (UTC)[reply]