Proposal:Object-oriented API for articles
The status of this proposal is:
Request for Discussion / Sign-Ups
Every proposal should be tied to one of the strategic priorities below.
Edit this page to help identify the priorities related to this proposal!
- Achieve continued growth in readership
- Focus on quality content
- Increase Participation
- Stabilize and improve the infrastructure
- Encourage Innovation
|It has been suggested that this page be merged with Proposal:Semantic wiki-web. (Discuss)|
If not English, in what language is this proposal submitted?:
Make Wikipedia API and semantic (something like en:Cyc's tools)
Wikipedia now is a statical (only HTML) structure. We could make dynamical structure: + functions (methods)
Wikipedia now have not any API for other program (tel me please if it is a mistake), impossible to get any info from wiki-page and put into any program.
Object-oriented programming terms: If article = Class, how about methods (functions)?
Examples: articles "Isaac Newton" -> class IsaacNewton, methods:
- Alma mater()
- Academic advisors()
- Notable students()
- Known for()
- Religious stance()
and so on
What to do in "smart" program? For examples this:
- con = new connectToWikipedia();
- question1 = con.Articles.IsaacNewton.Born();
answer - in question1
It's need packages on OOP (en:XML - static structure, no funtion, no methods) for programming somethink like this:
Sample of such package for wikipedia's page en:Artificial intelligence, templates on this page Technology, Philosophy of science, Philosophy of mind
Classes Technology, PhilosophyOfscience, PhilosophyOfMind also can have and some other methods (NumberOfElements, ValidElement and so on)
And no extenstion or covertion (because) when user add new template, conversion or other after wikipedia operation do different delays.
Devices wanted WP-infowmation. Give it for it.
Convertor "articles to class"
- mw:Extension:Semantic MediaWiki
- XMLBeans (Wikipedia)
Do you have a thought about this proposal? A suggestion? Discuss this proposal by going to Proposal Talk:Object-oriented API for articles.
Want to work on this proposal?
- .. Sign your name here!