mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Hide 'editnotice-notext' message in VE (and mobile apps)
Bug: T337633 Change-Id: I142edff12492e80b9c281353e6a53efc3339159c
This commit is contained in:
parent
64fec813c3
commit
c37633bb83
|
@ -303,9 +303,14 @@ class ApiVisualEditor extends ApiBase {
|
|||
} else {
|
||||
$notices = $this->introMessageBuilder->getIntroMessages(
|
||||
IntroMessageBuilder::LESS_FRAMES,
|
||||
// This message was not shown by VisualEditor before it was switched to use IntroMessageBuilder,
|
||||
// and it may be unexpected to display it now, so skip it.
|
||||
[ 'editpage-head-copy-warn' ],
|
||||
[
|
||||
// This message was not shown by VisualEditor before it was switched to use
|
||||
// IntroMessageBuilder, and it may be unexpected to display it now, so skip it.
|
||||
'editpage-head-copy-warn',
|
||||
// This message was not shown by VisualEditor previously, and on many Wikipedias it's
|
||||
// technically non-empty but hidden with CSS, and not a real edit notice (T337633).
|
||||
'editnotice-notext',
|
||||
],
|
||||
$localizerWithTitle,
|
||||
$title->toPageIdentity(),
|
||||
$revision,
|
||||
|
|
Loading…
Reference in a new issue