Hoi,
I am the developer of the SignWriting MediaWiki Plugin. It enables a SignWriting viewer for MediaWiki software. It supports an International community and can be used for any sign language.
I just released a radically simplified version of the extension in Gerrit: 20 lines of PHP code and 50 lines of Javascript. https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SignWritingMedi...
I am hoping someone can look over the code and point out any flaws.
I'm hoping it can be deployed on Incubator. I reopened a bug from long ago. https://bugzilla.wikimedia.org/show_bug.cgi?id=22216
The PHP code makes a call to the Resource Module to load "signwriting_thin.js" (3 KB file). The Javascript runs on the client side only if Formal SignWriting is detected on the page.
There shouldn't be any security problems for the server running this extension and there is a miniscule cost to the user's browser.
The MediaWiki extension is a wrapper for the SignWriting Thin Viewer available on http://SignPuddle.com
Thanks for your consideration, ∼Steve
On 15 April 2013 21:26, Stephen E Slevinski Jr slevin@signpuddle.net wrote:
Hoi,
I am the developer of the SignWriting MediaWiki Plugin. It enables a SignWriting viewer for MediaWiki software. It supports an International community and can be used for any sign language.
I just released a radically simplified version of the extension in Gerrit: 20 lines of PHP code and 50 lines of Javascript. https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SignWritingMedi...
I am hoping someone can look over the code and point out any flaws.
I'm hoping it can be deployed on Incubator. I reopened a bug from long ago. https://bugzilla.wikimedia.org/show_bug.cgi?id=22216
The PHP code makes a call to the Resource Module to load "signwriting_thin.js" (3 KB file). The Javascript runs on the client side only if Formal SignWriting is detected on the page.
There shouldn't be any security problems for the server running this extension and there is a miniscule cost to the user's browser.
The MediaWiki extension is a wrapper for the SignWriting Thin Viewer available on http://SignPuddle.com
I tried to install your extension but could not get it working. Perhaps you could expand the readme with more detail on what use cases the extension is for and how to use it.
-Niklas
-- Niklas Laxström
On 4/16/13 3:36 AM, Niklas Laxström wrote:
I tried to install your extension but could not get it working. Perhaps you could expand the readme with more detail on what use cases the extension is for and how to use it.
Hi Niklas,
Thanks for taking a look. I'll add more details to the extension page and include a README in gerrit.
Here's what I have so far. http://www.mediawiki.org/wiki/Extension:SignWriting_MediaWiki_Plugin
The viewer plugin only works when there is Formal SignWriting on a page. Otherwise, nothing happens.
Example Text ----------- M518x529S14c20481x471S27106503x489 M518x533S1870a489x515S18701482x490S20500508x496S2e734500x468 S38800464x496
I can think of 2 reasons for the extension to fail. 1) the browser is using a cached version of Javascript from the server 2) the browser crashed on the Javascript
You can fix #1 with a hard page refresh.
You can investigate #2 through the browser development tools to see if there was an error.
A 3rd problem could exist because the plugin assumes that ResourceModule will include the Javascript code at the bottom of the page.
Regards, ∼Steve
mediawiki-i18n@lists.wikimedia.org