Lucas_Werkmeister_WMDE added a comment.

  In T235753#5674720 <https://phabricator.wikimedia.org/T235753#5674720>, 
@Lucas_Werkmeister_WMDE wrote:
  
  >> "in the wikitext" link leads to the wikitext editor of the article
  >
  >   ( new mw.Title( mw.config.get( 'wgPageName' ) ) ).getUrl( { action: 
'edit' } )
  >
  > EDIT: Actually, this can give you the VisualEditor if that was the last one 
you used. If we always want a wikitext editor, we might need other/additional 
URL parameters. `veaction=editsource` always gives you the VisualEditor 
wikitext editor, but is ignored when combined with `action=edit`, and if we 
only specify `veaction` then on wikis without VisualEditor installed the action 
will be “view”. `action=submit` can be used to bypass VisualEditor (and should 
work on any wiki), but isn’t very nice (users might not expect the 
non-VisualEditor wikitext editor to be used).
  
  I filed T239796: Provide URL parameter(s) to always load a wikitext editor 
<https://phabricator.wikimedia.org/T239796> to get some insight into this.

TASK DETAIL
  https://phabricator.wikimedia.org/T235753

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Addshore, Lucas_Werkmeister_WMDE, Lydia_Pintscher, Aklapper, Charlie_WMDE, 
darthmon_wmde, Michael, DannyS712, Nandana, Lens0021, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to