Jump to content

User:Ainz Ooal Gown/mobilemorelinks

From Wikipedia, the free encyclopedia
User script
MobileMoreLinks
More links on the main page while using the script
DescriptionProvides more links at the top of a page on the mobile interface
StatusStable
Version4.0
Updated (2019-08-15) August 15, 2019 (age 5)
BrowsersWorks on all mordern browsers (including mini browsers) as long as the browser supports JavaScript
SkinsMiniveraNeue
SourceUser:Ainz Ooal Gown/mobilemorelinks.js

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 PAC2's Chouette userscript. Currently only the Minerva skin is supported.

Features

[edit]

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

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

[edit]
  • Linked pages (WhatLinksHere) (superseded by AMC mode)
  • Pageviews - Direct link to toollabs: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 toollabs: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

[edit]
  • Wikidata - A link to the Wikidata Item of an article. (superseded by AMC mode)
  • Reasonator - Direct link to toollabs:reasonator, A modern and beautiful version of Wikidata.

For articles and drafts

[edit]

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 toollabs:iabot for more details.)
  • Copyright violation detector - A direct link to toollabs:copyvios. It is helpful for detecting copyrighted materials in drafts and articles.
  • Fix citations - A direct link to toollabs: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

[edit]
  • 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

[edit]
  • 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

[edit]

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 MusikAnimal'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

[edit]
  • Copy the following code, click here, then paste:
    • mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ainz_Ooal_Gown/mobilemorelinks.js&action=raw&ctype=text/javascript'); // [[File:MobileMoreLinks_tracker.js]]
      
  • 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

[edit]

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

Update logs

[edit]

Version 4.0

[edit]
  • 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. information Note: 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

[edit]
  • 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

[edit]
  • 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

[edit]
  • 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

[edit]

Bug reports and suggestions

[edit]

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license: