User:Mr.Z-man/vector.js

//window.refToolbarInstalled = 'bypass'; //importScript( 'User:Mr.Z-man/RefToolbarBase.js' ); //mw.loader.using( 'ext.wikiEditor.toolbar', function { //	importScript( 'User:Mr.Z-man/RefToolbar.js' ); //});

$('head').one('reftoolbarbase', function { mw.messages.set({'cite-dialog-Example': 'Example citation'}); new citeTemplate('cite example', 'Example', [ // Basic fields {"field": "last", "label":"Last name", "autofillprop":"last1"}, {"field": "first", "label":"First name", "autofillprop":"first1"}, {"field": "title", "autofillprop":"title"}, {"field": "url", "label":"URL"}, {"field": "work", "tooltip": "If this is part of a larger work"}, {"field": "isbn", "label":"ISBN", "autofillid":"isbn"}, {"field": "publisher", "autofillprop":"publisher"}, {"field": "otherthing"}, {"field": "accessdate"} ], [ // Expanded fields {"field": "author"}, {"field": "authorlink", "label":"Author's article", "tooltip":"If the author has an article, the name of the article"}, {"field": "coauthors", "autofillprop":"coauthors"}, {"field": "page"}, {"field": "pages"}, {"field": "language"}, {"field": "format"}, {"field": "date"}, ]); });

$('head').one('reftoolbarbase', function { CiteTB.UserOptions['modal'] = false; });

importScript('User:Mr.Z-man/closeAFD2.js'); importScript('User:Mr.Z-man/hideClosedAFD.js'); importScript('User:Mr.Z-man/autopatrol.js'); importScript('User:Hoo man/instantNewPagePatrol.js');