Extension talk:Cite/Wikitext archive (Special:Cite)

From MediaWiki.org
Jump to navigation Jump to search

ExtensionFunctions.php issues

The page for it offers no explanation of how to install it, just calls it "useless", and it's causing my site to lock up no matter how I seem to configure it (including before Special:Cite, after it, before or after other include statements, not including it and just including Special:Cite, etc.). You can see the information on my site's current wiki installation here. Anyone have any ideas on how to make it work properly? 05:42, 10 May 2008 (UTC)

Copy it from SVN to extenions/ directory - VasilievVV 05:44, 10 May 2008 (UTC)

- i can't find the ExtensionFunctions.php file anywhere! -

Still getting the following:
Warning: MessageCache::require(/homepages/2/d164452344/htdocs/wiki/extensions/Cite/SpecialCite.i18n.php) [function.MessageCache-require]: failed to open stream: No such file or directory in /homepages/2/d164452344/htdocs/wiki/includes/MessageCache.php on line 701

Fatal error: MessageCache::require() [function.require]: Failed opening required '/homepages/2/d164452344/htdocs/wiki/extensions/Cite/SpecialCite.i18n.php' (include_path='/homepages/2/d164452344/htdocs/wiki:/homepages/2/d164452344/htdocs/wiki/includes:/homepages/2/d164452344/htdocs/wiki/languages:.:/usr/lib/php5') in /homepages/2/d164452344/htdocs/wiki/includes/MessageCache.php on line 701:: 23:50, 10 May 2008 (UTC)

All right, I figured out that I was missing SpecialCite.i18n.php and SpecialCite_body.php, so I've added those in (for some reason I'd confused it with the Cite.i18n.php file on the download page; already have the other Cite extension installed on my Wiki). Now I'm getting this error instead:
Warning: file_get_contents(/homepages/2/d164452344/htdocs/wiki/extensions/Cite/cite_text) [function.file-get-contents]: faied to open stream: No such file or directory in /homepages/2/d164452344/htdocs/wiki/extensions/Cite/SpecialCite_body.php on line 9
I've added the ExtensionFunctions.php file and included it as well. I've also made sure that cite_text is in the same directory as SpecialCite.php. Am I still missing something from the directions, or is it just being buggy for me? 06:16, 11 May 2008 (UTC)

Vancouver style

Vancouver style is the style used for many Biomedical journals.

Include this in the cite_text file to produce the citation in Vancouver style:

=== [[Vancouver style]] ===

{{SITENAME}} contributors. {{FULLPAGENAME}}. [Online]. {{CURRENTYEAR}} {{CURRENTMONTHABBREV}} {{CURRENTDAY}} [Cited: <citation>{{CURRENTYEAR}} {{CURRENTMONTHABBREV}} {{CURRENTDAY}}</citation>]; Available from: URL:<u>{{fullurl:{{FULLPAGENAME}}|oldid={{REVISIONID}}}}</u>


I found that it was necessary to paste the contents of cite_text.txt into the wiki page MediaWiki:Cite_text. For some reason, the file cite_text.txt wasn't being used, though no error messages were produced. The failure mode was an empty page for Special:Cite, except for the "cite" box and button.

One other installation detail was missing. This is needed in LocalSettings.php to load ExtensionFunctions.php


--Russell.thomas 07:48, 8 June 2008 (UTC)

Typo in cite_text

Near the end of default cite_text:

When using the LaTeX package ... the following may preferred:

The following may be preferred:

When using the LaTeX package ... the following may be preferred:

Svemir Brkic 18:53, 21 August 2008 (UTC)

OK, that's fixed in rev:41812 -Steve Sanbeg 18:09, 7 October 2008 (UTC)

What is the point?

I don't see what is he point of this extension--can someone please explain on the main page? Odessaukrain 17:51, 7 October 2008 (UTC)

  1. This extension provides a link in the toolbox toward a special page.
  2. The special page display informations about the previous page and different ways to cite the page.
  3. Users who want to export (legally) pages from a wiki to somewhere else just have to copy-paste the link they want.
Dr Brains 01:57, 8 August 2009 (UTC)

Custom variables for individual pages?

I wanted to know if it's possible to change variables like the author of an article for an individual page. (I have essays on my wiki that aren't written by me; it would be inappropriate to say I am the author.) --Ksd5 00:07, 6 February 2011 (UTC)

Enhancement Request for subpage

I pretty much work a lot with Cite and love it. But sometimes I would enjoy using Cite a much more. Think of the following ...

You're having a large page ( a really large page ) with lots and lots of references and lots and lots of paragraphs and subparagraphs. The readability of the <referendes> will be decreased the more references you'll use.

How about a separate subpages for references so that the references will be seperated from the article? And/Or how about a references list structured by paragraphs

  • Both of the requests should be ( LocalSettings ) configurable
  • Default would be 'SubPageReference'
  • Default would be no paragraph seperation

-- Zuul 07:34, 18 August 2011 (UTC)

Special:Cite for other namespaces

Hello, is there any easy way to make this extension add a special page link for pages in a custom namespaces? otherwise that would be a really great feature! rotsee 11:44, 18 August 2011 (UTC)

<citation>-tag not working

The <citation>-tag does not seem to have any effect on MediaWiki:Cite_text for me, using the latest Cite version from august 18th, MW 1.16.1. It's just printed out as is: Special:Cite/Some_article. Have anyone else had this problem? Any suggestions where to start looking for the error? rotsee 19:58, 18 August 2011 (UTC)

In fact it seems like ALL dates are parsed as if they where enclosed in citation-tags... rotsee 20:04, 18 August 2011 (UTC)
A workaround for now: using the #time parser function for current dates. rotsee 20:15, 18 August 2011 (UTC)

http: is missing

Recently the http: is missing in the output (cf. [1]), i.e. the URL starts with "//". --ThT 08:34, 29 September 2011 (UTC)

See MediaWiki_1.18#Protocol-relative_URLs. rotsee 10:10, 29 September 2011 (UTC)
Thanks, didn't know that. Best, --ThT 15:36, 30 September 2011 (UTC)
That doesn't seem the right thing to do in this case, because the URLs are intended to be used outside of the browser. Filed bug 31681. Reach Out to the Truth 22:32, 13 October 2011 (UTC)