As im sure many of you feel the same, editing templates is a true pain for users. You can not use any WYSIWYG systems, and you can not use the edit section buttons.
I was wondering if anyone was interested in helping make a plugin/or API system that would tackle this.
I wrote a very simple proof of concept last night that will take any template and break it up: http://bildr.org/bridge/splitTemplate.php
It is splitting everything using this regular expression (if you wanted to know): /|(.+) {0,5}= {0,5}([\S\s]{0,}?)(?=(?:|.+ {0,5}=)|}})/g
This captures the input and the value so it should work on any template
Anyways, I didnt know if anyone was looking to do something like this and would want to join forces.
The end result I would like to be more like this (did this a few years ago but was very custom/hard) http://www.risdpedia.net/interface/easy_edit/index.php?title=Golden_High_Sol...
I know that was not the best looking, so I did play with this idea a bit more today, and created this. http://bildr.org/bridge/templateEdit/index.php?title=Temperature_Sensor_-_LM...
This is actually being designed to be generic, the formatting is a simple template file, and the system grabs the template-file based on the wiki-template used. This uses the wiki-template component. OS I created a component.tpl file and it uses that to format it. Noting but html in the template files. So this will be very easy to add to.
Here is the template file I am using. http://bildr.org/bridge/templateEdit/includes/templates/component/component....
Anyone interesting in working on this... let me know.
On Apr 12, 2010, at 8:31 AM, Adam Meyer wrote:
As im sure many of you feel the same, editing templates is a true pain for users. You can not use any WYSIWYG systems, and you can not use the edit section buttons.
I was wondering if anyone was interested in helping make a plugin/or API system that would tackle this.
I wrote a very simple proof of concept last night that will take any template and break it up: http://bildr.org/bridge/splitTemplate.php
It is splitting everything using this regular expression (if you wanted to know): /|(.+) {0,5}= {0,5}([\S\s]{0,}?)(?=(?:|.+ {0,5}=)|}})/g
This captures the input and the value so it should work on any template
Anyways, I didnt know if anyone was looking to do something like this and would want to join forces.
The end result I would like to be more like this (did this a few years ago but was very custom/hard) http://www.risdpedia.net/interface/easy_edit/index.php?title=Golden_High_Sol... _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org