Page MenuHomePhabricator

Automatic citations from PDFs should include PDF size
Open, Needs TriagePublic

Description

As part of the work to create citations automatically from PDF sources, we want to include the PDF file size into the citation.

Template:Cite web (see also German version here) for German Wikipedia specifies adding a PDF’s file size to the template: ‘Especially with large PDF files is to specify the size (in MB) is desired so that the reader can still decide whether to download worthwhile. Requires "url".’

See example:

<ref name="Liebsch_BKG_2009">{{Internetquelle |autor=Gunter Liebsch |url=http://www.giz.wettzell.de/Vortraege/20090507_MeeresspiegelNormalNull/WasBedeutetNormalNull.pdf |titel=Was bedeutet Normal Null? |werk=giz.wettzell.de |hrsg=[[Bundesamt für Kartographie und Geodäsie]] (BKG) |datum=2009 |format=PDF; 9,1&nbsp;MB |abruf=2013-05-30 |kommentar=Bezugspegel und Abweichungen siehe Folie 15}}</ref>

Acceptance Criteria:

  • The field called 'format' in 'internetquelle' holds the size of the PDF file as well as the format type 'PDF' - e.g. format=PDF; 9,1 MB