Extension talk:Cite

Jump to: navigation, search

About this board

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
Speeditor (talkcontribs)

There should probably be a customizable message for when there are no inline references in a MediaWiki-powered article but there is a reference tag at the bottom.

Be..anyone (talkcontribs)

Yes, maybe a tracking category could do the trick. OTOH an unused <references /> apparently has no effect at all, which problem are you trying to solve?

Speeditor (talkcontribs)

It should designate that the reference list is empty so as not to leave empty sections on the page. e.g:

There are currently no references within the article.

I have tried and failed to reproduce this effect using #ifeq, #tag and <references/>.

Reply to "Empty reference list message"
Jeblad (talkcontribs)

Reformatted the examples and added a few changes/clarifications. Hopefully I got all tags right. There are also some bits and pieces of inline code that should have been updated.

If the present version is marked for translation I can make an attempt to translate the page into Norwegian, and perhaps spot some errors.

Jdforrester (WMF) (talkcontribs)


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

2 (talkcontribs)


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


Lestatdelc~mediawikiwiki (talkcontribs)

I am having the same issue on my wiki. Updated these system message pages on my wiki:

MediaWiki:Cite references link one from:

<li id="$1">[[#$2{{!}}↑]] $3</li>


<li id="$1">[[#$2{{!}}^]] $3</li>

MediaWiki:Cite references link many from:

<li id="$1">↑ $2 $3</li>


<li id="$1">^ $2 $3</li>

And finally MediaWiki:Cite references link many format from:




As per the Extension:Cite page customization instructions.

Rebuilt the page using the ref call afterwards, etc.

And no joy at all.

Anyone have any insights how to get this to work? Lestatdelc~mediawikiwiki (talk) 10:17, 12 November 2015 (UTC)

Reply to "How to replace 1.1 1.2 with a b c in reference footnotes"
Rob Kam (talkcontribs)

This post was posted by Rob Kam, but signed as Robkam.

Reply to "Customization"

"Fatal error: Call to undefined function wfmessage()"

Astraeasweb (talkcontribs)

Fatal error: Call to undefined function wfmessage() in /home/wikimultiple/wikimultiple/extensions/Cite/Cite_body.php on line 1007

This happens on any page with citations. I am a rank beginner at these things. Could someone explain?

This post was posted by Astraeasweb, but signed as Astraea.

Krinkle (talkcontribs)

What version of MediaWiki do you use (check Special:Version), and where did you download the Cite extension exactly (what version).

Plalemand (talkcontribs)

I got the same error. I'm using MW 1.16.2 and tried several snapshots of this extension, always the same error. This error can be fixed by replacing wfmessage() by wfMsg() but other errors appears after that.

Siebrand (talkcontribs)

wfMessage() cannot be replaced by wfMsg(). wfMessage(), a global function referencing the Message class was introduced in MediaWiki 1.17. We strongly suggest you update to a supported version of MediaWiki or use an older version of Cite.

קיפודנחש (talkcontribs)

it would be nice to have somewhere a list of links to "sanctioned" versions of the extension per mediawiki version.

i guess it's enough to have links to specific git commits (just to demonstrate what i mean - something like this), because the gitweb/gerrit thingy already has a "snapshot" link that gets you the tarball ready to eat.

peace. (talkcontribs)

How does one get an "older" version of cite? I want pre-Rel 19.

קיפודנחש (talkcontribs)

don't know about "pre rel". here is a link to the rel-19 sources in source control. at the top of the page there are buttons for tarballs in various compression formats.



Reply to ""Fatal error: Call to undefined function wfmessage()""
DulcetTone~mediawikiwiki (talkcontribs)

I have a Wiki with about 200 source documents that are cited so often that I'd like to have a template for each which opens the <ref> tag, spits out the particulars to identify the book and adds the first parameter before emitting the </ref>, e.g.: {{BellFundamentals|p. 45}} where the template would contain something like

<includeonly><ref>Bell, Richard. ''Fundamentals of Change'', London, blah blah. {{{1}}}.</ref></includeonly>

However, the {{{1}}} parameter invocation does not expand. Is this possible in any way with Cite, or would it be possible if I rolled up my sleeves and started altering its internals? I really want to avoid typing <ref> and </ref> ever again.

This post was posted by DulcetTone~mediawikiwiki, but signed as DulcetTone.

Bawolff (talkcontribs)

For now you have to use {{#tag:ref|yadda yadda{{{1}}} }}.

I was working on a fix, but its unclear if it will get accepted.

DulcetTone~mediawikiwiki (talkcontribs)

Thanks -- solved for now. I found this, too, in a belated discovery of the archives of this page.

This post was posted by DulcetTone~mediawikiwiki, but signed as DulcetTone.

Reply to "Template expansion WITHIN a ref?" (talkcontribs)

When I put this up: [1]

  1. Brenner, Michael; Frisch, Shelley (April 2003). Zionism: A Brief History. Markus Wiener Publishers. p. 184

I get this as a preview: <cite_reference_link>

<cite_references_prefix><cite_references_link_one><cite_references_suffix> ???? ====================

Also,, when I try to use the snapshot thingy, I get an error message. (talkcontribs)

Try to deactivate all other used extensions and reload your page.

Works for me, still after activating all other extensions

This post was posted by, but signed as

Reply to "I get nada"

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

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" (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"

Extension requires Modules, which Installation instructions say nothing about!

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.


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!"