MediaWiki talk:Gadget-Geotoolbox.js

Latest comment: 8 years ago by Jarekt in topic tr.wiki


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)Reply[reply]

  Done Huib talk 19:00, 14 July 2009 (UTC)Reply[reply]

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

source
//* based on [[MediaWiki:Gadget-WhatIsThat.js]]

importScript ('MediaWiki:Utilities.js');

addLoadEvent(addgeotoolboxlinks);

function addgeotoolboxlinks() {
    addPortletLink('p-tb', 'http://toolserver.org/~para/GeoCommons/recentchanges.php', 'Geocoding Recent Changes', '', 'Recent geocoding additions');
    addPortletLink('p-tb', 'http://toolserver.org/~dispenser/cgi-bin/geosearch.py?site%3Dcommons', 'Geocoding Search', '', 'Search through coordinates in external links table');
    addPortletLink('p-tb', 'http://toolserver.org/~dispenser/view/File_viewer#log:coord-commonswiki.log', 'Geocoding Daily Log', 'Daily geocoding error log');
}
  Done Huib talk 20:28, 14 July 2009 (UTC)Reply[reply]

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)Reply[reply]

source
importScript ('MediaWiki:Utilities.js');

//* based on [[MediaWiki:Gadget-WhatIsThat.js]]
 
addOnloadHook(function() {
    addToolLink('p-tb', 'http://toolserver.org/~para/GeoCommons/recentchanges.php', 'Geocoding Recent Changes', 'p-tb-georc', 'Recent geocoding additions');
    addToolLink('p-tb', 'http://toolserver.org/~dispenser/cgi-bin/geosearch.py?site%3Dcommons', 'Geocoding Search', 'p-tb-geosearch', 'Search through coordinates in external links table');
    addToolLink('p-tb', 'http://toolserver.org/~dispenser/view/File_viewer#log:coord-commonswiki.log', 'Geocoding Daily Log', 'p-tb-geolog', 'Daily geocoding error log');
});
  Done Huib talk 18:25, 15 July 2009 (UTC)Reply[reply]

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)Reply[reply]

I'm gonna give it a try in my /vector.js. --The Evil IP address (talk) 17:43, 21 August 2010 (UTC)Reply[reply]
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)Reply[reply]

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)Reply[reply]

  Done  ■ MMXX talk 21:19, 17 February 2013 (UTC)Reply[reply]

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)Reply[reply]

  Done - Thanks for helping. -- Rillke(q?) 14:46, 17 May 2013 (UTC)Reply[reply]

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)Reply[reply]

  Done - Thanks for helping. -- Rillke(q?) 14:46, 17 May 2013 (UTC)Reply[reply]

Legacy JavaScript edit

Template:JS migration 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)Reply[reply]

Changes for Chinese Traditional (zh-hant) edit

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

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

  Done --Hedwig in Washington (mail?) 05:05, 2 August 2015 (UTC)Reply[reply]

Missing Geocoding tools edit

Hallo all, the Geocoding tools in the Gadget settings contain two not reachable services: daily error log and search since they still point to toolserver.org. Could any please repair that? Seems that both tools were developed by Dispenser. Maybe he could clarify if these tools have been moved to Labs or if we could delete them. Thanks, --Arnd (talk) 09:20, 1 May 2015 (UTC)Reply[reply]

WMF unjustly banned me from Labs and cutoff my database feed. My understand is its running for Wikiminiatlas, but the output is no longer public (like most things Labs). Dispenser (talk) 18:12, 1 May 2015 (UTC)Reply[reply]
Dispenser, i did not properly understand. Does it mean that the tools will be available after some time. If not i would suggest to also remove them from the Gadgets. It's not about you but just to avoid user confusions. --Arnd (talk) 19:23, 1 May 2015 (UTC)Reply[reply]
User:Aschroet, unless something changes at the WMF or Tool Labs they're not coming back. Dispenser (talk) 21:53, 1 May 2015 (UTC)Reply[reply]
Then i would vote for removing the items from the Gadgets description and remove the links from the tools in the side bar. For both i have no permission. --Arnd (talk) 06:40, 2 May 2015 (UTC)Reply[reply]

tr.wiki edit

{{Editprotected}} please add this labels for Turkish


    var geoRCText = {
    'fa': 'Coğrafi Kodlama Son Değişiklikleri',

    var geoRCTooltip = {
    'fa': 'Son coğrafi kodlama eklemeleri',

    var geoSearchText = {
    'fa': 'Coğrafi Kodlama Araması',

    var geoSearchTooltip = {
    'fa': 'Dış bağlantılar tablosundaki koordinatlar üzerinden arama',

    var geoLogText = {
    'fa': 'Coğrafi Kodlama Günlük Kayıtları',

    var geoLogTooltip = {
    'fa': 'Günlük coğrafi kodlama hata kayıtları',

--i.е. v-mail 22:43, 22 October 2015 (UTC)Reply[reply]

  Done --Jarekt (talk) 13:02, 9 November 2015 (UTC)Reply[reply]
Return to "Gadget-Geotoolbox.js" page.