Topic on Extension talk:Cite

Mimic Wikipedia's Cite

13
65.107.35.229 (talkcontribs)

Is there a process so that I could mimic Wikipedia's Cite extension?
I downloaded and installed the Cite extension, to test it I copied a page from Wikipedia onto my wiki. I ended up getting errors about nonexistant Cite groups and missing Templates. I began to copy Cite Templates from Wikipedia to my wiki and now I get a Fatal Error timeout.

קיפודנחש (talkcontribs)

different wikis (such as enwiki) wrap the references with templates. if you want to use this extension in the simplest way, do not use any templates, but rather use the tags: the cites themselves appear on the page between tags <ref> and </ref>, and then, somewhere on the page (customarily at the end), you also need a <references /> tag (i.e., a self-closing "references" tag).

once you get this to work, you can start to play with more advanced features, and specifically with the "name" and "group" attributes.

peace

65.107.35.229 (talkcontribs)

Thank you for your response. I have the Cite extension working, but when I try to mimic Wikipedia I begin to get problems.

קיפודנחש (talkcontribs)

you can move (i.e., copy) templates from enwiki to your site, but you want to pay attention to some things:

  • there are other extensions installed in enwiki. specifically, Extension:ParserFunctions, which some templates depend on.
  • enwiki templating is pretty complex, and many templates use other templates. if you want to pull a template from enwiki, you need to pull (recursively) all the tempalates that this template uses.

peace.

65.107.35.229 (talkcontribs)

Ah I see. One of the big problems was that I did not have ParserFunctions enabled. Are there other big extensions that I would need?

I am still receiving the error where Cite cannot find the name/group, but when I check the backend they are present.

קיפודנחש (talkcontribs)

it's really hard to guess like this. i think parserfunction is the main one. if your wiki is public, maybe post the url here, including the name of the article where the problem can be seen. otherwise, i'm afraid i do not know what might be the problem...

peace.

65.107.35.229 (talkcontribs)
קיפודנחש (talkcontribs)

pretty impressive. what is the license on your site? is it CC-BY-SA?

as to the "cite" issues: on which article do you see these issues?

peace.

65.107.35.229 (talkcontribs)

They are no longer showing up since I added one of the Templates. So, I think that is the only problem I now have. Is there a way to bulk download/upload Templates?

קיפודנחש (talkcontribs)

i am not sure what is meant by "bulk", but you might want to look at "import/export" (from "special pages" in toolbox - you can also type "Special:Import" and "Special:Export" in searchbox). i believe everyone can "export", but importing requires special permission.

peace.

65.107.35.229 (talkcontribs)

Hm.. everything seems to be working now. Except for the table at the very bottom of the page. Any clues on how to fix that?

Thank you for all your help you have given me :)

קיפודנחש (talkcontribs)

i do not understand what you mean by "table". it is possible you are talking about difference in display between a single-column list and multiple-columns list for the references themselves.

if this is what you mean, please note that it's browser-dependent: not all browsers support displaying multi-column-lists: most notably, IE doesn't.

for (almost) all other browsers, this is accomplished in enwiki through use of template "reflist" instead of straight </references> tag. enwiki templates tend to be complicated, but yo might want to take a look at en:Template:reflist.

peace.

65.107.35.229 (talkcontribs)

Sorry for not replying sooner! I've been working on a couple different projects and just came back to this one. So, by tables I mean the section in External Links that has columns for Wind Power. http://stabilizationwedges.kenhiltner.com/Wind_Power at the bottom right before the Categories section.

Reply to "Mimic Wikipedia's Cite"