MediaWiki talk:Gadget-Geotoolbox.js

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


line to add

[edit]

{{Editprotected}}

importScript('MediaWiki:Utilities.js');

The script should probably start with the above line as inMediaWiki:Gadget-WhatIsThat.js.-- User:Docuat18:57, 14 July 2009 (UTC)[reply]

✓DoneHuibtalk19:00, 14 July 2009 (UTC)[reply]

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

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

importScript('MediaWiki:Utilities.js');

addLoadEvent(addgeotoolboxlinks);

functionaddgeotoolboxlinks(){
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');
}
✓DoneHuibtalk20:28, 14 July 2009 (UTC)[reply]

Update

[edit]

{{Editprotected}}

This should do it. Please update it with the below. Thanks for your help. -- User:Docuat14:16, 15 July 2009 (UTC)[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');
});
✓DoneHuibtalk18:25, 15 July 2009 (UTC)[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]

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

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]

✓Done■ MMXXtalk21:19, 17 February 2013 (UTC)[reply]

Chinese

[edit]

{{Editprotected}}

var geoRCText = {
'zh-hans': ' tọa độ hóa gần nhất sửa đổi ',
'zh-hant': ' tọa độ hóa gần nhất sửa đổi ',
};
var geoRCTooltip = {
'zh-hans': ' tọa độ hóa tân tăng ',
'zh-hant': ' tọa độ hóa tân tăng ',
};
var geoSearchText = {
'zh-hans': ' tọa độ hóa tìm tòi ',
'zh-hant': ' tọa độ hóa tìm tòi ',
};
var geoSearchTooltip = {
'zh-hans': ' bên ngoài bộ liên tiếp biểu trung thông qua tọa độ tìm tòi ',
'zh-hant': ' bên ngoài bộ liên tiếp biểu trung thông qua tọa độ tìm tòi ',
};
var geoLogText = {
'zh-hans': ' tọa độ hóa nhật ký ',
'zh-hant': ' tọa độ hóa nhật ký ',
};
var geoLogTooltip = {
'zh-hans': ' tọa độ hóa sai lầm nhật ký ',
'zh-hant': ' tọa độ hóa sai lầm nhật ký ',
};

please update--Phàm nàyFanchy17:31, 14 May 2013 (UTC)[reply]

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

Indonesian & Minangkabau localizations

[edit]

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

vargeoRCText={
'id':'Perubahan terbaru geocoding',
'min':'Parubahan baru geocoding',
};
vargeoRCTooltip={
'id':'Penambahan geocoding terakhir',
'min':'Panambahan geocoding tarakhia',
};
vargeoSearchText={
'id':'Pencarian geocoding',
'min':'Pancarian geocoding',
};
vargeoSearchTooltip={
'id':'Cari melalui koordinat dalam pranala tabel eksternal',
'min':'Cari malalui koordinat dalam pautan tabel eksternal',
};
vargeoLogText={
'id':'Log harian geocoding',
'min':'Log harian geocoding',
};
vargeoLogTooltip={
'id':'Log kesalahan harian geocoding',
'min':'Log kasalahan harian geocoding',
};

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

✓Done- Thanks for helping. --Rillke(q?)14:46, 17 May 2013 (UTC)[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 includeaddOnloadHook()needs to be replaced with$();all wgGlobalVariables need to be properly gotten withmw.config.get( 'wgGlobalVariable' );andaddPortletLinkneeds to be called withmw.util.addPortletLink.Please seeMW:ResourceLoader/Legacy JavaScriptfor details. Thank you. —{{U|Technical 13}}(etc)21:54, 18 January 2015 (UTC)[reply]

Changes for Chinese Traditional (zh-hant)

[edit]

{{Editprotected}} Tọa độ hóa gần nhất sửa đổiintoTọa độ hóa gần nhất thay đổi;
Tọa độ hóa tìm tòiintoTọa độ hóa sưu tầm;
Bên ngoài bộ liên tiếp biểu trung thông qua tọa độ tìm tòiintoBên ngoài bộ liên kết biểu trung xuyên thấu qua tọa độ sưu tầm.

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

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

Missing Geocoding tools

[edit]

Hallo all, theGeocoding toolsin the Gadget settings contain two not reachable services:daily error logandsearchsince they still point to toolserver.org. Could any please repair that? Seems that both tools were developed byDispenser.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]

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]
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]
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]
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]

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-mail22:43, 22 October 2015 (UTC)[reply]

✓Done--Jarekt(talk)13:02, 9 November 2015 (UTC)[reply]