Template:URL is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use ((edit template-protected)) to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
Microformats | ||||
|
This template was considered for deletion on 2016 October 8. The result of the discussion was "no consensus to merge". |
|
||
This page has archives. Sections older than 28 days may be automatically archived by Lowercase sigmabot III when more than 3 sections are present. |
The documentation says: "If it doesn't start with a URI scheme ... the prefix "https://" is prepended". Is that what is supposed to happen? It's not what I'm seeing. I'm getting "http://" without the 's'. This is firefox 97 if that makes a difference. GA-RT-22 (talk) 19:43, 27 May 2022 (UTC)
I was expecting template:URL would wrap the long URL in EMBiology, does anyone know why it doesn't? currently the infobox occupies a large fraction of the page width. ~thanks. fgnievinski (talk) 02:05, 5 August 2022 (UTC)
(({website))}
with three curly brackets then it means the template has a parameter |website=
. A template call has two curly brackets like ((website))
. The documentation at Template:Infobox bibliographic database#Usage says | website = <!-- use ((URL|example.com)) -->
and | titles = <!-- use ((URL|example.com)) -->
. That means an article using the infobox can place a url in ((URL|...))
. EMBiology doesn't do that. PrimeHunter (talk) 18:15, 5 August 2022 (UTC)
((URL| ((URL|http://example.org)) ))
or ((URL|[http://example.org website]))
fails. ((URL)) is from before MediaWiki got modules. The template language has very limited string processing. ((URL)) is now implemented by Module:URL and it would be possible to test the parameter and do nothing if it's not a raw url. Infoboxes with displayed website parameters generally require the caller to add ((URL)) for improved formatting. PrimeHunter (talk) 19:45, 5 August 2022 (UTC)
This edit request to Module:URL has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hello, the following code may be removed:
-- Handle URLs from Wikidata of the format http://
url = mw.ustring.gsub(url, '^[Hh][Tt][Tt][Pp]([Ss]?)://', 'http%1://')
Refs past discussions:
According to phab:T56312, this bug (from the early ages of wikidata) has been fixed since then.
Od1n (talk) 08:59, 11 September 2022 (UTC)