Jump to content

VisualEditor/Feedback/Archive/2016/07

Add topic
From mediawiki.org
Latest comment: 9 years ago by Elitre (WMF) in topic Homogeneity improvement

Post your feedback about using the visual editor.

If you are reporting a problem directly on this page, please include your web browser, computer operating system, and wiki skin (usually Vector, sometimes Monobook). The feedback tool within the visual editor will include your user agent details instead.

Use this page to tell the Wikimedia developers your ideas and issues about using the visual editor. The Editing team welcomes your feedback and ideas, especially on user interface decisions and the priorities for adding new features. All comments are read, in any language, but personal replies are not guaranteed.

Please note that the Wikimedia Foundation does not provide support for installing VisualEditor on third-party wikis.

You may also want to read a guide to optimize the visual editor's experience on your site, which details work necessary on the community side (such as translating or setting up citation systems).

View open developer tasksReport a new bug in PhabricatorJoin the IRC channelTest the visual editor! (no account required)


VisualEditor changing Section names while using extension Discussionthreading

[edit]

I'm using both the VisualEditor and the DiscussionThreading extension. Discussion Threading shows the section links "New" "Edit" "Reply" to manage discussion threads. After refreshing a Talk page these links are shown for a second or so. After that they are replaced by "Edit source" "Edit source" "Reply". It looks like VisualEditor adapts the page and changes the section link names (the underlying links are not changed and do function). If I disable VisualEditor the section link names are not changed. I tried various combinations of tabMessages in LocalSettings.php but eventually I solved this in a quite rude manner by disabling the following line in: /var/lib/mediawiki/extensions/VisualEditor/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.init.js

if ( tabMessages.editsectionsource !== null ) {

//Tom20160624 commented out:  $editSourceLink.text( mw.msg( tabMessages.editsectionsource ) );

}. Suggestions for a more elegant solutions would be appreciated.

Kind regards,

Tom. 212.108.17.2 (talk) 13:08, 1 July 2016 (UTC)Reply

VE in wikisource page namespage

[edit]

thanks for adding the page name space

the editor appears to clip existing running header template in header

the inset > templates appears to not put the content inside the template but after (for small-caps and block center)

is there a way to insert section tags?

see this diff

https://en.wikisource.org/w/index.php?title=Page%3AEB1911_-_Volume_21.djvu%2F150&type=revision&diff=6309508&oldid=6309358 Slowking4 (talk) 16:29, 2 July 2016 (UTC)Reply

Incomplete search images insert media

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


How exactly does search for images work for dialog at Insert > Media?

I found out it only searches for whole words. But beyond that, sometimes images are not found while they exist in the wiki. For example, a document called "File:Test ONE two three.pdf", will be found if searching for "test", "one" or "two", but not if searching for "three". Where it will be found if searching for "three.pdf". Waanders (talk) 10:22, 7 July 2016 (UTC)Reply

Hi, how the search works depends on Mediawiki's search engine, not on VE. However, I meant to ask you for an existing example, as I want to try something. TY! Elitre (WMF) (talk) 10:38, 7 July 2016 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

insert pages not available; unable to edit in preview

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


i note that in wikisource insert > pages is not available

also when it was, it was intermittently unable to be edited after being previewed. in the screen shot note there is no edit or save button at the top Slowking4 (talk) 23:47, 7 July 2016 (UTC)Reply

Hi there! The people who are working on that seem to be available at Help_talk:VisualEditor/The_visual_editor_at_Wikisources_and_Wiktionaries. Would you mind asking your questions there? TY! Elitre (WMF) (talk) 09:44, 8 July 2016 (UTC)Reply
(although for this specific problem, let me also check with the VE team.) Elitre (WMF) (talk) 09:45, 8 July 2016 (UTC)Reply
First issue filed at https://phabricator.wikimedia.org/T139727 . Elitre (WMF) (talk) 09:49, 8 July 2016 (UTC)Reply
ok would you want me to change the default link on wikisource to mediawiki feedback here ?
https://en.wikisource.org/wiki/Wikisource:VisualEditor Slowking4 (talk) 10:03, 8 July 2016 (UTC)Reply
Why not. TY. Elitre (WMF) (talk) 10:05, 8 July 2016 (UTC)Reply
i see that insert > pages is back
thanks Slowking4 (talk) 12:04, 16 July 2016 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Media Upload: Tick / Hide "This is my own work" Checkbox

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


We use VisualEditor in corporate environments and users often complain about the "This is my own work" checkbox they have to tick before uploading. Is there a way to tick the checkbox by default or hide it at all? Planetenxin (talk) 07:48, 12 July 2016 (UTC)Reply

Let's find out. https://phabricator.wikimedia.org/T140068 Elitre (WMF) (talk) 08:39, 12 July 2016 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Homogeneity improvement

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi,

I'd like to suggest an ergonomic enhancement :

  1. Choose an article
  2. Edit it as source editing
  3. Make a change
  4. Switch to the visual editor. Note the design of the popup:
    1. Switch to visual editing?
    2. You are switching to visual editing. Do you want to continue?
    3. Cancel
    4. Switch
  5. Switch to the source editing. Note the design of the popup:
    1. Switch to source editing?
    2. You are switching to source editing. Do you want to continue?
    3. Cancel Switch

-> The button layout is different. I suggest to use the same display in both cases like here so as the contributors will adopt the visual editor easily. Ftiercel (talk) 08:21, 17 July 2016 (UTC)Reply

Hi there. Are you using Firefox perhaps? Elitre (WMF) (talk) 10:56, 18 July 2016 (UTC)Reply
Yes. Indeed, it doesn't behave the same way on Chromium. Ftiercel (talk) 20:29, 18 July 2016 (UTC)Reply
Yeah, it's a browser limitation on how it handles OOjs stuff, AFAIK. Elitre (WMF) (talk) 14:36, 4 August 2016 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Problem with adding categories

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hello, when I want to add categories to a page, and I type in some letters of a supposed category, I get a rolldown menu with categories. Alas, the menu is too short.

For example I want to add a category about the history of Schleswig-Holstein in the 19th century. I don't know the exact name of the category (de.WPs rules about cat names are not 100 procent precise). I type in the first letters, and I get some cats starting with "Schleswig-holsteinische G..." So I don't know which of the three options is the one ending on "... (19th century)". I would, it it'd save me time, if I could see the whole cat name. Ziko (talk) 18:18, 24 July 2016 (UTC)Reply

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Tool for inserting and (re-)formatting dates

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Problem statement:

It is not currently possible to insert or format dates using VisualEditor without writing them manually or using a template. This is a common tool in most text-editors for the past decade, e.g. Notepad, MS-DOS Editor.

Use Case:

  1. As an editor, when writing a document about present, past or conceivably future events one needs to insert a date.
  2. As an editor, when writing a document one may need to reformat the inserted date (e.g. change from ISO 2010/01/01 to 01 January 2010)
  3. As an editor, when writing a reference, often the current date is entered as the retrieval date because websites sometimes go down, and it is useful to have a reference point.

Suggestions:

  • Datetime tool - This would be a standard dialog to choose a date, and its format, see Libreoffice
  • A simple button that inserts text containing the current client date using javascript (and ISO standard date), the user can later change this.
  • Tool that inserts and formats the <time> tag - see (https://developer.mozilla.org/en/docs/Web/HTML/Element/time). 197.218.80.136 (talk) 10:35, 26 July 2016 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Parsoid VE parse error

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I hope this is an appropriate place for this. I wish you guys used github proper and tracked bugs via that. In any case, in some cases documentation says that since 1.27 VE is integrated into the mediawiki install. But only kinda? Like it's there but it does not work without parsoid? In any case I set up mediawiki with the parsoid service and installed the VE plugin. It works, but the code block insert throws the following error:

[error/extension][wiki$0/Main_Page] Error Failed to parse the JSON response for Extension Parse  parsing extension token:  {"type":"SelfclosingTagTk","name":"extension","attribs":[{"k":"typeof","v":"mw:Extension"},{"k":"name","v":"syntaxhighlight"},{"k":"about","v":"#mwt1"},{"k":"source","v":"<syntaxhighlight lang=\"bash\">\necho test\n</syntaxhighlight>"},{"k":"options","v":[{"k":"lang","v":"bash","vsrc":"bash"}]}],"dataAttribs":{"tsr":[0,58],"stx":"html","src":"<syntaxhighlight lang=\"bash\">\necho test\n</syntaxhighlight>","tagWidths":[29,18]}}

ParserError: Failed to parse the JSON response for Extension Parse

at PHPParseRequest.ApiRequest._handleBody (/parsoid/lib/mw/ApiRequest.js:457:11)

at PHPParseRequest.ApiRequest._requestCB (/parsoid/lib/mw/ApiRequest.js:415:8)

at Request.self.callback (/parsoid/node_modules/request/request.js:200:22)

at emitTwo (events.js:106:13)

at Request.emit (events.js:191:7)

at Request.<anonymous> (/parsoid/node_modules/request/request.js:1067:10)

at emitOne (events.js:101:20)

at Request.emit (events.js:188:7)

at IncomingMessage.<anonymous> (/parsoid/node_modules/request/request.js:988:12)

at emitNone (events.js:91:20)

at IncomingMessage.emit (events.js:185:7)

at endReadableNT (_stream_readable.js:973:12)

at _combinedTickCallback (internal/process/next_tick.js:74:11)

at process._tickCallback (internal/process/next_tick.js:98:9)

[info][wiki$0/Main_Page] completed parsing in 481 ms

In any case, to replicate my environment in its entirety you can run on debian/redhat https://github.com/spindance-ops/sd.chef.mediawiki/blob/master/MediaWikiInstaller.bash

Starting and Stopping Services

[edit]

docker stop CONTAINER_NAME; docker start CONTAINER_NAME

Accessing Daemon Logs

[edit]

docker logs [ -f ] CONTAINER_NAME

Accessing a Shell

[edit]

docker exec -ti CONTAINER_NAME /bin/sh

Managing the Database

[edit]

docker exec -ti mariadb mysql Ryan.lewkowicz (talk) 19:13, 26 July 2016 (UTC)Reply

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.