As a Wikisource user, I want the WSExport gadget to be migrated to the Wikisource extension, so that I can access links to download books (via WSExport) on all wikis with the extension enabled.
Background: In the process of consulting with Wikisource users on the project talk page, we have learned that some users don't have the ability to click download links (such as "Download as MOBI") via the side panel and other places. This is the case on Czech Wikisource, for example. This is because they do not have the WSExport gadget enabled on their wiki. Rather than enabling it on each wiki, it would be more efficient to migrate the gadget over to the Wikisource extension. That way, all wikis that have the extension enabled can have access to the gadget. One important note about this ticket is that it overlaps with another wish (Migrate Wikisource specific edit tools from gadgets to Wikisource extension). However, it may make sense to include this as part of the ebook export improvement project, as many users cannot easily download books in their wikis at this time.
Acceptance Criteria:
- Migrate the WSExport gadget to the Wikisource extension
Pages to be updated
- https://eo.wikisource.org/wiki/MediaWiki:Common.js
- https://fr.wikisource.org/wiki/MediaWiki:Common.js
- https://de.wikisource.org/wiki/MediaWiki:Common.js
- https://is.wikisource.org/wiki/Melding:Common.js
- https://la.wikisource.org/wiki/MediaWiki:Common.js
- https://pl.wikisource.org/wiki/MediaWiki:Common.js (this wiki had links for extra formats, see Special:Diff/2686714)
- https://es.wikisource.org/wiki/MediaWiki:Common.js
- https://en.wikisource.org/wiki/MediaWiki:BookMaker.js (this one maybe isn't meant to be deleted?)
- https://ca.wikisource.org/wiki/MediaWiki:Common.js
- https://ru.wikisource.org/wiki/MediaWiki:Common.js
- https://eu.wikisource.org/wiki/MediaWiki:Common.js
- https://sv.wikisource.org/wiki/MediaWiki:Common.js
- https://da.wikisource.org/wiki/MediaWiki:Common.js
- https://et.wikisource.org/wiki/MediaWiki:Common.js
- https://fa.wikisource.org/wiki/مدیاویکی:Common.js
- https://or.wikisource.org/wiki/ମିଡ଼ିଆଉଇକି:Common.js
- https://el.wikisource.org/wiki/MediaWiki:Common.js
- https://wikisource.org/wiki/MediaWiki:Common.js
Gadgets removed
These gadgets have been removed, and only (optionally) need to be deleted by a sysadmin or local sysop:
- https://fr.wikisource.org/wiki/MediaWiki:Gadget-WSexport
- https://fr.wikisource.org/wiki/MediaWiki:Gadget-WSexport.js
- https://tr.wikisource.org/wiki/MediaWiki:Gadget-WSexport
- https://tr.wikisource.org/wiki/MediaWiki:Gadget-WSexport.js
- https://pa.wikisource.org/wiki/ਮੀਡੀਆਵਿਕੀ:Gadget-WSexport
- https://pa.wikisource.org/wiki/ਮੀਡੀਆਵਿਕੀ:Gadget-WSexport.js
- https://kn.wikisource.org/wiki/ಮೀಡಿಯವಿಕಿ:Gadget-WSexport
- https://kn.wikisource.org/wiki/ಮೀಡಿಯವಿಕಿ:Gadget-WSexport.js
- https://sa.wikisource.org/wiki/मीडियाविकि:Gadget-WSexport
- https://sa.wikisource.org/wiki/मीडियाविकि:Gadget-WSexport.js
- https://vec.wikisource.org/wiki/MediaWiki:Gadget-ePubDownloadLink
- https://vec.wikisource.org/wiki/MediaWiki:Gadget-ePubDownloadLink.js
- https://vi.wikisource.org/wiki/MediaWiki:Gadget-WSexport
- https://vi.wikisource.org/wiki/MediaWiki:Gadget-WSexport.js
- https://th.wikisource.org/wiki/มีเดียวิกิ:Gadget-WSexport
- https://th.wikisource.org/wiki/มีเดียวิกิ:Gadget-WSexport.js
- https://bn.wikisource.org/wiki/মিডিয়াউইকি:Gadget-WSexport
- https://bn.wikisource.org/wiki/মিডিয়াউইকি:Gadget-WSexport.js
- https://hy.wikisource.org/wiki/MediaWiki:Gadget-WSexport
- https://hy.wikisource.org/wiki/MediaWiki:Gadget-WSexport.js
- https://zh.wikisource.org/wiki/MediaWiki:Gadget-WSexport
- https://zh.wikisource.org/wiki/MediaWiki:Gadget-WSexport.js
- https://nl.wikisource.org/wiki/MediaWiki:Gadget-WSexport
- https://nl.wikisource.org/wiki/MediaWiki:Gadget-WSexport.js
- https://ta.wikisource.org/wiki/மீடியாவிக்கி:Gadget-WSexport
- https://ta.wikisource.org/wiki/மீடியாவிக்கி:Gadget-WSexport.js
- https://en.wikisource.org/wiki/MediaWiki:Gadget-WSexport
- https://en.wikisource.org/wiki/MediaWiki:Gadget-WSexport.js
- https://gu.wikisource.org/wiki/મીડિયાવિકિ:Gadget-WSexport
- https://gu.wikisource.org/wiki/મીડિયાવિકિ:Gadget-WSexport.js
- https://pt.wikisource.org/wiki/MediaWiki:Gadget-WSexport
- https://pt.wikisource.org/wiki/MediaWiki:Gadget-WSexport.js
- https://it.wikisource.org/wiki/MediaWiki:Gadget-ePubDownloadLink
- https://it.wikisource.org/wiki/MediaWiki:Gadget-ePubDownloadLink.js
- https://uk.wikisource.org/wiki/MediaWiki:Gadget-WSexport
- https://uk.wikisource.org/wiki/MediaWiki:Gadget-WSexport.js
stockText gadget
These apparently may not need any updates:
- https://fr.wikisource.org/wiki/MediaWiki:Gadget-stockText.js
- https://vi.wikisource.org/wiki/MediaWiki:Gadget-stockText.js
- https://bn.wikisource.org/wiki/মিডিয়াউইকি:Gadget-stockText.js
- https://uk.wikisource.org/wiki/MediaWiki:Gadget-stockText.js
- https://ta.wikisource.org/wiki/மீடியாவிக்கி:Gadget-stockText.js
Mobile.js
These add a link to export to the mobile interface. The extension does not do this right now, so we have left these as-is:
- https://fr.wikisource.org/wiki/MediaWiki:Mobile.js (no action needed, code is commented out anyways)
- https://pl.wikisource.org/wiki/MediaWiki:Mobile.js
- https://en.wikisource.org/wiki/MediaWiki:Mobile.js
- https://ta.wikisource.org/wiki/மீடியாவிக்கி:Mobile.js
- https://ca.wikisource.org/wiki/MediaWiki:Mobile.js
- https://da.wikisource.org/wiki/MediaWiki:Mobile.js
- https://vi.wikisource.org/wiki/MediaWiki:Mobile.js
- https://th.wikisource.org/wiki/มีเดียวิกิ:Mobile.js
- https://bn.wikisource.org/wiki/মিডিয়াউইকি:Mobile.js