FANDOM


This is the talk page for discussing improvements to the QuickIW page.

Page name

Hello, sometimes, the interwiki language page name are not the same as the page name in the wikia so I thinl it would be a good idea to allow change the page name. Gguigui1 (discussion) @fandom 20:29, May 9, 2015 (UTC)

I agree with Gguigui1. Also, it may be a good idea to add placeholders to the text fields such as for the summary being "Adding interwiki link". An example of this for the summary and adapting the code you are using:
summary: $("#summary").val() || $("#summary").attr('placeholder'),

Ozuzanna 21:35, May 9, 2015 (UTC)

Done, thanks! → BlackZetsu (talk) 18:10, May 17, 2015 (UTC)
I think another good idea would be to make the modal close when the edit API has been posted, as I doubt the user would want the modal open afterwards. You can use the .closeModal() method for that, e.g.
$('#cancel').closeModal();

Ozuzanna 21:26, May 10, 2015 (UTC)

Done and thanks! → BlackZetsu (talk) 18:10, May 17, 2015 (UTC)

Button Cancel

Hi Black, because you do not place a button to cancel the showCustomModal? I advise you to use defaultButton:true on the button 'Add interwiki'.

     message: 'Cancel',
     handler: function() {
        closeModal();

And add an function:

function closeModal() {
    $("#cancel").closeModal();  
}

--Shodai Tsuchi (talk) 01:08, June 18, 2015 (UTC)

Hi Shodai, I really do not think constructive add a button to cancel modal, exist a button default to close it. BlackZetsu 14:27, June 18, 2015 (UTC)

Dead code?

Please update. It would really help a lot of editors and wikis that have other languages. -MrAceAttorney (Press | Court Record) 16:36, August 26, 2018 (UTC)

I have rewritten the script now, it should work once reviewed. Not sure why the old one wasn't working for you, though. -- Cube-shaped garbage can 18:26, August 26, 2018 (UTC)

Not working

Could be of great use, but it's not working. Marcy ~ Talk ~ Contribs 05:41, December 28, 2019 (UTC)

Same. Matter Darkness (talk) 12:56, March 14, 2020 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+