Extension talk:Cite

Jump to: navigation, search
By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL

Recent change broke enwp nested ref {{refn}} template

2
Czar (talkcontribs)

enwp's nested template ({{:en:refn}}) broke with a recent change that we've traced back to "#tag:ref". Could someone help us figure out whether a recent Mediawiki change caused this or what our next steps should be? More information available at en:Template talk:Refn#Refn references getting sent to the bottom of the page? Thanks

Reply to "Recent change broke enwp nested ref {{refn}} template"

Extension requires Modules, which Installation instructions say nothing about!

2
2607:F720:1300:1241:5CED:55D5:839E:35C1 (talkcontribs)

OK, so I installed this extension and followed the manual install instructions exactly as this page discusses.

However, all the ref citations attempted resulted in script failures.

It looks to me like there was a complete failure to load in or add the Module:Citation/CS1, Date_validator, Whitelist (and maybe one more, I forget).

I wound up adding those by hand by copying code from https://en.wikipedia.org/wiki/Module:Citation/CS1 (etc) which seems just... nasty.

Did I miss something? Did I install the extension incorrectly? Or am I actually supposed to go through and create those Module: files in my wiki? If the latter, it seems to me that the instructions for installing this extension should mention the need to add in the modules, plus pointers so that other folks don't wind up googling their day away to figure this out.

Thanks.

Kghbln (talkcontribs)

This extension works out of the box as described. There are however wikis like e.g. English Wikipedia that add additional dependencies via custom templates crated on wiki. In your case it requires the Scribunto to be installed as well as adding not just templates but also modules.

Reply to "Extension requires Modules, which Installation instructions say nothing about!"
223.33.153.101 (talkcontribs)

I updated to the media wiki 1.24.1 version, pop-up function after the update does not work.

I hope that this function is activated again. How do I?

Reply to "use $wgCiteEnablePopups option"
Varkman (talkcontribs)

Since I upgraded my wiki to 1.24.2, I not longer get a popup when I hover over a citation number. Is there a way to bring this back up?

Reply to "Hover-over text"

How to replace 1.1 1.2 with a b c in reference footnotes

1
59.91.254.3 (talkcontribs)

Hi

Can anywody please help to update 1.1, 1.2 number to a b c and ↑ to ^ in reference footnotes I tried this http://www.mediawiki.org/wiki/Extension:Cite#Set_references_to_use_.5E_and_letters_like_Wikipedia but still not working

Thanks

Reply to "How to replace 1.1 1.2 with a b c in reference footnotes"

Reading variables from the page in Extension:CiteThisPage

1
Jdforrester (WMF) (talkcontribs)

This post by Jdforrester (WMF) was moved on 2015-02-17. You can find it at Thread:Extension talk:Cite/Reading variables from the page in Extension:CiteThisPage.

Reply to "Reading variables from the page in Extension:CiteThisPage"
קיפודנחש (talkcontribs)

sometimes, a ref generates "cite error", e.g., when you use "name="xxx" with an empty ref, but there is no "real" ref with this name.

it would be useful to be able to find all pages with such errors.

mw contains a mechanism to track such things, called Special:TrackingCategories. there may be a better way to find all pages with cite errors - i'll be happy to learn.

if no such way exists, i suggest to track those through the special page meant for it.

peace.

Reply to "cite error"
Ancheta Wis (talkcontribs)

I assume that the existing reflist has a <references /> baked into it. Otherwise, this update is going to break a lot of articles. I like <references /> and use it all the time when checking out a citation, but others simply use reflist.

Reply to "reflist"
Xina78 (talkcontribs)

How do you make it so that references function as popups like on Wikipedia? You used to be able to do that with just the cite extension, but they took it away.

קיפודנחש (talkcontribs)

if you mean enwiki when you say "like on wikipedia", it's done via gadget, namely en:MediaWiki:Gadget-ReferenceTooltips.js, which is explained in Reference Tooltips. there are some other options, specifically one lighter with less features: he:Mediawikiי:Gadget-CiteTooltip.

peace.

Reply to "Popups with references"
Zabien (talkcontribs)

Hello, within a template I have fields for filling the references, which look like this: <ref>Source: {{{Source Spanish|}}}</ref>. In the same template there is also the <references /> tag. Now, when using the template, I simply fill |Source Spanish=http://www.example.com. But under references, the URL won't show, it's only 1. Source: , without the template field value.

  • It's not related to the URL, any other text won't show either.
  • The position of <references /> is irrelevant, same outcome everywhere.

What am I missing?

קיפודנחש (talkcontribs)

i believe you should use the #tag: magic word if you want to use "ref" tag from inside a template.

see Help:Magic_words#Miscellaneous.

as to the "references" tag: it does not sound right to have this tag in the same template - this will place "references" once per each reference, instead of once for the whole page.

also, afair, if you use modern-enough version of the code, you can completely omit the "references" tag, to display the references at the end of the page. don't remember when was this introduced, and TBH, i am not 100% sure this is correct...

peace.

Zabien (talkcontribs)

Thank you very much! That hint did it! Works brilliantly with the #tag magic word and "ref". I do not yet see a problem with the <references /> tag, though. At the moment, the references passed via the form as well as manually added <ref>…</ref>s all neatly show up under references. I still need the tag to show them, I tried on 1.21.2 and 1.23.1 and it's demanded there. Not tried on 1.24 though.

Reply to "filling references with a template"