Topic on Extension talk:Cite

Jump to navigation Jump to search

References not rendered

5
Summary by Jdforrester (WMF)

It used to be possible to change the references list rendering from a list to something else, like a table. This is no longer supported, and old config trying to do that may break the display on your wiki.

129.217.233.72 (talkcontribs)

Hey since updating to mediawiki 1.30 the references list on the end of the page is no longer rendered.

It looks like the following:

|- class="references" | 24. || ↑ || id="cite_note-Reischl_2008-24" | Reischl, Gerald, 2008: Die Google Falle. Die unkontrollierte Weltmacht im Internet. Wien: Ueberreuter.
|- class="references" | 25. || ↑ || id="cite_note-Dolata_2011-25" | Dolata, Ulrich, 2011: Google vs. Facebook: Der Kampf um das Internet, in: Blätter für deutsche und internationale Politik 9/2011: 26-29.
|- class="references" | 26. || ↑ || id="cite_note-Dolata_2015-26" | Dolata, Ulrich, 2015: Volatile Monopole. Konzentration, Konkurrenz und Innovationsstrategien der Internetkonzerne. In: Berliner Journal für Soziologie 24 (4): 505-529

Any idea why?

Jdforrester (WMF) (talkcontribs)

Hey there,

It looks like you've customised your Cite install and have been using tables with table rows as the output format for reference lists. I don't think that's meant to work (they're meant to be lists), and it's likely that changes to parsing made the old customisations you were using no longer apply.

129.217.233.72 (talkcontribs)

Thank you,

I just recently came to the troubling mediawiki, where could i find this customisations?

Jdforrester (WMF) (talkcontribs)

The old messages <cite_references_prefix> and <cite_references_suffix> used to be HTML entities you could over-ride; they defaulted to <ol class="references"> and </ol>, but your installation might have tried to replace them with <table> or similar. You can check by going to the pages MediaWiki:cite_references_prefix and MediaWiki:cite_references_suffix on your wiki. They're now hard-coded as an ordered list as part of the responsive content work landed in 2015, and so your wiki's customisations no longer work; you should delete those pages.

The customisation you're using also takes place in the messages <cite_references_link_one> and <cite_references_link_many> where you can tweak (previously, radically change) the output format. The first's default value is:

<li id="\"$1\""><span class="\"mw-cite-backlink\"">[[#$2|↑]]</span> $3</li>

… but it looks like your wikis has over-ridden it to:

|- class="references" | $1 || <span class="\"mw-cite-backlink\"">[[#$2|↑]]</span> || id="$1" | $3

If you delete these messages (i.e. delete the pages MediaWiki:cite_references_link_one and MediaWiki:cite_references_link_many on your wiki), the references should render "correctly", the same way that they do on Wikimedia's servers, but your local customisations will be gone, sorry.

129.217.233.72 (talkcontribs)

Thank you very much,

that was exactly what i needed!

It still looks fine enough so it can stay on the default way.