VisualEditor: Magically support Extension:InputBox's content for BLP warning notices on enwiki
OpenPublic

Description

For BLP's and disambiguation pages on the English Wikipedia, an extra edit notice is provided through the https://en.wikipedia.org/wiki/Wikipedia:EDITINTRO system using Extension:InputBox and some code in MediaWiki:Common.js. VisualEditor does not work with Extension:InputBox, so the edit notice is not displayed.

I believe that this system of notifications is in use only at the English Wikipedia.


Version: unspecified
Severity: normal

bzimport added a project: VisualEditor-MediaWiki.Via ConduitNov 22 2014, 2:09 AM
bzimport set Reference to bz54029.
Whatamidoing-WMF created this task.Via LegacySep 11 2013, 8:05 PM
SalixAlba added a comment.Via ConduitSep 12 2013, 7:20 AM

To work as desired VE would need to respect the editintro= url parameter. For example
http://en.wikipedia.org/wiki/Paul_Bahn?veaction=edit&editintro=Template:BLP_editintro
and use that to fill in the edit notice with Template:BLP_editintro.
A couple of lines in MediaWiki:Common.js would add the parameters to URL's for all BLPs.

Jdforrester-WMF moved this task to Backlog on the VisualEditor workboard.Via WebNov 24 2014, 4:15 PM
TheDJ added a subscriber: TheDJ.Via WebDec 2 2014, 8:28 AM

alternatively, get away from this specific implementation and try to move it into core as "category based edit notices" and VE gets the notice for free.

Cenarium added a subscriber: Cenarium.Via WebDec 7 2014, 2:50 AM
Cenarium added a comment.Via WebDec 27 2014, 2:44 PM

alternatively, get away from this specific implementation and try to move it into core as "category based edit notices" and VE gets the notice for free.

I've created a specific task for per category editnotices, T85372, I had already suggested it for the more general T20596 but this didn't get implemented.
FYI, the English Wikipedia isn't the only wiki to use this.
Adding support in VE for preload / editintro is still worthy on its own, but it looks like this task is a duplicate of T51622.

-jem- added a subscriber: -jem-.Via WebJan 2 2015, 12:40 PM
Cenarium added a comment.Via WebMar 8 2015, 1:36 PM

I've uploaded a patch for this (per-category editnotices) : commit 189178.

Krinkle removed a subscriber: Krinkle.Via WebMar 8 2015, 4:13 PM

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.