I am trying to add references in such a way that
1) i have added a button in the toolbar that should open a form for user to enter the citation info, and enter a no for this info in the article. When the user saves the page the citations will be added at the end in the order that they appear in the article.
2)Each of thses will be links with their own page and talk page.
3) I think the 2nd part will be similar to working of the category namespace.
Can anyone please tell me how i can open a pop up form when a butotn in the toolbar is clicked. I am stuck at that right now. Also how do i add pages to the cctaegory namespace automatically?
Thanks,
-- Amruta