Misplaced Pages

User:Mr.Z-man/vector.js: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< User:Mr.Z-man Browse history interactively← Previous editContent deleted Content added
Revision as of 03:36, 1 November 2015 view sourceMr.Z-man (talk | contribs)Extended confirmed users28,435 editsNo edit summary← Previous edit Latest revision as of 04:07, 1 November 2015 view source Mr.Z-man (talk | contribs)Extended confirmed users28,435 editsNo edit summary 
Line 1: Line 1:
//window.refToolbarInstalled = 'bypass'; //window.refToolbarInstalled = 'bypass';
importScript( 'User:Mr.Z-man/RefToolbarBase.js' ); //importScript( 'User:Mr.Z-man/RefToolbarBase.js' );
mw.loader.using( 'ext.wikiEditor.toolbar', function () { //mw.loader.using( 'ext.wikiEditor.toolbar', function () {
importScript( 'User:Mr.Z-man/RefToolbar.js' ); // importScript( 'User:Mr.Z-man/RefToolbar.js' );
}); //});


$('head').one('reftoolbarbase', function() { $('head').one('reftoolbarbase', function() {

Latest revision as of 04:07, 1 November 2015

//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 = 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');