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=60134071&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