Extension talk:Cite/Flow archive/2012

Extension:Cite

I just added the Cite Extension to my personal wiki and am getting the wrong symbols;

↑ is used after instalation


but would like to use the same one seen/used elsewhwere;

^

MediaWiki: v1.18.1 PHP: v5.3.8 Database: MySQL v5.5.16 Localization: Xampp for Windows v1.7.7

Sorry if this is covered elsewhere but have spent over an hour looking at templates and am confused to where I can change this.

Thanks in advance

Regards

Dave Shealladh (talk) 22:00, 2 April 2012 (UTC)

You can change the symbols by changing the ↑ into ^ on the pages MediaWiki:Cite references link one and MediaWiki:Cite references link many of your wiki. MrBlueSky (talk) 22:50, 2 April 2012 (UTC)
Thanks.
I updated and changed those to ^ and they still appear in my pages as ↑ Shealladh (talk) 10:55, 3 April 2012 (UTC)
Added a few extras templates and it now has changed. Thanks for the help once again, much appreciated. Shealladh (talk) 14:09, 3 April 2012 (UTC)
Changed those on my farm as well, thanx. Mlpearc (powwow) 20:29, 6 April 2012 (UTC)

Special categories for pages with cite errors

Is it possible to implement the functionality for adding pages with errors ("Cite error: <ref> tag with name "refname" defined in <references> is not used in prior text.") to some special category (f.e. "Category:Articles with Cite errors")? --Hayk (talk) 20:31, 7 April 2012 (UTC)

Yes, the English Wikipedia does this for all the cite error messages. The simplest way is to add a category to MediaWiki:Cite error references missing key.
http://en.wikipedia.org/wiki/Help:Cite_errors Gadget850 (talk) 15:50, 4 May 2012 (UTC)

Version and Revision date ?

Hi. Why is there NO version or update date in the info-box for this Extension:Cite page? It makes work harder during MediaWiki updates to check if used extensions are up-to-date too. Many MediaWiki extensions make it good though, like Extension:Loops showing 0.4 (2011-11-16). Thanks 180.183.88.201 08:24, 21 April 2012 (UTC)

Hi, this extension is continuously and frequently being updated. I guess allocating new versions and keeping the info-box current is too tedious under these circumstances. I recommend to check every extensions for updates every time you update to a new branch of MediaWiki. Extensions rarely break during updates within a branch. However, I agree that it is sometimes hard to decide if an update is necessary or not. Cheers [[kgh]] (talk) 08:36, 21 April 2012 (UTC)
Tedious? So you prefer hundreds of webmasters having to take minutes to download and check versions, rather that one author taking one minute of his time to update this info-box at major revisions? Let's talk about efficiency... ;) . Thanks for your reply though. :) 180.183.88.201 08:52, 21 April 2012 (UTC)

I get nada

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. juanita 22:29, 2 May 2012 (UTC)

Try to deactivate all other used extensions and reload your page.
Works for me, still after activating all other extensions 217.251.164.120 09:46, 6 June 2012 (UTC)

Cite and Vorlage:Literatur

Hi I have started to use the template Vorlage:Literatur from de.wikipedia.org for my own wiki (http://www.muri-gries.ch/mediawiki) in order to simplify bibliographic references in footnotes.

With my current version of mediawiki a

</span>

-Tag appears at the end of each reference:

http://www.muri-gries.ch/mediawiki/index.php/Walter

In the source I see that these two tags are written:

&lt;/span&gt;

instead of

</span>

. If I copy the text and correct it the resulting html-file is displaid as expected in the Firefox.

If I make a test on de.wikipedia.org using the source-text of my article, everything is ok too.

Where is my mistake?

Mediawiki: 1.19.0 (newly installed hoping it would solve my problem :-)) PHP: 5.3.3-7+squeeze8 (apache2handler) MySQL: 5.1.49-3

Thank you Beda Bedda (talk) 20:32, 7 May 2012 (UTC)

Can't download

The download links don't work, the following error is returned:

Invalid response from remote subversion client. </pre>

I need this plugin. --95.146.10.255 18:10, 8 May 2012 (UTC)
Hi
The Webinterfaces aren't working at the moment.
I could get the files for the Cite-Extension using:
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Cite.git
Hope that helps.
Beda Bedda (talk) 18:42, 8 May 2012 (UTC)
Special:ExtensionDistributor/Cite works again. Krinkle (talk) 01:15, 13 May 2012 (UTC)
It seems it is broken again. 99.110.10.146 14:28, 6 November 2012 (UTC)

How are the automatic list columns created?

How are the automatic list columns of ol.references created?

I can't find the according Javascript code :/ Cheers! Subfader (talk) 23:27, 17 May 2012 (UTC)

this is done by utilizing a CSS3 (or is it css2?) feature called "columns". not all wikis choose to use this feature, and those that do are doing it through their css (look for "-moz-column-width", "-moz-column-count", "-webkit-column-width" or "-webkit-column-count"). it is also somewhat important to note that not all browsers support this feature - notably IE doesn't. קיפודנחש (talk) 18:35, 25 May 2012 (UTC)

Tooltip

Just noticed the tooltip.js on the extension. can the developers explain why they chose to ignore "tipsy", which is a jquery extension that's included in the mediawiki package, and instead chose to develop their own tooltip package? this does not make sense to me, unless there is a reason to think tipsy is somehow broken, or there is some reason to believe it might not be available on all mediawiki installations. (for a gadget that use tipsy to display reference tooltips, see w:he:Mediawiki:Gadget-CiteTooltip.js) קיפודנחש (talk) 18:31, 25 May 2012 (UTC)

I guess because this extension is older than the core jQuery support.
It could be removed and adjusted in a new version tho. Subfader (talk) 11:40, 22 August 2012 (UTC)

Template expansion WITHIN a ref?

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. DulcetTone (talk) 19:36, 23 July 2012 (UTC)

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. Bawolff (talk) 20:02, 23 July 2012 (UTC)
Thanks -- solved for now. I found this, too, in a belated discovery of the archives of this page. DulcetTone (talk) 15:51, 24 July 2012 (UTC)

2 bugs were found.

1. If there were blank after <ref>, this tag fall down.

Example:

<ref> some words needs Clarify </ref>

2. <br /> Tag could not been used in <ref>, error message comes out. Zoglun (talk) 06:33, 12 August 2012 (UTC)

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

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? Astraea (talk) 20:37, 2 September 2012 (UTC)

What version of MediaWiki do you use (check Special:Version), and where did you download the Cite extension exactly (what version). Krinkle (talk) 04:14, 3 September 2012 (UTC)
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. Plalemand (talk) 19:54, 17 January 2013 (UTC)
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. siebrand (talk) 13:40, 18 January 2013 (UTC)
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. קיפודנחש (talk) 21:45, 18 January 2013 (UTC)
How does one get an "older" version of cite? I want pre-Rel 19. 216.16.228.6 17:48, 10 February 2014 (UTC)
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.
https://git.wikimedia.org/tree/mediawiki%2Fextensions%2FCite.git/refs%2Fheads%2FREL1_19
peace. קיפודנחש (talk) 19:06, 10 February 2014 (UTC)

Cite does not create references

MediaWiki: 1.19.2
Snapshot of the Cite: for MediaWiki 1.19.x

So, I installed the Cite and added require_once to LocalSettings.php

Now I'm trying to repeat the example:
According to scientists, the Sun is pretty big.<ref>E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.</ref>
The Moon, however, is not so big.<ref>R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.</ref>
== Notes ==
<references />

and I get the folowing:
According to scientists, the Sun is pretty big.<cite_reference_link>
The Moon, however, is not so big.<cite_reference_link>
Notes
<cite_references_prefix><cite_references_link_one> <cite_references_link_one><cite_references_suffix>

What's wrong? 195.19.36.139 14:38, 20 September 2012 (UTC)

Those snapshots are unreliable, as I experienced myself lately. Try downloading the extension through Git instead. Cavila MW 1.17, MySQL 5.5.23, Php 5.3.10, SMW 1.7.1 22:06, 20 September 2012 (UTC)
Yeah, now I got the Cite extension by:
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Cite.git
Replaced the previous one by that new one. But yet that has not changed anything, unfortinatelly. There are still <cite_reference_link> instead of footnotes.
Any further suggestions, please? I'm desperated with this extension, it didn't work that way since I had MediaWiki 1.17. 195.19.36.139 07:21, 21 September 2012 (UTC)
Maybe a recent change messed things up? You can try older versions of the extension, also available through Git:
https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Cite.git;a=summary
("snapshot" gives you a download link) Cavila MW 1.17, MySQL 5.5.23, Php 5.3.10, SMW 1.7.1 09:36, 21 September 2012 (UTC)
Nope, it didn't help too. I also tried snapshots of the Cite from 1.10 to the last 1.19 - none of them works correctly, all behave like I described.
Weird though - it actually does some work: translates <ref></ref> into <cite_reference_link>, but it seems that something messes with it.
I read somewhere, that some web-hosters have some "features" or "settings" on their servers, that prevents some extensions from working correctly. It seems that I'm the only one with such problem, and that means the problem is on my side, not on the extension's. Abagnale OS Ubuntu 11.04; MW 1.19.2; MySQL 5.1.61; PHP 5.2.17 11:25, 21 September 2012 (UTC)
OMG, I've found the reason - I guess, it's my stupidity.
I've read once again the Cite's page here and saw the text where it says about special names or I don't know how to name it. So, it's like I described earlier: I got some <cite_references_prefix><cite_references_link_one> <cite_references_link_one><cite_references_suffix> instead of references.
I simply went to the Wikipedia's special pages and copy source from there to special pages in my wiki, and it worked. For example, I went to my page MediaWiki:Cite_references_link_one and pasted there <li id="$1">'''[[#$2|↑]]''' $3</li>. And so on.
I'm so glad, that everything works just fine now. Abagnale OS Ubuntu 11.04; MW 1.19.2; MySQL 5.1.61; PHP 5.2.17 17:33, 1 November 2012 (UTC)
I am running into similar challenges when attempting to use Cite. Similar to above, I get the following:
According to scientists, the Sun is pretty big.<cite_reference_link> The Moon, however, is not so big.<cite_reference_link>
Notes
<cite_references_prefix><cite_references_link_one> <cite_references_link_one><cite_references_suffix>
Could this behavior be caused by the way the IP provided has the environment configured? Any guidance on what I might do next is greatly appreciated.
MediaWiki: 1.20.3
PHP 5.3.23
MySQL 5.3.12 Limebear (talk) 22:15, 12 April 2013 (UTC)
Honestly saying, I don't understand, what does it mean:
the way the IP provided has the environment configured
But your example of Cite's behavior is pretty simular to mine, so I guess you are using MediaWiki not in English language (btw, mine is Russian), so you need to go to the SpecialPages of Cite at your wiki and paste there the code like I did. Abagnale OS Ubuntu 11.04; MW 1.20.2; MySQL 5.1.68; PHP 5.3.15 10:26, 13 April 2013 (UTC)
Thanks for responding to my query. I believe I read in one of the troubleshooting discussions about Cite that some extensions may not work as expected because some internet providers (IP) have placed operational restrictions that limit the use of certain extensions. I am using MediaWiki in English. Even so, I will attempt to apply the suggested fix. Thanks again for trying to help me. Limebear (talk) 20:29, 13 April 2013 (UTC)
I see now, what did you mean by IP. Well, that's something new, because as far as I know, all the "action" is operated by your browser, and internet provider just transfers the data to you via network. Probably u're talking about your hoster where your website is situated? Abagnale OS Ubuntu 11.04; MW 1.20.2; MySQL 5.1.68; PHP 5.3.15 07:23, 14 April 2013 (UTC)

Customization

Robkam (talk) 07:13, 28 September 2012 (UTC)

How to disable Cite for summary pages?

How do I disable rending of [1] and the reference block on some pages? The ref-Tags are within embedded templates. But on summary pages, which embedd the same templates, the footnotes are anmoying. 82.83.224.192 06:56, 16 October 2012 (UTC)

one, somewhat clumsy way to do it is to add to the template a parameter, say "summary", and add the refs like so:
{{#if:{{{summary|}}}||<ref> blah blah blah </ref> }}
if the summaries belong to a different namespace (many times the article will be in namespace 0, and the summary in namespace "project", or 4), you could instead add them within a test for the appropriate namespace, saving you the need to use a parameter.
it's ugly, but some of the ugliness can be hidden by using (yet some more) templates.
if there's more sophisticated way around it, i can't think of one.
peace - קיפודנחש (talk) 23:17, 18 October 2012 (UTC)
Category:Talk pages using deprecated source tags