my code is written as an extension, i'll post it soon. i also changed it so it is an ajax action (no special page)
but, in order for the form to appear, i have modified Monobook.php and monobook/main.css: - is there a way for an extension to add elements to Monobook.php? - how can i make the form appear only on article pages (not talk or special)?
Frederik Dohr wrote:
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.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l