This is the talk page for discussing improvements to the QuickIW page.
- Please sign and date your posts by typing four tildes (
~~~~
). - Put new text under old text. Click here to start a new topic.
- If you're new to the wiki, please take a look at the talk page help.
- Be polite
- Assume good faith
- Be welcoming
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) 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.
- Done, thanks! → BlackZetsu (talk) 18:10, May 17, 2015 (UTC)
$('#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)
Search bar support?[]
Is there anyway that this script could be configured or modified to allow search bar support? (Note: this question is related to a conversation that was on Discord) - Profile (M/T • G • ABC • CBS • V-CBS • CN) 19:27, January 1, 2021 (UTC)
Doesn't work with MW1.37[]
Hello,
The script doesn't work on MW1.37 because the button to open the window is missing.
Bon Wiki
Thegamer1604 (Discussion) 11:34, 17 May 2022 (UTC)
Several interwiki at once[]
Is it possible to add several interwikis on the same page (e.g. Spanish and German at the same time), and not just one language each time? So that you don't have to select the module several times.
Blue-castle (talk) 13:01, 4 February 2023 (UTC)
Some CSS for the input label for dark theme[]
Hi, I've been testing this script and I wonder if you could update it a bit so the input labels don't show white on dark theme.
I've done this code on CSS so it is a bit more compatible on the theme:
#QuickIWModal form input {
border: 1px solid var(--theme-border-color);
background-color: var(--theme-page-background-color);
color: var(--theme-page-text-color);
border-radius: 3px;
}
#QuickIWModal form input::placeholder {
color: var(--theme-page-text-mix-color);
}
What do you think of it? It would be a useful addition for accesibility. Supeika (talk) 22:42, 18 February 2024 (UTC)
- Edit: I ended up adding it anyway, I hope it makes the script a bit more accesible :D --Supeika (talk) 05:17, 26 February 2024 (UTC)