User:Brackenheim/markAdmins.js

//*********************************************************************** // Marks admins with something // by Benutzer:Spongo // 28. Dez. 2005 // Ex-Admin-Markierung von Benutzer:Sir und Benutzer:Olliminatore // Adaptierung/zusätzliche Markierungen/Fixes: Benutzer:PDD // Aufgeräumt & beschleunigt: Benutzer:Littl //*********************************************************************** // // get URL parameters (used for page type variables) var wgNamespaceNumber = mw.config.get('wgNamespaceNumber'); var wgCanonicalNamespace = mw.config.get('wgCanonicalNamespace' ); var wgCanonicalSpecialPageName = mw.config.get('wgCanonicalSpecialPageName' ); var wgUserName = mw.config.get('wgUserName' ); var UrlParameters = new Array ; readparams; function readparams { var asReadInUrlParameters; var asReadInUrlParameter; // Get URL parameters asReadInUrlParameters = location.search.substring(1, location.search.length).split("&"); for (i = 0; i < asReadInUrlParameters.length; i++) { asReadInUrlParameter = asReadInUrlParameters[i].split("="); UrlParameters[decodeURIComponent(asReadInUrlParameter[0])] = decodeURIComponent(asReadInUrlParameter[1]); } }

// page type variables: namespaces var isArticle      = (wgNamespaceNumber == 0); var isArticleTalk  = (wgNamespaceNumber == 1); var isBild         = (wgCanonicalNamespace == "Image"); var isCategory     = (wgCanonicalNamespace == "Category"); var isTemplate     = (wgCanonicalNamespace == "Template"); var isGeneric      = false; if ((!isBild) && (!isCategory) && (!isTemplate)) isGeneric = true; var isProject      = (wgCanonicalNamespace == "Project"); /* NR Wikipedia: */ var isHelp         = (wgCanonicalNamespace == "Help");    /* NR Hilfe */ // page type variables: namespace == -1 var isSpecial = (wgCanonicalNamespace == "Special"); var isRestore = (isSpecial && (wgCanonicalSpecialPageName == "Undelete")); var isContrib = (isSpecial && (wgCanonicalSpecialPageName == "Contributions")); var isWatchlist = (isSpecial && (wgCanonicalSpecialPageName == "Watchlist")); // page type variables: namespace == -1 var isTalk = (!isSpecial && isOdd(wgNamespaceNumber)); // page type variables: other stuff var isPHP    = (document.URL.indexOf('index.php') > 0); var isDiff   = UrlParameters["diff"]; var isEdit   = ((UrlParameters['action']=='edit') || (UrlParameters['action']=='submit')); var isHistory = (UrlParameters['action']=='history');

var langUser = "User:";       // in German 'Benutzer:' // Krimskrams function isEven(myNumber) { return (myNumber % 2 == 0); } function isOdd(myNumber) { return (! isEven(myNumber)); }

// statische Liste (als Backup) // Stand: var admins=new Array("%28aeropagitica%29","--_April","17Drew","23skidoo","A_Man_In_Black","A_Train","ABCD","AGK","AQu01rius","Aaron_Brenneman","Academic_Challenger","Acalamari","Acetic_Acid","Adam_Bishop","Adam_Cuerden","Adambiswanger1","Adambro","Adashiel","Admrboltz","Aecis","After_Midnight","Agathoclea","Ahoerstemeier","Ais523","Akhilleus","Akradecki","Aksi_great","Alabamaboy","Alai","AlainV","Aldux","Alex_Bakharev","Alex_S","Alex756","Alhutch","Alison","AlisonW","AlistairMcMillan","Alkivar","Allen3","AllyUnion","Alphachimp","Alteripse","Alvestrand","Amalas","AmiDaniel","Ams80","Anas_Salloum","Ancheta_Wis","AndonicO","Andres","Andrevan","Andrew_Levine","Andrew_Norman","Andrew_Yong","Andrew_c","Andrewa","Andris","Android79","Andrwsc","AndyZ","AnemoneProjectors","Anetode","Angela","Angelo.romano","Angr","Angusmclellan","Animum","AnonEMouse","Anonymous_editor","Antandrus","Anthere","Anthony_Appleyard","Anthony.bradbury","AntonioMartin","Aranel","Arcadian","Arctic.gnome","Aris_Katsaris","Arjun01","Arminius","Art_LaPella","Arthur_Rubin","Arvindn","Arwel_Parry","Asbestos","Asterion","AstroNomer","Atlant","AuburnPilot","Audacity","Aude","Ausir","Avraham","Awiseman","Awolf002","Awyong_Jeffrey_Mordecai_Salleh","AxelBoldt","AzaToth","B","BD2412","Babajobu","Banno","BanyanTree","BaronLarf","Bastique","Bbatsell","Bcorr","Bdesham","Bduke","Bearcat","Beetstra","Beland","Ben_W_Bell","Benc","Bhadani","Bibliomaniac15","BigHaz","BigrTex","BillyH","Bishonen","Bjarki_S","Bjelleklang","Bkonrad","Black_Falcon","Blankfaze","Blnguyen","Bluemoose","Bobak","Bobet","Bobo192","Bogdangiusca","Bookofjude","BorgHunter","BorgQueen","Borisblue","Bovlb","BozMo","BradBeattie","BradPatrick","Bratsche","Brendanconway","BrendelSignature","Brian_Kendig","Brian_New_Zealand","Brian0918","BrianSmithson","Briangotts","Brighterorange","Brion_VIBBER","Brockert","BrokenSegue","Brookie","BrownHairedGirl","Bryan_Derksen","Bubba_hotep","Buchanan-Hermit","Bucketsofg","Bumm13","Burgundavia","Butseriouslyfolks","C.Fred","C12H22O11","CALR","CBDunkerson","CBM","CJ","CJCurrie","CJLL_Wright","CLW","COGDEN","CSTAR","CYD","Cactus.man","Cacycle","Caknuck","Calliopejen1","Caltrop","CambridgeBayWeather","Camembert","Can't_sleep,_clown_will_eat_me","Canadian-Bacon","CanadianCaesar","Canderson7","Cantthinkofagoodname","Capitalistroadster","Carabinieri","Carioca","Carlossuarez46","Carnildo","Cary_Bass","Casliber","Catbar","CatherineMunro","CattleGirl","Cbrown1023","Cburnett","Cdc","Cecropia","Cedar-Guardian","Celestianpower","Centrx","CesarB","Ceyockey","Cgs","Chadloder","Chairboy","Chancemill","Charles_Matthews","Chaser","Chick_Bowen","Chmod007","Chochopk","Cholmes75","Chris_73","Chris_Roy","ChrisO","Chrislk02","Christopher_Mahan","Christopher_Parham","Christopher_Sundita","Chuck_SMITH","Chuq","Cimon_Avaro","Circeus","Citicat","Ck_lostsword","Clarkk","Cleared_as_filed","Clifford_Adams","ClockworkSoul","CloudNine","Cnwb","Coelacan","Cohesion","Commander_Keane","Conscious","Consumed_Crustacean","Conti","Cool_Hand_Luke","Coredesat","Cowman109","Cprompt","Craigy144","Crazycomputers","Crazytales","Croat_Canuck","Crum375","Cryptic","CryptoDerk","Cuchullain","Curps","Cutler","Cyan","CyborgTosser","Cyde","Cyp","Cyrius","D._Recorder","DESiegel","DF08","DGG","DJ_Clayworth","DaGizza","Dalbury","Dale_Arnett","Dan100","DanMS","Daniel","Daniel_Case","Daniel_Olsen","Daniel_Quinlan","DanielCD","Danny","Dante_Alighieri","DarkFalls","Darthgriz98","Dave_souza","Daveydweeb","David_Eppstein","David_Fuchs","David_Gerard","David_Kernow","David_Levy","David_Newton","David.Monniaux","DavidLevinson","DavidWBrooks","Davidcannon","Davidruben","Davodd","Dbachmann","Dbenbenn","Dcoetzee","Deathphoenix","Deb","Deckiller","Decumanus","Deiz","Dekimasu","Delirium","Delldot","Deltabeignet","Denelson83","Denni","DerHexer","Derek_Ross","Deryck_Chan","Deskana","Deville","Dgies","Dgrant","Diberri","Dieter_Simon","Dijxtra","Dina","Dino","Dmcdevit","Dmn","Docu","DoomsDay349","Dori","Doug_Bell","Dpbsmith","DrBob","DrKiernan","DragonflySixtyseven","Drini","DropDeadGorgias","Dsmdgold","Duja","Duk","Duncharris","Durova","Dustimagic","Dvyost","Dweller","Dwheeler","Dysprosia","ERcheck","ESkog","EVula","EWS23","Eagle_101","Earl_Andrew","Ed_g2s","Edcolins","Edgar181","Edward","Edward_Z._Yang","EdwinHJ","Efghij","Egil","El_C","Eleassar","Electionworld","Elf","Elf-friend","EliminatorJR","ElinorD","Ellsworth","Eloquence","Eluchil404","Encephalon","Enchanter","Enochlau","Ericorbit","Esteffect","Eugene_van_der_Pijll","EurekaLott","EvanProdromou","Evercat","Evil_Monkey","Evil_saltine","Evilphoenix","Exploding_Boy","Extraordinary_Machine","Extreme_Unction","Eyrian","Ezeu","Ezhiki","FCYTravis","FT2","Fang_Aili","Fantasy","Fastfission","Fawcett5","FayssalF","Feco","FeloniousMonk","Femto","Fennec","Ferkelparade","Feydey","Ffirehorse","Filiocht","Finlay_McWalter","Fir0002","Fire_Star","Firsfron","FisherQueen","Fishhead64","Flcelloguy","FloNight","Flockmeal","Flowerparty","Fram","Francs2000","Frazzydee","Freakofnurture","Fred_Bauder","Fred_J","FreplySpang","Friday","Fropuff","Fuhghettaboutit","Func","Furrykef","Future_Perfect_at_Sunrise","Fuzheado","Fvasconcellos","Fvw","G-Man","GDonato","GRBerry","GTBacchus","Gabbe","Gadfium","Gaillimh","Gamaliel","Ganeshk","Garion96","Garzo","Gator1","Gaz","Gdr","GeeJo","GeneralPatton","Geniac","Gentgeen","Geogre","Georgewilliamherbert","Gerald_Farinas","Gilliam","Ginkgo100","Glen","Gnangarra","Goatasaur","Gogo_Dodo","Golbez","Golden_Wattle","Goldom","Goodnightmush","Goodoldpolonius2","GraemeL","Graft","Graham87","Grandmasterka","Grant65","Gray_Porpoise","Greeves","GregAsche","GregRobson","Grenavitar","Grendelkhan","Grm_wnr","Ground_Zero","Grue","Grunt","Grutness","Gryffindor","Gtrmp","Guettarda","Gurubrahma","Gwalla","Gwernol","Gyrofrog","Hadal","Hajor","Hall_Monitor","Hamster_Sandwich","HappyCamper","Harro5","Harryboyles","Hashar","Haukurth","Hawstom","Hcheney","Heah","Heimstern","Hemanshu","Hemlock_Martinis","Henry_Flower","Hephaestos","HereToHelp","Hermione1980","Heron","Herostratus","Hesperian","Hoary","HorsePunchKid","Howcheng","Hu12","Humblefool","Humus_sapiens","Husond","Hyacinth","Ian13","IanManka","Ianblair23","Icairns","IceKarma","Idont_Havaname","Ihcoyc","Ike9898","Ikiroid","Ilmari_Karonen","Ilyanep","Improv","Imran","InShaneee","Infrogmation","Inter","Interiot","Irishguy","IronGargoyle","Ish_ishwar","Isomorphic","Isotope23","Ixfd64","Izehar","J_Di","J_Milburn","J.J.","J.smith","JDoorjam","JHK","JIP","JLaTondre","JPD","JWSchmidt","JYolkowski","Jacoplane","Jake_Nelson","Jallan","James086","JamesTeterenko","Jamesday","Jaranda","Jasonr","Jaxl","Jay","Jayjg","Jc37","Jcw69","Jdavidb","Jdforrester","JeLuF","Jedi6","Jeffrey_O._Gustafson","Jengod","JeremyA","Jeronimo","Jersey_Devil","Jersyko","Jerzy","Jesse_Viviano","JesseW","Jfdwolff","Jiang","Jimbo_Wales","Jimfbleak","Jimregan","Jinian","Jitse_Niesen","Jkelly","Jmabel","Jmlk17","Jnc","Jni","Jnothman","JoJan","JoanneB","JodyB","Joe_Beaudoin_Jr.","Joelr31","Johan_Elisson","Johann_Wolfgang","John","John_Kenney","John_Reaves","JohnOwens","Johnleemk","Johntex","Joke137","JonMoore","Jonathunder","Jondel","Joolz","Josh_Grosse","Joshbuddy","JoshuaZ","Josiah_Rowe","Jossi","Journalist","Joy","Joyous!","Jpgordon","Jrdioko","Jredmond","Jreferee","Jtdirl","Jusjih","Justinc","Jwrosenzweig","JzG","K1Bond007","KF","KFP","Kafziel","Kaihsu","Kaisershatner","Kaldari","Karada","Karen_Johnson","Karl_Dickman","Katefan0","Kbdank71","Kbh3rd","Kcordina","Keegan","Keenan_Pepper","Khaosworks","Khendon","Khoikhoi","Khukri","Khym_Chanur","KillerChihuahua","Kilo-Lima","KimvdLinde","King_of_Hearts","Kingboyk","Kingturtle","Kinu","Kirill_Lokshin","Kjkolb","Kmccoy","Knowledge_Seeker","KnowledgeOfSelf","Kpjas","KrakatoaKatie","Krimpet","Ktsquare","Kubigula","Kukini","Kungfuadam","Kuru","Kurykh","Kusma","Kwamikagami","Kyle_Barbour","Kylu","Kyorosuke","Kzollman","LC","Lachatdelarue","Lacrimosus","Lar","Larry_V","Laurascudder","Lectonar","Lee_Daniel_Crocker","Leebo","Leithp","LessHeard_vanU","Lethe","Lexicon","Lexor","Lightdarkness","Ligulem","Linuxbeak","LiquidGhoul","LittleDan","Llywrch","Lommer","Longhair","Lord_Emsworth","Lord_Voldemort","LordAmeth","Loren36","Lostintherush","LouI","Lowellian","Lucasbfr","Ludraman","Luigi30","Luna_Santin","Lupin","Lupo","Lyrl","MC_MasterChef","MCB","MJCdetroit","MPF","MZMcBride","MacGyverMagic","Mackensen","Mackeriv","Madchester","Magnus_Manske","Mahanga","Mailer_diablo","Mairi","Majorly","Makemi","Malcolm","Malcolm_Farmer","Mallanox","Malo","Mangojuice","Manning_Bartlett","Marasmusine","Marianocecowski","Marine_69-71","Mark","Mark_Christensen","Mark_Richards","Mark83","MarkGallagher","MarkSweep","Marshman","Marskell","Martinp23","Martyman","Marumari","Masamage","MastCell","Master_Jay","Master_Thief_Garrett","Mathwiz2020","Matt_Britt","Matt_Crypto","Mattbr","MatthewUND","Maury_Markowitz","Mav","MaxSem","Maxim","Maximus_Rex","Mbecker","Mdd4696","Mecu","Meegs","Meelar","Mel_Etitis","Melburnian","Melchoir","Menchi","Meno25","Merope","Merovingian","Merphant","Messedrocker","Metamagician3000","Metros","Mets501","Miborovsky","Mic","Michael_Hardy","Michael_Snow","MichaelBillington","Mike_7","Mike_Halterman","Mike_Peel","Mike_Rosoft","Mike_Selinker","Mikeblas","Mikegodwin","Mikkalai","Mindmatrix","Mindspillage","Minesweeper","Mintguy","Mirv","Mirwin","MisfitToys","Misza13","Mkmcconn","Mkweise","Mo0","MoRsE","Modemac","Moink","Moncrief","Montrealais","Moondyne","Moreschi","Moriori","Morven","Morwen","Mr._Lefty","Mr.Z-man","MrDarcy","Mulad","Mushroom","Musical_Linguist","Mustafaa","MyRedDice","MykReeve","Myleslong","Mysekurity","Mysid","Mzajac","NCurse","Nabla","Nae'blis","Nandesuka","Nanobug","Natalie_Erin","Natalinasmpf","Natalya","NawlinWiki","Necrothesp","Neil","Netsnipe","Neutrality","Newyorkbrad","Ngb","Nichalp","NicholasTurnbull","Nick","Nickptar","Nickshanks","Night_Gyr","Nightstallion","Nihiltres","Nihonjoe","Nilfanion","Nishkid64","Niteowlneils","Nixdorf","Nlu","Nmajdan","No_Guru","NoSeptember","Nohat","Noldoaran","Notheruser","Nufy8","Nunh-huh","Nv8200p","Oberiko","Ocatecir","Ohnoitsjamie","OldakQuill","Oldelpaso","Oleg_Alexandrov","Olessi","Oliver_Pereira","Olivier","Omegatron","One","Opabinia_regalis","Optim","Orderinchaos","Orioane","Ortolan88","Oscarthecat","Oven_Fresh","Owen","OwenX","PDH","PFHLai","PS2pcGAMER","PZFUN","Pablo-flores","Pagrashtak","Pakaran","Pamri","Papa_November","Pascal.Tesson","Pastordavid","Pathoschild","Patrick","Paul_A","Paul_August","Pax:Vobiscum","Pcb21","PeaceNT","PedanticallySpeaking","Pengo","Pepsidrinka","Perceval","Persian_Poet_Gal","Peruvianllama","Peter","Peter_Winnberg","Pfortuny","Pgk","Phaedriel","Pharos","Phil_Bordelon","Phil_Boswell","Phil_Sandifer","Philip_Baird_Shearer","Philippe","Phils","Physchim62","Picaroon","PierreAbbat","PinchasC","Piotrus","Pjacobi","Plange","Pollinator","Poor_Yorick","Postdlf","Pratyeka","Premeditated_Chaos","Prodego","ProhibitOnions","Prolog","Proteus","ProveIt","Pschemp","Psy_guy","Punkmorten","Qaz","Quadell","Quarl","Quercusrobur","Qwghlm","R._fiend","R3m0t","RG2","RHaworth","RJFJR","Radiant!","RadicalBender","Ragesoss","Ragib","Ral315","Ram-Man","Rama","Ramallite","Ran","Raul654","Raven4x4x","Raymond_arritt","Rbrwr","Rd232","Rdsmith4","Rebecca","RedWolf","RedWordSmith","Redux","Redvers","Redwolf24","Reedy_Boy","Refdoc","Reflex_Reaction","Renata3","Renesis","Rettetast","RexNL","ReyBrujo","Rfl","Rhobite","Rholton","Rhymeless","Riana","Rich_Farmbrough","Richardcavell","Richardshusr","Rick_Block","RickK","Ricky81682","Rje","Rklawton","Rlandmann","Rlevse","Rlquall","Rmhermen","Roadrunner","RobLa","Robert_Merkel","RobertG","Robin_Patterson","RobyWayne","RockMFR","Rockero","Rockpocket","Rogerd","Ronline","Roozbeh","RoseParks","Rossami","RoyBoy","RoySmith","Royalguard11","Royboycrashfan","Rschen7754","Rspeer","Rune.welsh","Ruud_Koot","Rx_StrangeLove","Ryan_Delaney","Ryan_Postlethwaite","RyanGerbil10","Ryulong","SCEhardt","SCZenz","SD6-Agent","SGGH","ST47","Salsa_Shark","Sam","Sam_Blacketer","Sam_Vimes","Samir","Samsara","Samuel_Blanning","Sanchom","Sandahl","Sandstein","Sango123","Sannse","Sarah","Saravask","Sasquatch","Savidan","Saxifrage","Schissel","Schneelocke","SchuminWeb","Schutz","Scientizzle","Scimitar","Scipius","Scm83x","Scott_Burley","ScottDavis","Sean_Whitton","Sean_William","Searchme","Seattle_Skier","Sebastiankessel","Secretlondon","Seglea","Selket","Seraphimblade","Sesel","Sethant","Sfoskett","Shadow1","Shanel","Shanes","Shauri","Sheldon_Rampton","Shell_Kinney","Sherool","Shii","Shimeru","Shimgray","Shirahadasha","Shyam","Shyamal","Silence","Silsor","SimonP","Singularity","Sir_Nicholas_de_Mimsy-Porpington","SirFozzie","Siroxo","Sj","Sjc","Sjorford","Slambo","SlimVirgin","Slowking_Man","Slrubenstein","Slumgum","Smith03","SmthManly","Smurrayinchester","Sn0wflake","Snoyes","SoLando","Solipsist","Someone_else","SoothingR","Sortior","Soumyasch","Spangineer","Spartaz","Spencer195","Spike_Wilbury","Splash","SpuriousQ","Srikeit","Ssd","Staecker","Stan_Shebs","Starblind","Staxringold","Steel359","Steinsky","Stemonitis","Stephan_Schulz","Stephanie","Stephen","Steve_block","Stevenj","Stewartadcock","Stifle","Stormie","StuffOfInterest","Sue_Anne","Sugarfish","Sundar","Superm401","Sverdrup","Swatjester","Syrthiss","TKD","TPK","TSO1D","TShilo12","TUF-KAT","Ta_bu_shi_da_yu","Tabercil","Talrias","Tango","Tangotango","Tannin","Tariqabjotu","Tarquin","Taw","Tawker","Taxman","TenOfAllTrades","TerriersFan","TexasAndroid","Texture","Thatcher131","The_Anome","The_Cunctator","The_Epopt","The_JPS","The_Land","The_Rambling_Man","The_Singing_Badger","The_Tom","The_undertow","The_wub","TheCoffee","TheParanoidOne","TheProject","Thebainer","TheoClarke","Theresa_knott","Thorpe","Thryduulf","Thue","Thunderboltz","Thunderbrand","TigerShark","Tijuana_Brass","Tillwe","Tim_Ivorson","Tim_Starling","Tim!","TimShell","TimVickers","Timc","Timrollpickering","Timwi","Titoxd","Tizio","Tkinias","Toby_Bartels","Tom","Tom_harrison","Tom-","TomTheHand","Tompagenet","Tone","Tonywalton","Topbanana","Tra","Trebor","Tregoweth","Trevor_MacInnis","Trialsanderrors","Triddle","Trilobite","Tristanb","Trödel","Turnstep","TwinsMetsFan","Tyrenius","Tznkai","Ugen64","UkPaolo","Uncle_G","UninvitedCompany","Until%281_==_2%29","Urhixidur","Utcursch","UtherSRG","Vague_Rant","VampWillow","Vaoverland","Vary","Vassyana","VegaDark","Vegaswikian","Veinor","Verrai","Viajero","Vicki_Rosenzweig","Violetriga","Viridae","VirtualSteve","Vishal-WMF","Visorstuff","Visviva","Voice_of_All","Vsmith","W.marsh","WAvegetarian","WJBscribe","Wafulz","Waggers","Walton_One","Waltpohl","Wangi","Wapcaplet","Warofdreams","Water_Bottle","Wayward","Wernher","Wesley","Wgfinley","Where","WhisperToMe","Who","Whouk","Wickethewok","Wiglaf","Wiki_alf","WikiLeon","Wikiacc","Wikibofh","Wile_E._Heresiarch","Will_Beback","William_M._Connolley","William_Pietri","WilyD","Wimt","Winhunter","Wizardman","Wknight94","Woggly","WojPob","Woohookitty","Wouterstomp","Wrp103","Ww","Wwoods","Wwwwolf","XJamRastafire","Xaosflux","Xdamr","Xezbeth","Xiner","Xnuala","Xoloz","Xy7","Y","Y0u","Yacht","Yamamoto_Ichiro","Yamla","Yandman","Yannismarou","Yelyos","Yomangani","Yonatan","Youngamerican","Zanimum","Zero0000","ZimZalaBim","Zippy","Zocky","Zoe","Zoicon5","Zoney","Zscout370","Zsinj","Zzuuzz","Zzyzx11","^demon"); function markAdmins { // Variables that should be defined in your monobook if (typeof(markadmins) == 'undefined') markadmins = true; if (typeof(markcomadmins) == 'undefined') markcomadmins = false; if (typeof(markexadmins) == 'undefined') markexadmins = false; if (typeof(markarbcom) == 'undefined') markarbcom = false; if (typeof(markcheckuser) == 'undefined') markcheckuser = false; if (!markadmins && !markcomadmins && !markexadmins) return; //nichts zu tun, schnell weg hier

if (typeof(marksubpages) == 'undefined') marksubpages = false; if (typeof(dontmarkmyself) == 'undefined') dontmarkmyself = false; if (typeof(isSpecial) == 'undefined') isSpecial = (wgCanonicalNamespace == "Special"); if (typeof(isHistory) == 'undefined') isHistory = (UrlParameters['action']=='history'); if (typeof(isUserpage) == 'undefined') isUserpage = ( (wgCanonicalNamespace == "User") || (wgCanonicalNamespace == "User_talk") ); if (typeof(isTalk) == 'undefined') isTalk = (document.URL.indexOf('Diskussion') > 0); // kludge if (typeof(isProject) == 'undefined') isProject = (wgCanonicalNamespace == "Project"); if (typeof(isHelp) == 'undefined') isHelp = (wgCanonicalNamespace == "Help"); if (typeof(isDiff) == 'undefined') isDiff = UrlParameters["diff"]; if (markadmins) { var admins_str = '|'+admins.join('|')+'|'; var bureaucrats=new Array("MichaelDiederich", "Stefan_K%C3%BChn"); var bureaucrats_str = '|'+bureaucrats.join('|')+'|'; var stewards=new Array("Fantasy", "Brion_VIBBER", "Snowdog", "Dbl2010", "Anthere", "Oscar", "Jimbo_Wales", "Angela", "MaxSem"); var stewards_str = '|'+stewards.join('|')+'|'; // renames var renadmins=new Array("xxxxxxx"); var renadmins_str = '|'+renadmins.join('|')+'|'; if (typeof(markatxt) == 'undefined') markatxt = "A"; if (typeof(markbureautxt) == 'undefined') markbureautxt = "B"; if (typeof(markstewtxt) == 'undefined') markstewtxt = "S"; if (typeof(markrenatxt) == 'undefined') markrenatxt = "A-Ren"; }  if (markcomadmins) { // Notes: Eigntlich = Notschrei on commons //       Kuru = D-Kuru on commons var comadmins=new Array("xxxxxxxxxxx"); var comadmins_str = '|'+comadmins.join('|')+'|'; if (typeof(markcomatxt) == 'undefined') markcomatxt = "Com-A"; }  if (markexadmins) { /*        Notizen zu den Ex-Admins: */      var exadmins=new Array("xxxxxxx"); var exadmins_str = '|'+exadmins.join('|')+'|';

var exbureaucrats=new Array("Head", "Sansculotte", "Magnus Manske"); var exbureaucrats_str = '|'+exbureaucrats.join('|')+'|'; if (typeof(markexatxt) == 'undefined') markexatxt = "Ex-A"; if (typeof(markexbureautxt) == 'undefined') markexbureautxt = "Ex-B"; }  if (markcheckuser) { // Notes: nö      var checkuser=new Array("xxxxxxxxx"); var checkuser_str = '|'+checkuser.join('|')+'|'; if (typeof(markcheckusertxt) == 'undefined') markcheckusertxt = "CU"; }  if (markarbcom) { // Notes: ab 22.5.2007 var arbcom=new Array("xxxxxxxxxxx"); var arbcom_str = '|'+arbcom.join('|')+'|'; if (typeof(markarbcomtxt) == 'undefined') markarbcomtxt = "SG"; }  if (markarbcom || markadmins) { // SG-only Admins var admarbcom=new Array("xxxxxxxxxxxxx"); var admarbcom_str = '|'+admarbcom.join('|')+'|'; if (typeof(markadmarbcomtxt) == 'undefined') markadmarbcomtxt = "SG-A"; }  if (isSpecial || isHistory || isUserpage || isTalk || isProject || isHelp || isDiff) { var i;     var aNode; var allanchors = document.getElementsByTagName("A"); var searchExp = /.wiki.User.(.+)/; var trenn="/wiki/" + langUser; var marker; var mainpageanchor; for (i=0; i < allanchors.length; i++) { aNode = allanchors[i]; mainpageanchor = true; // if it's a link to a user if ((href = aNode.getAttribute("href")) && (href.indexOf(trenn) != -1)) { currUser = searchExp.exec(href)[1]; /* if (isUserpage) */ currUserClean = currUser.replace(/\/.*/,''); if (currUserClean != currUser) mainpageanchor = false; currUser= "|" + currUserClean + "|"; marker = new Array; if (markadmins) { // don't mark SG-only Adm twice if (!(admarbcom_str.indexOf(currUser) != -1)) { // is this user an admin? if (admins_str.indexOf(currUser) != -1) marker.push(markatxt); // is this user a renamed admin? if (renadmins_str.indexOf(currUser) != -1) marker.push(markrenatxt); }               // is this user a bureaucrat? if (bureaucrats_str.indexOf(currUser) != -1) marker.push(markbureautxt); // is this user a steward? if (stewards_str.indexOf(currUser) != -1) marker.push(markstewtxt); }            if (markcomadmins) { // is this user a commons admin? if (comadmins_str.indexOf(currUser) != -1) marker.push(markcomatxt); }            if (markexadmins) { // was this user an admin? if (exadmins_str.indexOf(currUser) != -1) marker.push(markexatxt); // was this user a bureaucrat? if (exbureaucrats_str.indexOf(currUser) != -1) marker.push(markexbureautxt); }            if (markcheckuser) { // does this user have checkuser rights? if (checkuser_str.indexOf(currUser) != -1) marker.push(markcheckusertxt); }            if (markarbcom) { // is this user an arbcom member? if (!(admarbcom_str.indexOf(currUser) != -1)) if (arbcom_str.indexOf(currUser) != -1) marker.push(markarbcomtxt); }            if (markarbcom || markadmins) { // is this user a (non-admin) arbcom member? if (admarbcom_str.indexOf(currUser) != -1) marker.push(markadmarbcomtxt); }            // don't mark certain pages, except link to user main page if (mainpageanchor ||                (marksubpages && (wgCanonicalSpecialPageName != "Prefixindex") && (wgCanonicalSpecialPageName != "Allpages")) ) // check finished, now append node if ((marker.length > 0) && !(dontmarkmyself && (currUserClean == wgUserName))) { var aMark = document.createElement("b"); var aMarkText = document.createTextNode(" (" + marker.join("/") + ")"); aMark.appendChild(aMarkText); aNode.appendChild(aMark.cloneNode(true)); }        }      }   } } addOnloadHook(markAdmins); //