Talk:VisualEditor/Archive 1

Keyboard behavior
Is there any document specifying how the keyboard should behave in the visual editor?

If i understand correctly, it doesn't use the regular editing controls that a user would expect in a textarea. The arrows may move the cursor correctly, but other keys may work unexpectedly or not work at all. For example, Ctrl-Home should jump to the beginning of the editing area, but if not configured properly, it may jump to the top of the page (this happened in Google Translator Toolkit last time i checked; the site doesn't seem to work now).

Some important keys that i can quickly recall: Home, End, Page up, Page down, Backspace, Delete, Ctrl-Home, Ctrl-End, Ctrl-→/←, Ctrl-Shift-→/←, Shift-→/←. There are certainly more. --Amir E. Aharoni 12:17, 11 October 2011 (UTC)
 * ... Oh, and also Ctrl-X and Ctrl-Z. Very important. --Amir E. Aharoni 13:43, 16 October 2011 (UTC)
 * Visual editor/Features. --Yair rand 00:55, 23 November 2011 (UTC)

Testers
Bensin (Lämna Skottland!) volunteers to beta test the visual editor once it's ready for testing. Sumanah 20:34, 27 October 2011 (UTC)

Luis Orlando volunteers to beta test the visual editor too. --Luis Orlando 14:08, 23 January 2012 (UTC)

Charles Dayton from Wikipedia.org volunteers to beta test the visual editor. CharlesDayton (talk) 17:37, 16 February 2012 (UTC)

Justin West volunteers to test in a limited production environment. Jwestyp (talk) 02:36, 6 June 2012 (UTC)

Nicholas Wilson volunteers to test in a production environment alongside an existing mediawiki deployment. Nick Wilson (talk) 20:25, 26 June 2012 (UTC)

Sal Quintanilla volunteer to test on our engineering intranet site. --Salquint (talk) 02:06, 23 September 2012 (UTC)

Important Details
Note that headings should have these little space characters. e.g. "== heading ==" instead of "==heading==". I propose there should be an intelligent algorithm which type of style is mainly used in one article and then go on with using this style.

It also has problems with preformatted text. Just try to make a new paragraph in a preformatted text!

I think it's still too dificult to set interwiki links with this new editor. You also may make sure that this visual editor has a lot of key bindings.--217.251.244.219 19:55, 17 December 2011 (UTC)
 * And another problem: If you have an empty heading or anything else empty on top of the page it should be converted into a plain paragraph if you use the "delete" button of your keyboard. Using the mouse to change the type is too difficult. --217.251.244.219 19:58, 17 December 2011 (UTC)

Heading problem
I want to point out, that the selection of the Heading is a real PROBLEM. We don't want presentational Layout but structured Layout. How do you make sure that people take the right Heading? With the current version of the editor which is deployed everywhere this is no problem, because people are forced to use the right heading. But how do you make sure that people don't use the Heading1 because they think that something is important but in reallity it should be heading3 ... i hope you understand what i mean.
 * How do you mean this is enforced in the current editor? From what I can tell this problem applies to that editor as well. Perhaps the distinction is that the structure is more apparent when viewing the wiki syntax in that case. --John Ericson 14:13, 18 December 2011 (UTC)
 * Yes, that is what i mean (the structure is more apparent when viewing the wiki syntax). This "forces" (at least me) to use a clean sturcture. Maybe you should show a hint "H1 ..." next to each Heading on the editing page (during editing). I think this would have the same effect.--92.203.104.91 08:23, 30 December 2011 (UTC)


 * "H1" is meaningless in a visual editor. You have to show the heading size to be clear on what it is. Badon 02:53, 9 January 2012 (UTC)
 * Now that I think about it, people don't understand "heading" either. To the average reader, they are "table of contents sections". Badon 02:56, 9 January 2012 (UTC)

Can this handle templates and tables?
Pretty much every Wikipedia article eventually runs into one of the two things that break pretty much all wiki visual editors -- tables and templates. Can this visual editor handle them? How are they implemented? How do you switch between entering template parameters and seeing the template? Is it laborious to figure out how to turn the visual editor off if that's what necessary to edit a template? For instance, a new editor wants to add some new information to the Barack Obama article on the English Wikipedia. How do they use a cite template without the ability to get into template editing? If they want to fix something or move something, will most of the page as it now stands essentially be locked to them, since they'd be unable to edit or manipulate the hundreds of current cite templates on the page? (Granted, the page is semi-protected, so it's going to be locked to them anyway, but after they're autoconfirmed will it still remain locked to them?) Then there are all the pages where tables are used to present well ordered information like: Or to put information on a webpage but (so as to not overwhelm the rest of a potentially small page) to make it "hidden" by default, which is usually done to include "here's lists of other related stuff" on the bottom of "linked" webpages, such as pages for bits of a series: Or to sort information (especially useful on particularly large tables -- click the up/down arrows to sort by that column) for instance if you want to see sports figures ranked by goals, or by some other metric, and they're initially ranked by name or team or some other standard than by how you'd like the list to be presented: Either a template or a table are seen on every English Wikipedia article that isn't a stub or something like that (all 3+ million of those article pages) and even on most stubs, since pages have infobox templates, stub-marking templates, etc. If this visual editor cannot handle either templates or tables, it's going to be fairly useless for anything except the lightest of editing. If it can handle those, then this is the greatest thing since sliced bread. Banaticus 05:01, 10 January 2012 (UTC)


 * Tables are easy. If word processors can do it, then a "visual editor" can do it too. Templates are different - probably only the most commonly used ones would be easy to make available, like "citation needed". Beyond that, the domain is so unrestricted that it would probably have to be dealt with the hard way. But, if users want to do that sort of thing, they're probably beyond their need for a visual editor anyway. Badon 06:04, 10 January 2012 (UTC)


 * Parsoid currently round-trips tables, but only renders / expands templates. The editor currently supports neither. In Parsoid, we plan to support unexpanded template round-tripping at first (so the page will not be WYSIWYG wrt templates). Editing with expanded templates will then likely follow later. See Parsoid/HTML5 DOM with RDFa for some ideas on how this might look. -- Gabriel Wicke (GWicke) (talk) 12:08, 28 June 2012 (UTC)

Image Manipulation
A really useful feature would be integration with image uploads so that a user can click insert image, select the image locally or from the web and upload/insert it right from there, with no need to visit the upload page.

Parse error message replaces content ... and there's no way to revert!
I think a visual editor is sorely needed as a core Mediawiki feature and the current beta has a nice look.

Unfortunately, I suspect the current software isn't very robust -- while making edits on the test page the content was replaced with a parser error message.
 * There's no revert function yet, unfortunately.Jasper Deng (talk) 01:39, 24 June 2012 (UTC)


 * Do you have a pointer to the revision where this occured? -- Gabriel Wicke (GWicke) (talk) 10:13, 28 June 2012 (UTC)
 * Never mind- found it. -- Gabriel Wicke (GWicke) (talk) 10:28, 28 June 2012 (UTC)
 * Will be fixed with the next deploy. -- Gabriel Wicke (GWicke) (talk) 12:02, 28 June 2012 (UTC)

Is there an Updated Project Timeline?
All of the dates I see for when the VisualEditor will be available reflect a June (in the past) date. Would it be possible to project the estimated first release so that we have a date to plan against? Thanks, and excellent work!!!

FAQ: why it is difficult?
Hello folks,

In the context of editor decline and so on, the VisualEditor project and the promises of a bright future that come with it, are often mentionned when talking to the press and like :-)

Though, I noticed we regularly have the comment (especially in tech-centered press) “but what hasn’t it done before”, “why does it take so much time”, “there are already so many WYSIWYG-like editors out there” etc. etc, and we are a bit at loss to give a really good answer to that (rest assured that we know you people are not sitting on your hands :-)

Would you have some kind of quick explanation “Why is it hard?” that we could use, ie that would not go into too much technical details?

Thanks, Jean-Fred (talk) 13:52, 2 August 2012 (UTC)


 * Hi Jean-Fred, I get a lot of the same questions myself when I'm explaining this. What I tell people is that it's hard because:
 * 1) It's Open-Source (all the exampes they give of other ones are usually proprietary) so we have to "invent from scratch".
 * 2) It's not hard to create pages that are "born-WYSIWYG", but it is SUPER-hard to make it backwards-compatible so that existing articles (with all the templates, images, tables, references...) can be converted to WYSIWYG.
 * 2.1) Then, to make sure people can make diffs of articles, you need to be able to swap seamlessly back-and-forth between old and new styles without losing any data in-between. Best way of giving an example of why this is hard is to compare with any translation software going back-and-forth between two or three languages and watching the original sentence lose its meaning/nuance.
 * 3) Our WYSIWYG has to work in right-to-left and left-to-right as well as mathematical and many other obscure languages and font systems. So, while it might be easy to complete 90% of the use-cases for English/French, when you add in 280 languages plus all the different template/table requirements that *might* be used in articles, that last 10% breaks a lot of code.


 * Hope this helps, Wittylama (talk) 06:25, 24 September 2012 (UTC)
 * Yes, this helps. But one point. It would be less difficult if we would start with an simple editor that can use references but ignores tables. As You wrote: For 90 % of our writers and potentially writers this would be a milestone. It would be no problem then to add the other abilities one or two years later. --79.226.60.194 16:12, 28 December 2012 (UTC)
 * The blog entry you can point people to: https://blog.wikimedia.org/2012/12/07/inventing-as-we-go-building-a-visual-editor-for-mediawiki/ Sharihareswara (WMF) (talk) 22:34, 28 December 2012 (UTC)

VisualEditor without 'References' is useless
Our main problem is that new editors' changes are often rejeceted because of missing sources for their improvements. If references aren't made top priority in this project the VisualEditor will be no improvement for our main goal, to get more and more female long time editors.--79.226.60.194 16:06, 28 December 2012 (UTC)

How to use it?
What's the easiest way to use VisualEditor? Especially if I am not a registered Wikipedia user? Please post a link if possible.

I found this testing page but it won't work for me on InternetExplorer 8, which i must use currently.

I'm really looking forward to this, it will be a great improvement for the project. I am a frequent Internet user but not a registered Wikipedia member. Sometimes I feel I could contribute soemthing, but the wikiediting doesn't encourage me to do it. Awesome idea, keep on!


 * Hello! Thank you for your kind words; we certainly hope that VisualEditor will make editing Wikipedia (and our other wikis) easier and more encouraging.
 * That page is indeed the easiest way to quickly test out VisualEditor on MediaWiki. However, as you have noticed, it does not work in Internet Explorer 8 - we have managed to support Internet Explorer 9 and above, but unfortunately it looks like supporting MSIE 8 would take so much effort that we would not deliver any functionality at all. Sorry about that.
 * Jdforrester (WMF) (talk) 16:52, 28 February 2013 (UTC)

Deletes spaces before nowiki
Title says it all Stefahn (talk) 18:55, 2 May 2013 (UTC)

Tìm hiểu kỹ thuật nuôi cá cảnh biển
Nuôi cá cảnh biển khác với nuôi cá cảnh nước ngọt. Khi nuôi cá cảnh biển người nuôi phải chuẩn bị nhiều thứ cần thiết để cá phát triển như nguồn nước biển nhân tạo, thức ăn cho cá…

1.Nguồn nước: Nước có 2 loại là nước biển tự nhiên và nhân tạo. Trong nước biển tự nhiên có nhiều vi sinh vật khoáng chất tự nhiên mà nước biển nhân tạo không có được. Cách nhận biết nước biển nhân tạo là độ mặn nằm trong khoảng 20 phần ngàn, và khi nuôi được 3-4 tháng thì nền đáy bể cá đóng những lớp đen (dùng tỷ trọng kế để đo độ mặn). Khi nuôi cá cảnh bằng nước biển nhận tạo thì xuất hiện rêu màu xanh rất nhiều. Nước biển khi mua về trước tiên bạn phải để lắng những chất dơ có trong nước đồng thời phải cắm máy lọc liên tục ít nhất trong 5 ngày để lọc sạch nước đồng thời tạo thời gian cho vi sinh phát triển (chú ý: không nên thả cá vào bể nước mới việc này không tốt cho cá đồng thời dễ làm cá mắc các bệnh nấm thủy mi).

2.Hệ thống lọc: Đây là một điều hết sức quan trọng sau nguồn nước nó quyết định tới 90% sự sống của cá biển. Có hai hệ thống lọc thường dùng cho cá biển đó là lọc tràn và lọc đáy (tức khoan một lỗ dưới đáy bể hoặc bên hông bể cá). - Hệ Thống lọc tràn: Thường được đặt trong bể cá cảnh, ưu điểm là gọn đơn giản thích hợp cho những bể nhỏ khuyết điểm là lọc không sạch những chất cạn dơ dưới đáy bể làm mất thẩm mỹ khi trang trí bể cá. Mặt khác là có thể đưa ra ngoài bể một lượng chất thải của cá, rêu. Không tốn thêm 1 máy bơm nữa làm nhiệm vụ bơm nước ra khỏi bể rồi dẫn vào bể lọc đáy.

- Hệ thống lọc đáy : Ưu điểm là lọc sạch cặn dưới đáy bể không làm mất thẩm mỹ việc trang trí bể cá cảnh vì không thấy hộp lọc.Khuyết điểm là tốn kém mất nhiều công sức nhưng bù lại khi làm hệ thống lọc này tỷ lệ cá khỏe mạnh cao ít.

3.Cách chọn cá biển: Theo quan niệm của nhiều người cứ mua cá về thả tự nhiên thì thấy bể cá bị mất cá hoặc cá chết nhiều, cá bị rách vây,… vì lý do rất đơn giản là do chúng cắn nhau và hiện tượng cá lớn ăn cá bé.Vì vậy trước khi mua cá về thả nên nhờ người bán cá tư vấn những loài cá có thể sống hòa đồng với nhau.

4.Thức ăn cho cá biển: - Artemia: là loại trứng nghĩ, được sử dụng làm thức ăn cho các loài ấu trùng tôm cá nước mặn. Việc chuẩn bị ấp artemia rất phức tạp, tốn công. Thời gian ấp khoảng 24-37 tiếng thì artemia sẻ nở ra. - BoBo: thường được gọi là trứng nước, thường xuất hiện ở vùng ngập nước bẩn, chuyên được lấy làm thức ăn cho ấu trùng tôm cá nước ngọt. Nhược điểm của bobo là khi cho vào nước mặn thị nó sẽ chết lắng xuống đáy, làm dơ nước bể. - Thức ăn viên nổi (pellet feed): có rất nhiều trên thị trường cá cảnh, nên sử dụng loại thức ăn này. - Tép tươi: cũng là loại thức ăn được vớt ngoài thiên nhiên. Tép có nhiều kích cỡ phù hợp làm thức ăn cho cá cảnh ở nhiều độ tuổi. Ngoài chất dinh dưỡng, vỏ tép có chứa nhiều carotene giúp cá lên màu. Để giữ tép sống lâu chúng ta cần phải xục khí mạnh.Tép tươi cũng là loại thức ăn ít mầm bệnh. - Cá chép: là loại thức ăn phổ biến và tương đối rẻ tiền so với cá hoang và tép. Tuy nhiên, cá chép thường mang mầm bệnh và có thể truyền cho cá của bạn. Mầm bệnh mà cá chép thường lây truyền là bệnh đốm trắng hay trùng quả dưa (Itch - Ichthyophthirius multifiliis). Nên rửa sạch cá mồi trước khi cho cá ăn. Nếu kỹ lưỡng, chúng ta nên nuôi cá chép mồi trong bể riêng có bỏ chút muối để sát trùng, theo dõi cá mồi trong vài ngày và chữa bệnh cho chúng nếu thấy cần thiết.

5. Sử dụng thuốc vi sinh làm sạch bể cá cảnh biển Thường thì chúng ta sử dụng loại vi sinh phân hủy đáy, làm sạch nước cực mạnh cho ca canh như AQUARIUM CLEAR. bể cá biển không nên dùng các loại hóa chất để cắt tảo, rêu sẻ gây hại đến san hô, hải quỳ và cá.

6. Các thiết bị cần thiết cho bể cá cảnh biển - Hệ thống chiếu sáng: 2 bóng đèn xanh và hồng - Máy protein skimmer - Máy làm lạnh nước ( nếu nuôi san hô mềm) - Hộp lọc đáy - Máy bơm 2 cái

- Máy tạo sóng