https://bugzilla.wikimedia.org/show_bug.cgi?id=43013

--- Comment #15 from Krinkle <krinklem...@gmail.com> ---
(In reply to Erik Moeller from comment #10)
> Regression; this is happening again on en.wp.

The system is an en.wikipedia hack, and can't be fixed from within VisualEditor
without it knowing more than it should about English Wikipedia.

It comes down to their Editnotice system explicitly creating an edit notice to
tell sysops "there are no edit notices on this page, click here to create one",
which they present as... an edit notice.

Thus MediaWiki, and by extend VisualEditor, show it as an edit notice.

Last year I put a system in place that allows them to hide these using a css
class.

(In reply to Minh Nguyễn from comment #12)
> I've proposed a client-side workaround at [[MediaWiki talk:Common.css#Edit
> notices and VisualEditor]].

That css was adopted by en.wikipedia as of
https://en.wikipedia.org/w/index.php?title=MediaWiki%3ACommon.css&diff=562641575&oldid=560030040
and that fixed it for them, last year with this:

/**
 * Hide the redlink generated by {{Editnotice}},
 * this overrides the ".sysop-show { display: none; }" above that applies
 * to the same link as well.
 */
.ve-init-mw-viewPageTarget-toolbar-editNotices-notice .editnotice-redlink {
    display: none !important;
}


Commit https://gerrit.wikimedia.org/r/#/c/90378/ accidentally removed this
class, thus the above CSS rule no longer applies.

The CSS proposed by Minh on [[MediaWiki talk:Common.css#Edit
> notices and VisualEditor]] is a bit too generic in my opinion, I would 
> recommend against that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to