Web browser: ---
            Bug ID: 60403
           Summary: Split JobDescription interface from Job class
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JobQueue
    Classification: Unclassified
   Mobile Platform: ---

The job queue can be used as a notification channel between wikis, e.g.
notifying a client wiki about changes occurring on a master wiki. To allow
this, the interface for objects representing job descriptions/notifications
should be independent of class used to actually execute jobs.

This can be done with minimal effort by defining a new interface,
JobDescription, letting the Job class implement that (for compatibility), and
use that interface instead of the Job class in code dealing with
posting/scheduling jobs. The actual implementation of the job should only need
to be known when and where the job is actually being executed.

This could be taken further by turning the job queue into a notification queue,
and detaching notification handlers completely from the notification objects in
the queue.

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to