Jump to content

User talk:Legoktm/March 2017

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia


Administrators' newsletter – March 2017

News and updates for administrators from the past month (February 2017).

Administrator changes

AmortiasDeckillerBU Rob13
RonnotelIslanderChamal NIsomorphicKeeper76Lord VoldemortSherethBdeshamPjacobi

Guideline and policy news

Technical news

  • A recent query shows that only 16% of administrators on the English Wikipedia have enabled two-factor authentication. If you haven't already enabled it please consider doing so.
  • Cookie blocks should be deployed to the English Wikipedia soon. This will extend the current autoblock system by setting a cookie for each block, which will then autoblock the user after they switch accounts under a new IP.
  • A bot will now automatically place a protection template on protected pages when admins forget to do so.

GA bot doesn't count some signatures

I recently figured out how to reproduce a long-standing issue with the GA bot in which some editors (including myself) do not receive bot notifs about the review or review counts next to their signatures on WP:GAN. The bot needs to see a "User:" link in the nominator's signature. Currently, signatures with only "User_talk:" links will not receive notifs/counts. Edits like this appear to fix it. Would you be able to tweak the signature detection in the code so that it works with all signatures? (I think it's potentially line 259.) If you're unavailable, is there someone else who can help? czar 20:20, 2 March 2017 (UTC)

It's been years since I've looked at that code. But from what you're describing I think this should do the trick:
<?php
// Line 255
public function setNominator ( $nominator ) {
	$nominator = trim($nominator);
	if (!empty($nominator)) {
		$this->nominator = $nominator;
		preg_match("/\[\[User([ _]talk)?:(.+?)\|.+?\]\]/",$nominator,$m);
		if (!empty($m[2]))
			$this->nominator_plain = trim(ucfirst(str_replace('_',' ',$m[2])));
	}
}

--Chris 13:25, 3 March 2017 (UTC)

23:23, 6 March 2017 (UTC)

15:25, 13 March 2017 (UTC)

I notice that Wikipedia:Miscellany for deletion/Archived debates/March 2017 (edit | talk | history | links | watch | logs) is filled with duplicate logs of some similar cases. How do you fix it? --George Ho (talk) 18:35, 17 March 2017 (UTC)

22:03, 20 March 2017 (UTC)

14:46, 27 March 2017 (UTC)