Summer Coding 2010 proposal - Docbook Based Wiki using Beacon
- My name is Udit Sharma
- My email address is email@example.com
- My wiki username is maxudit007
- My IRC nickname is maxudit007
- My wiki page is user:maxudit007
- My primary language is English, Hindi
- Location, and what hours tend to work: Jaipur, India. 9:00 to 23:00 IST
- I am Drupal Developer for past one year and developing Drupal based websites. I am fedora ambassador for past 2 years now and spreading fedora and its words with help of local lug. I have strong PHP background with creating custom modules in drupal, joomla. My portfolio is on http://uditsharma.in
About my project
- My Project name is Docbook Based Wiki using Beacon.
- My project is came from Ideas page, Summer_Coding_2010_Ideas_-_Beacon
- This is my schedule as discussed with my mentor Nandeep Mali for the project:
- 1 June-8 June : Understanding the MediaWiki and its extension architecture, how extension works on MediaWiki.
- 9 June-16 June : Coding starts to make a extension for MediaWiki using Beacon as a Library.
- 17 June-24 June : Coding Continues..
- 25 June-2 July : Extension code almost done.
- 3 July-10 July : Mid-term evaluation by Mentor
- 11 July-18 July : Test of the Extension on MediaWiki and fixing bugs/errors.
- 19 July-26 July : Mentor evaluation of the MediaWiki Extension. Mentor final commments and report guidelines.
- 27 July-3 August : Making Documnetation for the extension developed so that future development on it would be easier for another developer or so.
- How implementation will be done on this project:
There are several ways to make WYSIWYG editor that works in browser.
- 3. Browsers like Mozilla, Internet Explorer and Chrome have included ways to make sections of a page editable. Mozilla has its rich text editing API, and they use that.
- HTML to Wiki markup:
The aim is that, I have to make a PHP script that converts simplified tidy output (xhtml) to wiki-code. This would be easy to do with epoz. Epoz 0.74 feeds the html through tidy on the server via xml-rpc when switching to source view and on save in MediaWiki. This process includes two things:
- WYSIWYG view on normal browsers which we see: uses the default css and html editing
- SOURCE view on mediawiki: WIKI source
Now, for this an XSLT stylesheet for converting HTML to wiki markup is now available: html2wiki.xsl(http://mozile.mozdev.org/0.8/demos/html2wiki.xsl). It is still a work in progress but it can handle a wide range of formatting.
- Advantages for this implmentation:
- XSLT can be used client-side by most modern browsers.
- The resulting wiki markup can be submitted as if it came from an HTML textarea.
- Disadvantages are there for this implementation:
- Much of the white space information is lost during parsing and the XSL transformation.
- The current MediaWiki parser does not provide enough information about templates and other generated content in an article's HTML.
I have to modify and submit changes to mediawiki parser. mediaWiki parser currently includes in the HTML which it generates. Tags have to changed and templates need to be marked as see in html.
Me and the community
- If my project is successfully completed than:
- Non-Programmers would be able to edit the wiki pages as WYSIWYG way.
- Documentation of the extension makes future development possible on this project.
- If I got stuck in my project and my mentor is not there than I would discuss with other community members, which have knowledge in this technologies and than would make a work around and continue on my project.
- I will make sure that my mentor would get weekly updates and for testing the code or evaluation.
- Extra Things
- I setup the enviroment for the project on my local machine.
- I met personally with my mentor i.e. Nandeep Mali.
- My T-shirt size is Large.
- Learning experience you had as a child:
I am inspired with my father's brother. He got his computer machine in his college days and I was in class 7th at that time, I used to play games on that earlier, I saw him with some coding stuffs which he do and told him to teach me all that and that's how I started in the computer as coder. I remember that day when I created my first and unique project on automobiles with Visual Basic in class 11th. After my 12th class, I got to know about linux, I installed Fedora on my local machine and started to learn it and how to write code on linux and all. How to make open source applications and all.
plus talk Category:Summer Coding 2010 applications