mediawiki-extensions-Visual.../modules/ve/init/mw
Timo Tijhof 18ab361a43 (bug 43013) Exclude edit notices with no visible text.
en.wikipedia.org has a template gala for edit notices with a whole
bunch of html framework outputted by default from
MediaWiki:Editnotice-0 (even if their underlying system has no
matches for the current page).

In the core editor from EditPage.php this isn't a problem as the
element is just idling hidden above the editor.

In the case of VisualEditor (where we have a custom delivery for
the edit notices) we don't want to say "1 notice available" on
every page, so we need to be smart and quickly walk the dom of the
notice, filter out invisible nodes, and if the resulting nodes
have no contents, ignore the notice all together.

Change-Id: I65447da8b88a9bae9c24ff155544ff66b3fe9100
2012-12-13 01:26:11 +01:00
..
styles Save dialog: Implement new "Review and Save" model. 2012-12-11 17:52:48 -08:00
targets (bug 43013) Exclude edit notices with no visible text. 2012-12-13 01:26:11 +01:00
ve.init.mw.js Added ve.init.platform with MediaWiki and stand-alone implementations 2012-07-27 13:39:19 -07:00
ve.init.mw.Platform.js Enable change makers by default 2012-12-10 22:55:00 -08:00
ve.init.mw.Target.js (bug 43013) Exclude edit notices with no visible text. 2012-12-13 01:26:11 +01:00