The following information passed a request for deletion.
This discussion is no longer live and is left here as an archive. Please do not modify this conversation, but feel free to discuss its conclusions.
What's up with this? We're not Wikipedia. Better to get rid of it than to have it mislead people into believing that uses from the web count as citations here. --Μετάknowledgediscuss/deeds 23:21, 22 September 2012 (UTC)
Kept. BTW, RFD tag could have been added to documentation page instead, correct? DAVilla 03:38, 9 October 2012 (UTC)
{{cite-web|title=Here we go|url=http://www.example.com|date=2018-07-07}}
→As you can see the title is provided but the template is still asking for it:
Any ideas? --Alexander Davronov (talk) 21:04, 7 July 2018 (UTC)
|title=
in this case refers to the title of the specific webpage, while you need to use |work=
to specify the name of the website as a whole. See the documentation. — SGconlaw (talk) 06:48, 8 July 2018 (UTC)
|workurl=
@Sgconlaw, Erutuon, if either of you are inclined, a |workurl=
would be handy. --{{victar|talk}}
05:34, 11 January 2019 (UTC)
|url=
. — SGconlaw (talk) 05:46, 11 January 2019 (UTC)
|url=
, but I'd like define URLs for both |title/entry=
and |work=
. --{{victar|talk}}
05:56, 11 January 2019 (UTC)
]
" or "{{w|BuzzFeed}}
", which is why that parameter doesn't take an external link. Can you give an example of when you would want to create separate external links for both |title/entry=
and |work=
? — SGconlaw (talk) 06:29, 11 January 2019 (UTC)
{{R:unm:LTD}}
, I'd like to give a link to the homepage for |work=
and a link to the specific entry for |title/entry=
. --{{victar|talk}}
06:41, 11 January 2019 (UTC)
|url=
suffice in this case, as you've done? Just wondering what's the particular benefit of linking the entire work title to an external link. Then we'll have some references that use |url=
and others that use |workurl=
. — SGconlaw (talk) 08:08, 11 January 2019 (UTC)
{{cite-journal}}
. --{{victar|talk}}
08:38, 11 January 2019 (UTC)
|url=
to |entry=
if the latter parameter is specified. This makes the {{cite}}
templates work differently from the {{quote}}
templates like |quote-book=
, which have a separate |chapterurl=
parameter. What I will do is to create a parameter called |entryurl=
(or something similarly named). If that parameter is present then it will be linked to |entry=
; if not, then the template will use |url=
. I'll look into it in about three or four hours' time. — SGconlaw (talk) 10:45, 11 January 2019 (UTC)|entryurl=
(and, for some templates, |titleurl=
) to {{cite-book}}
, {{cite-journal}}
and {{cite-web}}
. — SGconlaw (talk) 17:40, 11 January 2019 (UTC)
{{victar|talk}}
17:59, 11 January 2019 (UTC)|entry=
with *
without triggering bullet points. --{{victar|talk}}
07:46, 17 January 2019 (UTC)
<nowiki>
is not a practical solution as asterisks are commonly found in entry names of reconstructions. Here is an example of the bug manifesting. --{{victar|talk}}
08:24, 17 January 2019 (UTC)
{{victar|talk}}
18:29, 17 January 2019 (UTC)|titleurl=
? --{{victar|talk}}
23:52, 17 January 2019 (UTC)
|url=
it adds the link to |entry=
, not |title=
. Is there any way around that? --{{victar|talk}}
02:09, 18 January 2019 (UTC)
|entryurl=
together with |url=
, then |url=
displays an external link next to the title. But if you use |url=
alone, it assumes you want to link that to the value of |entry=
. That was a choice made some years back; if we now want to change how the template works and force the use of |entryurl=
, we'll need to identify all the templates that will be affected. — SGconlaw (talk) 03:04, 18 January 2019 (UTC)
|titleurl=
which always displays an external link next to the title? --{{victar|talk}}
03:30, 18 January 2019 (UTC){{victar|talk}}
04:47, 18 January 2019 (UTC)
There seem to be two lines calling the same parameter:
|url = {{{url|{{{5|}}}}}}
|page = {{{page|{{{5|}}}}}}
There is an easy work-around, which is to use either url=
or page=
in the fifth slot, but perhaps this should be sorted? Cnilep (talk) 02:00, 3 July 2019 (UTC)
|5=
is only a synonym for |url=
, as the template instructions indicate. — SGconlaw (talk) 03:32, 8 July 2019 (UTC)It would be helpful for people to be told that there are also website-specific templates. Akeosnhaoe (talk) 19:48, 19 April 2021 (UTC)
The following discussion has been moved from Wiktionary:Requests for cleanup (permalink).
This discussion is no longer live and is left here as an archive. Please do not modify this conversation, but feel free to discuss its conclusions.
in feretrum displays as:
That is, even though it's "|nodate=yes", there's "(Can we date this quote?)".
"|date=no", to answer the question, doesn't fix it. --幽霊四 (talk) 23:23, 24 January 2021 (UTC)
accessdate
. {{cite-web|accessdate=January 24, 2021|author=Patrick M. Owens|publisher=Patrick M. Owens|title=Silva (old)|url=https://neolatinlexicon.org/%7Cwork=Neo-Latin Lexicon}}
=> Patrick M. Owens (accessed January 24, 2021), “Silva (old)”, in Neo-Latin Lexicon, Patrick M. Owens Vox Sciurorum (talk) 23:48, 24 January 2021 (UTC)
Can we get a doi=
named parameter in this template? There are academic resources online with DOI that are not journal articles or books and I had to “hack around” the lack of DOI in {{cite-web}}
recently when referencing such a thing in etymology of Old Irish Goídelc (see →DOI, it’s an online video lecture + PDF file with slides). // Silmeth @talk 20:21, 14 February 2024 (UTC)
@JeffDoozan, it seems that this template is now double-urlencoding if the title is omitted, so the links to Trésor de la langue française informatisé on articles such as fainéant are currently broken.
Example:
{{cite-web|entryurl=https://www.cnrtl.fr/definition/{{urlencode:fainéant}}|entry=asdf|work=Trésor de la langue française informatisé}}
gives an incorrect, double-url encoded:
while if we include a title:
{{cite-web|entryurl=https://www.cnrtl.fr/definition/{{urlencode:fainéant}}|entry=asdf|title=asdfas|work=Trésor de la langue française informatisé}}
we get a functional link:
--130.208.182.103 12:59, 13 April 2024 (UTC)
make_chapter_with_url
, which just generates a bare link with the value of the chapter name and title. Since quote-book also exhibits the double-escaping behavior, it seems like most of our links must already be in an unescaped format and I'm tempted to just rip out all the manual calls to {{urlencode}}
in the R: templates. As a very temporary workaround, to avoid having broken links while this gets fixed, I added a check to the cite- template handling that falls back to the old template if entryurl, chapterurl, or titleurl contain "%"|title=
and |entry=
are aliases in the -web templates, so specifying both generates and error that causes it to fall back to the old template. Ripping out the URL encoding in the templates would have the unintended consequence of passing unescaped spaces as part of the url, which currently generates an error. JeffDoozan (talk) 20:56, 13 April 2024 (UTC)text = text:gsub("%%", "%%25")
at Module:links#L-538. What's the reasoning behind escaping % in the links passed to embedded_language_links()
? If it's for inter-wiki links or something, could we add a check for "://" to avoid mangling external URLs? JeffDoozan (talk) 23:00, 13 April 2024 (UTC)
embedded_language_links()
unless there are embedded links. Note that this will run into issues if there are embedded links inside of the display portion of an external link. I verified this is possible, e.g. foobar; however, this should occur very rarely, and in any case I'm not sure it will continue to work if the raw embedded links are wrapped in HTML tags, as would happen using embedded_language_links()
. Benwing2 (talk) 04:13, 14 April 2024 (UTC)
handle_redundant_wikilink
, that should give you an idea of the level of refactoring I'm talking about: it's been completely rewritten, but it still does the same thing. Theknightwho (talk) 06:41, 19 April 2024 (UTC)
text:find("%%]")
to two find
calls for "]"
with the plain flag set). These kinds of micro-optimisatons do seem to make a genuine difference if you apply enough of them (and are pretty much the only reason the template parser is viable at all), and I think they're badly needed in Module:links and Module:languages, given how much they're called. I'll make sure to comment anything that seems weird/unintuitive (e.g. it's not obvious that if not match(text, "^()%,"framed":false,"label":"Reply","flags":,"classes":}'>Reply
- @Theknightwho Yes, makes sense and please do comment anything that's not obvious, to avoid the problem of "tribal knowledge" that isn't written anywhere. Benwing2 (talk) 08:07, 19 April 2024 (UTC)