Page MenuHomePhabricator

Add RefToolbar in sd.wikipedia
Closed, InvalidPublic

Description

Please add RefToolbar in sd.wikipedia, it very hard to add ref using source editing.

Event Timeline

Hi! This is not a server configuration issue, see https://meta.wikimedia.org/wiki/Requesting_wiki_configuration_changes .
Admins of a wiki are free to add any on-wiki content (such as RefToolbar) which they would like to add. :)
I'm closing this task as invalid as tracking on-wiki content changes is out of scope for Phabricator.

Hi @Arslanali, this can be done by any interface administrator. Basically, you need to copy https://en.wikipedia.org/wiki/MediaWiki:Gadget-refToolbar.js, https://en.wikipedia.org/wiki/MediaWiki:RefToolbarMessages-en.js (localize this and create as MediaWiki:RefToolbarMessages-sd.js), https://en.wikipedia.org/wiki/MediaWiki:RefToolbar.js (look for Load local data - messages, cite templates, etc line and adapt it for sd) and https://en.wikipedia.org/wiki/MediaWiki:Gadget-refToolbar to page with same title on your wiki.

Also, you need to import https://en.wikipedia.org/wiki/MediaWiki:Gadget-refToolbarBase.js and to add those two lines to MediaWiki:Gadgets-definition on your wiki.

* refToolbar[ResourceLoader|default|dependencies=user.options,mediawiki.util]|refToolbar.js
* refToolbarBase[ResourceLoader|hidden]|refToolbarBase.js

I hope this is all. If you run into problems, you can ask on #wikimedia-tech IRC channel, for example via webchat.freenode.net.