Topic on Project:Support desk

Cite Option Not Showing In WikiEditor

4
Kanav kapoor (talkcontribs)

I have installed WIkiMedia 1.26.2. WikiEditor and Cite extension are included by default in the extensions directory. I tried to use them by adding these lines at bottom of LocalSettings.php.


wfLoadExtension( 'WikiEditor' ); $wgDefaultUserOptions['usebetatoolbar'] = 1; wfLoadExtension( 'Cite' );


But still i'm not able to see it in editor. Cite button is not there.When i see Special:Version, Cite and WikiEditor are there in the installed extensions.

I have the exact same problem asked here (https://www.mediawiki.org/wiki/Thread:Project:Support_desk/How_to_install_RefToolbar_to_use_the_Cite_button_like_on_Wikipedia/reply).

Do i need to add/load any additional files?

TheDJ (talkcontribs)

The ref toolbar is not provided by the Cite extension, it is a javascript tool which adds a button, that allows people to make more advanced use of the Cite extension. The script needs to be manually copied into your installation.

Kanav kapoor (talkcontribs)

Where to copy it? Do you mean that i need to copy/install "Cite" extension in the "extensions" directory? But, it's already there.

And if you mean that i need to install "RefToolbar", then as per the documentation "RefToolbar 2.0 is now turned on by default for all users on English Wikipedia. You don't have to do anything to install it."

So, can you elaborate the steps? That would be very helpful.

AhmadF.Cheema (talkcontribs)

In case you are still looking for the solution.

You will have to follow the instructions here:

https://en.wikipedia.org/wiki/Wikipedia:RefToolbar/2.0#Porting_to_another_wiki

According to the instructions from the above link, what you will need to do is create "mirror" pages for your own wiki. For example:

Copy the source from the following page:

https://en.wikipedia.org/wiki/MediaWiki:RefToolbarConfig.js

Create in your own wiki a new page with the name:

YourWikiName/index.php?/MediaWiki:RefToolbarConfig.js

where "YourWikiName/index.php?" is whatever the start of the URL of your Wiki is; and paste the copied source here.

You will have to do this for up to 6 or 7 pages, which are given in the first link.

Remember to bypass your cache (https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache) after creating all the pages, otherwise you may not be able to see the "Cite" button appear in the toolbar.

Note: The "Cite" uses other templates and another thing called "modules" which might be needed in addition, to get the functionality of the "Cite" button. I have not personally done this part, because it is much more complicated, and requires shell access from the server; but hopefully it will not be needed for you.

Regards,

Reply to "Cite Option Not Showing In WikiEditor"