Jump to content

MediaWiki talk:Citethispage-content/Archive 1

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Archive 1

"Retrieved" date formatting broken: Superfluous linebreaks

Something is wrong here. While the preview on MediaWiki:Citethispage-content/Archive 1 looks fine (except that there are visible "<citation>" tags around the "retrieved" date), actually using the "cite this page" functionality (e.g. https://en.wikipedia.org/wiki/Special:CiteThisPage?page=Example) leads to the "retrieved" date/datetime appearing on lines of its own, which is probably not intended. (The two BibTeX entries even show broken <pre> formatting.)

-- das-g (talk) 10:05, 2 June 2017 (UTC)

I think that the usage of Template:Pre instead of the four spaces for formatting may solve the problem. --Pietrodn · talk with me 13:51, 22 July 2017 (UTC)
I fixed that, as it looks rather jarring. I'm not sure why the <citation> suddenly behaves like it does. There probably was a small change in the parser while they prepare to switch away from Tidy or something. I've filed a bug report. —TheDJ (talkcontribs) 19:14, 22 July 2017 (UTC)

Add authors?

I've opened up a discussion at Wikipedia_talk:Citing_Wikipedia#When_citing_Wikipedia,_why_not_cite_the_authors?_Why_cite_a_legally_non-existent_person_as_the_author? about citing the first few or the main authors. There's a tool under very recent development (it doesn't seem to be working well yet) mentioned in the discussion. The choice "Wikipedia contributors" responds to my immediate concern (Wikipedia is not the author of any Wikipedia pages - and User:Wikipedia is blocked :)), but I think the possibility of citing the first few or a few prominent authors - as self-identified - should be open to debate. So I'm not proposing any short-term change to the Special: page here. I'm just opening up the debate. (There would be a modest cpu cost to listing the first few authors; there would probably be a heavy cpu cost with the algorithm (javascript implementation) under development that estimates the most active contributors, and any alternative algorithm would presumably add either a cpu or a memory/caching load or both.) Boud (talk) 22:10, 11 December 2017 (UTC)

bibtex version - please add 'contributors'

The bibtex version of citation in MediaWiki:Citethispage-content is inconsistent with the other citation examples. I agree that (in this case), the minority is wrong. "Wikipedia" is not a legal person, and even if there were some effort made to define Wikipedia as a legal person, it's rock-solid Wikipedians' and WMF's legal interpretation that the copyright is that of the authors, i.e. Wikipedians. (WMF is not Wikipedia :).)

So in the two bibtex entries, please change

author = "Wikipedia",

to

author = "Wikipedia contributors",

or

author = {Wikipedia contributors},

or

author = "{Wikipedia contributors}",

This should be uncontroversial, it seems to me. (I admit I haven't really checked what bibtex + LaTeX really prefer in terms of {} vs "" here... It's not the easiest thing to search for with a search engine.)

Regarding the existence of a space in the "family name", there are some authors of scientific articles whose "family name" (or main name) has two words separated by a space, e.g. Charles de Gaulle would be author = "{{de Gaulle}, C.}" or author = "{{de~Gaulle}, C.}" (or Ch. from a phonetic point of view). Boud (talk) 22:10, 11 December 2017 (UTC)

Done — Martin (MSGJ · talk) 08:57, 12 December 2017 (UTC)

APA version - please add 'contributors'

There seem to be two errors in the APA example:

  • The table APA style quite clearly gives author attribution, even if it's a "group author", rather than no author attribution at all. But our script excludes the author.
  • The APA style table also puts the title of the page after the year. I'm assuming that APA style is correct, since the only "controversy" on Talk:APA style during the last five years is a single comment to do with nonsexist language, which doesn't concern this discussion. But our script has year (and month day) after the page title.

So I propose replacing

{{FULLPAGENAME}}. ({{CURRENTYEAR}}, {{CURRENTMONTHNAME}} {{CURRENTDAY}}). In ...

by

{{SITENAME}} contributors. ({{CURRENTYEAR}}, {{CURRENTMONTHNAME}} {{CURRENTDAY}}). {{FULLPAGENAME}}. In ... 

in the APA subsection. Boud (talk) 21:45, 20 February 2018 (UTC)

 Done — Martin (MSGJ · talk) 13:07, 23 February 2018 (UTC)

Incorrect bibtex produced: produces author name "contributors, W."

Bibtex format interprets

author = "Wikipedia contributors"

as one author, with the first name "Wikipedia", and the last name "contributors". Additional curly brackets help:

author = "{{{SITENAME}} contributors}",

as they tell bibtex that "Wikipedia contributors" is a single, inseparable, unit. 129.206.61.28 (talk) 14:41, 26 March 2018 (UTC)

Fixed BibTeX entry section (additional curly braces to prevent bibtex from mis-interpreting 'Wikipedia' as first name and 'contributors' as last name) - I cannot test if the horrible mediawiki syntax is corrrect with the additional braces:

=== [[BibTeX]] entry ===

{{pre|1=
  @misc{ wiki:xxx,
    author = "{{(}}{{SITENAME}} contributors{{)}}",
    title = "{{FULLPAGENAME}} --- {{(}}{{SITENAME}}{{)}}{,} {{MediaWiki:Sitesubtitle}}",
    year = "{{CURRENTYEAR}}",
    url = "{{canonicalurl:{{FULLPAGENAME}}|oldid={{REVISIONID}}}}",
    note = "[Online; accessed <citation>{{#time:j-F-Y}}</citation>]"
  }
}}

When using the [[LaTeX]] package <code>url</code> (<code>\usepackage{url}</code> somewhere in the preamble), which tends to give much more nicely formatted web addresses, the following may be preferred:
{{pre|1=
  @misc{ wiki:xxx,
    author = "{{(}}{{SITENAME}} contributors{{)}}",
    title = "{{FULLPAGENAME}} --- {{(}}{{SITENAME}}{{)}}{,} {{MediaWiki:Sitesubtitle}}",
    year = "{{CURRENTYEAR}}",
    howpublished = "\url{{(}}{{canonicalurl:{{FULLPAGENAME}}|oldid={{REVISIONID}}}}{{)}}",
    note = "[Online; accessed <citation>{{#time:j-F-Y}}</citation>]"
  }
}}

I also fix the wrong \url suggestion. That should go into the howpublished field only. 129.206.61.28 (talk) 12:23, 10 April 2018 (UTC)

 Done — Martin (MSGJ · talk) 12:49, 10 April 2018 (UTC)

Protected edit request on 13 February 2019

In the "Wikipedia talk pages" section, I'd like to request that the format be changed from that of an external link to that of an intrawiki link. Since it involves nowiki tags, and the end result is similar, it might be easier to understand this request by looking at the source in edit mode:

Please change

Markup
[[MediaWiki talk:Citethispage-content/Archive 1]] ([https://en.wikipedia.org/w/index.php?title=MediaWiki_talk:Citethispage-content/Archive_1&oldid=1248313384 this version])
Result
MediaWiki talk:Citethispage-content/Archive 1 (this version)

to

Markup
[[MediaWiki talk:Citethispage-content/Archive 1]] ([[Special:Permalink/1248313384}}| this version]])
Result
MediaWiki talk:Citethispage-content/Archive 1 ([[Special:Permalink/1248313384}}|this version]])

I'd also like to make a correction - currently, the result isn't produced with the markup given. Thus, with both changes, the final result should be:

Result
MediaWiki talk:Citethispage-content/Archive 1 ([[Special:Permalink/1248313384}}|this version]])

Thanks, --DannyS712 (talk) 00:44, 13 February 2019 (UTC)

 Done (without the extra }}) — JJMC89(T·C) 02:11, 13 February 2019 (UTC)
@JJMC89: thanks for catching that. Sorry --DannyS712 (talk) 02:16, 13 February 2019 (UTC)

Add BibLaTeX citation entry

This is a proposal to add a citation entry for BibLaTeX[1]. While BibLaTeX has backwards compatibility with BibTeX, there is a much more fitting entry for BibLaTeX which provides better styling and language adaptation in the final output. It looks like this (check source for templates/magic words):

@inreference{wiki:xxx,
    author = {Wikipedia contributors},
    title = {MediaWiki talk:Citethispage-content/Archive 1},
    booktitle = {Wikipedia, The Free Encyclopedia},
    date = {2024-11-21},
    urldate = {2024-11-21},
    url = {https://en.wikipedia.org/w/index.php?title=MediaWiki_talk:Citethispage-content/Archive_1&oldid=1248313384}}

One example of how it looks once compiled in English, with the default BibLaTeX style and Biber:

Wikipedia contributors. MediaWiki talk:Citethispage-content. In: Wikipedia, The Free Encyclopedia. Mar. 26, 2019. URL: https://en.wikipedia.org/w/index.php?title=MediaWiki_talk:Citethispage-content&oldid= (visited on 03/26/2019).

@reference is for a "work of reference such as an encyclopedia" and @inreference is for "an article in a work of reference". booktitle is a required field for @inreference and is the name of the reference.

metarmask (talk) 15:13, 26 March 2019 (UTC)

References

  1. ^ "The biblatex Package" (PDF).

Protected edit request on 7 April 2020

Copy from User:Pppery/MediaWiki:citethispage-content (applying Special:Diff/949552933), to remove the transclusion of {{pre}}, which is only semi-protected so shouldn't be used in the MediaWiki namespace. * Pppery * it has begun... 04:10, 7 April 2020 (UTC)

 Donexaosflux Talk 02:41, 8 April 2020 (UTC)

Harvard style

Hello, I suggest to add Harvard style to Special:CiteThisPage ([1]) Because it is a standard rule for citation and referencing. (Please ping me when you replied) Thanks! ⇒ AramTalk 11:10, 11 April 2020 (UTC)