VisualEditor: Provide support for BLP edit 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
Cenarium added a comment.Via WebMay 25 2015, 8:43 PM

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

I've updated the patch, it works properly now.

Quiddity added a subscriber: Quiddity.

Adding support in VE for preload / editintro is still worthy on its own, but it looks like this task is a duplicate of T51622.

Now Merging.

Quiddity edited the task description. (Show Details)
Quiddity set Security to None.
Jdforrester-WMF reopened this task as "Open".Via WebJun 22 2015, 3:08 PM
Jdforrester-WMF raised the priority of this task from "Lowest" to "Normal".
Jdforrester-WMF edited the task description. (Show Details)
Jdforrester-WMF added a comment.Via WebJun 22 2015, 3:11 PM

One way to fix this, as @Cenarium has observed, would be to fix T85372: Add support for per-category editnotices and switch wiki(?s) over to use that instead; is this the best option?

TheDJ added a comment.Via WebJun 22 2015, 6:57 PM

I think it is better than editintro+JS yes.

TheDJ changed the title from "VisualEditor: Magically support Extension:InputBox's content for BLP warning notices on enwiki" to "VisualEditor: Provide support for BLP edit notices on enwiki".Via WebJun 22 2015, 7:20 PM
Jdforrester-WMF set Story Points to 40.Via WebFri, Jul 3, 5:48 PM
Jdforrester-WMF moved this task to TR1: Releases on the VisualEditor workboard.Via WebTue, Jul 21, 6:19 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptVia HeraldTue, Jul 21, 6:19 PM

Add Comment