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
Amruta Lonkar schrieb:
2)Each of thses will be links with their own page and talk page.
- I think the 2nd part will be similar to working of the category namespace.
I can't tell you how to do the button magic, but I want to comment on your idea about the categories. In my opinion the pages for your foot note references should _not_ be in the category namespace because they have a completeley different semantic meaning than categories.
From my point of view there are two different options:
* Create a new namespace for all your foot note pages. That way you have them all in a separate namespace like with your category approach, but they do not mix with the real categories. * Create the foot note reference pages as sub pages of the article. E.g. if you have a page "Article", call your cited reference page "Article\Reference ABC" and so on. Which way is better suited, depends on what you want to do with the references. If you only need them in the context of the article, where they are used, you should probably take the sub page approach. If several articles might use the same reference and you want to look at all the references independent of the articles referring to them, then the approach using an own namespace might be more useful.
Ciao, Michael.
Ya i thought over it again and what you are saying is making more sense. SO what i have decided no is create a new references namespace and all references will then be within this namespace.
Now i did manage to add the button and call the form that i wanted to. So now am thinking that i will create a table for references similar to the images tables. But am still a little confused about how does a pgae get associated with a particular namespace.
Thanks a lot for your help.
Amruta
Quoting Michael Keppler Michael.Keppler@gmx.de:
Amruta Lonkar schrieb:
2)Each of thses will be links with their own page and talk page.
- I think the 2nd part will be similar to working of the category
namespace.
I can't tell you how to do the button magic, but I want to comment on your idea about the categories. In my opinion the pages for your foot note references should _not_ be in the category namespace because they have a completeley different semantic meaning than categories.
From my point of view there are two different options:
- Create a new namespace for all your foot note pages. That way you have
them all in a separate namespace like with your category approach, but they do not mix with the real categories.
- Create the foot note reference pages as sub pages of the article. E.g.
if you have a page "Article", call your cited reference page "Article\Reference ABC" and so on. Which way is better suited, depends on what you want to do with the references. If you only need them in the context of the article, where they are used, you should probably take the sub page approach. If several articles might use the same reference and you want to look at all the references independent of the articles referring to them, then the approach using an own namespace might be more useful.
Ciao, Michael.
-- www.GetFirefox.com _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
-- Amruta
Amruta Lonkar schrieb:
Now i did manage to add the button and call the form that i wanted to. So now am thinking that i will create a table for references similar to the images tables.
Don't do that. You only need to do some little configuration for additional namespaces, but no changes within in the database are required. See http://meta.wikimedia.org/wiki/Help:Custom_namespaces
But am still a little confused about how does a pgae get associated with a particular namespace.
Just by calling it "MyCustomNameSpace:PageName" instead of only "PageName" (but you must create the namespace before as told above). That's just the same like with "Category:PageName" or "Image:PageName".
Ciao, Michael.
The reason i want to create the database is because when a user enters a reference i wnat to store it in the database, i added the new namespace according to the custom namespaces thing.
So when a user will add a reference it will get associated with that article and get entered into the database. This has really helped me out a lot. I am glad am getting this help.
Thanks, Amruta
Quoting Michael Keppler Michael.Keppler@gmx.de:
Amruta Lonkar schrieb:
Now i did manage to add the button and call the form that i wanted to. So
now
am thinking that i will create a table for references similar to the images tables.
Don't do that. You only need to do some little configuration for additional namespaces, but no changes within in the database are required. See http://meta.wikimedia.org/wiki/Help:Custom_namespaces
But am still a little confused about how does a pgae get associated with a particular namespace.
Just by calling it "MyCustomNameSpace:PageName" instead of only "PageName" (but you must create the namespace before as told above). That's just the same like with "Category:PageName" or "Image:PageName".
Ciao, Michael. _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
-- Amruta
wikitech-l@lists.wikimedia.org