Hi Jeroen! Can you recommend any result formats that use Validator in
the right and intense way?
-----
Yury Katkov, WikiVote



On Sat, Oct 12, 2013 at 4:56 AM, Jeroen De Dauw <jeroended...@gmail.com> wrote:
> Hey Yury,
>
> This is unfortunately not properly documented, and as with a lot of MW code,
> the answer is, at least for now, "look at the source". This is certainly not
> a good answer and something that should be addressed. Rather then answering
> in detail here, I'll be adding documentation incrementally to the README
> file of Validator with the aim of having the basics covered there by the
> time of its 1.0 release, which will be shortly before the SMW 1.9 one.
>
> The README can be seen here:
> https://github.com/wikimedia/mediawiki-extensions-Validator/blob/master/README.md
>
> Some quick replies:
>
>
>> What values can I use for the values of the key 'default'?
>
> Anything. This is self defined.
>
>
>> Where did these words 'message', 'values', 'default', 'aliases' come from?
>
> This is the definition format in array form as defined by Validator.
>
>> Are there any other interesting words to use (for example 'mandatory'
>> would be nice or 'type')?
>
> There is a type field. A param is mandatory if it does not have a default.
>
> Cheers
>
> --
> Jeroen De Dauw
> http://www.bn2vs.com
> Don't panic. Don't be evil. ~=[,,_,,]:3
> --

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to