MediaWiki talk:Edittools
Would anyone be opposed to adding something similar to Wikipedia's Wikipedia:MediaWiki:Edittools? I kind of get tired switching between English, German, and Polish keyboards when the need arises, because it can be quite difficult to revert back to the English keyboard. I think it would benefit other users too.
We don't need everything Wikipedia uses and we could edit it to suit our needs and I have some ideas including automagically loading listing tags. -- (WT-en) Andrew H. (Sapphire) 07:31, 29 November 2006 (EST)
- AWESOME. As far as I'm concerned, proceed at will. --(WT-en) Evan 17:10, 29 November 2006 (EST)
- Thanks. Proceeding at will. -- (WT-en) Andrew H. (Sapphire) 22:58, 30 November 2006 (EST)
- I need to fix a few things. -- (WT-en) Andrew H. (Sapphire) 22:58, 30 November 2006 (EST)
- Actually, I have no idea how to fix these problems. When I introduce this to the MediaWiki namespace the tildes show up as my signature and several of the templates actually display rather than just the text giving you the option to load them. Can anyone who can force computers act the way you want them to take a stab at this? I'd appreciate it. -- (WT-en) Andrew H. (Sapphire) 23:32, 30 November 2006 (EST)
- I need to fix a few things. -- (WT-en) Andrew H. (Sapphire) 22:58, 30 November 2006 (EST)
- Thanks. Proceeding at will. -- (WT-en) Andrew H. (Sapphire) 22:58, 30 November 2006 (EST)
Listings?
editWhat about adding some listings with the recommended fields already in there, like the following? --(WT-en) Evan 16:57, 11 December 2006 (EST)
Attractions: * <see name="" address="" phone="" hours="" price="" url=""></see>
Activities: * <do name="" address="" phone="" hours="" price="" url=""></do>
Restaurants: * <eat name="" address="" phone="" hours="" price="" url=""></eat>
Bars and clubs: * <drink name="" address="" phone="" hours="" price="" url=""></drink>
Hotels: * <sleep name="" address="" phone="" checkin="" checkout="" price="" url=""></sleep>
Other listings: * <listing name="" address="" phone="" hours="" price="" url=""></listing>
- WikiWonderful! -- (WT-en) Ricardo (Rmx) 17:02, 11 December 2006 (EST)
- Great! I was going to do that, but scratched it after I couldn't figure out why the set wasn't displaying correctly. I've since figure it out. We might even be able to condense the other fields already included. -- (WT-en) Andrew H. (Sapphire) 17:05, 11 December 2006 (EST)
Bump
editSomething like this:
Sign your name: ~~~~ IsIn: {{IsIn|}} Geo: {{geo|lat|long}}
Wiki markup:
{{}}
|
[]
[[]]
[[Category:]]
#REDIRECT [[]]
<includeonly></includeonly>
<noinclude></noinclude>
+
Currency:
¢
$
€
£
฿ (baht) 元
CHF
Kč
kr
mk
Rs
zł
Characters:
Á
á
Ć
ć
É
é
Í
í
Ĺ
ĺ
Ń
ń
Ó
ó
Ŕ
ŕ
Ś
ś
Ú
ú
Ý
ý
Ź
ź
À
à
È
è
Ì
ì
Ò
ò
Ù
ù
Â
â
Ĉ
ĉ
Ê
ê
Ĝ
ĝ
Ĥ
ĥ
Î
î
Ĵ
ĵ
Ô
ô
Ŝ
ŝ
Û
û
Ŵ
ŵ
Ŷ
ŷ
Ä
ä
Ë
ë
Ï
ï
Ö
ö
Ü
ü
Ÿ
ÿ
ß
Ã
ã
Ẽ
ẽ
Ĩ
ĩ
Ñ
ñ
Õ
õ
Ũ
ũ
Ỹ
ỹ
Ç
ç
Ģ
ģ
Ķ
ķ
Ļ
ļ
Ņ
ņ
Ŗ
ŗ
Ş
ş
Ţ
ţ
Đ
đ
Ů
ů
Ǎ
ǎ
Č
č
Ď
ď
Ě
ě
Ǐ
ǐ
Ľ
ľ
Ň
ň
Ǒ
ǒ
Ř
ř
Š
š
Ť
ť
Ǔ
ǔ
Ž
ž
Ā
ā
Ē
ē
Ī
ī
Ō
ō
Ū
ū
Ȳ
ȳ
Ǣ
ǣ
ǖ
ǘ
ǚ
ǜ
Ă
ă
Ĕ
ĕ
Ğ
ğ
Ĭ
ĭ
Ŏ
ŏ
Ŭ
ŭ
Ċ
ċ
Ė
ė
Ġ
ġ
İ
ı
Ż
ż
Ą
ą
Ę
ę
Į
į
Ǫ
ǫ
Ų
ų
Ḍ
ḍ
Ḥ
ḥ
Ḷ
ḷ
Ḹ
ḹ
Ṃ
ṃ
Ṇ
ṇ
Ṛ
ṛ
Ṝ
ṝ
Ṣ
ṣ
Ṭ
ṭ
Ł
ł
Ő
ő
Ű
ű
Ŀ
ŀ
Ħ
ħ
Ð
ð
Þ
þ
Œ
œ
Æ
æ
Ø
ø
Å
å
Ə
ə
Greek:
Ά
ά
Έ
έ
Ή
ή
Ί
ί
Ό
ό
Ύ
ύ
Ώ
ώ
Α
α
Β
β
Γ
γ
Δ
δ
Ε
ε
Ζ
ζ
Η
η
Θ
θ
Ι
ι
Κ
κ
Λ
λ
Μ
μ
Ν
ν
Ξ
ξ
Ο
ο
Π
π
Ρ
ρ
Σ
σ
ς
Τ
τ
Υ
υ
Φ
φ
Χ
χ
Ψ
ψ
Ω
ω
Cyrillic: А
а
Б
б
В
в
Г
г
Ґ
ґ
Ѓ
ѓ
Д
д
Ђ
ђ
Е
е
Ё
ё
Є
є
Ж
ж
З
з
Ѕ
ѕ
И
и
І
і
Ї
ї
Й
й
Ј
ј
К
к
Ќ
ќ
Л
л
Љ
љ
М
м
Н
н
Њ
њ
О
о
П
п
Р
р
С
с
Т
т
Ћ
ћ
У
у
Ў
ў
Ф
ф
Х
х
Ц
ц
Ч
ч
Џ
џ
Ш
ш
Щ
щ
Ъ
ъ
Ы
ы
Ь
ь
Э
э
Ю
ю
Я
я
Article status templates:
{{vfd}}
{{stub}}
{{outline}}
{{usable}}
{{guide}}
Articles needing attention templates:
{{status}}
{{copyvio|URL}}
{{merge|Destination}}
Info templates:
{{infobox|Title|Info}}
{{disclaimerbox|Disclaimer}}
{{warningbox|Warning}}
Content templates:
{{eatpricerange|budget|midrange|splurge}}
{{sleeppricerange|budget|midrange|splurge}}
Attractions: * <see name="" address="" phone="" hours="" price="" url=""></see>
Activities: * <do name="" address="" phone="" hours="" price="" url=""></do>
Restaurants: * <eat name="" address="" phone="" hours="" price="" url=""></eat>
Bars and clubs: * <drink name="" address="" phone="" hours="" price="" url=""></drink>
Hotels: * <sleep name="" address="" phone="" checkin="" checkout="" price="" url=""></sleep>
Other listings: * <listing name="" address="" phone="" hours="" price="" url=""></listing>
{{status}}
editThis template doesn't exist... was about to remove it, but just checking that I'm not missing something.... – (WT-en) cacahuate talk 01:47, 1 June 2007 (EDT)
- Alright, I removed it... let me know if it had some purpose that I'm overlooking – (WT-en) cacahuate talk 02:11, 7 June 2007 (EDT)
isIn --> isPartOf
editMy understanding is that isPartOf is preferred over isIn. There has been some (albeit not much) discussion about updating isIn to work like isPartOf, but in lieu of that I think it make sense to make the preferred template the one to appear in the edit toolbar. Would anyone object to making that update? -- (WT-en) Ryan • (talk) • 01:55, 7 June 2007 (EDT)
- I still like IsIn, but I don't use the shortcut here anyway, so I won't complain if you change it. If anyone's interested in the previous conversation about it, see Project:Travellers'_pub#IsIn_vs_IsPartOf – (WT-en) cacahuate talk 02:11, 7 June 2007 (EDT)
- I'll hold off until a template emerges victorious from the isIn / isPartOf war. -- (WT-en) Ryan • (talk) • 02:25, 7 June 2007 (EDT)
Unclosed tags
editAs an aside, this template is missing a closing </div> tag, a closing </small> tag, and a closing </span> tag for the "characters" section. The site is running a bit slow now so I don't want to make an update and kill the cache, but the next time this template is updated those tags should probably be fixed. -- (WT-en) Ryan • (talk) • 01:59, 7 June 2007 (EDT)
- There haven't been any edits on the site for the last fifteen minutes, so I've gone ahead and fixed this, likely killing the cache in the process. -- (WT-en) Ryan • (talk) • 02:25, 7 June 2007 (EDT)
Currency
edit- Swept in from the pub
The click-to-insert area of the edit page lacks ¥. Are we planning to use ¥ or 元 in English on China pages? --(WT-en) Rogerhc 19:08, 13 June 2007 (EDT)
Currency: ¢ $ € £ ฿ (baht) 元 CHF Kč kr mk Rs zł
lacks ¥
- Good point, I added it – (WT-en) cacahuate talk 22:44, 13 June 2007 (EDT)
- Definitely ¥, we're not Chinese (and I've removed the 元 sign). See also Project:Currency. (WT-en) Jpatokal 23:26, 13 June 2007 (EDT)
- I prefer 元 on China pages where it is the local currency. ¥ feels less indigenous, more pretentious to me there. Any reason why we shouldn't simply use the indigenous 元 on China pages? --(WT-en) Rogerhc 17:02, 14 June 2007 (EDT)
- Because "元" is not English: we don't use 円 for Japanese yen or บาท for Thai baht either. ¥ is instantly comprehensible as long as you know that the local currency is the Yuan, whereas 元 isn't and many browsers won't even show it right. (WT-en) Jpatokal 23:28, 14 June 2007 (EDT)
- Which browsers wont show 元 right? --(WT-en) Rogerhc 19:34, 17 June 2007 (EDT)
- Any browser(/PC) without Chinese fonts installed. (WT-en) Jpatokal 08:09, 18 June 2007 (EDT)
- Which browsers wont show 元 right? --(WT-en) Rogerhc 19:34, 17 June 2007 (EDT)
- Because "元" is not English: we don't use 円 for Japanese yen or บาท for Thai baht either. ¥ is instantly comprehensible as long as you know that the local currency is the Yuan, whereas 元 isn't and many browsers won't even show it right. (WT-en) Jpatokal 23:28, 14 June 2007 (EDT)
- Personally I'd prefer RMB since I can type that and that is what I see most in China, after 元. Howevr, I can live with the current compromise and use "¥". See discussion at Talk:China. (WT-en) Pashley 01:29, 15 June 2007 (EDT)
- Is there any reason to not offer both in the Currency section of your EditTools button section? Also, I'm curious as to why you have your EditTools section as a linkset the adds the text rather than the actual buttons, do you need any help in implementing the buttons and javascript sections? -- Technical 13 (Message • IRC) 13:46, 6 February 2013 (UTC)
- What do you mean by "the actual buttons"? LtPowers (talk) 18:18, 16 February 2013 (UTC)
- Is there any reason to not offer both in the Currency section of your EditTools button section? Also, I'm curious as to why you have your EditTools section as a linkset the adds the text rather than the actual buttons, do you need any help in implementing the buttons and javascript sections? -- Technical 13 (Message • IRC) 13:46, 6 February 2013 (UTC)
nowiki tags
editThere are a set of nowiki tags hidden after a set of noinclude tags on the Wiki markup: line. I have fixed on shared:, but I can't do here because no sysop status. So please someone make them nested like this :
<charinsert><nowiki><nowiki>+</nowiki></nowiki></charinsert>
-- (WT-en) Tatata 06:21, 22 June 2007 (EDT)
Special characters?
editThe special characters bit of the Edittools box was removed by User:(WT-en) Sapphire a while back. Was there a reason other than the potential copyvio from Wikipedia? I'm not sure you can copyright a list of characters and a span tag... (WT-en) Jpatokal 06:19, 12 July 2007 (EDT)
- No, that was the reason... if you don't think it's a copyvio, let's put it back! It's handy – (WT-en) cacahuate talk 03:48, 13 July 2007 (EDT)
Upload form
editIs there a way to suppress this from the upload form? It's a giant block of irrelevant stuff that distracts from the (very) important upload information. --Peter Talk 19:10, 6 December 2012 (UTC)
- OK, I found it. But am failing to get the charinsert to work. Could someone take a look. --Peter Talk 19:17, 6 December 2012 (UTC)
- Found what? Anyway, it seems like we could use the parser tools and a magic word to display it different depending on the namespace. MediaWiki:Newarticletext already does this; it displays different text depending on whether the page is being created in mainspace or Talk or User or User talk. If none of those, it displays nothing. LtPowers (talk) 21:43, 6 December 2012 (UTC)
- Sorry, meant to link MediaWiki:Edittools-upload. --Peter Talk 22:10, 6 December 2012 (UTC)
tollfree
editThe edit tools currently provide the blank listing format as * <listing name="" alt="" directions="" address="" phone="" email="" fax="" url="" hours="" price=""></listing> - this is missing the tollfree="" lat="" long="" fields for all versions (see, do, pillage, burn...) of the tag. Could this be fixed to at least include tollfree="" as that gets used fairly often? K7L (talk) 00:01, 7 December 2012 (UTC)
- It's not often used, to my recollection. LtPowers (talk) 00:33, 7 December 2012 (UTC)
Status templates
editAlmost all of our articles already have a status template, especially if the article outline was initially constructed using any of our common methods. When a status changes, I suspect most people simply change the template name rather than deleting it and inserting a new one. Given all this, is it necessary to have the article status templates occupying an entire line (near the top, no less) of the edittools? LtPowers (talk) 14:15, 3 January 2013 (UTC)
- I don't think so, and have removed them. If anyone disagrees, please revert. --Peter Talk 22:30, 3 January 2013 (UTC)
Add non-breaking space to edittools
edit- Swept in from the pub
Wikivoyage:Measurements#Avoid orphaned units suggests using non-breaking spaces. I wonder if
could be added to edittools, say on the wiki markup line. I can never remember the exact code and always have to look it up. Nurg (talk) 23:53, 8 February 2013 (UTC)
- Done. LtPowers (talk) 04:00, 17 February 2013 (UTC)
- Ahhhhhhhh, so you're the go-to man, Lieutenant!?
- Please would you also add to the edit tools both the tollfree=""and lat=""and long="" XML tags now they're working properly, together with the missing currency symbols talked about here: Wikivoyage talk:Currency
- Thanks in anticipation. -- Alice✉ 05:52, 17 February 2013 (UTC)
- Any admin can edit MediaWiki:Edittools; I'll leave the requested change to those more familiar with that particular arena. LtPowers (talk) 16:25, 17 February 2013 (UTC)
I've made a few additions, including lat, long, & tollfree. Additional currency symbols & useful templates have been added as well (diff). AHeneen (talk) 19:52, 17 February 2013 (UTC)
Currency symbols that don't display properly
editI've added two currency symbols that were just recently given Unicode/HTML codes and currently don't display properly to me (up-to-date versions of Windows 7/Firefox 18) and probably most other users. They are the w:Armenian dram sign...֏...and the w:Turkish lira sign...₺. Short of excluding the symbols altogether, there are two ways to handle these symbols:
- Keep the symbols in the edittools on the assumption that most browsers and operating systems will soon be updated and properly display the symbols. This way, the symbols can be added in the proper locations on WV pages without the need to be tweaked in the future.
- Create templates. This is how the symbol is handled on WP...w:Template:Turkish lira (clicking on the symbol leads to w:Turkish lira...the template would need to be fixed to only display image) & w:Template:Armenian dram. Insert these currency symbols in the edittools template as their respective image (create blue version of their svg file: lira dram), but when a user clicks on one, it is added into the edit box as the template (ie. {{lira}} or {{dram}}). This may be the optimal solution and could be replaced with a bot a few years in the future, when the symbol displays correctly on most devices.
Thoughts? On a related note, I've organized the currency symbols based on their appearance to the Latin alphabet, followed by Cyrillic symbols, then other symbols. This is somewhat based on w:Template:Currency signs and will make it easier to locate the right symbol rather than having to look through the 28 symbols for the right one. It would be really helpful to have code added so that a box with the symbol's name appears when your mouse hovers over it (eg. hover mouse over ₹ and a small box with "Rupee" appears). This would be tricky with the dollar sign, used for currencies with several names, but it's probably famous enough to be called just "Dollar" (especially for English-speakers. AHeneen (talk) 20:48, 17 February 2013 (UTC)
- In addition to dram and lira, rupee doesn't display correctly for me. LtPowers (talk) 01:55, 18 February 2013 (UTC)
- Me neither. Ikan Kekek (talk) 02:44, 18 February 2013 (UTC)
- So would the two of you support adding templates for these symbols? They exist and are in use, so Wikivoyage will need to include them. AHeneen (talk) 03:26, 18 February 2013 (UTC)
- Yes, I would support that. It's user-friendly. Ikan Kekek (talk) 03:38, 18 February 2013 (UTC)
- I support both the template additions and the suggestion that the template is updated so that the English names of the symbol are displayed as mouse pointer hover text (except for the $ symbol which is too well known to need it and is used by many different currencies). -- Alice✉ 04:49, 18 February 2013 (UTC)
- For the dram and lira, I could potentially support the use of a template. Another alternative could be to keep the status quo, and take another look at this in 6 months and see if anything has changed. For the Indian rupee, the new symbol has been in use for a few years now, and most browsers and OSes should have adopted it. What browser/OS are you using that doesn't display ₹? The most backwards compatibility we'd want to bother with is Windows XP and probably Internet Explorer 7+. JamesA >talk 06:04, 18 February 2013 (UTC)
- XP with Firefox 18. LtPowers (talk) 13:15, 18 February 2013 (UTC)
- For the dram and lira, I could potentially support the use of a template. Another alternative could be to keep the status quo, and take another look at this in 6 months and see if anything has changed. For the Indian rupee, the new symbol has been in use for a few years now, and most browsers and OSes should have adopted it. What browser/OS are you using that doesn't display ₹? The most backwards compatibility we'd want to bother with is Windows XP and probably Internet Explorer 7+. JamesA >talk 06:04, 18 February 2013 (UTC)
- I support both the template additions and the suggestion that the template is updated so that the English names of the symbol are displayed as mouse pointer hover text (except for the $ symbol which is too well known to need it and is used by many different currencies). -- Alice✉ 04:49, 18 February 2013 (UTC)
- Yes, I would support that. It's user-friendly. Ikan Kekek (talk) 03:38, 18 February 2013 (UTC)
- So would the two of you support adding templates for these symbols? They exist and are in use, so Wikivoyage will need to include them. AHeneen (talk) 03:26, 18 February 2013 (UTC)
- Me neither. Ikan Kekek (talk) 02:44, 18 February 2013 (UTC)
- In addition to dram and lira, rupee doesn't display correctly for me. LtPowers (talk) 01:55, 18 February 2013 (UTC)
- It should only be necessary to install truetype fonts, not an entire browser or OS, to get additional characters. Win NT2000 onward support Unicode, as does Linux. Then again, € didn't exist when Win98 was released and had to be patched in later. K7L (talk) 15:08, 18 February 2013 (UTC)
- Windows XP with Firefox 19.0. Anything that requires the installation of additional software or new fonts of any kind is user-unfriendly. If we are not concerned about supporting legacy platforms, we also should stop being concerned about legacy internet connections, like the slow dialups from far-flung internet centers that get mentioned so often when we discuss the importance of excluding large files from our guides. And I would disagree with that, because serving the traveler should extend to both legacy platforms (within reason) and limitations on the availability of fast (or even any) internet around the world. Ikan Kekek (talk) 20:04, 18 February 2013 (UTC)
Update
editNow that we have decided to prefix currency amounts with the three letter ISO 4217 code for the currency in block capitals and no intervening space (except for the countries specifically excepted I think it would be better if
1) these notations were removed from the picklist so that it's not too easy to add them back in again to prices contrary to our simplified policy: ₵ ₡ ₫ ƒ ₲ ₭ ₦ ৳ ₸ ₮ ₺ zł лв РСД ֏ ៛ ₴
The symbols that are specifically excepted should, of course, be retained: ¢ € Kč £ ₱ $ ₩ ¥ ₪ ₹
2) these commonly used non-currency notations are added:
m² m³ ° ☎
(I know they can be found after clicking "Special Characters" and then "Symbols" - but then so can the symbol for Korean won ₩ and other currency symbols - the degree and square symbols are used more frequently in articles)
3) code were added so that a box with the symbol's name appears when your mouse hovers over it (eg: hover mouse over ₹ and a small box with "Rupee" appears - it would be really helpful to have). Thanks in advance! --W. Franke-mailtalk 09:34, 31 August 2013 (UTC)
- Is there consensus on this? The proposed currency symbols look fine to me, but the degree sign is already present and I don't think the telephone should be added at all. -- torty3 (talk) 12:39, 6 December 2013 (UTC)
Sidebar templates section should be removed
editUse of [[Wikipedia: ]] and [[Commons: ]] is deprecated. This functionality is now handled by Wikidata and these links will stop working once the RelatedSites extension is turned off (which will probably be soon). See discussion at Wikivoyage:Travellers' pub#We need to remove all the RelatedSites links. The {{related}} template is no longer a Sidebar template (these links are now displayed at the bottom of the page) and it isn't used frequently enough to put it in Edittools, IMO. Thus I think we should just remove this whole section. Kaldari (talk) 20:46, 8 February 2018 (UTC)
- I've gone ahead and removed the templates. Kaldari (talk) 16:11, 11 February 2018 (UTC)
"Talk pages only"
editI think the "Talk pages only" text has been odd. Why include the tildes on non-talk pages in the first place? Consistency is of course good, but I don't think not finding it when editing articles will confuse anybody.
There is the problem that not all discussions are in the talk namespaces (think Travellers' pub), but I think signatures are not needed in article, template or mediawiki namespaces – and those needing signatures in those namespaces should be able to type the tildes or to copy them from elsewhere. You'd still get the slightly annoying text when editing guidelines or expedition pages – or perhaps we could do without the comment in those contexts.
I make a try now. For simplicity, I remove the line from main namespace edits only, and remove the comment from the article talk namespace, leaving the tildes. I don't remember how you get "or" in an elegant way, which would allow adding more namespaces without making the code convoluted.