User talk:RobertL

From MediaWiki.org
Jump to navigation Jump to search

Archives
December 2007 - March 2009

Extension:MultiBoilerplate Suggestion[edit]

Hi there. Just wanted to say great extension that I have found very useful.

I have made a slight change to my install to allow me to add instructions to the MediaWiki:Multiboilerplate page and not have it break the reading of the page for the available templates and thought you might want to add it in. It now ignores all lines not starting with an asterisk.

This is the updates code at around line 80(ish) of MultiBoilerplate.php, with the new if statement wrapped around the existing code...

			if (substr(ltrim($row), 0, 1)=="*") {
				$row = ltrim( $row, '* ' ); // Remove the asterix (and a space if found) from the start of the line.
				$row = explode( '|', $row );
				if( !isset( $row[ 1 ] ) ) return true; // Invalid syntax, abort.
				$selected = false;
				if( $wgRequest->getVal( 'boilerplate' ) == $row[ 1 ] ) $selected = true;
				$options .= Xml::option( $row[ 0 ], $row[ 1 ], $selected );
			}

Thanks again,

Toby — Preceding unsigned comment added by Tangled Kid (talkcontribs)

Thanks for the patch, I'll have a look at it and integrate it in to the extension during the summer. RobertL 18:33, 11 June 2009 (UTC)
Commited in r54057. Thanks! RobertL 23:04, 30 July 2009 (UTC)

Mibbit error[edit]

Hi Robert! On my wiki, I've installed Mibbit extension and it worked until two week ago... Now, when I try to connect me on a IRC channel, output is "Terminated"... I've not changed noone setting in LocalSetting... What's up? Thanks in advance :) !--Marco 27 16:11, 5 July 2009 (UTC)

Connecting to freenode is no longer possible using Mibbit, this is not my fault and there is nothing I can do about it. Sorry! RobertL 19:25, 5 July 2009 (UTC)
Ok, thanks! Can you suggest me any extension to connect to freenode? Thanks :) !--Marco 27 22:39, 5 July 2009 (UTC)
No, sorry. I can only suggest using a standalone web client such as CGI:IRC or freenode webchat (although I honestly cannot recommend either of these). RobertL 10:12, 6 July 2009 (UTC)
Ok, thanks! Have a nice day :) !--Marco 27 10:19, 6 July 2009 (UTC)
When I use Mibbit extension to connect to a server, extension insert automatically wiki-username in Nick field... There's a way to insert _ instead of + when there are spaces in nickname? Thanks a lot :) !--Marco 27 14:40, 6 July 2009 (UTC)
I've updated the extension so that it now does this. RobertL 14:55, 7 July 2009 (UTC)
Thanks a lot! You are very gentle! Have a nice day :) !--Marco 27 15:44, 7 July 2009 (UTC)

Robert - is there a way to add a timestamp to the mibbit chat output? -- gahoo

Not currently in the latest version of the extension, sorry. It may be possible using the original Mibbit extension, or by making minor changes to the code - but I cannot support this. RobertL 19:31, 17 November 2009 (UTC)
I've made edits to your WebChat extension, it should support mibbit's custom settings via md5 or whatever they are hashes. http://brettc.replayirc.com/215/mwmibbit.html - You will need to make a mibbit account for the chat / widget manager over at mibbit.com. --Bctrainers 11:06, 23 January 2010 (UTC)
Thanks, I'll take a look at this at some point and see about integrating your changes in to the trunk code - it seems to be a feature that I neglected to add when converting Extension:Mibbit to Extension:WebChat. RobertL 19:11, 23 January 2010 (UTC)

btestfair[edit]

Hi, Can you explain why my page was deleted? Thanks — Preceding unsigned comment added by Btestfair (talkcontribs)

This wiki is not for testing or content not specifically about or related to the MediaWiki software. Your page is about "Betfair" which certainly does not fit this criteria, and is also a test page. RobertL 13:18, 22 July 2009 (UTC)
- Thanks for the clarification — Preceding unsigned comment added by Btestfair (talkcontribs)

I'll ask it from you[edit]

What is "wiki root directory"? --62.240.86.78 22:35, 30 July 2009 (UTC)

The base of your MediaWiki installation, that is the directory that your LocalSettings.php, index.php, api.php (and more) files are in. RobertL 22:51, 30 July 2009 (UTC)
Okay. How can it be found? --62.240.86.78 22:53, 30 July 2009 (UTC)
If you installed the wiki yourself you should know where it is, it's the directory where you extracted the files to. I don't think I can help you locate it. RobertL 22:57, 30 July 2009 (UTC)
Thank you for advice. My wiki will change it's residence... --62.240.86.78 23:44, 30 July 2009 (UTC)

Extension:CategoryOnUpload Suggestion[edit]

Hi. Extension:CategoryOnUpload is great. I really like it. I made some changes, so it would fit more to my needs. You implemented the list $wgCategoryOnUploadList to override the categories from the db, but I needed to have a blacklist for categories not to show from the list of categories. I find this quite helpful, so here comes my code. Perhaps you like it and want to implement it as a new feature. You then can give an array like $wgCategoryOnUploadListNot = array( 'Images', 'Featured Images' ); to load all categories from the db, but those in the array.

Line 44:

	$wgCategoryOnUploadListNot = null;

Line 87:

	global $wgCategoryOnUploadDefault, $wgCategoryOnUploadList, $wgCategoryOnUploadListNot;

Line 89:

	if( !is_array( $wgCategoryOnUploadList ) && !is_array( $wgCategoryOnUploadListNot ) ) {

Line 130:

	} else if( is_array( $wgCategoryOnUploadListNot ) ) {

		$dbr = wfGetDB( DB_SLAVE );
		
		$res = $dbr->query( 'SELECT DISTINCT cl_to FROM ' . $wgDBprefix . 'categorylinks' );

		while( $row = $dbr->fetchObject( $res ) ) {

			$a1[] = $row->cl_to;
			/* Add categories to array a1
			 */
		} 
		
		$a2 = array_diff($a1,$wgCategoryOnUploadListNot);
			/* Build an array with differences between array a1 and the user input $wgCategoryOnUploadListNot
			 */
			 
		foreach( $a2 as $category ) {
			$text   = str_replace( '_', ' ', $category );

			$cat .= Xml::option( $text, $category, ( $text == $wgCategoryOnUploadDefault ) );
		}
		
	} else { ... your code continous

Thanks,

pythox 17:21, 7 October 2009 (UTC)

User rename requested[edit]

Hello Robert,

KristianS requested that his user here be renamed so that he can create a new account (he's lost his password). Can you rename the existing user (only 1 edit years ago)?

Thanks! Sj 05:49, 31 January 2010 (UTC)

Please can you instruct this user to first create an account on this wiki (with any name) that I can then rename to "KristianS" - this would ensure that the account is not taken by a malicious user in the process. RobertL 12:04, 31 January 2010 (UTC)
New account created. --KristianTemp 12:02, 1 February 2010 (UTC)
Yes Done RobertL 15:57, 1 February 2010 (UTC)

MultiBoilerplate README missing[edit]

  1. Missing from SVN
  2. Where does ones start if they don't have Boilerplates set yet, but would like to?
  3. Do the Boilerplates that are made need to be transcluded in to some main boilerplate page for the drop down menu? For example if I have the following Boiler plates: {{Template:Boilerplate Glossary Term}} {{Template:Boilerplate Bio}} do they need to be specified somewhere to be part of the extension drop down menu?

Thanks! --SomaticJourney 19:45, 5 March 2010 (UTC)

Resolve on IRC. RobertL 08:15, 14 April 2010 (UTC)

Extension:WebChat example?[edit]

Any examples of wikis using this extension, can you please add it to the table at Extension:WebChat? I tried to look up the site in the picture, minuteelectron "mibbit chat" but was unable to find it. Adamtheclown 15:36, 5 December 2010 (UTC)

Babel extension - ready to deploy?[edit]

Hi! I am an admin over at en.Wikisource, and I am hoping to convince the community to request installation of the Babel extension, ahead of other WMF wikis. Could you confirm that this extension is ready for deployment? It looks like a useful extension, especially as we have a very patchy and inconsistent template system. Thanks, Inductiveload 13:16, 13 January 2011 (UTC)

I've not needed to touch the extension for a long time, and it is use on at least one large wiki (translatewiki.net). So as far as I am concerned it is ready for use on normal sized wikis. I've not tested and do not have the skills to test performance on high traffic sites such as the Wikimedia Foundation cluster, but would be more than happy to participate in this if it was considered for installation on Wikimedia Foundation sites.
Regarding deployment, the biggest boundary will be getting someone from the Wikimedia Foundation to review the extension. This has been requested for at least two years and has not yet happened. Once completed, any issues that there are will be uncovered and I'll be able to solve them.
One thing that does need doing is that the language code database needs updating, but this is not a blocker for deployment and will take about half an hour to do.
Good luck in your efforts. RobertL 13:55, 13 January 2011 (UTC)

Babel templates[edit]

Dear Robert,

On Meta I had a discussion about the translation of the Dutch templates with one CBrown1023. We disagree completely. Can you help to find a solution to equalize our discrepancy? Talked about it with Kthoelen and Siebrand as well. I guess they agree with me :) Thanks in advance, p@io 12:32, 1 July 2011 (UTC)

Extension:Babel - Autocategorization idea[edit]

I propose the following method to autocategorise subcategories* that are created by the extension (via User:Babel AutoCreate).

(*By subcategories I am referring to categories who have the strings 0, 1, 2, 3, 4, 5 or N.)

  1. Read the name of the main category for the language at the config variable $wgBabelMainCategory
  2. Apply brackets to it (in order to make a link)
  3. Add the link to the page

Example:

User:Babel AutoCreate is about to create an category named Category:User fr-2

Add [[Category:User fr]] to the page.--Snaevar 22:35, 2 January 2012 (UTC)

Extension Testing[edit]

Hi. Because this page has now grown inactive, I've proposed it for deletion. Consider my nomination void if you have foreseeable plans to revive it. Thanks!--Jasper Deng (talk) 02:52, 6 April 2012 (UTC)

Gerrit[edit]

Hello, what's your gerrit identity, so I can invite you as a reviewer of gerrit:62601. Liangent (talk) 14:01, 7 May 2013 (UTC)

An important message about renaming users[edit]

Dear RobertL,

I am cross-posting this message to many places to make sure everyone who is a Wikimedia Foundation project bureaucrat receives a copy. If you are a bureaucrat on more than one wiki, you will receive this message on each wiki where you are a bureaucrat.

As you may have seen, work to perform the Wikimedia cluster-wide single-user login finalisation (SUL finalisation) is taking place. This may potentially effect your work as a local bureaucrat, so please read this message carefully.

Why is this happening? As currently stated at the global rename policy, a global account is a name linked to a single user across all Wikimedia wikis, with local accounts unified into a global collection. Previously, the only way to rename a unified user was to individually rename every local account. This was an extremely difficult and time-consuming task, both for stewards and for the users who had to initiate discussions with local bureaucrats (who perform local renames to date) on every wiki with available bureaucrats. The process took a very long time, since it's difficult to coordinate crosswiki renames among the projects and bureaucrats involved in individual projects.

The SUL finalisation will be taking place in stages, and one of the first stages will be to turn off Special:RenameUser locally. This needs to be done as soon as possible, on advice and input from Stewards and engineers for the project, so that no more accounts that are unified globally are broken by a local rename to usurp the global account name. Once this is done, the process of global name unification can begin. The date that has been chosen to turn off local renaming and shift over to entirely global renaming is 15 September 2014, or three weeks time from now. In place of local renames is a new tool, hosted on Meta, that allows for global renames on all wikis where the name is not registered will be deployed.

Your help is greatly needed during this process and going forward in the future if, as a bureaucrat, renaming users is something that you do or have an interest in participating in. The Wikimedia Stewards have set up, and are in charge of, a new community usergroup on Meta in order to share knowledge and work together on renaming accounts globally, called Global renamers. Stewards are in the process of creating documentation to help global renamers to get used to and learn more about global accounts and tools and Meta in general as well as the application format. As transparency is a valuable thing in our movement, the Stewards would like to have at least a brief public application period. If you are an experienced renamer as a local bureaucrat, the process of becoming a part of this group could take as little as 24 hours to complete. You, as a bureaucrat, should be able to apply for the global renamer right on Meta by the requests for global permissions page on 1 September, a week from now.

In the meantime please update your local page where users request renames to reflect this move to global renaming, and if there is a rename request and the user has edited more than one wiki with the name, please send them to the request page for a global rename.

Stewards greatly appreciate the trust local communities have in you and want to make this transition as easy as possible so that the two groups can start working together to ensure everyone has a unique login identity across Wikimedia projects. Completing this project will allow for long-desired universal tools like a global watchlist, global notifications and many, many more features to make work easier.

If you have any questions, comments or concerns about the SUL finalisation, read over the Help:Unified login page on Meta and leave a note on the talk page there, or on the talk page for global renamers. You can also contact me on my talk page on meta if you would like. I'm working as a bridge between Wikimedia Foundation Engineering and Product Development, Wikimedia Stewards, and you to assure that SUL finalisation goes as smoothly as possible; this is a community-driven process and I encourage you to work with the Stewards for our communities.

Thank you for your time. -- Keegan (WMF) talk 18:24, 25 August 2014 (UTC)

--This message was sent using MassMessage. Was there an error? Report it!