Topic on Extension talk:Cite

Bedivere (talkcontribs)

Hello there. I would like to know if there is a way to hide references to unregistered users. I have found some copy the references but refuse to cite my website.

I've thought maybe it's a good idea to restrict access to the Reflist template, but I'm not sure how to do that. I'd be glad if somebody could help me out.

Want (talkcontribs)
Bedivere (talkcontribs)

Hi there. I have tried doing so, but the references still show up automatically. Haven't found a way to prevent Cite from adding them.

Want (talkcontribs)

You add example code, please. I use next code for it:

{{#if:{{CURRENTLOGGEDUSER}}
|Wikicode for registered users
|Wikicode for anonymous
}}
Bedivere (talkcontribs)

Yeah, I did the same, but using ifeq (which provides similar results). However, the references list still appears to unregistered users because it is added automatically, I presume by the extension itself.

Bedivere (talkcontribs)

I have reviewed the extension code and found no easy way (parameters) to prevent the references from showing up despite there being no <references /> tag. There is a workaround using CSS, but the references are generated anyway and may be found and extracted.

Want (talkcontribs)

Solution may be template. For it I must see example of code.

Bedivere (talkcontribs)

The extension keeps on inserting the references tag even if it is not included as part of the code shown above. Solution was:

{{#if:{{CURRENTLOGGEDUSER}} |<references/> |<div display:"none"><references/></div> }}

Of course the references could still be caught, but it makes it harder. It could be implemented in the code of Cite this possibility, to hide references from unregistered users, or disabling the forced inclusion of the references tag if it isn't included in the code.

Reply to "Hiding references"