MediaWiki talk:Edittools

Latest comment: 2 years ago by LPfi in topic "Talk pages only"

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)

Listings? edit

What 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 edit

Something like this:

{{status}} edit

This 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 edit

My 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 edit

As 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)
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 (MessageIRC) 13:46, 6 February 2013 (UTC)
What do you mean by "the actual buttons"? LtPowers (talk) 18:18, 16 February 2013 (UTC)Reply

nowiki tags edit

There 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? edit

The 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 edit

Is 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)Reply

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)Reply
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)Reply
Sorry, meant to link MediaWiki:Edittools-upload. --Peter Talk 22:10, 6 December 2012 (UTC)Reply

tollfree edit

The 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)Reply

It's not often used, to my recollection. LtPowers (talk) 00:33, 7 December 2012 (UTC)Reply
A bit chicken and egg - however, I believe that all three have now been added, so I thank our unknown benefactor. -- Alice 04:45, 18 February 2013 (UTC)

Status templates edit

Almost 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)Reply

I don't think so, and have removed them. If anyone disagrees, please revert. --Peter Talk 22:30, 3 January 2013 (UTC)Reply

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 &nbsp; 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)Reply

Done. LtPowers (talk) 04:00, 17 February 2013 (UTC)Reply
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)Reply

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)Reply

Currency symbols that don't display properly edit

I'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:

  1. 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.
  2. 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)Reply

In addition to dram and lira, rupee doesn't display correctly for me. LtPowers (talk) 01:55, 18 February 2013 (UTC)Reply
Me neither. Ikan Kekek (talk) 02:44, 18 February 2013 (UTC)Reply
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)Reply
Yes, I would support that. It's user-friendly. Ikan Kekek (talk) 03:38, 18 February 2013 (UTC)Reply
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)Reply
XP with Firefox 18. LtPowers (talk) 13:15, 18 February 2013 (UTC)Reply
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)Reply
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)Reply

Update edit

Now 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)Reply

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)Reply

Sidebar templates section should be removed edit

Use 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)Reply

I've gone ahead and removed the templates. Kaldari (talk) 16:11, 11 February 2018 (UTC)Reply

"Talk pages only" edit

I 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.

LPfi (talk) 10:49, 22 May 2021 (UTC)Reply

Return to "Edittools" page.