MediaWiki talk:Gadget-refToolbar.js/Archive 1

Issues
There are several issues with this script (other than the fact it was added without discussion :) —AlexSm 23:59, 30 March 2008 (UTC)
 * Adding the form to wikiPreview makes it look like part of the page
 * wikiPreview can be located under editbox
 * there is no Cancel button
 * script could use one toolbar button and have a switch between 3 modes
 * there no need to escape those quotes


 * Removed the escaping on the quotes, added a cancel button, adds the form under the toolbar now. I'll work on the button thing later, I have to make a toolbar button first. Other things planned are:
 * Option to assign a name to references
 * Then be able to easily add those named refs later (in the same editing session) with.
 * More template options (easier if I don't have to create a button for all of them :)

-- Mr.  Z- man  00:42, 31 March 2008 (UTC)


 * Using single button now. Mr.  Z- man  04:31, 2 April 2008 (UTC)

"New section" issue
Right now the script throws an error on page load with &section=new. That's because page layout is different: wpTextbox1 is not a direct child of editform, there is DIV.editOptions "in between". The line is

Not that somebody needs to add a citation on "new section", but this little thing has to be fixed anyway. —AlexSm 21:18, 25 April 2008 (UTC)
 * Fixed. Mr.  Z- man  07:05, 26 April 2008 (UTC)

cite news
I really love this tool. Thanks very much for making it! But couldn't the "news" citation button use the "news" citation template rather than the "web" one? The web one forces the use of a URL which is not always available citing print newspapers, and so I end up having to manually change it to "news" in order to avoid an error! See here for an e.g. Thanks again, though! --Slp1 (talk) 02:06, 10 May 2008 (UTC)
 * It should have been doing it all along, that was a bug, which I just fixed (though they do use the same form, as they have mostly the same parameters). You may have to bypass your cache of the script to see the changes immediately. Mr.  Z- man  05:02, 10 May 2008 (UTC)
 * Thanks very much! --Slp1 (talk) 19:36, 10 May 2008 (UTC)

Migration
editprotected Could someone apply [ these chances] to the script? Helder 17:06, 21 January 2013 (UTC)
 * Looked good to me... ✅ - Hoo man (talk) 19:17, 21 January 2013 (UTC)

Use mw.loader.load instead of importScript
Could someone remove importScript in favor of mw.loader.load See ResourceLoader/Migration_guide_(users)-- Jay  ❯❯❯  Talk  18:29, 20 June 2018 (UTC)
 * This one is not yet deprecated. They should, however, be converted to gadgets (the enhanced one has a TODO note about it, but I think the legacy would also need to be a gadget). –Tacsipacsi (talk) 22:14, 20 June 2018 (UTC)

"Reftoolbar 1.0 or Reftoolbar 1.0"?
I believe one of the versions in the comment should be 2.0. Helder 17:09, 2 November 2018 (UTC)
 * you had introduced this typo in Special:Diff/785679633, would you mind correcting it? huji— TALK 22:04, 18 April 2019 (UTC)