לדלג לתוכן

שיחת תבנית:מפת תמונה/דוגמאות

תוכן הדף אינו נתמך בשפות אחרות.
הוספת נושא
מתוך ויקיפדיה, האנציקלופדיה החופשית
תגובה אחרונה: לפני 4 חודשים מאת Шариф Ахмет בנושא Problem

בעיה

[עריכת קוד מקור]

אני רואה את יעקב יעקב או משה עפרון כקישור כחול בתמונה. אבל הקשה על הקישור מודיעה ערך לא קיים. הקישור צריך להיות אדום. דיסקוברי - שיחה 07:50, 11 בינואר 2012 (IST)תגובה

אותה בעיה קיימת בכל הקישורים שבאים מתג imageMap (גם כשמשתמשים בתג ישירות, ולא דרך תבנית "מפת תמונה"). הבעיה היא שלהבדיל מקישורים אדומים רגילים, בהם השרת מסמן את הקישורים מראש כאדומים (ומוסיף להם "הדף אינו קיים"), בתבנית מפת תמונה, שבסך הכל עוטפת את התג imageMap, אין דרך לדעת זאת. אולי באמת כדאי לפתוח בג או בקשה בעמוד של ההרחבה imageMap (השארתי שם בקשה, אבל אין לי המון תקווה שהנושא ייפתר בקרוב). קיפודנחש - שיחה 08:58, 11 בינואר 2012 (IST)תגובה

Problem

[עריכת קוד מקור]

Hello colleague. After the update, dots appeared above the word. ru:Шаблон:Интерактивная карта изображений ru:Эпиграфические памятники на Ханском кладбище (Шеки) ([показать ссылки текстом]) It wasn't there before. https://shaki.info/wiki/%C5%9E%C9%99ki_Xan_q%C9%99biristanl%C4%B1%C4%9F%C4%B1ndak%C4%B1_epiqrafik_abid%C9%99l%C9%99r ([siyahını aç]) Can you fix this problem? Thanks in advance. Шариф Ахметשיחה 13:00, 7 במרץ 2024 (IST)תגובה

@IKhitron, נדמלי שהדיווח הזה לא מתייחס ישירות לתבנית (והסקריפט) אצלנו, אלא למה שעשית בוויקירוסית. תוכל בבקשה לבדוק? תודה. קיפודנחש 03:20, 8 במרץ 2024 (IST)תגובה
תודה, @קיפודנחש. זה בהחלט באשמתי, ואני בהחלט תיקנתי את זה בחלק מהמקרים בוויקירוסית, לא במקרים כאלו, אבל אני לא זוכר איך. אני אשתדל לתקן מחדש, בתקווה אפילו היום, כך שזה יעלים את הבעיה מבלי שיפגע במה שכבר תיקנתי.
Коллега Шариф Ахмет, если послезавтра ещё не будет работать, не стесняйтесь мне нудить пингами. יגאל (בקשת עזרה, IKhitron ושיחה) 11:30, 8 במרץ 2024 (IST)תגובה

. Шариф Ахметשיחה 18:35, 8 במרץ 2024 (IST)תגובה

@Шариф Ахмет, сделал, я думаю, проверьте, пожалуйста. יגאל (בקשת עזרה, IKhitron ושיחה) 13:34, 9 במרץ 2024 (IST)תגובה
Thanks. It looks very good now.
But no matter how hard I searched, I couldn't find where you made the change? If I had known, I would have made the changes myself on the other Wikipedias and not bothered you again. For example, a city has a local Wikipedia. The same problem is still there...
https://sheki.org/wiki/%C5%9E%C9%99ki_Xan_q%C9%99biristanl%C4%B1%C4%9F%C4%B1ndak%C4%B1_epiqrafik_abid%C9%99l%C9%99r Шариф Ахметשיחה 12:39, 12 במרץ 2024 (IST)תגובה
ru:special:diff/136578736. יגאל (בקשת עזרה, IKhitron ושיחה) 12:31, 12 במרץ 2024 (IST)תגובה
https://sheki.org/wiki/MediaWiki:Imagemap-Highlight.js
The same change was applied here. But the problem remains. Шариф Ахметשיחה 12:44, 12 במרץ 2024 (IST)תגובה
It's because your local wiki does not have the hlist style class. You should ask your interface admin to define it, I have no idea how to do this. יגאל (בקשת עזרה, IKhitron ושיחה) 12:59, 12 במרץ 2024 (IST)תגובה
This is a small Wiki. There is no one out there who can do that. Can you do it if you are given administrator status there? Шариф Ахметשיחה 13:14, 12 במרץ 2024 (IST)תגובה
Not at all. As I just said, I have no idea how. יגאל (בקשת עזרה, IKhitron ושיחה) 13:27, 12 במרץ 2024 (IST)תגובה
Thank you for the answer. Шариф Ахметשיחה 13:43, 12 במרץ 2024 (IST)תגובה
@Шариф Ахмет:
somewhere in your site you have a piece that looks like so:
li.imageMapHighlighterArtefacts{white-space:nowrap; font-size:88.36%;}
li.liHighlighting{background-color:yellow;}
.rtl li.imageMapHighlighterArtefacts{float: right; margin-left: 3px;}
.ltr li.imageMapHighlighterArtefacts{float: left; margin-right: 3px;}
.imageMapHighlighter .mw-collapsible-toggle {float: none}

you want to change margin-right: 3px; to margin-right: 20px; . i could not find in your site where does this come from, but it does come from somewhere. find it and change it, and all will be good. peace - קיפודנחש 04:00, 13 במרץ 2024 (IST)תגובה

.It is the same in Russian Wikipedia. But there is no such error
https://ru.wikipedia.org/wiki/MediaWiki:Imagemap-Highlight.js
!I made a correction on this page. The result is great! Thanks
https://sheki.org/wiki/MediaWiki:Imagemap-Highlight.js

Шариф Ахметשיחה 17:28, 13 במרץ 2024 (IST)תגובה

this script was originally written around 2012 (see here). we didn't have templatestyles at the time, and the script added the CSS using mw.util.appendCSS (before that, it just set the styles of the elements directly). if i was to work on it a bit further, i's move the CSS to the template' and used templatestyles. as it is, i doubt i'll touch it unless somethinge breaks...

קיפודנחש 01:26, 14 במרץ 2024 (IST)תגובה

You are doing unique and important work. But other people cannot repeat what you do. Because it is very difficult. For example, I want to apply your work to the map below. But I need 10 days for this.
.That's why I can't do that work yet
https://upload.wikimedia.org/wikipedia/commons/4/48/%C5%9E%C9%99ki_xanl%C4%B1%C4%9F%C4%B1n%C4%B1n_inzibati_qurulu%C5%9Fu%28Shaki_khanate%29.png Шариф Ахметשיחה 02:39, 14 במרץ 2024 (IST)תגובה