Hi everyone!

Suppose I'm developing the extension that runs on ArticleSave hook [1].
Using $text variable I can look at the text that user have just inserted.
I want to know, if the page will have new properties after article save.
For example, I see that the user inserted this text:

"here is the text that will add pupulation property with the value
[[Population::25]] to the page"

or this:

"{{Country
|Population=25
|Language=English
}} Here is the text that will add many properties to the page: it uses
semantic template"

So here is my question: is it possible to figure out the properties before
the text is actually stored in the database?

[1] http://www.mediawiki.org/wiki/Manual:MediaWiki_hooks/ArticleSave
-----
Yury Katkov
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to