i’m working on a mediawiki extension, http://www.mediawiki.org/wiki/Extension:GWToolset
which has as one of its goals, the ability to upload media files to a wiki. the extension,
among other tasks, will process an xml file that has a list of urls to media files and
upload those media files to the wiki. we want to notify the user who uploaded the xml file
of completed media file uploads.
i was looking for a method that would leave a message on a user’s talk page and found a
reference in mediawiki 1.21 to User::leaveUserMessage() in the
/includes/job/jobs/UploadFromUrlJob on line 122, but could not find the method in the
includes/User.php file and found that it was removed in mediawiki 1.18.0.
1. what is the recommended method for leaving a message on a user’s talk page?
2. is there an “easy” way to update a single message, e.g., we want to leave a summary
message something like : “1,000 items have been setup to be uploaded to the wiki in the
background via the wiki’s job queue. currently 21 of 1,000 items have been uploaded
successfully. the following items could not be uploaded : * item 5, * item 7”.
thanks in advance!