i wrote this code to allow to easily add comments to the discussion page. it's a special page function that will take a 'target' and 'comment' request parameters and add a wrapped text to the discussion page of 'target'.
This looks interesting! Would you consider this production-ready? Also, have you considered turning this into a proper extension so other users can easily add it to their MediaWiki setup?
-- F.