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

       Web browser: ---
             Bug #: 30713
           Summary: Introduce custom events for MediaWiki's front-end flow
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Javascript
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


Stuff that is currently in page.ready is whatever should run when the document
is ready.

However a long-time known issue is that these are not re-run when an article is
rendered after the document-ready event (for example when using ajax/live
preview).

As a result collapsible elements, sortable tables and what not don't work when
previewing articles.

By having these custom MediaWiki event based, they will run whenever needed,
even multiple times during a page's live.

Other events may be the view of a diff. Several gadgets to ajax-patrolling that
show many diffs on the page over time. Other gadgets that enhance a diff view
(eg. gadgets that annotate the diff itself, or gadgets like Twinkle that add
toollinks for the user names on both sides of the diff).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to