I try to edit any article in VE in https://ru.wikipedia.org/
and a pop-up window "edit notices" is empty, but there is a text "1 2 3...n notices"
Description
Details
Related Objects
- Mentioned In
- T95822: Assist de/it/pl/pt/ru-wiki communities in updating their edit-notice systems to stop hidden content showing as "1 notice"
T97644: VE: empty "edit notices"
rEVED668a7c1aace5: MWPopupTool: Don't assume editnotice html has a single wrapping element
rEVEDd7f851ba063a: MWPopupTool: Don't assume editnotice html has a single wrapping element
rEVED66c9d538c504: MWPopupTool: Don't assume editnotice html has a single wrapping element - Mentioned Here
- T45013: VisualEditor: Deal with en.wikipedia.org's edit notice system
T95822: Assist de/it/pl/pt/ru-wiki communities in updating their edit-notice systems to stop hidden content showing as "1 notice"
T91715: Implement (part of) the English Wikipedia's edit notice system in MediaWiki core and transition the wikis to use it
Event Timeline
Thanks for taking the time to report this!
Could you please provide a specific example link to reproduce, and the steps how to trigger such a popup window?
Not all pages are affected. I can reproduce the issue on those two pages, but the majority of other pages are unaffected.
These pages have in common that they're protected with FlaggedRevs. Compare to the wikitext editor:
{"visualeditor":{"result":"success","notices":{"revreview-locked": <b>Note:</b> Edits to this page are subject to review (<a href="/wiki/Wikipedia:Pending_changes" title="Wikipedia:Pending changes">help</a>). <div id="mw-fr-logexcerpt"><ul> .. </ul> </div>
Only the first node (the bold word) shows up in VisualEditor.
Change 204038 had a related patch set uploaded (by Krinkle):
MWPopupTool: Don't assume editnotice html has a single wrapping element
https://gerrit.wikimedia.org/r/204038
random page:
https://ru.wikipedia.org/wiki/%D0%9A%D1%80%D0%BD%D0%B0%D1%87?veaction=edit
no FlaggedRevs protect
That is a separate issue. The problem there is that ru.wikipedia.org has a global edit notice at MediaWiki:Editnotice-0 but is invisible to most users (only visible to sysops). See also T91715. I've converted it to use MediaWiki:Editnotice-notext. Fixed!
Change 204038 merged by jenkins-bot:
MWPopupTool: Don't assume editnotice html has a single wrapping element
https://gerrit.wikimedia.org/r/204038
Change 204167 had a related patch set uploaded (by Catrope):
MWPopupTool: Don't assume editnotice html has a single wrapping element
https://gerrit.wikimedia.org/r/204167
Change 204168 had a related patch set uploaded (by Catrope):
MWPopupTool: Don't assume editnotice html has a single wrapping element
https://gerrit.wikimedia.org/r/204168
Change 204167 merged by jenkins-bot:
MWPopupTool: Don't assume editnotice html has a single wrapping element
https://gerrit.wikimedia.org/r/204167
Change 204168 merged by jenkins-bot:
MWPopupTool: Don't assume editnotice html has a single wrapping element
https://gerrit.wikimedia.org/r/204168