Extension talk:Cite/Flow archive/2018
This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
![]() Archives
|
---|
|
Linkback after ref text
Is there a means to place the linkback numbers after the text of the reference?
Currently it appears as:
1. ↑ 1.00 1.01 1.02 1.03 1.04 1.05 Text of reference.
Is there a way to have it look like:
1. ↑ Text of reference. 1.00 1.01 1.02 1.03 1.04 1.05
When there are a large number of backlinks, it can be difficult to read. Rlyehable (talk) 04:56, 8 January 2018 (UTC)
References not rendered
RESOLVED | |
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. |
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
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
- 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. Jdforrester (WMF) (talk) 19:58, 28 February 2018 (UTC)
- Thank you,
- I just recently came to the troubling mediawiki, where could i find this customisations? 129.217.233.72 (talk) 09:31, 7 March 2018 (UTC)
- 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:… but it looks like your wikis has over-ridden it to:<li id="\"$1\""><span class="\"mw-cite-backlink\"">[[#$2|↑]]</span> $3</li>
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. Jdforrester (WMF) (talk) 11:08, 8 March 2018 (UTC)|- class="references" | $1 || <span class="\"mw-cite-backlink\"">[[#$2|↑]]</span> || id="$1" | $3
- Thank you very much,
- that was exactly what i needed!
- It still looks fine enough so it can stay on the default way. 129.217.233.72 (talk) 12:12, 14 March 2018 (UTC)
Lingo breaking formatting when citations at end of line
Cross posting the Lingo and Cite extension issue
We've found an odd formatting issue that pops up when Lingo is enabled. The following code should generate four headings with indented text below them, some with references before the full stop, and some after:
'''Heading 1''' :Indented text with reference followed by a line break with clear which should clear previous formatting.<ref>Reference1</ref> '''Heading 2''' :Indented text with reference followed by blank line only, reference after punctuation.<ref>Reference 2</ref> '''Heading 3''' :Indented text with reference followed by blank line only, reference before punctuation<ref>Reference 3</ref>. '''Heading 4''' :And so on. All these display as expected in preview mode, including an extra line between 1 and 2. <references />
The expected formatting is shown in this image. However, when Lingo is enabled, the formatting is not correctly cleared at the end of any line where a citation comes after the punctuation - see this image. Inspection of the HTML source shows that various formatting tags are not being closed.- Danny252 64.251.40.241 (talk) 17:43, 13 April 2018 (UTC)
Reusing References With Templates
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I use templates with my citations. On my template page I have this:
{{#tag:ref|{{{author|}}}. ''{{{title|}}}''. {{{publisher|}}}, {{{year|}}}. {{{page|}}}.|name={{{name|}}}}}
But my problem is when trying to reuse the same source. For that I currently have:
{{#tag:ref||name="{{{name|}}}"}}
The first citation works fine, shows [1] down below with my custom text. But instead of showing [1] for the reused citation, it shows [2.0][2.1].
How can I have my template reuse references?
My full Template:Cite page looks like:
{{#ifeq:{{#lc:{{{1|}}}}}|book|{{#tag:ref|{{{author|}}}. ''{{{title|}}}''. {{{publisher|}}}, {{{year|}}}. {{{page|}}}.|name={{{name|}}}}}}}{{#if:{{{1|}}}||{{#if:{{{name|}}}|{{#tag:ref||name="{{{name|}}}"}}}}}}
And I'm using that template like:
Some text{{Cite|book|ref=ref1|author=[[Author]]|title=Book Title|publisher=Big Publisher|year=2000|page=1}}
And later on the same page:
More text{{Cite|name=ref1}}
Jer Hughes (talk) 16:16, 16 June 2018 (UTC)
- Never mind, I had some issues with the magicwords. I thought it was an issue of order of operations issue of when wikicodes resolve and scripts run, but it was just a typo. Jer Hughes (talk) 01:22, 17 June 2018 (UTC)