Page MenuHomePhabricator

Enable creation of new articles straight with Visual Editor in elwiki
Open, NormalPublic

Description

Following a red link, the creation of a new articles should start straight with the Visual Editor. This should happen both for unregistered (IP or not logged in) users, and registered (logged in) users.
For logged in users there should be an option in preferences to keep the Wikitext editor.

Community consensus here:
https://el.wikipedia.org/wiki/?curid=575260#%CE%94%CE%B7%CE%BC%CE%B9%CE%BF%CF%85%CF%81%CE%B3%CE%AF%CE%B1_%CE%BC%CE%B5_%CE%BF%CF%80%CF%84%CE%B9%CE%BA%CF%8C_%CE%B5%CF%80%CE%B5%CE%BE%CE%B5%CF%81%CE%B3%CE%B1%CF%83%CF%84%CE%AE

Event Timeline

geraki created this task.May 8 2018, 8:45 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 8 2018, 8:45 AM

In the case of action=edit we fall through to the user option visualeditor-editor, which in default settings is 'wikitext'. Arguably that should be changed to 'visualeditor' on every wiki that uses 'remember-last' for the user option visualeditor-tabs (which is also the default). It wouldn't affect existing users, and any user who clicks on the edit source would automatically override this default via user option or cookie (if not logged in).

Deskana triaged this task as Normal priority.May 8 2018, 6:40 PM

@Esanders That sounds fine to me, but the details are a little foggy for me. Can you upload a patch so that I can test it and figure it out?

I'm guessing if we change the core default, we will need to override it on wikis that don't have 'remember-last'. I'm not as familiar with our multi-site config for VE as some people (@Jdforrester-WMF)

I'm thinking this through. Right now we have the comment "On dual-edit-tab wikis, the edit page must mean the user wants wikitext" above the relevant lines, but of course that's not true if they're following a red link.

Changing that to "getLastEditor()" would mean that:

  • people who had previously edited and so decided in some fashion which editor to use – 
    • if logged in, through preferences or if they've left it in the default floating position, whichever editor they used last) would get that editor,
    • if logged out, through the VEE cookie, would get whichever editor they used last, and
  • people who hadn't previously edited would get the default editor, which for elwiki would be VE.

I'm trying to work out why we didn't do this before? What am I missing?

geraki added a comment.EditedMay 14 2018, 7:20 AM

remember-last is not a suitable approach. That would affect general editing and not only the creation of pages.

We would prefer to keep the dual-edit-tab, but open the red links with VE (but some users would still want to open red links with wikitext).

Or at least, keep the dual-edit-tab and open the red links with wikitext for existing users, but default to always-visualeditor-if-possible for logged out and new users.

Maybe this mockup will make it clearer what it is asked for (not suggesting that this should really exist it Special:Preferences. but that the available tabs and following a red link are two separate things)

Cirdan added a subscriber: Cirdan.May 29 2018, 8:19 PM

Am I right when I think this is blocked on development (from the site requests side)?

Am I right when I think this is blocked on development (from the site requests side)?

Yes, I don't think this fits as a site request.

Vvjjkkii renamed this task from Enable creation of new articles straight with Visual Editor in elwiki to vedaaaaaaa.Jul 1 2018, 1:11 AM
Vvjjkkii raised the priority of this task from Normal to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from vedaaaaaaa to Enable creation of new articles straight with Visual Editor in elwiki.Jul 2 2018, 6:26 AM
CommunityTechBot lowered the priority of this task from High to Normal.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.
matmarex added a subscriber: matmarex.

We're developing this on task T223793 and will come back here once that is done to verify that it works with elwiki's configuration.