VisualEditor: Provide support for BLP edit notices on enwiki
Open, NormalPublic40 Story Points

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.

This hack is being used in several Wikimedia wikis besides the English Wikipedia:

See also Template:BLP editintro (Q10566946) and Template:Disambig editintro (Q14400704) for more of the potentially affected wikis.


Version: unspecified
Severity: normal

Details

Blocked By
T85372: Add support for per-category editnotices
Security
None
Reference
bz54029
bzimport set Reference to bz54029.

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.

TheDJ added a subscriber: TheDJ.Dec 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.

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-.Jan 2 2015, 12:40 PM

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

Krinkle removed a subscriber: Krinkle.Mar 8 2015, 4:13 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".
Jdforrester-WMF raised the priority of this task from "Lowest" to "Normal".

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.Jun 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".Jun 22 2015, 7:20 PM
Jdforrester-WMF edited a custom field.Jul 3 2015, 5:48 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 21 2015, 6:19 PM
whym edited the task description. (Show Details)Mar 9 2016, 8:18 AM

Add Comment