User:Ainz Ooal Gown/mobilemorelinks

MobileMoreLinks (source) is a JS script designed to make it easier to edit Wikipedia and perform certain tasks while using the mobile web interface of Mediawiki known as Minerva. It is a rewrite and expansion of 's Chouette userscript. Currently only the Minerva skin is supported.

Features
MobileMoreLinks adds various helpful links using buttons and drop-downs menus.

For all namespaces (doesn't load on non-existent pages)

 * Linked pages (WhatLinksHere) (superseded by AMC mode)
 * Pageviews - Direct link to pageviews, shows pageviews analysis
 * All logs - Shows page logs
 * Move Page - A link to move a page in mobile interface
 * Page infos - Direct link to xtools-articleinfo
 * Purge - Clear cache of a page
 * Subpages - Shows subpages
 * Latest diff - A link to the latest diff of a page.
 * Permanent link - Permanent link to the current version of a page (superseded by AMC mode)

For pages that are connected to Wikidata

 * Wikidata - A link to the Wikidata Item of an article. (superseded by AMC mode)
 * Reasonator - Direct link to reasonator, A modern and beautiful version of Wikidata.

For articles and drafts
These links are for assisting editors. Links don't load on the main page of a wiki.
 * Search using Google - It adds direct link to search a topic using Google.
 * Expand bare references - A direct link to Refill (alpha), It automatically submits page's name and starts expanding bare references.
 * Fix dead links - A direct link to IABot console. It is used to fix dead links and to add archives to non-dead and dead references. (Some wikis are supported. See iabot for more details.)
 * Copyright violation detector - A direct link to copyvios. It is helpful for detecting copyrighted materials in drafts and articles.
 * Fix citations - A direct link to citations. Fix citation parameters, format and many more citation related isuues using Citation bot. (Only English Wikipedia is supported)

For user and user talk namespaces

 * All user logs - Shows logged actions performed by an user.
 * Email this user - It lets you to email an user, if they have confirmed their email address and have email enabled.
 * File uploads by this user - Shows files uploaded by an user. It doesn't shows deleted or redacted files.
 * Global account information - A link to CentralAuth. Shows an user's total global contributions, global lock status, global groups, attached accounts, and user rights on other wikis.
 * User groups - Shows local groups of an user.
 * User rights changes - Shows user rights changes log.
 * User thanks recieved - Shows a log of thanks recieved by an user.

For files

 * CropTool - It is the mobile version of CropTool gadget on Commons. It is not limited to just Wikimedia Commons, it works on all Wikimedia projects.
 * Export to Wikimedia Commons - Just like it sounds. It lets an user export a local file including it's page history and old versions to Wikimedia Commons.
 * CommonsHelper - An alternative of "Export to Wikimedia Commons" button. It works the same way but requires one to login with their Wikimedia account.

History
MobileMoreLinks was inspired from Chouette which was first developed for the French Wikipedia. It has been rewritten using OOUI and most of it's features are redesigned and are taken from 's MoreMenu. But it doesn't share any code with both of this scripts. It was used to load at the bottom of a page but now I moved it to the above. If you want a version that loads at the bottom, please let me know.

Installation

 * Copy the following code, click here, then paste:
 * Please leave the "// [[File:MobileMoreLinks_tracker.js]]". It is used to track global usage of this script which can be seen here. Another tracking function is used when automatically installing scripts using script installer gadget.
 * Please leave the "// [[File:MobileMoreLinks_tracker.js]]". It is used to track global usage of this script which can be seen here. Another tracking function is used when automatically installing scripts using script installer gadget.

Updates
This script is updated on 09:59, 7 September 2019 (UTC), please notify me if you encounter any problems.

Version 4.0

 * As of September 3, 2019, some of its features are superseded by Advanced mobile contributions. This includes links to "Permanent link", "Wikidata link", and "Linked Pages". Users are advised to switch to AMC mode using the following page: Special:MobileOptions. However this mode is currently available only on Wikipedia projects and that's why I didn't remove these links completely. They will be shown if AMC mode is not enabled or not available. Links to Wikidata item is not available in the main page in AMC mode. So a link to Wikidata item of Main page should be shown on the main page.
 * Converted some buttons to drop-down menus.
 * Added several links.
 * Moved all links to the top.
 * "Search using Google" button has been deprecated and removed.

Version 3.3

 * Rewritting of this script is now complete. (diff)
 * Some minor optimization.
 * Move this page and Email this user buttons' background is now blue.
 * Purge links name has been changed to Purge cache and it's text color is now red.
 * Added some icons.

Version 3.2

 * Migrated all buttons of the article part of this script to OOUI.
 * Pages will now appear with their namespace in it when searching using Google. (diff)
 * Fixed a bug that made some links load on deleted or non-existent pages.
 * Links to Refill, IABot, and Citation bot is now blue.
 * Fixed minor bugs.
 * Some icons are added to the buttons.
 * Added new buttons - Check external links, Disambiguate links, Peer reviewer. (diff)

Version 3.1

 * Rewritten the common part of this script using OOUI. It now supports more browsers.
 * Search using Google button now loads in all namespace.
 * Some icons are added to the buttons.
 * Added Fix citations button.
 * Link to Reasonator is now blue.

Tasks

 * Convert some buttons to drop-down ✅
 * Completely rewrite the script using OOUI.
 * Part one ✅
 * Part two ✅
 * Part three ✅

Bug reports and suggestions

 * In case there is a bug, please report it to User talk:Masumrezarock100.
 * If you want to make a suggestion, please leave a message at User talk:Masumrezarock100.