MediaWiki talk:Common.js

Are we supposed to have one of these, as in is this where java would go? frvwfr2  (T/C/Sysop) 12:12, 23 December 2007 (EST)

Build Template Button
Hmm. I added the code in, but I'm not sure if it's doing anything. Might just be the server cache, could also be the 's I put in because when I show preview'd it actually implemented the PvXcode and plopped the build-stub template in -_-. If it's still not working in half an hour or so, I'll take out the nowiki's and see what happens.  &not; Wizårdbõÿ777  ( sysop ) 22:40, 19 April 2008 (EDT)
 * Ok, I'm thinking something's wrong with my javascript.  &not; Wizårdbõÿ777  ( sysop ) 11:10, 20 April 2008 (EDT)
 * Yeah, guess so...  06:26, 21 April 2008 (EDT)
 * I figured out why it breaks, but I don't know how to fix it. Despite the nowiki tag, the javascript is reading the (and, I would assume, the other templates) as the actual content of the template - which is bad, because the template has things like quotes inside, which javascript reads as ending the tagOpen parameter, which causes errors because it's not supposed to end yet.  &not; Wizårdbõÿ777  ( sysop ) 22:49, 2 May 2008 (EDT)
 * ROCK ON WIZARD!  23:00, 2 May 2008 (EDT)

Ok, I removed all the templates (including the TOCright) and it seems to be working now (you may need to clear your cache). But you still have to manually place the build-stub, untested-trial, and untested-testing tags in.  &not; Wizårdbõÿ777  ( sysop ) 23:04, 7 May 2008 (EDT)

Old topic but related...
It looks like the build template button still refers to wikia!
 * http://images.wikia.com/pvx/images/4/47/Build_Icon.png → http://www.gwpvx.com/images/4/47/Build_Icon.png
 * Also, idk the curse location of http://images1.wikia.nocookie.net/pvx/images/overlib.js - maybe Wyn can tell us by doing a quick search of the curse folders? - Chieftain Alex 00:56, 20 March 2013 (UTC)

Rate tab
I thought of a slight improvement, as currently the rate tab only appears when viewing the actual build page, and not when viewing the talk. This needs two changes, the first is the addition of a check for the build talk namespace, and the second changes wgPageName to wgTitle (and affixes build: into the url) - allowing you to visit the rate page from either the build or the build talk. if ( wgNamespaceNumber == 100 || wgNamespaceNumber == 101 ) { addPortletLink( 'p-namespaces', '/index.php?title=Build:' + wgTitle + '&action=rate', 'Rate', 'n-rate', 'Rate this build', '#', 'ca-edit' ); } - Chieftain Alex 01:36, 21 May 2013 (UTC)
 * This seems so obvious in retrospect. Should have had it like this all along. -- Toraen   confer  02:24, 21 May 2013 (UTC)

every time you see "addOnloadHook"
replace it with "$" - Chieftain Alex 20:50, 11 September 2014 (UTC)