MediaWiki talk:Gadget-RotateLink.js/Archive/2011
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Previous discussion
is at Village Pump. May be copied to this page ... or not.. --Saibo (Δ) 22:18, 17 October 2011 (UTC)
First stats
Also newbies seem to understand how it works - nice! :-) See User:Rotatebot/Log and look for the editcount/reg.date of the user who set the template (sometimes it is not correctly detected who set it - missing then). I found in total 3 or 4 (do not remember) rotate requests where newbies had requested rotation by 0° - apparently they didn't find the cancel button (could be difficult if i18n is not available and English is hardly understood). I had asked one of them. However, it is not really a problem - the bot does nothing (if a file has no EXIF Orientation specified), if a file has EXIF specified it rotates the image according to EXIF (not really harmful although not necessary).
What about adding two symbols to the buttons (in front of the text) of the popup? A ✕ for cancel and a ✓ for okay? (copied from KDE3) --Saibo (Δ) 02:26, 20 October 2011 (UTC)
- Don't know whether all Browsers support these symbols. I made some more clickibunti. I suggest these changes. -- RE rillke questions? 10:24, 20 October 2011 (UTC)
- My fault if I propose kind of Klickibunti. ;-) Yes, you're right - I would also have preferred images (your images: and ) for compatibility reasons although UTF-8 is much more cooler! :P I have put the code in and protected both images (and the help and rotate icon image). Thank you! --Saibo (Δ) 16:35, 20 October 2011 (UTC)
Translation into Polish
'submitButtonLabel': 'Potwierdź wniosek', 'cancelButtonLabel': 'Anuluj', 'headline': 'O ile stopni powinna być obrócona ta grafika? ' + 'Prosimy o zgłaszanie błędów lub nowych pomysłów użytkownikowi <a href="' + mw.util.wikiGetlink('User:Rillke') + '" target="_blank">Rillke</a>.', 'intro': 'Zgodnie z ruchem wskazówek zegara', 'noteheader': 'Uwaga: ', 'noteAngle': 'Jeśli poprosisz o obrócenie grafiki o %1 lub %2°, Rotatebot zrobi to w ciągu kilku godzin.', 'noteMime': 'Rotatebot nie jest w stanie obsłużyć pliku w tym formacie, w związku z czym wykonanie Twojego wniosku może potrwać nieco dłużej.', 'noteBot': 'Rotatebot może wykonać ten wniosek w ciągu kilku godzin.'
Many thanks. -- RE rillke questions? 19:08, 15 October 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 10:19, 24 October 2011 (UTC)
Translation into Danish
'submitButtonLabel': 'Bekræft anmodning om rotation', 'cancelButtonLabel': 'Afbryd', 'headline': 'Hvor mange grader bør dette billede roteres? ' + 'Rapporter fejl og idéer til <a href="' + mw.util.wikiGetlink('User:Rillke') + '" target="_blank">Rillke</a>.', 'intro': 'Mod uret', 'noteheader': 'Note: ', 'noteAngle': 'Hvis du anmoder om en rotation på %1 eller %2° så vil Rotatebot gøre dette i løbet af få timer.', 'noteMime': 'Rotatebot kan ikke behandle medier af denne filtype. Det vil sandsynligvis tage en del tid før det bliver muligt.', 'noteBot': 'Rotatebot kan udføre denne anmodning i løbet af få timer.'
Thanks a lot. Kind regards -- RE rillke questions? 19:08, 15 October 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 10:19, 24 October 2011 (UTC)
Translation into French
confirm rotate request → confirmer la requête de rotation cancel → annuler About how many degrees this image should be rotated? → De combien de degrés l'image doit-elle être tournée ? Report bugs and ideas to <a href="' + mw.util.wikiGetlink('User:Rillke') + '" target="_blank">Rillke</a>. → reporter les bogues et les suggestions à <a href="' + mw.util.wikiGetlink('User:Rillke') + '" target="_blank">Rillke</a>. clockwise → dans le sens des aiguilles d'une montre If you request a rotation by %1 or %2° Rotatebot will do this in a few hours. → si vous soumettez une rotation de %1° ou %2° Rotatebot le fera dans quelques heures. Rotatebot is unable to treat media of this kind of file-format. Likely that it will take more time to be done. → Rotatebot n'est pas capable de s'occuper de média de ce format de fichier. Il y a de grande chances pour que cela prenne plus de temps. Rotatebot can execute this request in a few hours. → Rotatebot peut s'occuper de cette requête dans quelques heures.
87.91.219.55 22:36, 14 October 2011 (UTC)
Merci beaucoup pour m'aider. -- RE rillke questions? 19:08, 15 October 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 10:19, 24 October 2011 (UTC)
Macedonian translation
{{editprotected}} Could you please add the following Macedonian (mk) translation of the window to go here. I don't know hot to make the code look correct here, so open the edit of this page and you'll get the right look of the code. Many thanks! --B. Jankuloski (talk) 09:59, 18 October 2011 (UTC)
mk: { 'submitButtonLabel': 'Потврди', 'cancelButtonLabel': 'Откажи', 'headline': 'За околу колку степени треба да се сврти сликата? ' + 'Пријавувајте грешки и нови идеи кај <a href="' + mw.util.wikiGetlink('User:Rillke') + '" target="_blank">Rillke</a>.', 'intro': 'Надесно', 'noteheader': 'Напомена: ', 'noteAngle': 'Ако побарате свртување за %1 или %2° Rotatebot ќе го изврши вртењето за неколку часа.', 'noteMime': 'Rotatebot не може да работи со ваква слика или формат. Веројатно ова би пострајало подолго.', 'noteBot': 'Rotatebot може да го изврши бараното за неколку часа.'
- Done (Grrr… So why did you place it here, when the request was for MediaWiki:RotateRequest.js?) --Mormegil (talk) 10:19, 18 October 2011 (UTC)
- moved it to here - was my fault (wrong link on the help page). --Saibo (Δ) 12:52, 18 October 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 10:19, 24 October 2011 (UTC)
Link to help page in popup
I think Help:RotateLink should be linked in the pop up. That is a good way to tell people where this new rotation link is coming from. A text "Help page" in the lower left corner? And: @Rillke: Do you like to get errors reported on your user talk page or rather on the main talk page of the gadget MediaWiki talk:Gadget-RotateLink.js? Then this should be changed, too. Hmm.. general question: two or one talk pages for one gadget? Cheers --Saibo (Δ) 13:10, 18 October 2011 (UTC)
- My suggestion. -- RE rillke questions? 17:08, 18 October 2011 (UTC)
- Thanks! That's fine. And what do you thin about those two talk pages? Is it useful? One for the gadget and one for the "inner" gadget (the pop up)? Cheers --Saibo (Δ) 17:26, 18 October 2011 (UTC)
- As discussed in IRC: merged. Code is live. --Saibo (Δ) 19:10, 18 October 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 10:19, 24 October 2011 (UTC)
i18n "Request rotation" label
Please enable i18n for the "Request rotation" label. Jean-Fred (talk) 22:09, 17 October 2011 (UTC)
- Done --Mormegil (talk) 07:45, 18 October 2011 (UTC)
- Thanks ! Jean-Fred (talk) 08:52, 18 October 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 10:19, 24 October 2011 (UTC)
i18n "Request rotation" label: German
Nach de:Rotation müsste "drehen" das richtigere Wort sein (Geometrie, Koord.). Quedel schlägt "Bild drehen" als Link vor und im Pop-Up entsprechend auch "Rotation" durch "Drehung" ersetzen.
Quedel meinte auch: Der Hinweis bei Nicht-×90°-Angabe sollte sich vielleicht mehr vom 90°-Hinweis abheben und nicht Rotatebot erwähnen, da er auf den ersten Blick zu gleich aussieht. Also so vielleicht: "Diese Drehung ist nur manuell möglich - es kann daher einige Zeit dauern, bis es sie jemand ausführt.". Viele Grüße --Saibo (Δ) 14:19, 18 October 2011 (UTC)
I suggest to change to following:
- 'submitButtonLabel': Drehwunsch bestätigen',
- 'cancelButtonLabel': 'Abbrechen',
- 'headline': 'Um wie viele Grad soll das Bild gedreht werden? ' + 'Fehler im Script bitte an <a href="' + mw.util.wikiGetlink('User:Rillke') + '" target="_blank">Rillke</a> melden.',
- 'intro': 'im Uhrzeigersinn',
- 'noteheader': 'Hinweis: ',
- 'noteAngle': 'Wenn eine Drehung um %1 oder %2° gefordert wird, wird der Rotatebot das in wenigen Stunden erledigen.',
- 'noteMime': 'Der Rotatebot kann Medien dieses Dateiformats nicht drehen. Die Drehung muss von Hand vorgenommen werden.',
- 'noteBot': 'Der Rotatebot wird in wenigen Stunden das Bild drehen.',
--Quedel (talk) 15:19, 18 October 2011 (UTC)
- Done --Saibo (Δ) 20:15, 18 October 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 10:19, 24 October 2011 (UTC)
did I make something wrong?
https://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-RotateLink.js&diff=61273261&oldid=61272685 here? Did the change and then had many JS errors → reverted... --Saibo (Δ) 16:10, 19 October 2011 (UTC)
- Yes. - is a minus. If a variable contains it, you have to use
''
. E.g.'de-at': 'bla',
. But I can't recommend adding this for all sublanguages. - So I propose replacing
i18n[mw.config.get( 'wgUserLanguage' )] || i18n.en
- with
i18n[mw.config.get('wgUserLanguage')] || i18n[mw.config.get('wgUserLanguage').split('-')[0]] || i18n.en
-- RE rillke questions? 16:39, 19 October 2011 (UTC)
And for MediaWiki:RotateRequest.js:
init: function() {
var _this = this;
// merge major language
if (_this.i18n[mw.config.get('wgUserLanguage').split('-')[0]]) {
$.extend(_this.i18n, _this.i18n[mw.config.get('wgUserLanguage')]);
}
// merge sublanguage
if (_this.i18n[mw.config.get('wgUserLanguage')]) {
$.extend(_this.i18n, _this.i18n[mw.config.get('wgUserLanguage')]);
}
This is a very clever approach: It isn't required to specify a full translation for "sublanguages"; instead, only terms that differ have to be added. -- RE rillke questions? 16:49, 19 October 2011 (UTC)
- (EC) Urgs *tries to hide* - sorry to all... Thank you Rilke. Would have JShint detected this problem?
- Wouldn't it be better then to enclose all langcodes in
''
? Your code would work for de-at, de-ch and de-formal - but what about bar, als, gsw, nds, ....? Isn't there some langcode fallback system available? This fallback problem occurs at all i18n scripts here.. (sorry, wrong place here ;-) ). Cheers --Saibo (Δ) 16:57, 19 October 2011 (UTC)- I recommend either to add ' to all or none. Otherwise it looks messy. And yes, jshint would have the error detected. I am not aware of a good fallback-system. Maybe Krinkle or someone else from Meta. Sorry. -- RE rillke questions? 17:05, 19 October 2011 (UTC)
- Where should the code for MediaWiki:RotateRequest.js be placed? And: isn't it missing a
}
? Cheers --Saibo (Δ) 17:38, 19 October 2011 (UTC)- It is just a fragment.
- Where should the code for MediaWiki:RotateRequest.js be placed? And: isn't it missing a
- I recommend either to add ' to all or none. Otherwise it looks messy. And yes, jshint would have the error detected. I am not aware of a good fallback-system. Maybe Krinkle or someone else from Meta. Sorry. -- RE rillke questions? 17:05, 19 October 2011 (UTC)
init: function() { var _this = this; if (_this.i18n[mw.config.get('wgUserLanguage')]) { $.extend(_this.i18n, _this.i18n[mw.config.get('wgUserLanguage')]); }
- should be replaced. -- RE rillke questions? 17:41, 19 October 2011 (UTC)
- Oh, yes, thanks. Just a hint (to myself): do not copy source code as displayed by the source tags - it kills tab indention.
- But it is not JShint valid (and wasn't).
- Did you mix up "major language" and "sub language" in the comments? --Saibo (Δ) 18:20, 19 October 2011 (UTC)
No the big code is not jsHint valid. I never claimed that. IMHO, it is just important that the gadgets, loaded with RL, are. But if you want, you can make it valid ;-)
What happens in the code? Consider a user has de-at settings. The first command merges de, the second one de-at into the object. The other way around would be wrong. So I think that's fine. -- RE rillke questions? 18:28, 19 October 2011 (UTC)
- Stupid that it isn't JSHint valid - will not help me to detect stupid errors (by me). ;-)
- Thanks! Okay, understood it (it was cocky to even think of errors in your code ;-) ). The second part overwrites the first (in case of e.g. de-at it overwrites the de translation with a de-at one (if there is one)). Switched it on. But it doesn't work in de-ch. I still see English (although the new code is there - had a look in Firebug) --Saibo (Δ) 18:56, 19 October 2011 (UTC)
- Oops. Of course:
init: function() {
var _this = this;
// merge major language
if (_this.i18n[mw.config.get('wgUserLanguage').split('-')[0]]) {
$.extend(_this.i18n, _this.i18n[mw.config.get('wgUserLanguage').split('-')[0]]);
}
// merge sublanguage
if (_this.i18n[mw.config.get('wgUserLanguage')]) {
$.extend(_this.i18n, _this.i18n[mw.config.get('wgUserLanguage')]);
}
-- RE rillke questions? 19:09, 19 October 2011 (UTC)
- Done. Ah! Maybe this confused me! ;-) Thanks. Works now. --Saibo (Δ) 20:05, 19 October 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 10:19, 24 October 2011 (UTC)
Attribution
I think the current use of File:GeoGebra icon help.png without attribution to its creators (Markus Hohenwarter and Michael Borcherds) is not compliant to the licence of this image (CC-BY-SA-3.0). Helder 17:05, 20 October 2011 (UTC)
- Hi Helder, thank you for noting this! We were just (30 minutes before you wrote here) discussing in IRC about it. We plan to add a attribution section to Help:RotateLink which is linked form the pop-up. Anyway, it is quite possible that the used icons are not copyright eligible. Cheers --Saibo (Δ) 17:36, 20 October 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 10:19, 24 October 2011 (UTC)
New translation to zh, zh-hans, zh-cn, zh-my, zh-sg
{{Editprotected}} en:ISO 639-1: zh, zh-hans, zh-cn, zh-my, zh-sg
Label-Text: 请求旋转
'submitButtonLabel': '确认旋转请求', 'cancelButtonLabel': '取消', 'headline': '这个图像应该被旋转多少度?' + '将错误和想法报告给<a href="' + mw.util.wikiGetlink('MediaWiki talk:Gadget-RotateLink.js') + '" target="_blank">Rillke</a>.', 'intro': '顺时针', 'noteheader': '注:', 'noteAngle': '如果您请求旋转%1或%2°,Rotatebot会在几个小时内完成旋转。', 'noteMime': 'Rotatebot无法处理这种媒体格式。这通常需要更多的时间来完成旋转。', 'noteBot': 'Rotatebot可以在几个小时内执行这个请求。'
Liangent (talk) 09:05, 23 October 2011 (UTC)
- Thank you! Done. --Saibo (Δ) 16:15, 23 October 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 10:19, 24 October 2011 (UTC)
long degree values truncated
Type 567 in the text box, confirm rotation. Only 56° is requested. Cheers --Saibo (Δ) 04:34, 23 October 2011 (UTC)
- Users want to rotate an image >360° ????? -- RE rillke questions? 19:47, 23 October 2011 (UTC)
- Not really. Only 0-359 is useful (although Rotatebot simply does
degree mod 360
so it is not a problem). However: truncation shouldn't happen: either the full number or not accept. If (easily) possible. Cheers --Saibo (Δ) 19:58, 23 October 2011 (UTC)
- Not really. Only 0-359 is useful (although Rotatebot simply does
In MediaWiki:RotateRequest.js please replace:
this.$dlgNode.find('#rRotCtext').bind('input keyup', function() {
$(this).val($(this).val().replace(/\D/g, ''));
_this.$dlgNode.find('#rRotC').attr('value', $(this).val());
setAngle($(this).val());
with:
this.$dlgNode.find('#rRotCtext').bind('input keyup', function() {
$(this).val($(this).val().replace(/\D/g, ''));
if (!setAngle($(this).val()) && $(this).val()) {
$(this).val($(this).val()%360);
}
_this.$dlgNode.find('#rRotC').attr('value', $(this).val());
Sorry for the fragments. My machine here does not support Unicode properly. -- RE rillke questions? 13:52, 24 October 2011 (UTC)
- Which "fragments"? Done. Works (converts numbers > 360 to <360. Cheers --Saibo (Δ) 13:54, 25 October 2011 (UTC)
- This section was archived on a request by: Saibo (Δ) 13:54, 25 October 2011 (UTC)
New translation to zh-hant, zh-hk, zh-mo, zh-tw
{{Editprotected}} en:ISO 639-1: zh-hant, zh-hk, zh-mo, zh-tw
Label-Text: 請求旋轉
'submitButtonLabel': '確認旋轉請求', 'cancelButtonLabel': '取消', 'headline': '這個圖像應該被旋轉多少度?' + '將錯誤和想法報告給<a href="' + mw.util.wikiGetlink('MediaWiki talk:Gadget-RotateLink.js') + '" target="_blank">Rillke</a>.', 'intro': '順時針', 'noteheader': '注:', 'noteAngle': '如果您請求旋轉%1或%2°,Rotatebot會在幾個小時內完成旋轉。', 'noteMime': 'Rotatebot無法處理這種媒體格式。這通常需要更多的時間來完成旋轉。', 'noteBot': 'Rotatebot可以在幾個小時內執行這個請求。'
Liangent (talk) 09:08, 23 October 2011 (UTC)
- Thank you! I have not yet inserted it - zh-hant, zh-hk, zh-mo, zh-tw will get the "zh" translation now. I would need to copy the translations four times.
- Rillke: is there an easy way to avoid this? Or just copy since it is needed here (I guess this will not be the case for other languages to this extent). Cheers --Saibo (Δ) 16:18, 23 October 2011 (UTC)
- It is possible to save some code and resources: Create zh-hant as the only one and then replace:
init: function() {
var _this = this;
// merge languages
- with
init: function() {
var _this = this;
// save some code-lines by assigning similar languages
// -zh
_this.i18n['zh-hk'] = _this.i18n['zh-mo'] = _this.i18n['zh-tw'] = _this.i18n['zh-hant'];
// merge languages
- This is not nice but should work. -- RE rillke questions? 10:05, 24 October 2011 (UTC)
- Thanks - works (tested for tw,mo,hant)! But the "-" in the langcodes again fucked up. ;) Have included the now everywhere... --Saibo (Δ) 13:43, 25 October 2011 (UTC)
- This section was archived on a request by: Saibo (Δ) 13:43, 25 October 2011 (UTC)
messy display with RTL languages
Example: http://commons.wikimedia.org/w/index.php?title=File:AaatestSonnepalmenstrand90.jpg&uselang=he Not sure if there are just some marker tags (like: "now comes a bit LTR") missing. Of course: best would be to have translations... Cheers --Saibo (Δ) 16:05, 23 October 2011 (UTC)
- Replace
$('<a>', { href: '#', style: 'white-space:nowrap;' })
with
$('<a>', { href: '#', style: 'white-space:nowrap; display:inline-block;' })
The proper way would be determining whether there is a rtl or rtl language available and whether it's the user's default language and then adding the 'dir' attribute. But I am too lazy. -- RE rillke questions? 20:07, 23 October 2011 (UTC)
- Good job - thanks! --Saibo (Δ) 22:27, 23 October 2011 (UTC)
Oh..just noticed... the pop-up is even more messy. ;) The preview image overlaps the controls: At least apparently at least the radios are clickable since the image is in background logically. For example: the window resize control in the lower left corner is applied to the lower right corner. ;) Well, that is minor. --Saibo (Δ) 22:32, 23 October 2011 (UTC)
- In MediaWiki:RotateRequest.js, replace
this.$dlgNode = $('<div>', {}).html(
'<div id="imgContainer" style="position:absolute; right:30px; top:90px; max-width:120; max-height:120; overflow:visible;"></div>' +
'<div id="readyContainer" style="position:absolute; right:160px; top:70px; width:120; height:120; display:none;">' +
'<img src="http://upload.wikimedia.org/wikipedia/commons/3/32/Picframe_ok.png" height="120" width="120"/></div>' +
'<div id="errorContainer" style="position:absolute; right:160px; top:70px; width:120; height:120; display:none; background:#F99 url(\'//upload.wikimedia.org/wikipedia/commons/c/ca/Crystal_error.png\') no-repeat scroll center; overflow:auto;"></div>' +
mw.html.escape(this.i18n.intro) + '<br/>' +
botOptions() +
'<span style="' + _this.config.dlg.labelStyle + '"><div style="position:relative;">' +
'<input name="angle" type="radio" id="rRotC" value="' + lastAngle + '" />' +
'<div id="rRotCOverlay" style="position:absolute; left:0; right:0; top:0; bottom:0; z-index:1005;"></div>' +
' <input name="customAngle" type="text" id="rRotCtext" size="6" maxlength="3" value="' + lastAngle + '" />°' +
'</div></span><br style="clear:left;"/><br/>' +
'<div style="float:left; max-width:270px;"><b>' + mw.html.escape(this.i18n.noteheader) + '</b>' +
'<br/><span id="rRotNote"></span></div>'
);
- with
this.$dlgNode = $('<div>', {}).html(
'<div id="imgContainer" style="position:absolute; right:30px; top:90px; max-width:120; max-height:120; overflow:visible;"></div>' +
'<div id="readyContainer" style="position:absolute; right:160px; top:70px; width:120; height:120; display:none;">' +
'<img src="http://upload.wikimedia.org/wikipedia/commons/3/32/Picframe_ok.png" height="120" width="120"/></div>' +
'<div id="errorContainer" style="position:absolute; right:160px; top:70px; width:120; height:120; display:none; background:#F99 url(\'//upload.wikimedia.org/wikipedia/commons/c/ca/Crystal_error.png\') no-repeat scroll center; overflow:auto;"></div>' +
'<div id="rRotOptions" style="float:left; max-width:270px;">' + mw.html.escape(this.i18n.intro) + '<br/>' +
botOptions() +
'<span style="' + _this.config.dlg.labelStyle + '"><div style="position:relative;">' +
'<input name="angle" type="radio" id="rRotC" value="' + lastAngle + '" />' +
'<div id="rRotCOverlay" style="position:absolute; left:0; right:0; top:0; bottom:0; z-index:1005;"></div>' +
' <input name="customAngle" type="text" id="rRotCtext" size="6" maxlength="3" value="' + lastAngle + '" />°' +
'</div></span><br style="clear:left;"/><br/>' +
'<div style="float:left; max-width:270px;"><b>' + mw.html.escape(this.i18n.noteheader) + '</b>' +
'<br/><span id="rRotNote"></span></div></div>'
);
- This should fix this as well. Thank you. -- RE rillke questions? 10:44, 24 October 2011 (UTC)
- Thank you :-) No more overlapping! The window controls are still wrong - but this is okay. The "." at the ends of the sentences are at the beginning of the sentence -but this is also okay. Will probably be okay if there are RTL translations and: it is readable anyway. Cheers --Saibo (Δ) 13:23, 25 October 2011 (UTC)
- This section was archived on a request by: Saibo (Δ) 13:23, 25 October 2011 (UTC)
New translation to pt and pt-br
{{Editprotected}} en:ISO 639-1: pt, pt-br
Label-Text: Solicitar rotação
'submitButtonLabel': 'confirmar pedido de rotação', 'cancelButtonLabel': 'cancelar', 'headline': 'Em quantos graus esta imagem deve ser rotacionada? ' + '<a href="' + mw.util.wikiGetlink('MediaWiki talk:Gadget-RotateLink.js') + '" target="_blank">Reporte bugs e ideias</a>.', 'intro': 'Podes usar esta função para corrigir imagens que estão a ser exibidas na orientação errada (como é comum acontecer com imagens digitais fotografadas na vertical).', 'intro': 'sentido horário', 'noteheader': 'Nota: ', 'noteAngle': 'Se solicitar uma rotação de %1 ou %2° Rotatebot atenderá o pedido em algumas horas.', 'noteMime': 'Rotatebot não consegue lidar com mídia neste formato de arquivo. Seu pedido poderá demorar mais para ser atendido.', 'noteBot': 'Rotatebot pode executar este pedido em algumas horas.'
Helder 21:24, 24 October 2011 (UTC)
- Thank you! :) I will do it in ~11 hours (together with some other stuff here). Cheers --Saibo (Δ) 00:20, 25 October 2011 (UTC)
- Just did some corrections. Béria Lima msg 16:15, 27 October 2011 (UTC)
- Thanks! Adding {{Editprotected}} again. Helder 17:36, 27 October 2011 (UTC)
- No need to. Already done (16:29:16) . ;) Cheers --Saibo (Δ) 17:55, 27 October 2011 (UTC)
- Thanks! Adding {{Editprotected}} again. Helder 17:36, 27 October 2011 (UTC)
- Just did some corrections. Béria Lima msg 16:15, 27 October 2011 (UTC)
- This section was archived on a request by: Saibo (Δ) 17:55, 27 October 2011 (UTC)
New translation to ca
{{Editprotected}} en:ISO 639-1: 'ca'
Label-Text: demana girar-la
'submitButtonLabel': 'confirma la soŀlicitud de rotació', 'cancelButtonLabel': 'canceŀla', 'headline': 'Quants graus s’hauria de girar la imatge? ' + '<a href="' + mw.util.wikiGetlink('MediaWiki talk:Gadget-RotateLink.js') + '" target="_blank">Podeu informar d’errades i suggeriments.</a>.', 'intro': 'en sentit horari', 'noteheader': 'Nota: ', 'noteAngle': 'Si demaneu girar-la %1° o %2° Rotatebot ho farà en unes poques hores.', 'noteMime': 'Rotatebot no pot tractar aquest format de fitxer. Segurament necessitaria més temps per fer-ho.', 'noteBot': 'Rotatebot pot executar aquesta soŀlicitud en unes poques hores.'
V.Riullop (talk) 09:29, 26 October 2011 (UTC)
- edited; removed potentially confusing and unrelated username; the button is now updated, sorry. -- RE rillke questions? 10:20, 26 October 2011 (UTC)
- Inserted. Rillke, let's remove your name in all languages, hm? Cheers --Saibo (Δ) 14:01, 26 October 2011 (UTC)
Done (as discussed in IRC). --Saibo (Δ) 15:00, 26 October 2011 (UTC)
- I'm sorry, but I can only see the label text translated, not the box text. I have purged and it works if I try &uselang=xx with other translated versions but not with &uselang=ca. --V.Riullop (talk) 13:10, 27 October 2011 (UTC)
- Oh, I missed to clear the caché of my web browser. It works fine. Please, translate the new intro text: "Podeu utilitzar aquesta funció per corregir imatges que es mostren en una orientació incorrecta (com passa sovint amb fotos digitals en vertical)." Thanks for for great work. --V.Riullop (talk) 13:29, 27 October 2011 (UTC)
- Thanks! Have included the intro text. Cheers --Saibo (Δ) 16:29, 27 October 2011 (UTC)
- Oh, I missed to clear the caché of my web browser. It works fine. Please, translate the new intro text: "Podeu utilitzar aquesta funció per corregir imatges que es mostren en una orientació incorrecta (com passa sovint amb fotos digitals en vertical)." Thanks for for great work. --V.Riullop (talk) 13:29, 27 October 2011 (UTC)
- This section was archived on a request by: Saibo (Δ) 16:29, 27 October 2011 (UTC)
New translation to es
{{Edit request}} en:ISO 639-1: 'es'
Label-Text: solicitud de rotación
'submitButtonLabel': 'confirmar solicitud de rotación', 'cancelButtonLabel': 'cancelar', 'headline': '¿Cuántos grados debería girarse esta imagen?' + '<a href="' + mw.util.wikiGetlink('MediaWiki talk:Gadget-RotateLink.js') + '" target="_blank">Notificar algún fallo o idea.</a>.', 'intro': 'Puedes usar esta funcionalidad para corregir imágenes que no muestran una orientación correcta (algo que ocurre con frecuencia con fotos digitales tomadas verticalmente).', 'clockwise': 'En el sentido de las agujas del reloj:', 'noteheader': 'Nota: ', 'noteAngle': 'Si solicitas una rotación por %1 o %2°, Rotatebot lo hará en unas horas.', 'noteMime': 'Rotatebot es incapaz de manipular archivos con este formato. Probablemente llevará más tiempo el que se haga.', 'noteBot': 'Rotatebot puede realizar esta solicitud en unas horas.'
Rastrojo (D•ES) 23:36, 27 October 2011 (UTC) Gracias! --Saibo (Δ) 23:46, 27 October 2011 (UTC)
- This section was archived on a request by: Saibo (Δ) 23:46, 27 October 2011 (UTC)
Edit summary
It would be nice if there was some indication that the edit summary is an automatic one, not one chosen by the person tagging the file. -- Docu at 18:32, 20 October 2011 (UTC)
- For example: "Script: This image should be rotated by ..." ? -- RE rillke questions? 18:40, 20 October 2011 (UTC)
- Indeed. Would it possible to tag those edits as well ? Jean-Fred (talk) 18:53, 20 October 2011 (UTC)
- If you set-up the right abuse-filter, it can be tagged. If it's necessary, I can test it on test.wikipedia before. -- RE rillke questions? 18:57, 20 October 2011 (UTC)
- How about: "Adding {{rotate|90}} using tool: This image should be rotated by 90° to be useful. "
- As the bot has a log and a few checks, I'm not sure if abuse-filter is needed. -- Docu at 05:33, 21 October 2011 (UTC)
- What about: "(Script) Requesting rotation of the image by xx°." It is a bit shorter. ;) Cheers --Saibo (Δ) 16:49, 22 October 2011 (UTC)
- Support -- RE rillke questions? 17:52, 22 October 2011 (UTC)
- Changed it to this. If we want we can still change it to something else. --Saibo (Δ) 04:28, 23 October 2011 (UTC)
- Support -- RE rillke questions? 17:52, 22 October 2011 (UTC)
- What about: "(Script) Requesting rotation of the image by xx°." It is a bit shorter. ;) Cheers --Saibo (Δ) 16:49, 22 October 2011 (UTC)
- If you set-up the right abuse-filter, it can be tagged. If it's necessary, I can test it on test.wikipedia before. -- RE rillke questions? 18:57, 20 October 2011 (UTC)
- Indeed. Would it possible to tag those edits as well ? Jean-Fred (talk) 18:53, 20 October 2011 (UTC)
Think it is okay now as no one complained and made a suggestion. ;-) --Saibo (Δ) 16:33, 29 October 2011 (UTC)
- This section was archived on a request by: Saibo (Δ) 16:33, 29 October 2011 (UTC)
'intro' translation for Macedonian
Hello. The intro of this tool seems to have been added later, so can I have this added into the Macedonian (mk) translation:
'intro': 'Со оваа функција можете да ги исправате погрешно свртените слики (како што често се случува кај дигиталните фотографии).'
Thanks --B. Jankuloski (talk) 09:08, 29 October 2011 (UTC)
- yes, it was added later. And there are probably more additions to come. ;) Thanks for your translation! --Saibo (Δ) 14:36, 29 October 2011 (UTC)
- This section was archived on a request by: Saibo (Δ) 14:36, 29 October 2011 (UTC)
Jshint - valid (almost)
Special:Permalink/61755590 -- RE rillke questions? 13:53, 29 October 2011 (UTC)
- Live. --Saibo (Δ) 14:36, 29 October 2011 (UTC)
- This section was archived on a request by: Saibo (Δ) 14:36, 29 October 2011 (UTC)
Old versions in user(?) caches
The edit summary change at 2011-10-23 is still not live for some users (2011-10-28). = Five days. Is there a possibility to force cache refreshes or to lower caching time? One day should be enough. Cheers --Saibo (Δ) 16:29, 29 October 2011 (UTC)
- Resolved with Dummy versioning in cache by Rillke. --Saibo (Δ) 17:45, 29 October 2011 (UTC)
- This section was archived on a request by: Saibo (Δ) 17:45, 29 October 2011 (UTC)
Rotation après zoom
Bonjour,les images sont en général mises correctement en portrait ou paysage, mais bizarrement lorsque l'on veut agrandir ou isoler en cliquant directement sur l'image sans choisir les options de résolutions on obtient dans ce cas par exemple File:Croix d'un ordre de chevalerie à identifier.jpg une nouvelle image en paysage.--Doalex (talk) 09:15, 30 October 2011 (UTC)
- I think this may be one of the cases where "rotate = 0°" works. (It confused me too, see MediaWiki_talk:Gadget-RotateLink.js#.7Brotate.7C0.7D). -- Docu at 09:23, 30 October 2011 (UTC)
- @Docu: yes, it does. However, when bugzilla:31366 is fixed this should not be necessary anymore. So it is not necessary to apply rotate 0 now to all images which have correct EXIF. Cheers --Saibo (Δ) 14:08, 30 October 2011 (UTC)
- C'est parce que l'image contient des Exif-métadonnées et MediaWiki l'active la rotation automatique. C'est une nouvelle fonction du logiciel. -- RE rillke questions? 09:41, 30 October 2011 (UTC)
- Merci pour vos réponses.--Doalex (talk) 18:35, 30 October 2011 (UTC)
- This section was archived on a request by: Saibo (Δ) 03:46, 2 November 2011 (UTC)
Throbber not disappearing in MSIE 8 and other non-CSS3.0 compat browsers
In order to circumvent this problem, please use the following code Special:Permalink/61986029 → MediaWiki:RotateRequest.js -- RE rillke questions? 11:00, 3 November 2011 (UTC)
- This section was archived on a request by: Saibo (Δ) 17:36, 3 November 2011 (UTC)
wrong thumb due to browser cache?
If I understand correctly it could happen that the user sees a wrong thumbnail due to browser caching. We could circumvent this:
"Maybe RotateRequest.js should retrieve the thumbnail by always attempting to have one newly generated. Adding "?" and a random number might work. -- Docu" (from user talk page)
--Saibo (Δ) 18:04, 6 November 2011 (UTC)
- Very good idea but unfortunately IE did not accept other extensions than image-file extensions so I had to implement an "extrawurst". -- RE rillke questions? 13:21, 7 November 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 13:21, 7 November 2011 (UTC)
New translation to mk
{{Edit request}} en:ISO 639-1: 'mk'
Hello. I used the button to translate the gadget, but it is actually only this part that needs adding (for now). All messages above it have already been translated. Thanks a lot.
Label-Text: request rotation
'imgCaption': 'Поправете ја насоченоста на минијатурава - одберете агол.'
B. Jankuloski (talk) 01:16, 9 November 2011 (UTC)
- Done Thank you! -- RE rillke questions? 09:55, 9 November 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 09:55, 9 November 2011 (UTC)
Two full stops
There are two dots at the end of headline: .</a>. It should be fixed in the preload text and the live translations in ca and it. Just a minor point. --V.Riullop (talk) 09:37, 9 November 2011 (UTC)
- The first one is fixed. Thank you. -- RE rillke questions? 09:55, 9 November 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 18:10, 10 November 2011 (UTC)
Rewording in ca
Now that I understood better how it works, please change some wording in Catalan (ca):
'headline': 'Quants graus s’hauria de girar la imatge? ' + 'Podeu <a %ERRLINK%>informar</a> d’errades o suggeriments.', 'clockwise': 'En sentit horari:', 'noteAngle': 'Rotatebot pot girar %1° o %2° fent-ho en unes poques hores. Per a altres valors pot trigar més en ser atès.', 'noteMime': 'Rotatebot no pot tractar aquest format de fitxer. Aquesta soŀlicitud pot trigar més en ser atesa.', 'imgCaption': 'Corregiu l’orientació d’aquesta mostra seleccionant un angle.'
V.Riullop (talk) 18:09, 9 November 2011 (UTC)
- Done Thank you. -- RE rillke questions? 18:39, 10 November 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 18:39, 10 November 2011 (UTC)
Non-rotatebot file message
Rotatebot is unable to treat media of this kind of file-format. Likely that it will take more time to be done. -> This type of file cannot be rotated automatically; rotation will have to be done manually, which may take some time. Rd232 (talk) 17:32, 10 November 2011 (UTC)
- Done Thank you. -- RE rillke questions? 18:39, 10 November 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 18:39, 10 November 2011 (UTC)
New translation to it
en:ISO 639-1: 'it'
Label-Text: request rotation
'submitButtonLabel': 'conferma rotazione richiesta', 'cancelButtonLabel': 'annulla', 'headline': 'Di quanti gradi dovrebbe essere ruotata l'immagine? ' + '<a href="' + mw.util.wikiGetlink('MediaWiki talk:Gadget-RotateLink.js') + '" target="_blank">Segnala bug o suggerimenti.</a>.', 'intro': 'Puoi usare questo strumento per correggere immagini orientate in modo errato (come capita spesso con immagini digitali scattate in verticale).', 'clockwise': 'Senso orario:', 'noteheader': 'Nota: ', 'noteAngle': 'Se richiedi una rotazione di %1 o %2°, Rotatebot impiegherà qualche ora.', 'noteMime': 'Rotatebot non è in grado di processare file di questo formato. È probabile che ci vorrà più tempo.', 'noteBot': 'Rotatebot può soddisfare questa richiesta in poche ore.', 'imgCaption': 'Correggi l'orientamento di questa miniatura selezionando un'opzione.'
Hi! This is just an attempt. Tomorrow I will ask some help and someone else will check the translation. I left "%1 o %2°" as I found it; I am uncertain of "Rotatebot non è in grado di processare file di questo formato". We will see. Bye! Pequod76(talk) 02:14, 9 November 2011 (UTC)
- Thank you! Yes, %1 and %2 should not get translated - those are variables. I have disabled the automatically included edit request since it is just a draft. Tell us when it is finished. :-) Ciao! --Saibo (Δ) 02:42, 9 November 2011 (UTC)
- Oh, please also translate: "request rotation" which is used for the link on the file page. Grazie! --Saibo (Δ) 02:47, 9 November 2011 (UTC)
- "request rotation" as a link on the file page is "richiedi rotazione".
- Can you give me more context about noteMime? I don't understand - if the bot is *unable*, how it can process a file just spending more time? Is it unable or just slower? I ask just to offer a better translation.
- And what about imgCaption? May you explain me exactly what the instruction means? I thought you were able to select and move the angle with the mouse (actually, the sentence Correct the orientation of this thumbnail by selecting an angle is put just under the thumbnail), but it's not the case. So... what? :) --Pequod76(talk) 03:31, 9 November 2011 (UTC)
- I can see, testing the bot, the sentence Likely that it will take more time to be done, if not. There's no need to translate this? The text I suppose refers i.e. to a 91° rotation request... --Pequod76(talk) 03:39, 9 November 2011 (UTC)
- Hello Pequod76, you can't use the options to rotate the thumbnail shown next to the radio-buttons? What happens if you click on them? A rotation by dragging the thumb is not possible at this stage. Concerning 91° and unable to process this request: We have volunteers that will do the rotation by picking up the images from a category after the request was sent. -- RE rillke questions? 08:27, 9 November 2011 (UTC)
- "bot is *unable*" means that the request will need to be done manually - may volunteer users equipped with a image editing program and at least basic skills how to use. ;-)
- Hmm, "select" refers to the radio buttons. --Saibo (Δ) 15:15, 9 November 2011 (UTC)
- Ok, thanks, I saw the light. Then, in imgCaption I correct "angolo" with "opzione" (=option). Is it right? I think it fits.
- I guess the translation is ready. Bye! --Pequod76(talk) 23:57, 12 November 2011 (UTC)
- Grazie! have put it in. Ciao! --Saibo (Δ) 01:04, 13 November 2011 (UTC)
- I can see, testing the bot, the sentence Likely that it will take more time to be done, if not. There's no need to translate this? The text I suppose refers i.e. to a 91° rotation request... --Pequod76(talk) 03:39, 9 November 2011 (UTC)
- This section was archived on a request by: Saibo (Δ) 01:04, 13 November 2011 (UTC)
zh editprotected
- ->
<a %ERRLINK%>将错误和想法报告给</a>.
<a %ERRLINK%>报告</a>错误和想法。
- add intro: 您可以使用这个功能来修正显示方向错误的图像(例如常见的纵向数码照片)。
- add imgCaption: 选择一个角度使此缩略图显示为正确的方向。
It seems the original text of noteBot was changed. Should I update the translation? Likely the new en text is wrong?
Liangent (talk) 04:00, 19 November 2011 (UTC)
- Done Thank you for the new texts. Of course, you are right, I mixed up the English texts and they were therefore wrong. -- RE rillke questions? 12:24, 19 November 2011 (UTC)
- Then the new zh text of noteMime should be "此类型的文件不能被<a %ROTATEBOTLINK%>自动旋转</a>;旋转将人工完成,这可能需要更多的时间。" and zh-hant "此類型的檔案不能被<a %ROTATEBOTLINK%>自動旋轉</a>;旋轉將人工完成,這可能需要更多的時間。" Liangent (talk) 15:34, 19 November 2011 (UTC)
- Done Thank you! -- RE rillke questions? 17:23, 19 November 2011 (UTC)
- Then the new zh text of noteMime should be "此类型的文件不能被<a %ROTATEBOTLINK%>自动旋转</a>;旋转将人工完成,这可能需要更多的时间。" and zh-hant "此類型的檔案不能被<a %ROTATEBOTLINK%>自動旋轉</a>;旋轉將人工完成,這可能需要更多的時間。" Liangent (talk) 15:34, 19 November 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 17:23, 19 November 2011 (UTC)
zh-hant editprotected
- ->
<a href="' + mw.util.wikiGetlink('MediaWiki talk:Gadget-RotateLink.js') + '" target="_blank">將錯誤和想法報告給</a>.
<a %ERRLINK%>報告</a>錯誤和想法。
- add intro: 您可以使用這個功能來修正顯示方向錯誤的圖像(例如常見的縱向數位照片)。
- add imgCaption: 選擇一個角度使此縮圖顯示爲正確的方向。
Liangent (talk) 04:00, 19 November 2011 (UTC)
- Done Thanks for helping. -- RE rillke questions? 12:24, 19 November 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 17:23, 19 November 2011 (UTC)
New translation to Romanian
{{Edit request}} en:ISO 639-1: 'ro'
Label/link text: request rotation
'submitButtonLabel': 'confirmă cererea de rotire', 'cancelButtonLabel': 'anulează', 'headline': 'Cu câte grade trebuie rotită imaginea? ' + '<a %ERRLINK%>Raportaţi</a> buguri şi idei de feature-uri.', 'intro': 'Puteţi utiliza această funcţie pentru a corecta imaginile afişate cu o orientare greşită (aşa cum se întâmplă adesea în cazul unor fotografii făcute „în picioare”.', 'clockwise': 'Sens orar:', 'noteheader': 'Notă: ', <!-- Hint for translation: The following message is displayed e.g. if you request a rotation of e.g. 3° because Rotatebot can't rotate by this angle. A volunteer has to do this. --> 'noteAngle': 'Dacă cereţi o rotaţie cu %1 sau %2° Rotatebot va face aceasta în câteva ore. Aceasta, însă, probabil va dura mult şi nu e sigur dacă se va face.', <!-- Hint for translation: The following message is displayed e.g. on djvu or pdf-files because Rotatebot can't rotate them. A volunteer has to do this. --> 'noteMime': 'Rotatebot nu poate roti fişiere media în acest format. Probabil va dura ceva vreme până să se efectueze rotaţia.', 'noteBot': 'Rotatebot poate executa această cerere în câteva ore.', 'imgCaption': 'Corectaţi orientarea acestui thumbnail alegând un unghi.'
—Andrei S. Talk 08:22, 17 November 2011 (UTC)
- Done
- Can you please translate
request rotation
as well? Thank you for helping. -- RE rillke questions? 10:33, 17 November 2011 (UTC) - This section was archived on a request by: Saibo (Δ) 18:09, 21 November 2011 (UTC)
New translation to fa
{{edit request|technical}} en:ISO 639-1: 'fa'
Note to the admin fulfilling the request: This code will go to: MediaWiki:Gadget-RotateLink.js
Label/link text: درخواست چرخش
Note to the admin fulfilling the request: This code will go to: MediaWiki:RotateRequest.js
'submitButtonLabel': 'تأیید درخواست چرخش', 'cancelButtonLabel': 'لغو', 'headline': 'این تصویر حدوداً چند درجه باید چرخانده شود؟ ' + 'اشکالات و نظراتتان را <a %ERRLINK%>گزارش دهید</a>.', 'intro': 'شما میتوانید از این ابزار برای تصحیح تصاویری که جهتگیری نادرستی دارند، استفاده کنید (مشابه این وضعیت مکرراً در تصاویر دیجیتالی ایستاده دیده میشود).', 'clockwise': 'ساعتگرد:', 'noteheader': 'توجه: ', // Hint for translation: // The following message is displayed e.g. if you request a rotation of e.g. 3° because Rotatebot can't rotate by this angle. // A volunteer has to do this. 'noteAngle': 'اگر درخواست چرخش %1 یا %2° است، ربات این عمل را ظرف چند ساعت انجام خواهد داد. در غیر اینصورت، احتمالاً زمان بیشتری طول خواهد کشید تا درخواست شما انجام داده شود.', // Hint for translation: // The following message is displayed e.g. on djvu or pdf-files because Rotatebot can't rotate them. // A volunteer has to do this. 'noteMime': 'این نوع پرونده را نمیتوان به طور خودکار <a %ROTATEBOTLINK%>چرخاند</a>؛ چرخاندن پرونده باید به صورت دستی انجام گیرد که ممکن است مدتی طول بکشد.', 'noteBot': 'ربات نمیتواند ظرف چند ساعت آینده درخواست چرخش را انجام دهد.', 'imgCaption': 'جهتگیری تصویر بندانگشتی را با انتخاب زاویهٔ مناسب تصحیح نمایید.'
Note to the admin fulfilling the request: This code will go to: User:Rotatebot/approx max wait time rotatelink
noteBot: ربات ظرف پنج ساعت آینده این درخواست را انجام خواهد داد.
AMERICOPHILE 17:10, 8 December 2011 (UTC)
- Done Thanks for helping. I hope I did everything right. Is it ok? Rtl is always a bit difficult for Europeans. -- RE rillke questions? 18:35, 8 December 2011 (UTC)
- You're welcome. Thank those who created this gadget. Everything seems to be OK. I uploaded a screenshot to show you how it works. AMERICOPHILE 19:01, 8 December 2011 (UTC)
- Cool, thank you! Cheers --Saibo (Δ) 23:11, 8 December 2011 (UTC)
- You're welcome. Thank those who created this gadget. Everything seems to be OK. I uploaded a screenshot to show you how it works. AMERICOPHILE 19:01, 8 December 2011 (UTC)
- This section was archived on a request by: Saibo (Δ) 23:11, 8 December 2011 (UTC)
Script not deactivated if already tagged?
A bit strange - two taggings here. Or is the last forced browser cache refresh before this deactivation thing got into the code? Cheers --Saibo (Δ) 15:11, 9 November 2011 (UTC)
- Done script removes all rotate-templates now so duplicate tagging should be impossible. -- RE rillke questions? 19:50, 11 December 2011 (UTC)
- This section was archived on a request by: -- RE rillke questions? 19:50, 11 December 2011 (UTC)
Edit permissions check
When the image is protected for a user, the link should not be shown. (wgRestrictionEdit). Thanks. Der Umherirrende 11:17, 11 December 2011 (UTC)
- Done Danke. -- RE rillke questions? 12:50, 11 December 2011 (UTC)
- Looks good. Thanks. Der Umherirrende 12:55, 11 December 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 12:50, 11 December 2011 (UTC)
+thumbnail subtitle, modify cookie function
- (more help to prevent problems between layer 7 and 8) ;-)
After having a chat with a user (who made me aware of the confusing situation that the thumbnail in the pop-up could show up right although the user has not done anything and to clarify which image is the image to be looked at) I propose this new feature:
- A) Below (or above?) the thumbnail there should be "Correct the orientation of this image" / "Drehe dieses Bild in die richtige Ausrichtung".
- B) At beginning there should be no radio button pre-selected. Therefore, the image should show up as the thumb is (not rotated, or wrongly rotated).
To prevent a usability degradation for frequent users: There should be a "remember this setting" checkbox (left of the the cancel button) which sets the cookie as in the current version. Without a selected checkbox no cookie is set. When a cookie is present on pop-up startup the checkbox should be auto-checked. If the user unchecks the checkbox the cookie should be deleted.
Cheers --Saibo (Δ) 14:02, 28 October 2011 (UTC)
- Special:Permalink/61758973 — Let's keep it simple. This does not select any option by default and does not rotate the image at startup. The submit-button is disabled by default. Cookie overwrites this. -- RE rillke questions? 15:15, 29 October 2011 (UTC)
- Okay (live), but if a user once tagged a file the cookie value is used at the next tagging. → still a confused user. But less often happening - that is true while keeping the UI and code simple. :-)
Could you grey-out the text box if it is not selected (at start-up with no cookie)? Shows up normal for me.(done) --Saibo (Δ) 16:23, 29 October 2011 (UTC) 16:58, 29 October 2011 (UTC)
- This section was archived on a request by: Saibo (Δ) 01:03, 13 December 2011 (UTC)
New translation to ja
{{edit request}} en:ISO 639-1: 'ja'
Note to the admin fulfilling the request: This code will go to: MediaWiki:Gadget-RotateLink.js
Label/link text: 画像の回転を依頼
Note to the admin fulfilling the request: This code will go to: MediaWiki:RotateRequest.js
'submitButtonLabel': '依頼を確認', 'cancelButtonLabel': 'キャンセル', 'headline': 'この画像を何度回転させますか? ' + 'バグや提案は<a %ERRLINK%>こちら</a>', 'intro': 'この機能では(主に縦長のデジタル画像でみられるような)正しくない向きに回転してしまった画像を正しい向きに直すことができます。', 'clockwise': '時計回りで', 'noteheader': 'お知らせ ', // Hint for translation: // The following message is displayed e.g. if you request a rotation of e.g. 3° because Rotatebot can't rotate by this angle. // A volunteer has to do this. 'noteAngle': '%1, %2°に回転させる場合は、Rotatebotによって数時間で回転されます。他の角度に回転させる場合は、それ以上の時間がかかります。', // Hint for translation: // The following message is displayed e.g. on djvu or pdf-files because Rotatebot can't rotate them. // A volunteer has to do this. 'noteMime': 'この形式のファイルは、<a %ROTATEBOTLINK%>Rotatebot</a>で回転させることができません。回転は人の手によっておこなわれるため、時間がかかります。', 'noteBot': 'Rotatebotは数時間でこの画像を回転します。', 'imgCaption': 'このサムネイルで正しい方向になるように角度を選択して下さい。'
Note to the admin fulfilling the request: This code will go to: User:Rotatebot/approx max wait time rotatelink
noteBot: [[User:Rotatebot|Rotatebot]]は %NUMBER% 時間で回転を実行できます。
Ohgi (talk) 15:19, 13 December 2011 (UTC)
- will be checked by another person.. waiting. --Saibo (Δ) 15:21, 13 December 2011 (UTC)
- have checked. --Ohgi (talk) 15:43, 13 December 2011 (UTC)
- Done Thank you. That's great. -- RE rillke questions? 17:03, 13 December 2011 (UTC)
- have checked. --Ohgi (talk) 15:43, 13 December 2011 (UTC)
- This section was archived on a request by: RE rillke questions? 17:03, 13 December 2011 (UTC)
auto-purge?
Another thing: what about firing a purge on pop-up start? Then we could use a larger thumbnail and still would always have a fresh one. --Saibo (Δ) 18:04, 6 November 2011 (UTC)
- Done Purge is fired and dialog waits until it returns.
- Lager thumbnail? Which size? Now it's max. 120px x 120px. -- RE rillke questions? 13:21, 7 November 2011 (UTC)
- Cool! Have you measured who long this purge takes?
- What about 150% of it? → 180×180 px² (which is smaller than usual thumbs). I guess you cannot read the user preference thumbnail size. ;-) --Saibo (Δ) 22:35, 7 November 2011 (UTC)
mw.user.options.get('thumbsize')
. Let's see when I have time for this. I think it's not critical.- According to firebug it takes 2s to 10s. The dialog displays but does not select any option. -- RE rillke questions? 22:58, 7 November 2011 (UTC)
Let's trash that remaining idea. ;-) --Saibo (Δ) 01:41, 10 January 2012 (UTC)
- This section was archived on a request by: Saibo (Δ) 01:41, 10 January 2012 (UTC)