MoreMenu/Migration

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

This page is for coordination on migrating to the new version of MoreMenu.

Why upgrade?:

  • You'll be using the global gadget, so you get free updates and bug fixes.
  • It works in all skins.
  • It is localizable.
  • It is extendable.

Personal installation[edit]

If you currently have the old MoreMenu installed as a global gadget, first remove the relevant code from Special:MyPage/global.js and Special:MyPage/global.css, then follow the installation instructions at MoreMenu#Installation.

ar.wikipedia[edit]

as.wikipedia[edit]

azb.wikipedia[edit]

az.wikipedia[edit]

az.wikisource[edit]

ce.wikipedia[edit]

Low-priority: 7 users, all inactive

Working Waiting

Point of contact: Takhirgeran Umar (see ce:Декъашхочун дийцаре:Takhirgeran Umar#MoreMenu gadget)

Instructions

  1. Create ce:MediaWiki:Gadget-dropdown-menus-pagestyles.css with the content:
    /*** VECTOR ***/
    
    /* User menu */
    .client-js .skin-vector.ns-2 #p-views,
    .client-js .skin-vector.ns-3 #p-views,
    .client-js > .skin-vector.mw-special-Contributions #p-views,
    .client-js > .skin-vector.mw-special-DeletedContributions #p-views,
    .client-js > .skin-vector.mw-special-Block #p-views {
        padding-right: 5.76em;
    }
    
    /* Page menu */
    .client-js .skin-vector:not(.ns-special) #p-views::after {
        content: '';
        display: inline-block;
        width: 3.45em;
    }
    
  2. At ce:MediaWiki:Gadgets-definition, change the "dropdown-menus" definition to:
    dropdown-menus[ResourceLoader|dependencies=mediawiki.api,mediawiki.util,user.options|peers=dropdown-menus-pagestyles]|dropdown-menus.js
    dropdown-menus-pagestyles[hidden]|dropdown-menus-pagestyles.css
  3. Change the content of ce:MediaWiki:Gadget-dropdown-menus.js to:
    mw.loader.load('https://meta.wikimedia.org/w/load.php?modules=ext.gadget.MoreMenu');
    
  4. Test that everything is working. ResourceLoader can take a while, so wait at least 10 minutes.
  5. Please provide the following translations (existing translations can be viewed at MediaWiki:Gadget-MoreMenu.messages.ce.js):
    • All logs
    • Analysis
    • Analysis – Σ
    • Analysis – WikiHistory
    • Analysis – XTools
    • Articles created
    • Block globally
    • Central auth
    • Change model
    • Check external links
    • Check redirects
    • Copyright vio detector
    • Queries search engine for copyright violations. Could take a while, so be patient.
    • Disambiguate links
    • Edit intro
    • Edit summary search
    • Expand bare references
    • Fix dead links
    • Geolocate
    • IP lookup
    • Page logs
    • Protect page
    • Proxy check
    • rDNS
    • Rename log
    • Review log
    • Search by contributor
    • Search history – WikiBlame
    • Search history – XTools
    • Search subpages
    • Subpages
    • Transclusions
    • Transclusion count
    • Undelete page
    • User logs
    • User thanks received
    • View block log
    • WHOIS

ckb.wikipedia[edit]

en.wikipedia[edit]

fa.wikipedia[edit]

fa.wikiquote[edit]

fa.wikisource[edit]

gom.wikipedia[edit]

hi.wikipedia[edit]

id.wikipedia[edit]

it.wiktionary[edit]

ka.wikipedia[edit]

Point of contact: no int-admins on this wiki. Gadget has 70 users, consultation is desirable

Instructions

  1. Create ka:MediaWiki:Gadget-dropdown-menus-pagestyles.css with the content:
    /*** VECTOR ***/
    
    /* User menu */
    .client-js .skin-vector.ns-2 #p-views,
    .client-js .skin-vector.ns-3 #p-views,
    .client-js > .skin-vector.mw-special-Contributions #p-views,
    .client-js > .skin-vector.mw-special-DeletedContributions #p-views,
    .client-js > .skin-vector.mw-special-Block #p-views {
        padding-right: 7.85em;
    }
    
    /* Page menu */
    .client-js .skin-vector:not(.ns-special) #p-views::after {
        content: '';
        display: inline-block;
        width: 4.98em;
    }
    
  2. At ka:MediaWiki:Gadgets-definition, change the "dropdown-menus" definition to:
    dropdown-menus[ResourceLoader|dependencies=mediawiki.api,mediawiki.util,user.options|peers=dropdown-menus-pagestyles]|dropdown-menus.js
    dropdown-menus-pagestyles[hidden]|dropdown-menus-pagestyles.css
  3. Change the content of ka:MediaWiki:Gadget-dropdown-menus.js to:
    mw.loader.load('https://meta.wikimedia.org/w/load.php?modules=ext.gadget.MoreMenu');
    
  4. Test that everything is working. ResourceLoader can take a while, so wait at least 10 minutes.
  5. Delete ka:MediaWiki:Gadget-dropdown-menus.css as it is no longer being used.
  6. Please provide the following missing translations (existing messages can be reviewed at MediaWiki:Gadget-MoreMenu.messages.ka.js):
    • Articles created
    • Block globally
    • Central auth
    • Change model
    • Check external links
    • Check redirects
    • Copyright vio detector
    • Queries search engine for copyright violations. Could take a while, so be patient.
    • Disambiguate links
    • Edit intro
    • Edit summary search
    • Edit summary usage
    • Expand bare references
    • Fix dead links
    • Geolocate
    • IP lookup
    • Non-automated edits
    • Page logs
    • Proxy check
    • rDNS
    • Rename log
    • Search by contributor
    • Search history – WikiBlame
    • Search history – XTools
    • Search subpages
    • Transclusions
    • Transclusion count
    • Uploads
    • User thanks received
    • WHOIS

mai.wikipedia[edit]

mk.wikipedia[edit]

Working Waiting

Point of contact: Bjankuloski06 (see mk:Разговор со корисник:Bjankuloski06#MoreMenu gadget)

Gadget was disabled as "unsupported".

Instructions[edit]

  1. Create mk:MediaWiki:Gadget-dropdown-menus-pagestyles.css with the content:
    /*** VECTOR ***/
    
    /* User menu */
    .client-js .skin-vector.ns-2 #p-views,
    .client-js .skin-vector.ns-3 #p-views,
    .client-js > .skin-vector.mw-special-Contributions #p-views,
    .client-js > .skin-vector.mw-special-DeletedContributions #p-views,
    .client-js > .skin-vector.mw-special-Block #p-views {
        padding-right: 5.44em;
    }
    
    /* Page menu */
    .client-js .skin-vector:not(.ns-special) #p-views::after {
        content: '';
        display: inline-block;
        width: 5.63em;
    }
    
  2. Change the content of mk:MediaWiki:Gadget-dropdown-menus.js to:
    mw.loader.load('https://meta.wikimedia.org/w/load.php?modules=ext.gadget.MoreMenu');
    
  3. At mk:MediaWiki:Gadgets-definition, uncomment the "dropdown-menus" definition, and change it to:
    dropdown-menus[ResourceLoader|dependencies=mediawiki.api,mediawiki.util,user.options|peers=dropdown-menus-pagestyles]|dropdown-menus.js
    dropdown-menus-pagestyles[hidden]|dropdown-menus-pagestyles.css
  4. Test that everything is working. ResourceLoader can take a while, so wait at least 10 minutes.
  5. Delete mk:MediaWiki:Gadget-dropdown-menus.css as it is not being used.
  6. Please provide the following translations (existing translations can be reviewed at MediaWiki:Gadget-MoreMenu.messages.mk.js):
    • Analysis
    • Analysis – Σ
    • Analysis – WikiHistory
    • Analysis – XTools
    • Articles created
    • Block globally
    • Central auth
    • Change model
    • Check external links
    • Check redirects
    • Copyright vio detector
    • Queries search engine for copyright violations. Could take a while, so be patient.
    • Disambiguate links
    • Edit intro
    • Edit summary search
    • Edit summary usage
    • Expand bare references
    • Fix dead links
    • Geolocate
    • IP lookup
    • Proxy check
    • rDNS
    • Search by contributor
    • Search history – WikiBlame
    • Search history – XTools
    • Search subpages
    • Subpages
    • Transclusion count
    • User thanks received
    • WHOIS

mk.wikisource[edit]

Point of contact: MacedonianBoy (may need to find a more active user)

Instructions

  1. Create MediaWiki:Gadget-dropdown-menus-pagestyles.css with the content:
    /*** VECTOR ***/
    
    /* User menu */
    .client-js .skin-vector.ns-2 #p-views,
    .client-js .skin-vector.ns-3 #p-views,
    .client-js > .skin-vector.mw-special-Contributions #p-views,
    .client-js > .skin-vector.mw-special-DeletedContributions #p-views,
    .client-js > .skin-vector.mw-special-Block #p-views {
        padding-right: 5.4em;
    }
    
    /* Page menu */
    .client-js .skin-vector:not(.ns-special) #p-views::after {
        content: '';
        display: inline-block;
        width: 5.6em;
    }
    
  2. At MediaWiki:Gadgets-definition, change the "dropdown-menus" definition to:
    dropdown-menus[ResourceLoader|dependencies=mediawiki.api,mediawiki.util,user.options|peers=dropdown-menus-pagestyles]|dropdown-menus.js
    dropdown-menus-pagestyles[hidden]|dropdown-menus-pagestyles.css
  3. Change the content of MediaWiki:Gadget-dropdown-menus.js to:
    mw.loader.load('https://meta.wikimedia.org/w/load.php?modules=ext.gadget.MoreMenu');
    
  4. Test that everything is working. ResourceLoader can take a while, so wait at least 10 minutes.
  5. If it doesn't work, revert the above steps. If does work, continue to:
  6. Delete MediaWiki:Gadget-dropdown-menus.css as is no longer being used.
  7. Please provide the following translations (existing translations can be viewed at MediaWiki:Gadget-MoreMenu.messages.mk.js):
    • Analysis
    • Analysis – Σ
    • Analysis – WikiHistory
    • Analysis – XTools
    • Articles created
    • Block globally
    • Central auth
    • Change model
    • Check external links
    • Check redirects
    • Copyright vio detector
    • Queries search engine for copyright violations. Could take a while, so be patient.
    • Disambiguate links
    • Edit intro
    • Edit summary search
    • Edit summary usage
    • Expand bare references
    • Fix dead links
    • Geolocate
    • IP lookup
    • Proxy check
    • rDNS
    • Search by contributor
    • Search history – WikiBlame
    • Search history – XTools
    • Search subpages
    • Subpages
    • Transclusion count
    • User thanks received
    • WHOIS

mk.wiktionary[edit]

Point of contact: ???

Instructions

Same as #mk.wikisource (except use mk.wiktionary pages instead of mk.wikisource).

ne.wikipedia[edit]

Working Waiting

Point of contact: Biplab Anand (see ne:प्रयोगकर्ता वार्ता:Biplab Anand#MoreMenu gadget)

Instructions

  1. Create ne:MediaWiki:Gadget-dropdown-menus-pagestyles.css with the content:
    /*** VECTOR ***/
    
    /* User menu */
    .client-js .skin-vector.ns-2 #p-views,
    .client-js .skin-vector.ns-3 #p-views,
    .client-js > .skin-vector.mw-special-Contributions #p-views,
    .client-js > .skin-vector.mw-special-DeletedContributions #p-views,
    .client-js > .skin-vector.mw-special-Block #p-views {
        padding-right: 5em;
    }
    
    /* Page menu */
    .client-js .skin-vector:not(.ns-special) #p-views::after {
        content: '';
        display: inline-block;
        width: 2.95em;
    }
    
  2. At ne:MediaWiki:Gadgets-definition, change the "dropdown-menus" definition to:
    dropdown-menus[ResourceLoader|dependencies=mediawiki.api,mediawiki.util,user.options|peers=dropdown-menus-pagestyles]|dropdown-menus.js
    dropdown-menus-pagestyles[hidden]|dropdown-menus-pagestyles.css
  3. Change the content of ne:MediaWiki:Gadget-dropdown-menus.js to:
    mw.loader.load('https://meta.wikimedia.org/w/load.php?modules=ext.gadget.MoreMenu');
    
  4. Test that everything is working. ResourceLoader can take a while, so wait at least 10 minutes.
  5. If it doesn't work, revert the above steps. If does work, continue to:
  6. Remove the "dropdown-menus-vector", "dropdown-menus-vector-pagestyles" and "dropdown-menus-nonvector" entries in ne:MediaWiki:Gadgets-definition.
  7. Delete ne:MediaWiki:Gadget-dropdown-menus-vector.js, ne:MediaWiki:Gadget-dropdown-menus-nonvector.js, ne:MediaWiki:Gadget-dropdown-menus-vector-pagestyles.css and ne:MediaWiki:Gadget-dropdown-menus.css as they are no longer being used.
  8. Please provide the following translations (existing translations can be viewed at MediaWiki:Gadget-MoreMenu.messages.ne.js):
    • Authorship
    • Check external links
    • Check redirects
    • Copyright vio detector
    • Queries search engine for copyright violations. Could take a while, so be patient.
    • Disambiguate links
    • Expand bare references
    • Fix dead links
    • Global account log
    • Global block log
    • Proxy check
    • Rename log
    • Search by contributor
    • Search history – WikiBlame
    • Search history – XTools
    • Search subpages
    • Spam blacklist log
    • Subpages
    • Transclusion count
You can comment below with the translations or at MediaWiki talk:Gadget-MoreMenu.messages.ne.js, then I will add them.

or.wikipedia[edit]

pnb.wikipedia[edit]

ps.wikipedia[edit]

Low-priority: 8 users, all inactive

Point of contact: None, no int-admins on this wiki

Missing translations

  • Authorship
  • CheckUser log
  • Queries search engine for copyright violations. Could take a while, so be patient.
  • Disambiguate links
  • Edit summary search
  • Expand bare references
  • Fix dead links
  • Geolocate
  • IP lookup
  • Non-automated edits
  • Page logs
  • Proxy check
  • Rename log
  • Search subpages
  • Spam blacklist log
  • SUL
  • Suppressed contribs
  • User rights changes
  • User thanks received
  • WHOIS

ru.wikipedia[edit]

Symbol wait.svg In progress...

Point of contact: Adavyd (see ru:Обсуждение участника:Adavyd#MoreMenu gadget)

Instructions

  1. Create ru:MediaWiki:Gadget-dropdown-menus-pagestyles.css with the content:
    /*** VECTOR ***/
    
    /* User menu */
    .client-js .skin-vector.ns-2 #p-views,
    .client-js .skin-vector.ns-3 #p-views,
    .client-js > .skin-vector.mw-special-Contributions #p-views,
    .client-js > .skin-vector.mw-special-DeletedContributions #p-views,
    .client-js > .skin-vector.mw-special-Block #p-views {
        padding-right: 5.35em;
    }
    
    /* Page menu */
    .client-js .skin-vector:not(.ns-special) #p-views::after {
        content: '';
        display: inline-block;
        width: 5.6em;
    }
    
  2. Create ru:MediaWiki:Gadget-dropdown-menus-ruwiki.js with the content:
    $(function () {
    	function addRfXs(api, config) {
    		var rfxs = {
    			'Википедия:Заявки на статус администратора': 'ЗСА',
    			'Википедия:Заявки на статус бюрократа': 'ЗСБ',
    			'Википедия:Проверка участников': 'ПП',
    		};
    
    		var links = {};
    		api.get({
    			titles: Object.keys(rfxs).map(function (rfx) {
    				return rfx + '/' + config.targetUser.name;
    			}).join('|'),
    			formatversion: 2
    		}).done(function (data) {
    			data.query.pages.forEach(function (page) {
    				if (!page.missing) {
    						var key = rfxs[page.title.replace('/' + config.targetUser.name, '')];
    						links[key] = {
    								url: mw.util.getUrl('Special:PrefixIndex/' + page.title)
    						};
    				}
    			});
    
    			if (Object.keys(links).length) {
    				MoreMenu.addSubmenu('user', 'Заявки', links, 'analysis');
    			}
    		});
    	}
    
    	mw.hook('moremenu.ready').add(function (config) {
    		var api = new mw.Api();
    
    		if (config.targetUser.name && !config.targetUser.ipRange) {
    			addRfXs(api, config);
    		}
    	});
    });
    
  3. At ru:MediaWiki:Gadgets-definition, change the "dropdown-menus" definition to:
    dropdown-menus[ResourceLoader|dependencies=mediawiki.api,mediawiki.util,user.options|peers=dropdown-menus-pagestyles]|dropdown-menus-ruwiki.js|dropdown-menus.js
    dropdown-menus-pagestyles[hidden]|dropdown-menus-pagestyles.css
  4. Change the content of ru:MediaWiki:Gadget-dropdown-menus.js to:
    mw.loader.load('https://meta.wikimedia.org/w/load.php?modules=ext.gadget.MoreMenu');
    
  5. Test that everything is working. ResourceLoader can take a while, so wait at least 10 minutes.
  6. Delete ru:MediaWiki:Gadget-dropdown-menus.css as it is no longer being used.
  7. Optionally update ru:MediaWiki:Gadget-dropdown-menus to link to [[meta:MoreMenu]] (MoreMenu on this wiki), and indicate it supports all skins.
  8. Please provide the following missing translations (existing messages can be reviewed at MediaWiki:Gadget-MoreMenu.messages.ru.js):
    • Articles created
    • Block globally
    • Change protection
    • Check external links
    • Check redirects
    • Copyright vio detector
    • Queries search engine for copyright violations. Could take a while, so be patient.
    • Disambiguate links
    • Edit intro
    • Edit summary search
    • Expand bare references
    • Fix dead links
    • Geolocate
    • IP lookup
    • Proxy check
    • rDNS
    • Search by contributor
    • Search history – WikiBlame
    • Search history – XTools
    • Search subpages
    • SUL
    • Transclusion count
    • User logs
    • User thanks received
    • WHOIS
You can add the translations above or at MediaWiki talk:Gadget-MoreMenu.messages.ru.js, then I will add them.

ru.wikiquote[edit]

Point of contact: Putnik (semi-active)

ru.wiktionary[edit]

Point of contact: Cinemantique or DonRumata, both en-2

species.wikimedia[edit]

sr.wikipedia[edit]

sr.wiktionary[edit]

tg.wikipedia[edit]

Low-priority: 9 users, all inactive

Point of contact: No int-admins on this wiki

TODO: Add tgwiki extension for RfXs, see tg:MediaWiki:Gadget-dropdown-menus.js

Missing translations:

  • AbuseFilter log
  • Articles created
  • Authorship
  • Basic statistics
  • Block globally
  • Central auth
  • Change model
  • Change rights
  • Check external links
  • Check redirects
  • Copyright vio detector
  • Queries search engine for copyright violations. Could take a while, so be patient.
  • Disambiguate links
  • Edit intro
  • Edit summary search
  • Expand bare references
  • Fix dead links
  • Geolocate
  • IP lookup
  • Mass message log
  • Non-automated edits
  • Page logs
  • Proxy check
  • rDNS
  • Search by contributor
  • Search history – WikiBlame
  • Search history – XTools
  • Search subpages
  • Spam blacklist log
  • SUL
  • Suppressed contribs
  • Thanks log
  • Transclusions
  • Transclusion count
  • Undelete page
  • Uploads
  • User logs
  • User thanks received
  • WHOIS

tk.wikipedia[edit]

tr.wikiquote[edit]

ur.wikipedia[edit]

ur.wikiquote[edit]

vi.wikipedia[edit]

vi.wikibooks[edit]

www.wikidata[edit]

yo.wikipedia[edit]

zh-yue.wikipedia[edit]