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

mediawiki:User:Dragoniez/Gadget-MarkBLocked.js suggestion

edit

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 (talkļ½œcontribs) 20:04, 9 December 2023 (UTC)Reply

The same issue with "ToollinkTweaks".Ā :) --NGC 54 (talkļ½œcontribs) 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 (talkļ½œcontribs) 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
@NGC 54 I have updated the core module and you can now opt out for portlet link generation at Special:MarkBLockedConfig. I have also reworded the portlet link text from "Configure MarkBLocked" to "MBL config", to address the issue of the intrusiveness you mentioned. Dragoniez (talk) 22:02, 8 August 2024 (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
@Aaron Liu I've just updated the core module and introduced some double styles, though in a different way from the one you mentioned. Check out User:Dragoniez/MarkBLockedGlobal/versions#v3.0.0 for details. And, the style sheet is now much cleaner. Dragoniez (talk) 20:57, 11 August 2024 (UTC)Reply
That's wonderful! It is a lot better. Aaron Liu (talk) 22:15, 11 August 2024 (UTC)Reply

DragoniezBot

edit

Is User:DragoniezBot your account? I found this one on an LTA range, but I waited with potentially locking this one as this was a large range and the account had no edits or blocks anywhere. EPIC (talk) 08:25, 10 August 2024 (UTC)Reply

Thanks EPIC, as always. That's not mine. Dragoniez (talk) 08:29, 10 August 2024 (UTC)Reply
Thanks for the reply! Now locked. EPIC (talk) 08:36, 10 August 2024 (UTC)Reply