MediaWiki talk:Wikiminiatlas.js/Archives/2011

Latest comment: 12 years ago by Dschwen in topic buttonImage

Persian

{{editprotected}} please add lines to the mediawiki,Thanks

(buttonTooltip)
fa:'نمایش مکان در یک نقشه پویا',
(close)
fa:'بستن',

Thanks againAmir 08:00, 26 January 2011 (UTC)

  Done. Jafeluv 08:05, 26 January 2011 (UTC)
Thank you for your changes.would you please add some options for RTL languages such as Farsi- Arabic-Hebrew,...to change the default place of the map popup form right to left?
In my opinion with this code it will be done.
wi.div.style.right = '2em'; 
change to
wi.div.style.left = '2em'; 

Reza1615 00:53, 22 February 2011 (UTC)

hi, please do this:

loader : function()
 {
  function is_rtl(){
    return /(^|\s)rtl(\s|$)/.test(document.body.className);
  }
  .
  .
  .
   if(is_rtl())
    mapbutton.style.padding = '0px 0px 0px 3px';
   else
    mapbutton.style.padding = '0px 3px 0px 0px';
   mapbutton.style.cursor = 'pointer';
   mapbutton.className = 'noprint';
  .
  .
  .
   wi.div.style.backgroundColor = 'white';
   wi.div.style.position = 'absolute';
   if(is_rtl())
     wi.div.style.left = '2em';
   else
     wi.div.style.right = '2em';
  .
  .
  .
 }

thanks.--ebraminiotalk 14:39, 22 February 2011 (UTC)

Added. Thanks for the suggestion! Might need some testing. --Dschwen 16:00, 23 February 2011 (UTC)
thanks, it's okay.--ebraminiotalk 19:37, 23 February 2011 (UTC)

Rev 14 breaks MediaWiki 1.13 using IE8

Object expected. index.php. Code: 0. URL: http://meta.wikimedia.org/w/index.php?title=MediaWiki:Wikiminiatlas.js&action=raw&ctype=text/javascriptsmaxage=21600maxage=86400. Breaking on JScript runtime error - Object expected.

Please revert back to version 13 and/or tell everyone how gracefully disable MediaWiki integration with meta.wikimedia.org/*MediaWiki:Wikiminiatlas.js.

Ok, reverted for now. Guess it needs some more testing. :-( --Dschwen 15:09, 18 March 2011 (UTC)
I changed it back to rev14 and used the safe 'jQuery' object rather than '$'. I explicitly redefine the $ shortcut in my local scope. Verified to work in Google Chrome 11, IE 8, Firefox 3.6.13, Konqueror 4.4.5 (no postMessage support, degrades gracefully). --Dschwen 18:34, 18 March 2011 (UTC)

Turkish

{{editprotected}}

Turkish translation:

(buttonTooltip)
tr:'Yeri interaktif bir haritada göster',
(close)
tr:'kapat',

Thank you!

Vito Genovese 19:35, 28 March 2011 (UTC)

Added. Jafeluv 20:12, 28 March 2011 (UTC)
Thanks, a list of all translations is maintained here if this script gets edited the translations should be added there as well, otherwise they may get overwritten accidentally when I sync translations. --Dschwen 12:22, 29 March 2011 (UTC)
Okay, I'll try to keep that in mind. Added there as well. Jafeluv 12:37, 29 March 2011 (UTC)
Thanks a bunch! --Dschwen 15:23, 29 March 2011 (UTC)

Vastly improved map label language support coming soon

The next major revision of the WMA backend, due later this week, will include support for 50 languages. I'm currently finetuning the database backend. --Dschwen 16:35, 29 March 2011 (UTC)

line break

is it possible to get it to not/never break the line between the globe-icon and the coordinates? Seb az86556 18:33, 31 March 2011 (UTC)

If the CSS proprty text-wrap: suppress was supported by any browser, it would be possible. --Dschwen 02:39, 1 April 2011 (UTC)
white-space:nowrap might work, let me see... --Dschwen 03:36, 1 April 2011 (UTC)
Yes, that works - at least in Google Chrome. I'll put that in my development copy and test a bit. --Dschwen 03:40, 1 April 2011 (UTC)
Well I'm almost there. It is actually a bit more complicated! I have to wrap the globe and the link in an additional span-tag to which I apply the line break suppression. However that would make the entire coordinate link unbreakable, which is not desirable for coordinates in test. I'd actually have to break the link apart into two links and suppress linebreaks only between the globe and the first part of the coordinate link up to the space. But that would make the underlining of the link break apart too, which would confuse users. Darn! --Dschwen 01:15, 2 April 2011 (UTC)
GOT IT! I have to style the link white-space:normal, then it works perfectly. --Dschwen 01:31, 2 April 2011 (UTC)

buttonImage

Hi, Please revert this edit. Sadly, Wikimedia Commons domain is blocked in my country, therefore this image can not shown and our users cannot use wikiminiatlas. :( --ebraminiotalk 14:23, 6 May 2011 (UTC)

Iran? Ok, I switched the URL to a direct link to upload.wikimedia.org. Should work again for you now. Thanks for letting me know! --Dschwen 18:17, 6 May 2011 (UTC)
Return to "Wikiminiatlas.js/Archives/2011" page.