mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +00:00
Hide 'editnotice-notext' message in VE (and mobile apps)
Bug: T337633
Change-Id: I142edff12492e80b9c281353e6a53efc3339159c
(cherry picked from commit c37633bb83
)
This commit is contained in:
parent
198b59b3ab
commit
e60288c9e3
|
@ -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