MediaWiki talk:Gadget-Geotoolbox.js

From Wikimedia Commons, the free media repository
Jump to: navigation, search


line to add[edit]

{{editprotected}}

importScript ('MediaWiki:Utilities.js');

The script should probably start with the above line as in MediaWiki:Gadget-WhatIsThat.js. -- User:Docu at 18:57, 14 July 2009 (UTC)

✓ Done Huib talk 19:00, 14 July 2009 (UTC)

Maybe it should be in the sequence below. Will be the last request for today. -- User:Docu at 19:10, 14 July 2009 (UTC)

✓ Done Huib talk 20:28, 14 July 2009 (UTC)

Update[edit]

{{editprotected}}

This should do it. Please update it with the below. Thanks for your help. -- User:Docu at 14:16, 15 July 2009 (UTC)

✓ Done Huib talk 18:25, 15 July 2009 (UTC)

Localization?[edit]

{{editprotected}} Hello. Is it possible to localize the names for the three Geocoding links from here that show in the toolbar (left)? If it is indeed possible, here are my Macedonian (mk) translations for each link and its alt description (given here in pairs).

  • 'Geocoding Recent Changes', 'Recent geocoding additions' --> 'Геокодирање-Скорешни промени', 'Скорешни геокодирања'
  • 'Geocoding Search', 'Search through coordinates in external links table' --> 'Геокодирање-Пребарај', 'Пребарајте по координатите во табелата на надворешни врски'
  • 'Geocoding Daily Log', 'Daily geocoding error log' --> 'Геокодирање-Дневен записник', 'Дневен записник на грешки при геокодирање'

Alternatively the dashes („-“) in the translated words may be replaced with colon („:“) if it seems better. Thanks a lot! --B. Jankuloski (talk) 07:07, 19 July 2010 (UTC)

I'm gonna give it a try in my /vector.js. --The Evil IP address (talk) 17:43, 21 August 2010 (UTC)
Have made it working, though I still don't really like it. Proper solution would be to move some of Commons's simpler JavaScripts into actual extensions where users can make preferences and the things are already in the HTML code without the need of JavaScript. Well, maybe one day I'm gonna learn PHP and do all this ;-) --The Evil IP address (talk) 18:06, 21 August 2010 (UTC)

fa.wiki[edit]

please add this labels for Farsi


    var geoRCText = {
    'fa': 'تغییرات اخیر زمین‌کدیابی',

    var geoRCTooltip = {
    'fa': 'زمین‌کدیابی‌های افزوده‌شدهٔ اخیر',

    var geoSearchText = {
    'fa': 'جستجوی زمین‌کدیابی‌ها',

    var geoSearchTooltip = {
    'fa': 'جستجو به دنبال موقعیت‌ها، در جدول پیوندهای بیرونی',

    var geoLogText = {
    'fa': 'سیاههٔ زمین‌کدیابی‌های روزانه',

    var geoLogTooltip = {
    'fa': 'سیاههٔ خطای زمین‌کدیابی‌های روزانه',

Reza1615 (talk) 21:32, 14 February 2013 (UTC)

✓ Done  ■ MMXX talk 21:19, 17 February 2013 (UTC)

Chinese[edit]

{{editprotected}}

    var geoRCText = {
    'zh-hans': '坐标化最近更改',
    'zh-hant': '坐標化最近更改',
    };
    var geoRCTooltip = {
    'zh-hans': '坐标化新增',
    'zh-hant': '坐標化新增',
    };
    var geoSearchText = {
    'zh-hans': '坐标化搜索',
    'zh-hant': '坐標化搜索',
    };
    var geoSearchTooltip = {
    'zh-hans': '在外部链接表中通过坐标搜索',
    'zh-hant': '在外部鏈接表中通過坐標搜索',
    };
    var geoLogText = {
    'zh-hans': '坐标化日志',
    'zh-hant': '坐標化日誌',
    };
    var geoLogTooltip = {
    'zh-hans': '坐标化错误日志',
    'zh-hant': '坐標化錯誤日誌',
    };

please update--凡其Fanchy 17:31, 14 May 2013 (UTC)

✓ Done - Thanks for helping. -- Rillke(q?) 14:46, 17 May 2013 (UTC)

Indonesian & Minangkabau localizations[edit]

{{editprotected}} Please add localizations for "id" & "min"

    var geoRCText = {
    'id': 'Perubahan terbaru geocoding',
    'min': 'Parubahan baru geocoding',
    };
    var geoRCTooltip = {
    'id': 'Penambahan geocoding terakhir',
    'min': 'Panambahan geocoding tarakhia',
    };
    var geoSearchText = {
    'id': 'Pencarian geocoding',
    'min': 'Pancarian geocoding',
    };
    var geoSearchTooltip = {
    'id': 'Cari melalui koordinat dalam pranala tabel eksternal',
    'min': 'Cari malalui koordinat dalam pautan tabel eksternal',
    };
    var geoLogText = {
    'id': 'Log harian geocoding',
    'min': 'Log harian geocoding',
    };
    var geoLogTooltip = {
    'id': 'Log kesalahan harian geocoding',
    'min': 'Log kasalahan harian geocoding',
    };

Kind regards,  Ę-oиė  >>>  ™ 08:36, 17 May 2013 (UTC)

✓ Done - Thanks for helping. -- Rillke(q?) 14:46, 17 May 2013 (UTC)

Legacy JavaScript[edit]

Hello! This script has been detected as using deprecated parameters that need to be replaced with the updated version. Examples include addOnloadHook() needs to be replaced with $(); all wgGlobalVariables need to be properly gotten with mw.config.get( 'wgGlobalVariable' ); and addPortletLink needs to be called with mw.util.addPortletLink. Please see MW:ResourceLoader/Legacy JavaScript for details. Thank you. — {{U|Technical 13}} (etc) 21:54, 18 January 2015 (UTC)

Changes for Chinese Traditional (zh-hant)[edit]

坐標化最近更改 into 坐標化最近變更 ;
坐標化搜索 into 坐標化搜尋 ;
在外部鏈接表中通過坐標搜索 into 在外部連結表中透過坐標搜尋 .

Thank you very much. -- -- By LNDDYL. (Talk) 07:52, 24 January 2015 (UTC)