Template talk:IOBDB show
(Redirected from Template talk:IOBDB show/doc)
Latest comment: 4 years ago by Primefac in topic Bug elated to titles
Bug elated to titles
edit@Primefac: @Emerson7: Hi! I found a bug in the template Here the search term is more than one word, but the %20 is not added, and so the URL gets broken. In this revision I added %20 and it now works
The template itself should be modified so multiple word searches work.
Thanks, WhisperToMe (talk) 16:42, 23 December 2019 (UTC)
- Aha! The documentation explicitly instructs people to add the "+" sign, but it seems the editor before hadn't done that. I wonder if there's a way for it to automatically add a "+" or "%20" in case there are multiple words used. WhisperToMe (talk) 16:47, 23 December 2019 (UTC)
- Unfortunately not. There used to be a
urlencode
command that would convert the spaces into +'s, but unfortunately it was breaking the instances where the + was used correctly. Primefac (talk) 17:33, 23 December 2019 (UTC)- I wonder if the blank spaces can be converted into "%20" instead since that actually seems to work too (see my revision) WhisperToMe (talk) 19:17, 23 December 2019 (UTC)
- I'll swap the functionality and update the template calls. Original coding was kinda dumb. Primefac (talk) 20:35, 23 December 2019 (UTC)
- I wonder if the blank spaces can be converted into "%20" instead since that actually seems to work too (see my revision) WhisperToMe (talk) 19:17, 23 December 2019 (UTC)
- Unfortunately not. There used to be a