Jump to content

Steward requests/Miscellaneous/2021-06

From Meta, a Wikimedia project coordination wiki

Manual requests

Vandalism

Status:    Locally handled

Not sure if this the right place to report this, but as I'm not sure if this is a global problem I'll try here instead of SRG. Please block User:86.135.88.42 who is vandalising on Metawiki. Thanks. EstrellaSuecia (talk) 06:17, 6 June 2021 (UTC)

@EstrellaSuecia: I've blocked locally here on meta for their local vandalism, and reported to SRG for a global block because they were also vandalizing on other wikis (its an LTA). In the future, for reports of meta vandalism Meta:Requests for help from a sysop or bureaucrat should be used instead. Thanks, --DannyS712 (talk) 06:20, 6 June 2021 (UTC)
@DannyS712: Alright thanks! The xwiki contribs-slite would not load for me so I was not sure on whether this was a local or X-wiki problem. I'll make sure to use that noticeboard in the future. EstrellaSuecia (talk) 06:23, 6 June 2021 (UTC)

Editing Common.js on Japanese Wiktionary

Status:    Done

Please edit MediaWiki pages as below.

① Please move ja:wikt:利用者:Naggy Nagumo/UpdateLanguageNameAndCode.js to ja:wikt:MediaWiki:UpdateLanguageNameAndCode.js

② Please replace ja:wikt:MediaWiki:Common.js with this code:

/* ここに書いたスクリプトは全ての外装に反映されます */

/** "Technical restrictions" title fix *****************************************
 *
 *  Description:
 *  Maintainers:,
 */

// For pages that have something like Template:Lowercase, replace the title, but only if it is cut-and-pasteable as a valid wikilink.
//  (for instance iPod's title is updated. But [[C#]] is not an equivalent wikilink, so [[C Sharp]] doesn't have its main title changed)
// [[テンプレート:項目名の制約]]、[[テンプレート:骨簡体字]]で使用。
// The function looks for a banner like this: 
 // <div id="RealTitleBanner">   <!-- div that gets hidden -->
 //  <span id="RealTitle">title</span>
 // </div>
 // An element with id=DisableRealTitle disables the function.
var disableRealTitle = 0;				// users can disable this by making this true from their monobook.js
if ( mw.config.get('wgIsArticle') ) {						// don't display the RealTitle when editing, since it is apparently inconsistent (doesn't show when editing sections, doesn't show when not previewing)
	mw.hook( 'wikipage.content' ).add(function() {
		try {
			var realTitleBanner = document.getElementById("RealTitleBanner");
			if (realTitleBanner && !document.getElementById("DisableRealTitle") && !disableRealTitle) {
				var realTitle = document.getElementById("RealTitle");
				if (realTitle) {
					var realTitleHTML = realTitle.innerHTML;
					realTitleText = $(realTitle).text();
					
					var isPasteable = 0;
					//var containsHTML = /</.test(realTitleHTML);		 // contains ANY HTML
					var containsTooMuchHTML = /</.test( realTitleHTML.replace(/<\/?(sub|sup|small|big)>/gi, "") ); // contains HTML that will be ignored when cut-n-pasted as a wikilink
					// calculate whether the title is pasteable
					var verifyTitle = realTitleText.replace(/^ +/, "");				// trim left spaces
					verifyTitle = verifyTitle.charAt(0).toUpperCase() + verifyTitle.substring(1, verifyTitle.length);		// uppercase first character
					
					// if the namespace prefix is there, remove it on our verification copy.  If it isn't there, add it to the original realValue copy.
					if ( mw.config.get('wgNamespaceNumber') != 0) {
						if (mw.config.get('wgCanonicalNamespace') == verifyTitle.substr(0, mw.config.get('wgCanonicalNamespace').length).replace(/ /g, "_") && verifyTitle.charAt(mw.config.get('wgCanonicalNamespace').length) == ":") {
							verifyTitle = verifyTitle.substr(mw.config.get('wgCanonicalNamespace').length + 1);
						} else {
							realTitleText = mw.config.get('wgCanonicalNamespace').replace(/_/g, " ") + ":" + realTitleText;
							realTitleHTML = mw.config.get('wgCanonicalNamespace').replace(/_/g, " ") + ":" + realTitleHTML;
						}
					}
					
					// verify whether wgTitle matches
					verifyTitle = verifyTitle.replace(/^ +/, "").replace(/ +$/, "");				// trim left and right spaces
					verifyTitle = verifyTitle.replace(/_/g, " ");			// underscores to spaces
					verifyTitle = verifyTitle.charAt(0).toUpperCase() + verifyTitle.substring(1, verifyTitle.length);		// uppercase first character
					isPasteable = (verifyTitle == mw.config.get('wgTitle'));
					
					var h1 = document.getElementsByTagName("h1")[0];
					if (h1 && isPasteable) {
						h1.innerHTML = containsTooMuchHTML ? realTitleText : realTitleHTML;
						if (!containsTooMuchHTML)
							realTitleBanner.style.display = "none";
					}
					document.title = realTitleText + " - Wiktionary";
				}
			}
		} catch (e) {
			/* Something went wrong. */
		}
	});
}

// [[en:Special:PermanentLink/61624914|en:MediaWiki:Common.js]] から移入。
/* == Make it easy to update language name-to-code and code-to-name data modules == */
// This regex will always match.
if (['Module:languages/code_to_canonical_name', 'Module:languages/canonical_names']
.indexOf(mw.config.get('wgPageName').match(/^[^\/]*(?:\/[^\/]+)?/)[0]) !== -1)
	importScript('MediaWiki:UpdateLanguageNameAndCode.js');

The discussion page is "ja:wikt:Wiktionary:編集室/2020年Q3#言語表記テンプレートを置き換える提案". There is no interface administrators on Japanese Wiktionary. Thanks. --Naggy Nagumo (talk) 14:11, 9 June 2021 (UTC)

Done Ruslik (talk) 20:50, 10 June 2021 (UTC)

Editing Common.js on Japanese Wiktionary (again)

Status:    Done

The code I wrote on #Editing Common.js on Japanese Wiktionary was wrong. Please replace ja:wikt:MediaWiki:Common.js with this code:

/* ここに書いたスクリプトは全ての外装に反映されます */

/** "Technical restrictions" title fix *****************************************
 *
 *  Description:
 *  Maintainers:,
 */

// For pages that have something like Template:Lowercase, replace the title, but only if it is cut-and-pasteable as a valid wikilink.
//  (for instance iPod's title is updated. But [[C#]] is not an equivalent wikilink, so [[C Sharp]] doesn't have its main title changed)
// [[テンプレート:項目名の制約]]、[[テンプレート:骨簡体字]]で使用。
// The function looks for a banner like this: 
 // <div id="RealTitleBanner">   <!-- div that gets hidden -->
 //  <span id="RealTitle">title</span>
 // </div>
 // An element with id=DisableRealTitle disables the function.
var disableRealTitle = 0;				// users can disable this by making this true from their monobook.js
if ( mw.config.get('wgIsArticle') ) {						// don't display the RealTitle when editing, since it is apparently inconsistent (doesn't show when editing sections, doesn't show when not previewing)
	mw.hook( 'wikipage.content' ).add(function() {
		try {
			var realTitleBanner = document.getElementById("RealTitleBanner");
			if (realTitleBanner && !document.getElementById("DisableRealTitle") && !disableRealTitle) {
				var realTitle = document.getElementById("RealTitle");
				if (realTitle) {
					var realTitleHTML = realTitle.innerHTML;
					realTitleText = $(realTitle).text();
					
					var isPasteable = 0;
					//var containsHTML = /</.test(realTitleHTML);		 // contains ANY HTML
					var containsTooMuchHTML = /</.test( realTitleHTML.replace(/<\/?(sub|sup|small|big)>/gi, "") ); // contains HTML that will be ignored when cut-n-pasted as a wikilink
					// calculate whether the title is pasteable
					var verifyTitle = realTitleText.replace(/^ +/, "");				// trim left spaces
					verifyTitle = verifyTitle.charAt(0).toUpperCase() + verifyTitle.substring(1, verifyTitle.length);		// uppercase first character
					
					// if the namespace prefix is there, remove it on our verification copy.  If it isn't there, add it to the original realValue copy.
					if ( mw.config.get('wgNamespaceNumber') != 0) {
						if (mw.config.get('wgCanonicalNamespace') == verifyTitle.substr(0, mw.config.get('wgCanonicalNamespace').length).replace(/ /g, "_") && verifyTitle.charAt(mw.config.get('wgCanonicalNamespace').length) == ":") {
							verifyTitle = verifyTitle.substr(mw.config.get('wgCanonicalNamespace').length + 1);
						} else {
							realTitleText = mw.config.get('wgCanonicalNamespace').replace(/_/g, " ") + ":" + realTitleText;
							realTitleHTML = mw.config.get('wgCanonicalNamespace').replace(/_/g, " ") + ":" + realTitleHTML;
						}
					}
					
					// verify whether wgTitle matches
					verifyTitle = verifyTitle.replace(/^ +/, "").replace(/ +$/, "");				// trim left and right spaces
					verifyTitle = verifyTitle.replace(/_/g, " ");			// underscores to spaces
					verifyTitle = verifyTitle.charAt(0).toUpperCase() + verifyTitle.substring(1, verifyTitle.length);		// uppercase first character
					isPasteable = (verifyTitle == mw.config.get('wgTitle'));
					
					var h1 = document.getElementsByTagName("h1")[0];
					if (h1 && isPasteable) {
						h1.innerHTML = containsTooMuchHTML ? realTitleText : realTitleHTML;
						if (!containsTooMuchHTML)
							realTitleBanner.style.display = "none";
					}
					document.title = realTitleText + " - Wiktionary";
				}
			}
		} catch (e) {
			/* Something went wrong. */
		}
	});
}

// [[en:Special:PermanentLink/61624914|en:MediaWiki:Common.js]] から移入。
/* == Make it easy to update language name-to-code and code-to-name data modules == */
// This regex will always match.
if (['モジュール:languages/code_to_canonical_name', 'モジュール:languages/canonical_names']
.indexOf(mw.config.get('wgPageName').match(/^[^\/]*(?:\/[^\/]+)?/)[0]) !== -1)
	importScript('MediaWiki:UpdateLanguageNameAndCode.js');

Thanks --Naggy Nagumo (talk) 22:52, 10 June 2021 (UTC)

Done Ruslik (talk) 20:58, 12 June 2021 (UTC)

Cross-wiki abuse

Status:    Not done
See also : en, fr.

Due to long-term abuse from Gienj et Kabrol (same person, global-locked), this item seems to not meet standards for wikis. A speedy deletion is needed, any wiki still can recreate the page if standards are met or if there's consensus. --LD (talk) 17:00, 10 June 2021 (UTC)

All those wikis have their own admins. Ruslik (talk) 20:57, 14 June 2021 (UTC)

Assigning newsletter-related rights on Mediawiki.org

Status:    Not done

Hello, I need newsletter-create, newsletter-delete, and newsletter-manage rights on Mediawiki.org to be granted to this account, since we're planning to set up a new newsletter for the Structured data across Wikimedia project, and we would like to use the Newsletter extension in order to avoid flooding user talks. Thank you. --Sannita (WMF) (talk) 16:30, 14 June 2021 (UTC)

Not done As these userrights are currently assigned only to the administrators, you should ask local bureaucrats of Mediawiki whether they are willing to promote you to this status. Ruslik (talk) 21:03, 14 June 2021 (UTC)

Interface administrator request

Status:    Done

though as a gadget, not default

I'm an administrator of wikibooks so I can't do this. Please import this into this. Đức Anh (talk) 05:47, 24 May 2021 (UTC)

@Đức Anh: is there community consensus for that change? Or at least some level of discussion to give IAs authority to act? If you could please add a permalink to the conversation it would be appreciated. Also, I would much prefer to add it as a local gadget which users can control rather than be imposed upon users who not wish to have it.  — billinghurst sDrewth 08:49, 24 May 2021 (UTC)
@Đức Anh: above ^^^ , otherwise we will close this as not done.  — billinghurst sDrewth 00:35, 15 June 2021 (UTC)
I have placed the gadget in place as a call to viVoy (js and css) and made it active for the viWB community, that seems reasonable enough; and not default. Without community consensus I am unwilling to do more. Please see and how well it is working for your needs. I will put a replica notice at b:vi:Wikibooks:Phòng_thảo_luận  — billinghurst sDrewth 01:02, 15 June 2021 (UTC)

Remove GFDL as suggested license on km.wiki + question about deleting files without a license

Status:    Done

GFDL is not a good license so I made a post to remove it as a suggested license: km:ការពិភាក្សាអំពីមេឌាវិគី:Licenses. Wiki is not very active and by the look of km:ចំណាត់ថ្នាក់ក្រុម:Files with no license it seem as copyright is not a top priority atm. So lets help them a bit :-)

I added the 841 files without a license to the category above more than 2 weeks ago and informed all the uploades. Not even 1 file was fixed. So the question is now if I have to add a deletion tag to the files or if global sysops can start to delete the files whenever they have some time to spare?

If it can help I can add a deletion tag to the unused files without a license so global sysops could start with those. I operate without bot flag per see Special:Diff/21516421. --MGA73 (talk) 19:19, 16 June 2021 (UTC)

Done Ruslik (talk) 20:52, 16 June 2021 (UTC)

Interface administrator request

Status:    Done

Please copy this code into MediaWiki:Commons.js

//Dùng cho mẫu thông báo động chạy ngang trên Trang Chính//
var width = $('.ticker-text').width(),
    containerwidth = $('.ticker-container').width(),
    left = containerwidth;
$(document).ready(function(e){
	function tick() {
        if(--left < -width){
            left = containerwidth;
        }
        $(".ticker-text").css("margin-left", left + "px");
        setTimeout(tick, 8);
      }
      tick();
});
//Hết phần thông báo động chạy ngang trên Trang Chính//

And set Gadget-Carousel as default.

Discussion: vi:b:Wikibooks:Phòng_thảo_luận#Thay_Trang_Chính_mới

Đức Anh (talk) 01:28, 16 June 2021 (UTC)

Done Ruslik (talk) 21:01, 18 June 2021 (UTC)
@Ruslik0: Oh no. You haven’t finished my request yet. Đức Anh (talk) 23:31, 18 June 2021 (UTC)
Please move that code to the top of MediaWiki:Common.js; and set Gadget-Carousel as default. Đức Anh (talk) 23:48, 18 June 2021 (UTC)
Done but actually you can edit gadget definitions yourself. Ruslik (talk) 11:53, 19 June 2021 (UTC)
@Ruslik0: I am a little surprised that a conversation that was open for one day was taken as a consensus of the community. I had indicated to that admin that typically we would have a consensus conversation would be open for a week.  — billinghurst sDrewth 12:04, 19 June 2021 (UTC)

Removal of AntiSpoof restrictions from my old username

Status:    Not done

A few months ago, I applied for a username change. My old name is “El anónimo antisistema”, and I would like you to remove the AntiSpoof restrictions for that name, freeing it up for reuse. With this, I authorize that this name can be used again. --Sargento de Hierro (talk) 20:27, 18 June 2021 (UTC)

@Sargento de Hierro That is technically not possible. Not done, as there are no buttons that would let anyone to do this kind of thing. Note any administrator can bypass antispoof restriction when creating an account (but not generally, for anyone). Best, Martin Urbanec (talk) 12:10, 19 June 2021 (UTC)

Shutdown of Swedish Wikiversity

Status:    Done

Project: sv.wikiversity.org

Please put an admin lock on sv:v:Portal:Huvudsida and create sv:v:MediaWiki:Sitenotice with this text:

"Svenskspråkiga Wikiversity är inte längre aktivt, för mer information se diskussionen [[Wikiversity:Café#Kanske dags snart att göra samma med svenska Wikiversity som med svenska Wikinews?|här]].<br/>Swedish Wikinews is no longer active. See [[Wikiversity:Café#Kanske dags snart att göra samma med svenska Wikiversity som med svenska Wikinews?|the local discussion]] for more information."

Due to the lack of activity and local admins or crats (almost all of the edits on recent changes are spambots, and there are no pages created since october 2020 that are not vandalism or user page creation) we have decided, after a discussion, to do the same thing as with Swedish Wikinews and close down the project. EPIC (talk) 18:56, 17 June 2021 (UTC)

Done Ruslik (talk) 20:56, 17 June 2021 (UTC)
@EPIC: adding this banner will not stop spambots, so maybe you want to take a look at Closing projects policy and/or Proposals for closing projects. --Zabe (talk) 18:53, 18 June 2021 (UTC)
I'll take a look. I think Swedish Wikinews still also has spambots, even though it's closed, and we did the same thing - lock the main page and put a banner on the webside. EPIC (talk) 19:20, 18 June 2021 (UTC)
@Ruslik0: I don't believe that your actions comply with the policy for closure of wikis.

The community no longer has authority over closing projects, but only an advisory role.

— Closing projects policy

.

 — billinghurst sDrewth 12:11, 19 June 2021 (UTC)
What does this policy have to do with the current request? Ruslik (talk) 20:57, 20 June 2021 (UTC)

User:EPIC: I want to reiterate what Zabe said - of course putting a sitenotice on the project to indicate that it is inactive is no problem, but if the wiki should be prevented from editing to avoid further spamming, it should be properly closed. --MF-W 16:25, 19 June 2021 (UTC)

Yes, to be exact, we are not "deleting" the project. We can create a proposal for closing the project but, like with Wikinews, as far as I know inactivity is not a reason to delete a project, so we did the same thing as with Wikinews and on WN we put a banner that says the project is no longer active and if help is needed, we can contact the crats, which in this case are User:Ainali and User:Rasmus 28. In Wikiversity's case it was harder because we no longer have local admins. EPIC (talk) 16:39, 19 June 2021 (UTC)

Cross-wiki sockpuppettry on Meneses Monroy

Status:    Locally handled

Hello, note sure where I should post this.

SPI on fr-wiki found a batch of sockpuppets who edit cross-wiki, only to promote fr:Meneses Monroy (a Mexican writer) and his poems and his actions.

fr:Wikipédia:Vérificateur d'adresses IP/Requêtes/juin 2021#Teaselower, Alignparis, Remithairy et un paquet d'autres - 8 juin

Confirmed socks on fr-wp are: Repelslavs= Alignparis =Remithairy =Menusyowls =Wearyveils=Darthrisen= Zetalying =Teaselower =Wimpraul= Studycyril =Swigsinai= Krebsprice =Suitpate= Ovumscant. However, many other accounts did not visit fr and may be the same puppet master.

Best regards, Bédévore (talk) 12:12, 9 June 2021 (UTC)

This has been pushed to local wikis to manage, nothing much we can do globally beyond monitor in our vanity abuse filter.

OAuth permissions