Brickipedia
Brickipedia
avatar Log in

User talk:NovaHawk

From Brickipedia, the LEGO Wiki
(Redirected from User:NovaFlare)
← User:NovaHawk

This is NovaHawk's talk page, where you can send messages and comments to NovaHawk..

Re:Upload form[edit]

You can write your personal JS for Special:Upload in User:NovaHawk/common.js. You can check if the page you're accessing is Special:Upload by seeing if the value of wgPageName is equal to Special:Upload, like so:

if ( mw.config.get( 'wgPageName' ) === 'Special:Upload' ) {
	// do some cool stuff
}

If you want to learn more about some of the configuration variables besides wgPageName, check out mw:Manual:Interface/JavaScript. Hope this helps! Also, somewhat relatedly, if you want a page for specifically customizing the file description on a page in the File namespace, you can use MediaWiki:Filepage.css. (There's no JS alternative specifically for file descriptions, meaning MediaWiki:Filepage.js won't work, unless if you decide to load it through ResourceLoader inside MediaWiki:Common.js or your own personal Common.js) SamanthaNguyen (talk) 13:56, 15 April 2017 (UTC)

No problem! Also I'm not sure if you noticed, but I accidentally wrote the above link as [[mw:Manual:Intefrface/JavaScript]], although it should link to mw:Manual:Interface/JavaScript instead. This is fixed now. :P SamanthaNguyen (talk) 04:54, 16 April 2017 (UTC)

Socks[edit]

I just noticed that the sock accounts [Reynoldsj8448‎; Reynoldsj7785‎ and Reynoldsj3599‎] were all just created. Just thought I should inform you of this.-Albus Potter (talk) 19:13, 12 June 2017 (UTC)

They were created, but did they do anything? Have we put something in place to stop them from editing? Berrybrick (talk) 20:25, 12 June 2017 (UTC)
Thanks for the heads up, doesn't look like there's been any activity from any of these accounts so no real need to do anything at the moment as far as I can see NovaHawk 23:21, 12 June 2017 (UTC)

Re: DeepSea[edit]

That was the temporary CSS I slapped before I figured out. :P I accidentally added an extraneous space inside a selector, which changed div#content, to div #content (which, of course, have completely different meanings). That's why the content area is b0rked. Sorry! I submitted a patch and then we're going to git pull the changes very soon. SamanthaNguyen (talk) ShoutWiki Staff 01:53, 16 June 2017 (UTC)

All fixed! So sorry about that. SamanthaNguyen (talk) ShoutWiki Staff 02:15, 16 June 2017 (UTC)

Re: Purge[edit]

Hey again! The original purging functionality isn't specific to SW. It's a thing in MW 1.28, and there's a ticket for having it reverted back to how it was originally in phab:T143531 (this action actually has quite history, see phab:T136375, phab:T88044, phab:T135170, and phab:T56902 for example). Based on the conversations there, it probably won't be reverted, but you can add some personal JS written by Saftzie so you can skip the confirmation.

/**
 * For action=purge to index.php
 *   change it to POST api.php
 *   then reload the page
 * Restores pre-1.28 behavior to MW 1.28+
 * Based on meta:User:Glaisher/autoPurge.js, 21 Aug 2016
 */
if (( mw.config.get( 'wgAction' ) === 'purge' ) &&
	( $.inArray( 'user', mw.config.get( 'wgUserGroups' )) + 1 )) {
	$.post( mw.config.get( 'wgScriptPath' ) + '/api.php', {
		format: 'none',
		action: 'purge',
		titles: mw.config.get( 'wgPageName' ).replace( /_/g, ' ' )
	}, function () {
		// remove action=purge, but keep the rest
		location.replace(
			location.pathname +
			location.search
				.replace( /(?:\?|&)action=purge$/i, '' )
				.replace( /(\?|&)action=purge&/i, '$1' ) +
			location.hash
		);
	} );
}

SamanthaNguyen (talk) ShoutWiki Staff 03:56, 16 June 2017 (UTC)

Images/licensing[edit]

As you may have noticed I've been doing some work to clean up the images master cat, and generally just restoring categories that were deleted after images were moved out to meta.

I've run into a bunch of images that don't have licenses or any licensing templates. (Well, I know there are like thousands in a maintenance category...)

  1. Would it be safe to assume that all 4000 x 3000 transparent png's are Template:C-LEGO - from what I've seen, that's what the LEGO Group provides them as in their press releases and things.
  2. That Template:None selected and Template:No license are essentially the same template and should be merged to make life easier?

--Lewis Cawte (talk) ShoutWiki Staff 09:28, 6 July 2017 (UTC)

Feel free to change those two templates about. I've not been touching them until I got a reply from you to make sure. I'm going to keep working on category stuff and I'll just template up the ones I find as I do it for now. I'll probably have a think about the best way to sort the rest after I'm done with this. --Lewis Cawte (talk) ShoutWiki Staff 10:29, 6 July 2017 (UTC)

Re:Vixen[edit]

  • There are two precedents I can think of. The Black Canary/Sara Lance route where the different versions are kept completely separate (though there is no physical fig of Sara to cause issues and Sara was never technically Black Canary as I'm sure you'd point out), or the Firestorm route. Previously Firestorm was two pages, "Firestorm" for Ronnie Raymond and "Firestorm (Jackson Hyde)" for the minor version, but when the physical minifigure turned out to be Jackson I just went ahead and merged them. The article is short enough that it should be clear there are two versions of the character. I think that's what I'd prefer to do in the case, but I'd slash some of that background for the comic version of Vixen (something I can easily take care of myself) so it's not so dominant. If you'd rather they be separate, I think that's fine too. Berrybrick (talk) 11:41, 19 July 2017 (UTC)
  • Yeah, I've sort of been thinking about that with Robin too. I'll probably go ahead and merge the Vixen articles, but probably not right away. Hopefully we'll find a solution with that forum Soup started; we were actually discussing putting all of the Robins together on one page. I'm replying there now. Berrybrick (talk) 14:16, 22 July 2017 (UTC)

Part/new guide[edit]

Is there a guide on how to use {{Part/new}}? Or more so, how to convert from {{Part}} to {{Part/new}}. I've been out of the loop for a while and I'm not sure what I'm looking at in terms of parameters for this. --Lewis Cawte (talk) ShoutWiki Staff 07:55, 27 July 2017 (UTC)

Thanks, I think that answers the question. Oh, and what should part pages be named? I noticed lots of {{Partnames}} usages around and figured I'd sort those while trying to migrate the templates. --Lewis Cawte (talk) ShoutWiki Staff 13:40, 27 July 2017 (UTC)
Not sure if you've seen my edits to the part pages after you gave me this info, but it might appear that I found a bug and/or used the template incorrectly. Particularly looking at the one I did yesterday... --Lewis Cawte (talk) ShoutWiki Staff 13:01, 28 July 2017 (UTC)