Module:Libyan Civil War detailed map/doc: Difference between revisions

Content deleted Content added
Changing "Save changes" to "Publish changes" to accord with wiki-wide name-change in the editing tools)
 
(5 intermediate revisions by 2 users not shown)
Line 1:
{{anchor|Rules for editing the map}}{{tmbox
| type = notice
| image = [[File:Commons-emblem-hand-orange.svg|40px]]
| text = '''Rules for Editing the Map'''
 
1- '''A reliable source for that specific edit should be provided'''.
<br>a) A well-known source that has a reputation for neutral (not biased) territorial control coverage, can be used (is deemed reliable) for all edits.
<br>b) A well-known source that does ''not'' have a reputation for neutral (not biased) territorial control coverage, can be used (is deemed reliable) ''only'' for edits that are ''unfavorable'' to the side it ''prefers'' (''favorable'' to the side it ''opposes'').
<br>c) A source that is not well-known (or that has proven inaccurate for all edits) ''cannot'' be used (is deemed unreliable) for ''any'' edit. This includes all maps (see item 2- next).
 
2- '''Copying from maps is strictly prohibited'''. Maps from mainstream media are approximate and therefore unreliable for any edit. Maps from amateur sources are below the standards of Wikipedia for any edit. They violate WP:RS and [[WP:CIRCULAR]].
<br>WP:RS: “Anyone can create a personal web page or publish their own book, and also claim to be an expert in a certain field. For that reason, self-published media, such as books, patents, newsletters, personal websites, open wikis, personal or group blogs, Internet forum postings, and tweets, are largely not acceptable as sources.” Source: [[Wikipedia:Verifiability#Self-published_sources]]
<br>WP:CIRCULAR: “Do not use websites that mirror Wikipedia content or publications that rely on material from Wikipedia as sources.”<br>''See also: [[Wikipedia:Top 10 reasons why copying from maps is strictly prohibited on the Wikipedia Syria war map]].''
 
3- '''WP:POV pushing and intentional misinterpretation of sources will not be tolerated.''' If you are not sure about what the source is saying (or its reliability), post it on the talk page first so that it can be discussed.<br>''See also: [[Wikipedia:Top 10 myths about the Wikipedia Syria war map]].''
}}
 
[[Template:Libyan Civil War detailed map]]
 
== Contested icon ==
===Definition===
The purpose of the contested icon ([[File:80x80-grey-black-anim.gif|11px]]) is to show 2 groups of soldiers fighting over control of a town, and that there is a significant number of troops ''inside'' the city actively holding territory. We generally turn a town contested based on ''widespread'' clashes reports. Contested means we cannot say one specific side controls the town. There should be evidence that the enemy is ''inside'' the town, which is a necessary (but not sufficient) condition for making a town contested. Contested status is appropriate if the town in question is controlled partly by one party, and partly by another. For example, it could be that one party controls the outer neighborhoods, while the other party holds the city center.
 
===Examples of cases where the contested icon should ''not'' be used===
* A case where there was no chance of the enemy taking the town over, and only, small clashes were going on in the town. We don't put towns contested if there are only sporadic clashes. So reports of clashes are not always enough to mark a town as contested.
* A case where there were clashes in a town with a handful of enemy fighters and the clashes were over after some hours. For example if source says: "… at least six insurgents were killed during the clashes … while the rest of militants escaped on Saturday evening”
* A case where there was just one source about clashes in a major town and what occurred was essentially a small firefight. Sleeper cells infiltrated the town and shot at some soldiers, and the soldiers shot back and killed some of them. The source then reports the rest of the fighters as having fled the battlefield. So this was a one-off, hit-and-run attack, not a serious attempt to grab and ''hold'' parts of the town.
* A case where there were many separate reports of rebel ambushes on army checkpoints so this was not a ''seizure of territory'' inside of the town. The rebels do not control any part of the town, so a contested icon is unwarranted.
* A case where the enemy reached city limits. Well, they still haven't entered the city proper (which is the prerequisite for marking the city as "contested") When the city really becomes contested, a bunch of news outlets will be reporting on it. Just because there is enemy at gates does not mean it is contested. The enemy needs to be making progress in the city.
* The evidence should be especially strong to turn a “stronghold” contested. A few clashes, especially on the periphery are not enough. There should be evidence that the enemy can do more than just hit & run attacks. In these cases, a semi-circle is often enough.
 
===Cities===
[[File:Largecitycontested.png|thumb|250px|right]]The larger the size of the town, the more evidence is needed to make it contested. This is even more so the case for cities. Large cities (such as province capitals) are almost never marked as contested. Instead we make image mini-maps for them or put small icons on them to represent neighborhoods that are contested or controlled by a specific party. In contrast, a simple clash report of a small unknown village can turn it contested.
 
'''For example''', we would not mark as contested a city where a party still controls 95% of the city. Instead we mark specific enemy positions on the outskirts of the city until fighting in the city becomes widespread. As nobody claims there is any fighting inside of the city, it should be marked as colored dot within a siege circle (see Figure 1). Then, advanced points in the city should be marked as small dots in the color of the enemy (or small contested icons). In this specific case, a "contested" icon was added to represent the "west side of the city" that is contested (see Figure 2). This is more informative to our viewers. Since the code puts icons on the map in the order of code lines (starting with first line of code and ending with last line of code), the small "contested" icon should come in the line ''after'' that of the (large) city icon. Otherwise, the small icon will be hidden by the large icon and will therefore be invisible.
 
After the fights become more widespread in the city (& enemy controls a larger part of the city), we can remove the "west side of the city" icon and turn the whole city contested (see Figure 3). After this, if we learn that the enemy has taken over the whole city except for a small pocket (in south east) that is still resisting, then we change the contested icon into the color of the enemy and put a small dot representing the small pocket that is still resisting (see Figure 4).
 
== Siege and pressure from one side icons ==
===Definition===
The siege icon ([[File:map-circle-black.svg|12px]]) should be used for towns that are under siege or strong enemy pressure. The “pressure from one side” icon ([[File:map-arcNE-black.svg|11px]]) should be used for towns that are under enemy pressure from one side.
 
===How to place these icons===
The easiest way to place these icons is to copy/paste the line code of the object you want to have a circle (or semi-circle) around it and then:
# Replace the mark = parameter with [[File:map-circle-black.svg|12px]] or [[File:map-arcNE-black.svg|11px]]
# Increase marksize = parameter by 4. So for example, if the town dot has a size of 10, then the circle (or semi-circle) should have a size of 14.
 
Always put line of code circle (or semi-circle) ''before'' line of code of town (or other object). This is because the code puts icons on the map in the order of code lines starting with first line of code and ending with last line of code. If you put the line of code that draws the circle (or semi-circle) icon ''after'' the line of code that draws the town icon then the computer puts the town icon first and then put the circle (or semi-circle) icon on top of it. The town icon still appears because the circle (or semi-circle) is drawn on a transparent background. However, even a transparent background does obstruct the name of the town icon from appearing. So, the name of the town will not appear when you hold cursor over it.
 
'''Example:'''
* Correct: <syntaxhighlight lang="lua">{ lat = "33.972", long = "36.897", mark = "map-arcNE-black.svg", marksize = "12" },
{ lat = "33.972", long = "36.897", mark = "Abm-red+icon.png", marksize = "8", label = "Brigade 128", label_size = "0" },</syntaxhighlight>
* Wrong: <syntaxhighlight lang="lua">{ lat = "33.972", long = "36.897", mark = "Abm-red+icon.png", marksize = "8", label = "Brigade 128", label_size = "0" },
{ lat = "33.972", long = "36.897", mark = "map-arcNE-black.svg", marksize = "8" },</syntaxhighlight>
 
==Labels==
''Only'' towns & border posts can have blue visible wikilink labels. Whether a town has a blue visible wikilink label or not will depend on its size, importance and available space around it for the label to appear without obstructing other towns. If a wikilink label is used, it should not have a size that is smaller than 65 (label_size=65).
 
=="link=" parameter: linking towns to sources==
Line 20 ⟶ 76:
A quick look at the map's code will tell you where each town dot is currently linking.
 
'''Example 1: How to keep town dots linked to the ''latest'' status source when the town has its own Wikipedia article.'''. The example concerns the town of [[Al-Taybah]]. First, notice how there is: link = "[[Al-Taybah#civilwar]]" parameter associated with the code line of town Al-Taybah. As indicated above, this links the Al-Taybah town dot with the war section in the town's Wikipedia article. This parameter does not change over time. However, the war section in the town's Wikipedia article needs to stay ''up-to-date'' in terms of the latest control status and latest associated source. For example, on 20/08/2017 the government took the town. To keep the link up-to-date, this latest event (along with the source) needs to be added to the the war section in the town's Wikipedia article. To accomplish this, notice [https://en.wikipedia.org/w/index.php?title=Al-Taybah&diff=796465930&oldid=789256319 the following edit] which added to the article the following text:
 
<small><nowiki>However, in 20/08/2017, the Army stormed the Taybah area from their positions at the Al-Kom axis, pushing their way through ISIL's front-lines. Unable to maintain their positions, ISIL was forced to retreat from Taybah, leaving the entire area for the Army to take control of after a short battle.<ref>[https://www.almasdarnews.com/article/breaking-syrian-army-liberates-important-area-besiege-isil-north-palmyra/ Syrian Army liberates important area to besiege ISIL north of Palmyra], Al-Masdar news, 20/08/2017.</ref></nowiki></small>
Line 32 ⟶ 88:
Notice how the paragraph starts with the expression ''<nowiki>{{anchor|Kabajeb}}</nowiki>''. This guides the link to put the reader exactly at the beginning of the latest status & source. However, on 2017-09-04, the government took the town from ISIS. So the above link & source is no longer up-to-date. To stay up-to-date, you need to do 2 steps:
 
Step 1: Write about the new status in some "battle/offensive/etc..." article that relates to the town. Alternatively, you can find an up-to-date text that someone else wrote and procedeproceed to the next step. In our case, you find that someone wrote this updated status in the article [[Central Syria campaign (July 2017–present)]] which states in its code:
 
<small><nowiki>5th Corps alongside 18th Reserve Division captured the town of Kabajib during midday, while later in the day together with Tiger Forces captured al-Shulah.<ref>{{Cite news|url=https://www.almasdarnews.com/article/breaking-syrian-army-liberates-strategic-town-en-route-deir-ezzor-city/|title=Breaking: Syrian Army liberates strategic town en route to Deir Ezzor City|date=2017-09-04|work=AMN - Al-Masdar News {{!}} المصدر نيوز|access-date=2017-09-04|language=en-US}}</ref></nowiki></small>
 
This is exactly what we need. Therefore, we procedeproceed to the next step.
 
Step 2: In the map code, we need to update the link parameter to point to the new status in the new article. [https://en.wikipedia.org/w/index.php?title=Module:Syrian_Civil_War_detailed_map&diff=799666773&oldid=799624578 This edit] does this. As you can see, the link was changed from link="[[Deir ez-Zor offensive (April–July 2014)#Kabajeb]]" to link="[[Central Syria campaign (July 2017–present)#Kabajeb]]". However, for this to work, we need to also put the expression <nowiki>{{anchor|Kabajeb}}</nowiki> at the beginning of the part in the new article that talks about the new status. This is done in [https://en.wikipedia.org/w/index.php?title=Central_Syria_campaign_(July_2017%E2%80%93present)&diff=799653245&oldid=799649953 this edit].
 
'''Example 3: For another illustration on how the link= parameter and "anchor" template work, see [[Talk:Cities and towns during the Syrian Civil War/Archive 65#Link of Suran, Hama]].'''
 
==How to preview map before saving edit==
Line 44 ⟶ 102:
Before saving your changes (by clicking "Publish changes"), you should preview your edit (changes). This allows you to view the map to make sure it is what you want to do before saving and making the change appear on Wikipedia. To do this, type in the box under "Preview page with this module" the name of the template: "Template:Libyan Civil War detailed map". Then hit "Show preview".
 
==How war map module work with other parts of Wikipedia==
<noinclude>{{#invoke:Location map/multi|load|Module:Libyan Civil War detailed map}}</noinclude>
 
[[File:How war map templates and modules work.png|1150px|left]]
 
<noinclude>{{#invoke:Location map/multi|load|Module:Libyan Civil War detailed map}}</noinclude>
[[Category:Module documentation pages]]
</noinclude>