User:Pathoschild/2014–2016 global script migration

These users had global.css or global.js subpages on Meta before August 19th 2014, when the GlobalCssJs extension was deployed. The extension now loads those pages automatically on all SUL-connected wikis, based on the convention introduced by synchbot in 2008–2014. If those users loaded the global CSS/JS through local pages like monobook.js or common.js (usually via synchbot), their scripts will now be loaded twice with potentially strange effects.

Review the affected users to determine whether they need to be migrated with the GlobalCssJs migration script or synchbot.

Affected users

edit

✓ 1–50

edit
user review pages status notes
affected contacted migrated
.snoopy. (talkcontribs) pagesactivityaccount cssjs
Abigor (talkcontribs) pagesactivityaccount cssjs migrated.
Abián (talkcontribs) pagesactivityaccount cssjs
Adambro (talkcontribs) pagesactivityaccount cssjs never responded; affected on a few wikis.
Addihockey10 (talkcontribs) pagesactivityaccount cssjs migrated.
Addshore (talkcontribs) pagesactivityaccount cssjs migrated.
Ahonc (talkcontribs) pagesactivityaccount cssjs migrated.
Ajraddatz (talkcontribs) pagesactivityaccount cssjs migrated.
Alan (talkcontribs) pagesactivityaccount cssjs migrated.
Alan ffm (talkcontribs) pagesactivityaccount cssjs never responded.
Aldnonymous (talkcontribs) pagesactivityaccount cssjs
Alex Blokha (talkcontribs) pagesactivityaccount cssjs migrated.
AmaryllisGardener (talkcontribs) pagesactivityaccount cssjs migrated.
Andrew Dalby (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; never responded.
Ansumang (talkcontribs) pagesactivityaccount cssjs
AntanO (talkcontribs) pagesactivityaccount cssjs
Arystanbek (talkcontribs) pagesactivityaccount cssjs never responded.
Atcovi (talkcontribs) pagesactivityaccount cssjs migrated.
Avicennasis (talkcontribs) pagesactivityaccount cssjs never responded.
Avocato (talkcontribs) pagesactivityaccount cssjs never responded.
Avraham (talkcontribs) pagesactivityaccount cssjs
Az1568 (talkcontribs) pagesactivityaccount cssjs migrated.
BRUTE (talkcontribs) pagesactivityaccount cssjs migrated.
Bagmax (talkcontribs) pagesactivityaccount cssjs
Barras (talkcontribs) pagesactivityaccount cssjs migrated.
Base (talkcontribs) pagesactivityaccount cssjs declined.
Beau (talkcontribs) pagesactivityaccount cssjs migrated by GlobalCssJs?
Behemot leviatan (talkcontribs) pagesactivityaccount cssjs never responded.
Beko (talkcontribs) pagesactivityaccount cssjs
Bellayet (talkcontribs) pagesactivityaccount cssjs never responded.
Bencmq (talkcontribs) pagesactivityaccount cssjs migrated $/common.js; never responded regarding the others.
Bennylin (talkcontribs) pagesactivityaccount cssjs migrated common.js, chose not to delete the others.
Beria (talkcontribs) pagesactivityaccount cssjs migrated.
Bill william compton (talkcontribs) pagesactivityaccount cssjs never responded.
Billinghurst (talkcontribs) pagesactivityaccount cssjs migrated.
Bsadowski1 (talkcontribs) pagesactivityaccount cssjs migrated.
Calak (talkcontribs) pagesactivityaccount cssjs
Cbrown1023 (talkcontribs) pagesactivityaccount cssjs migrated.
Ch1902 (talkcontribs) pagesactivityaccount cssjs migrated.
Charitwo (talkcontribs) pagesactivityaccount cssjs never responded.
Chenzw (talkcontribs) pagesactivityaccount cssjs migrated.
Chihonglee (talkcontribs) pagesactivityaccount cssjs never responded; alternate account of Gabrielchihonglee.
Chrumps (talkcontribs) pagesactivityaccount cssjs
Church of emacs (talkcontribs) pagesactivityaccount cssjs migrated.
CnkALTDS (talkcontribs) pagesactivityaccount cssjs never responded.
Cometstyles (talkcontribs) pagesactivityaccount cssjs never responded.
Crisco 1492 (talkcontribs) pagesactivityaccount cssjs
Cyfraw (talkcontribs) pagesactivityaccount cssjs
Dan653 (talkcontribs) pagesactivityaccount cssjs migrated.
David0811 (talkcontribs) pagesactivityaccount cssjs migrated.

✓ 51–100

edit
user review pages status notes
affected contacted migrated
Dede2008 (talkcontribs) pagesactivityaccount cssjs never responded.
Defender (talkcontribs) pagesactivityaccount cssjs migrated.
DeltaQuad (talkcontribs) pagesactivityaccount cssjs
Derschueler (talkcontribs) pagesactivityaccount cssjs
Diego Grez (talkcontribs) pagesactivityaccount cssjs migrated.
Diegusjaimes (talkcontribs) pagesactivityaccount cssjs
Dolledre (talkcontribs) pagesactivityaccount cssjs
Dsvyas (talkcontribs) pagesactivityaccount cssjs migrated.
Dusti (talkcontribs) pagesactivityaccount cssjs migrated.
E THP (talkcontribs) pagesactivityaccount cssjs
Ebraminio (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; migrated.
EdBever (talkcontribs) pagesactivityaccount cssjs never responded.
Edgars2007 (talkcontribs) pagesactivityaccount cssjs
EdoDodo (talkcontribs) pagesactivityaccount cssjs never responded.
Egmontaz (talkcontribs) pagesactivityaccount cssjs never responded.
El Muñeco Shakes It Up, Baby (talkcontribs) pagesactivityaccount cssjs renamed to Diego Grez.
Enfcer (talkcontribs) pagesactivityaccount cssjs migrated.
Erictorres-2002 (talkcontribs) pagesactivityaccount cssjs
Erwin (talkcontribs) pagesactivityaccount cssjs never responded.
FalconL (talkcontribs) pagesactivityaccount cssjs migrated.
Fiendian Reptiloid, Demon (talkcontribs) pagesactivityaccount cssjs
Finnrind (talkcontribs) pagesactivityaccount cssjs never responded.
Fr33kman (talkcontribs) pagesactivityaccount cssjs
Francisco Leandro (talkcontribs) pagesactivityaccount cssjs migrated.
Fredddie (talkcontribs) pagesactivityaccount cssjs
FrigidNinja (talkcontribs) pagesactivityaccount cssjs never responded; retired user.
Frigotoni (talkcontribs) pagesactivityaccount cssjs migrated.
Frozen Wind (talkcontribs) pagesactivityaccount cssjs migrated.
G0rn (talkcontribs) pagesactivityaccount cssjs never responded.
Gabrielchihonglee (talkcontribs) pagesactivityaccount cssjs never responded.
GeorgeBarnick (talkcontribs) pagesactivityaccount cssjs
Gfoley4 (talkcontribs) pagesactivityaccount cssjs
Glaisher (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; migrated.
Goldenburg111 (talkcontribs) pagesactivityaccount cssjs renamed to Atcovi.
Good afternoon (talkcontribs) pagesactivityaccount cssjs
Gordonrox24 (talkcontribs) pagesactivityaccount cssjs
Gpmat (talkcontribs) pagesactivityaccount cssjs
Griffinofwales (talkcontribs) pagesactivityaccount cssjs never responded.
Gwickwire (talkcontribs) pagesactivityaccount cssjs never responded.
Ha98574 (talkcontribs) pagesactivityaccount cssjs never responded.
Hahc21 (talkcontribs) pagesactivityaccount cssjs never responded.
Hazard-SJ (talkcontribs) pagesactivityaccount cssjs migrated.
Hedonil (talkcontribs) pagesactivityaccount cssjs never responded.
Helder.wiki (talkcontribs) pagesactivityaccount cssjs migrated.
HeldergeovaneBot (talkcontribs) pagesactivityaccount cssjs
Holder (talkcontribs) pagesactivityaccount cssjs
Hoo man (talkcontribs) pagesactivityaccount cssjs never responded.
Hosiryuhosi (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; migrated; renamed to Rxy.
Hydriz (talkcontribs) pagesactivityaccount cssjs migrated.
Hym411 (talkcontribs) pagesactivityaccount cssjs migrated by GlobalCssJs.

✓ 101–150

edit
user review pages status notes
affected contacted migrated
INeverCry (talkcontribs) pagesactivityaccount cssjs
Igna (talkcontribs) pagesactivityaccount cssjs never responded.
Iluvatar (talkcontribs) pagesactivityaccount cssjs never responded.
Infovarius (talkcontribs) pagesactivityaccount cssjs migrated.
Innv (talkcontribs) pagesactivityaccount cssjs never responded.
Irn (talkcontribs) pagesactivityaccount cssjs migrated.
Isarra (talkcontribs) pagesactivityaccount cssjs migrated.
Iste Praetor (talkcontribs) pagesactivityaccount cssjs never responded.
Ivocamp96 (talkcontribs) pagesactivityaccount cssjs never responded.
J.delanoy (talkcontribs) pagesactivityaccount cssjs never responded.
JSutherland (WMF) (talkcontribs) pagesactivityaccount cssjs
Jafeluv (talkcontribs) pagesactivityaccount cssjs migrated by GlobalCssJs.
JamesA (talkcontribs) pagesactivityaccount cssjs never responded.
Jamesofur (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; never responded.
Jasper Deng (talkcontribs) pagesactivityaccount cssjs migrated.
Jcaraballo (talkcontribs) pagesactivityaccount cssjs
Jdforrester (WMF) (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; migrated.
JenVan (talkcontribs) pagesactivityaccount cssjs never responded.
Jianhui67 (talkcontribs) pagesactivityaccount cssjs
Jmvgpartner (talkcontribs) pagesactivityaccount cssjs never responded.
John F. Lewis (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; migrated.
Jon Harald Søby (talkcontribs) pagesactivityaccount cssjs never responded.
Juhko (talkcontribs) pagesactivityaccount cssjs never responded.
Juliancolton (talkcontribs) pagesactivityaccount cssjs never responded.
JurgenNL (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; never responded.
Kaare (talkcontribs) pagesactivityaccount cssjs migrated.
Kangaroopower (talkcontribs) pagesactivityaccount cssjs migrated.
Kanonkas (talkcontribs) pagesactivityaccount cssjs never responded.
Katie Chan (WMUK) (talkcontribs) pagesactivityaccount cssjs never responded.
Kattegatt (talkcontribs) pagesactivityaccount cssjs
Kephir (talkcontribs) pagesactivityaccount cssjs
Kolega2357 (talkcontribs) pagesactivityaccount cssjs migrated by GlobalCssJs?
Korg (talkcontribs) pagesactivityaccount cssjs never responded.
Krenair (talkcontribs) pagesactivityaccount cssjs migrated by GlobalCssJs.
Krinkle (talkcontribs) pagesactivityaccount cssjs
KuduIO (talkcontribs) pagesactivityaccount cssjs never responded.
Kved (talkcontribs) pagesactivityaccount cssjs never responded.
Kwj2772 (talkcontribs) pagesactivityaccount cssjs migrated.
Kylu (talkcontribs) pagesactivityaccount cssjs talk page has a "please don't leave messages" note.
L736E (talkcontribs) pagesactivityaccount cssjs
Laaknor (talkcontribs) pagesactivityaccount cssjs migrated
Lechatjaune (talkcontribs) pagesactivityaccount cssjs
Legoktm (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs script; never responded.
Leitoxx (talkcontribs) pagesactivityaccount cssjs migrated.
Leolaursen (talkcontribs) pagesactivityaccount cssjs never responded.
Lestaty (talkcontribs) pagesactivityaccount cssjs
Lixer (talkcontribs) pagesactivityaccount cssjs
LlamaAl (talkcontribs) pagesactivityaccount cssjs partly migrated by previous request; never responded.
LoStrangolatore (talkcontribs) pagesactivityaccount cssjs no response yet.
Lukas²³ (talkcontribs) pagesactivityaccount cssjs never responded.

✓ 151–200

edit
user review pages status notes
affected contacted migrated
Lustiger seth (talkcontribs) pagesactivityaccount cssjs self-migrated.
MF-Warburg (talkcontribs) pagesactivityaccount cssjs declined.
MJ94 (talkcontribs) pagesactivityaccount cssjs never responded.
MZMcBride (talkcontribs) pagesactivityaccount cssjs declined.
Makecat (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; never responded.
MalTsilna (talkcontribs) pagesactivityaccount cssjs migrated.
Man77 (talkcontribs) pagesactivityaccount cssjs declined.
Manuelt15 (talkcontribs) pagesactivityaccount cssjs never responded.
Marcos dias de oliveira (talkcontribs) pagesactivityaccount cssjs suggested not referencing someone else's global.js on one wiki; otherwise unaffected.
MarkAHershberger (talkcontribs) pagesactivityaccount cssjs
Matheus Faria (talkcontribs) pagesactivityaccount cssjs never responded.
Mathonius (talkcontribs) pagesactivityaccount cssjs migrated.
Maximillion Pegasus (talkcontribs) pagesactivityaccount cssjs suggested not referencing someone else's global.js on one wiki; otherwise unaffected.
Mbch331 (talkcontribs) pagesactivityaccount cssjs migrated.
Mehdi (talkcontribs) pagesactivityaccount cssjs never responded.
Meisam (talkcontribs) pagesactivityaccount cssjs never responded.
Memo18 (talkcontribs) pagesactivityaccount cssjs never responded.
Mentifisto (talkcontribs) pagesactivityaccount cssjs migrated.
Mercy (talkcontribs) pagesactivityaccount cssjs never responded.
Mh7kJ (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; migrated.
Micki (talkcontribs) pagesactivityaccount cssjs never responded.
Microchip08 (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; migrated.
Miguel2706 (talkcontribs) pagesactivityaccount cssjs never responded.
Mikołka (talkcontribs) pagesactivityaccount cssjs never responded.
Milonica (talkcontribs) pagesactivityaccount cssjs
MoiraMoira (talkcontribs) pagesactivityaccount cssjs migrated.
Morphypnos (talkcontribs) pagesactivityaccount cssjs never responded.
Mwpnl (talkcontribs) pagesactivityaccount cssjs never responded.
Nagy (talkcontribs) pagesactivityaccount cssjs
Nasir8891 (talkcontribs) pagesactivityaccount cssjs
Nastoshka (talkcontribs) pagesactivityaccount cssjs migrated.
NatigKrolik (talkcontribs) pagesactivityaccount cssjs affected on one wiki, fixed manually.
Natuur12 (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; never responded.
Nirakka (talkcontribs) pagesactivityaccount cssjs never responded.
Nirmos (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; migrated.
Noommos (talkcontribs) pagesactivityaccount cssjs never responded.
NuclearWarfare (talkcontribs) pagesactivityaccount cssjs migrated.
Orashmatash (talkcontribs) pagesactivityaccount cssjs migrated.
Ori.livneh (talkcontribs) pagesactivityaccount cssjs
Osiris (talkcontribs) pagesactivityaccount cssjs never responded.
Pathoschild (talkcontribs) pagesactivityaccount cssjs migrated.
PeterSymonds (talkcontribs) pagesactivityaccount cssjs never responded.
Pgehres (WMF) (talkcontribs) pagesactivityaccount cssjs
Phantomsteve (talkcontribs) pagesactivityaccount cssjs
Phyo WP (talkcontribs) pagesactivityaccount cssjs migrated.
PiRSquared17 (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; never responded.
Pmlineditor (talkcontribs) pagesactivityaccount cssjs never responded.
Pratyya Ghosh (talkcontribs) pagesactivityaccount cssjs never responded.
Pundit (talkcontribs) pagesactivityaccount cssjs
Quentinv57 (talkcontribs) pagesactivityaccount cssjs never responded.

↻ 201–250

edit
user review pages status notes
affected contacted migrated
Quiddity (talkcontribs) pagesactivityaccount cssjs
Quiddity (WMF) (talkcontribs) pagesactivityaccount cssjs
QuiteUnusual (talkcontribs) pagesactivityaccount cssjs declined.
RLuts (talkcontribs) pagesactivityaccount cssjs
Raidriar (talkcontribs) pagesactivityaccount cssjs
Ralgis (talkcontribs) pagesactivityaccount cssjs
Randykitty (talkcontribs) pagesactivityaccount cssjs
Reception123 (talkcontribs) pagesactivityaccount cssjs hasn't responded yet.
RedTony (talkcontribs) pagesactivityaccount cssjs
Renessaince (talkcontribs) pagesactivityaccount cssjs migrated.
Restu20 (talkcontribs) pagesactivityaccount cssjs hasn't responded yet.
Reza1615 (talkcontribs) pagesactivityaccount cssjs hasn't responded yet; alt of Yamaha5.
Ricordisamoa (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs script; migrated.
Riley Huntley (talkcontribs) pagesactivityaccount cssjs migrated.
Rodejong (talkcontribs) pagesactivityaccount cssjs
Rschen7754 (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; migrated.
Ruy Pugliesi (talkcontribs) pagesactivityaccount cssjs migrated.
Rxy (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; migrated.
Rzuwig (talkcontribs) pagesactivityaccount cssjs hasn't responded yet.
SVG (talkcontribs) pagesactivityaccount cssjs hasn't responded yet.
Salvio giuliano (talkcontribs) pagesactivityaccount cssjs hasn't responded yet.
Sannita (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; migrated.
Sarrus (talkcontribs) pagesactivityaccount cssjs
Savh (talkcontribs) pagesactivityaccount cssjs
Schnellbehalter (talkcontribs) pagesactivityaccount cssjs
Schniggendiller (talkcontribs) pagesactivityaccount cssjs
Sergio Andres Segovia (talkcontribs) pagesactivityaccount cssjs
Sevela.p (talkcontribs) pagesactivityaccount cssjs
Shanel (talkcontribs) pagesactivityaccount cssjs
Shanmugamp7 (talkcontribs) pagesactivityaccount cssjs
Shujenchang (talkcontribs) pagesactivityaccount cssjs
Silver Spoon (talkcontribs) pagesactivityaccount cssjs
Simeondahl (talkcontribs) pagesactivityaccount cssjs
Snow Blizzard (talkcontribs) pagesactivityaccount cssjs
Snowolf (talkcontribs) pagesactivityaccount cssjs
Sotiale (talkcontribs) pagesactivityaccount cssjs
Southparkfan (talkcontribs) pagesactivityaccount cssjs hasn't responded yet.
Spidey665 (talkcontribs) pagesactivityaccount cssjs
Srhat (talkcontribs) pagesactivityaccount cssjs
Steinsplitter (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; migrated.
StevenJ81 (talkcontribs) pagesactivityaccount cssjs
Str4nd (talkcontribs) pagesactivityaccount cssjs
Stryn (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; migrated.
Sukida (talkcontribs) pagesactivityaccount cssjs
Sumone10154 (talkcontribs) pagesactivityaccount cssjs
Székelykeve (talkcontribs) pagesactivityaccount cssjs
TBloemink (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; hasn't responded yet.
TBrandley (talkcontribs) pagesactivityaccount cssjs
TCN7JM (talkcontribs) pagesactivityaccount cssjs
Techman224 (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; hasn't responded yet.

❑ 251–290

edit
user review pages status notes
affected contacted migrated
Tegel (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; hasn't responded yet.
TeleComNasSprVen (talkcontribs) pagesactivityaccount cssjs
Teles (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; hasn't responded yet.
Telles (talkcontribs) pagesactivityaccount cssjs
TheStefan12345 (talkcontribs) pagesactivityaccount cssjs
The Evil IP address (talkcontribs) pagesactivityaccount cssjs
The Herald (talkcontribs) pagesactivityaccount cssjs
The Illusive Man (talkcontribs) pagesactivityaccount cssjs
Thehelpfulone (talkcontribs) pagesactivityaccount cssjs
Thine Antique Pen (talkcontribs) pagesactivityaccount cssjs
Tiptoety (talkcontribs) pagesactivityaccount cssjs
Tomtomn00 (talkcontribs) pagesactivityaccount cssjs
Tony Tan 98 (talkcontribs) pagesactivityaccount cssjs
Toto Azéro (talkcontribs) pagesactivityaccount cssjs
Trijnstel (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs script; hasn't responded yet.
Trobotham (talkcontribs) pagesactivityaccount cssjs
Trần Nguyễn Minh Huy (talkcontribs) pagesactivityaccount cssjs
Tucoxn (talkcontribs) pagesactivityaccount cssjs
Vacation9 (talkcontribs) pagesactivityaccount cssjs
VasilievVV (talkcontribs) pagesactivityaccount cssjs
Vibhijain (talkcontribs) pagesactivityaccount cssjs
Vogone (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs script; migrated.
Volklodak (talkcontribs) pagesactivityaccount cssjs
White Master King (talkcontribs) pagesactivityaccount cssjs
Wiki13 (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; hasn't responded yet.
Wikitanvir (talkcontribs) pagesactivityaccount cssjs
Wim b (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; migrated.
Wutsje (talkcontribs) pagesactivityaccount cssjs
X! (talkcontribs) pagesactivityaccount cssjs
XenonX3 (talkcontribs) pagesactivityaccount cssjs
Zhuyifei1999 (talkcontribs) pagesactivityaccount cssjs migrated by GlobalCssJs.
Zscout370 (talkcontribs) pagesactivityaccount cssjs
Érico Júnior Wouters (talkcontribs) pagesactivityaccount cssjs
Σ (talkcontribs) pagesactivityaccount cssjs
محمد شعیب (talkcontribs) pagesactivityaccount cssjs
संजीव कुमार (talkcontribs) pagesactivityaccount cssjs
संतोष दहिवळ (talkcontribs) pagesactivityaccount cssjs partly migrated by GlobalCssJs; hasn't responded yet.
とある白い猫 (talkcontribs) pagesactivityaccount cssjs
분당선M (talkcontribs) pagesactivityaccount cssjs
콩가루 (talkcontribs) pagesactivityaccount cssjs

Scripts

edit

Build list of affected users

edit

The list was generated with this SQL query on metawiki_p:

/**
 * Find all users with a 'global.css' or 'global.js' subpage on Meta that was
 * created before 19 August 2014 (when the GlobalCssJs deployment was announced).
 */
SELECT LEFT(page_title, INSTR(page_title, '/') - 1) AS `user`
FROM
    page
    LEFT JOIN revision ON page_id = rev_page
WHERE
    page_namespace = 2
    AND (page_title LIKE '%/global.js' OR page_title LIKE '%/global.css')
GROUP BY LEFT(page_title, INSTR(page_title, '/') - 1)
HAVING MIN(rev_timestamp) < 20140819000000

Filter toollabs:meta/userpages for custom CSS/JS pages

edit
/**
 * Filter the results of //tools.wmflabs.org/meta/userpages to only show CSS or JS subpages that may have custom scripts or styles
 * (which is any that doesn't match the exact length of a CSS/JS import for the searched username).
 */
// analyse user
var username = $('#user').val();
var ignore_css_lengths = [];
var ignore_js_lengths = [];
var MIN_LEN = 1;

// filter pages
$('.result-box li').filter(':visible').each(function() {
	// parse page
	var item = $(this);
	var title = item.find('a:first').text();
	var size = parseInt(item.find('.page-size').text().replace(/(\d+) bytes/, '$1'));

	// hide non-CSS/JS pages
	if(!title.match(/user(?: talk)?:[^\/]+\/(cologneblue|common|global|modern|monobook|simple|vector)\.(css|js)$/i)) {
		item.hide();
		return;
	}

	// hide CSS/JS pages that look like an import
	if((title.match(/\.css$/) && ignore_css_lengths.indexOf(size) != -1) || (title.match(/\.js$/) && ignore_js_lengths.indexOf(size) != -1)) {
		item.hide();
		return;
	}

	// ignore tiny pages (comment, empty, etc).
	if(size < MIN_LEN) {
		item.hide();
		return;
	}
});

// hide wikis with no pages shown
$('.result-box ul').filter(':visible').each(function() {
	var list = $(this);
	if(!list.find('li:visible:first').length) {
		list.hide();
		list.prev('h2').hide();
	}
});