GSoC/2016/StatusReports/SrijanAgarwal: Difference between revisions

From KDE Community Wiki
< GSoC‎ | 2016‎ | StatusReports
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Project Overview ==
== Title : Offline Support for WikiToLearn WikiEditor ==
 
'''Project Name:''' Offline Support for WikiToLearn WikiEditor


'''A  Brief Description:'''  OfflineExtension is an extension for WikiToLearn that will add offline support to the current WikiEditor.
'''A  Brief Description:'''  OfflineExtension is an extension for WikiToLearn that will add offline support to the current WikiEditor.
This extension notifies the user, his/her's internet connectivity status and if submitted while offline, will parse Wikitext to HTML and then renders it.
This extension notifies the user, his/her's internet connectivity status and if submitted while offline, will parse Wikitext to HTML and then renders it.


'''Status:'''
==Work Report==
During Summer the following tasks were completed :
* A MediaWiki Extension that :
**Shows the exact status of internet connectivity of the user and alerts the same.
**Parses WikiText to HTML offline using Regular Expressions.


*Completed :
**A MediaWiki Extension that adds OfflineSupport to the WikiEditor.


*In progress:
==Screenshots==
**Code cleaning and documentation.
 
 
'''Screenshots:'''


'''When the user is offline :'''
'''When the user is offline :'''
Line 29: Line 25:
[[File:Internet.jpg]]
[[File:Internet.jpg]]


== Work to be done ==
The OfflineExtension is nearly complete at the moment, but still needs tweaking before it comes to production mode. Some of them are :
*Since, all the wikitext tags are currently not supported such as Tables and Templates, I have to look for ways to parse those tags without making the parser heavy.
*Making the user interface better by
**Asking user, whether he needs offline editing or not.
==References==
'''Telegram Nick:'''
'''Telegram Nick:'''
srijancse
srijancse
Line 50: Line 54:
*GIT
*GIT


== Work report ==


'''Documents:'''
'''Documents:'''


*[https://www.mediawiki.org/wiki/Extension:OfflineExtension OfflineExtension ]
*[http://srijanfoss2k16.blogspot.in/search/label/GSoC Google Summer of Code Blog Posts]
*[https://drive.google.com/open?id=1U22GhTrPyKRXxO6ih120kWF0pjtp3FHGMkb6oQSFXq0 WikiTags Supported by OfflineExtension  ]
*[https://www.mediawiki.org/wiki/Extension:OfflineExtension MediaWiki Documentation on OfflineExtension ]
*[https://github.com/Srijancse/OfflineExtension/wiki/WikiText-Supported-by-OfflineExtension  WikiTags Supported by OfflineExtension  ]




Line 61: Line 65:
*[https://github.com/Srijancse/OfflineExtension OfflineExtension]
*[https://github.com/Srijancse/OfflineExtension OfflineExtension]
*[https://github.com/WikiToLearn/Wikitolearn WikiToLearn Repository]
*[https://github.com/WikiToLearn/Wikitolearn WikiToLearn Repository]
*[https://quickgit.kde.org/?p=wikitolearn-offline-extension.git KDE Repository]
**[https://github.com/Srijancse/OfflineExtension/commits/master?author=Srijancse List of commits]
**[https://github.com/Srijancse/OfflineExtension/commits/master?author=Srijancse List of commits]

Latest revision as of 07:55, 22 August 2016

Title : Offline Support for WikiToLearn WikiEditor

A Brief Description: OfflineExtension is an extension for WikiToLearn that will add offline support to the current WikiEditor. This extension notifies the user, his/her's internet connectivity status and if submitted while offline, will parse Wikitext to HTML and then renders it.

Work Report

During Summer the following tasks were completed :

  • A MediaWiki Extension that :
    • Shows the exact status of internet connectivity of the user and alerts the same.
    • Parses WikiText to HTML offline using Regular Expressions.


Screenshots

When the user is offline :

Trying to reconnect :

When the user is online :

Work to be done

The OfflineExtension is nearly complete at the moment, but still needs tweaking before it comes to production mode. Some of them are :

  • Since, all the wikitext tags are currently not supported such as Tables and Templates, I have to look for ways to parse those tags without making the parser heavy.
  • Making the user interface better by
    • Asking user, whether he needs offline editing or not.

References

Telegram Nick: srijancse

Telegram Channels: WikiToLearn Tech, WikiToLearn, WikiToLearn GSoC, KDE-Soc

Blog: https://srijanfoss2k16.blogspot.com/

This is awesome about GSoC: Everything about GSoC is awesome. The best thing that I found about GSoC is be able to work on something that will actually be in production, which I think is a rare opportunity. In addition, interacting with mentors and developers from across the world and learning new things every day is priceless.

This is what I learned during GSoC:

  • Working with large codebase
  • Regular Expressions
  • Advanced JavaScript and Jquery
  • MediaWiki Extension Development
  • Working with Docker
  • Working with MediaWiki WikiEditor
  • GIT


Documents:


Repositories