Skip to main content

Posts

Showing posts with the label Gadgets

Finally getting the Citation feature up on Bengali Wikipedia

Well, I am happy to announce this good news for all my Bengali Wikipedians.  After working on it for months, after several local implementations followed by User page implementation of the 'Cite' option , I have finally been successful in getting the option up on Bengali Wikipedia.  Well, what this option is and how to get it up on any Wikipedia can be found here . Here, I will t alk about my experience of community interaction and getting the job done. Well, I began the community interaction (actually begging for help) through the community india mailing list. M y idea initiall y was to get some response from someone who, even if unable to directly help, could guide me as to where to get help from. I actually needed either the admin rights to some Wikipedia to push this option up or needed help from some admin who could do this work on my behalf. Not waiting for the repli es, I also started looking for the admins on different Wi kipedia(s). Well the Special:ListAdmins o...

Getting the Citation template in your own language's Wikipedia

There is a 'cite' option available in the English Wikipedia's Wiki-editor which is missing from most other language's Wikipedia. How to get this option on your own language's Wikipedia can be found here . Once, you have the 'Cite' option placed, you will see that the options you are getting under the Cite-template are all in English. Now, its an obvious thing that in your language's Wikipedia, you will not want to have a Citation template which shows options in English, you will want the options to come in your own language.  Now, I have done it for Bengali Wikipedia, and here is how I got the citation template and its options in Bengali for the Bengali Wikipedia. There is one page which we will need to create under our userpage named:  User:UserName/RefToolbarMessages-en.js.  Well, instead of Messages-en.js, we are free to use anything else like Messages-bn.js etc but we just need to make sure that wherever this page is being called from, the n...

Successfully getting the 'citation' option on Bengali Wikipedia

Well, the struggle has been really long going but finally got it to work! Finally I did manage to pull the 'Cite' option (the one which exists in English Wikipedia and was missing from Bengali Wikipedia) into Bengali Wikipedia. Unfortunately, I do not have admin rights to bn.wikipedia.org, so I couldn't get it get in on the Edit toolbar for all users, but could obviously manage to get it for my own Edit toolbar and am surely in a state where I can help other users get it on their respective Edit toolbars by just adding one single line in their common.js files. Well, what I did to get it up and running is as follows: Created a common.js page under my username...so something like, User: Priyanka Nag/common.js In my common.js file, I imported a few other js files like: RefToolbar.js RefToolbarMessages-en.js RefToolbarBase.js RefToolbarLegacy.js I created all these js pages under my user-name like User:Priyanka Nag/Reftoolbar.js, User:Priyanka Nag/RefToolbarMe...

Learning to build Gadgets in Wikipedia

Building gadgets in MediaWiki is awesomely simple and real fun. Well, I wasn't actually aware of it, until I attended the Gadget building workshop in GNUnify last week, taken by Yuvi, Sucheta and Harsh. Initial step didn't sound much interesting to me, as they were mostly talking stuff which I was already aware of and tried hands on, but Yuvi probably understood my disappointment, and soon came to my rescue with some really cool and interesting stuff. Writing JavaScript files in my own MediaWiki was a regular job which I had tried a few times already, but blending some cool Ajax codes in those JavaScript files was a real fun thing to learn. It was like mixing some cream in my rich coffee :P Learning to make use of Special:ApiSandbox made life so much easier for me. Coding made so much easy using the multiple options here. Sitting right there, did manage to put some Ajax codes into a js file and make it work fine.  The learning didn't stop there. The fun continued as Yuv...