Hi Jeroen!
I havn't looked at the details, but I think Page and WikiPage were factored out of Article only recently (in 1.18 I think) - before that, it was all lumped together. I guess the interfaces are still in flux, and may be influenced by trying to be backward compatible. Perhaps try to find out who did the refactoring and talk to them.
-- daniel
On 29.01.2012 12:47, Jeroen De Dauw wrote:
Hey,
I found the answers to my questions and managed to implement this.
I subclassed Page directly in order to prevent having all the stuff that's in Article and just added all methods I got (unknown function) errors for. Although this seems to work just fine, I had to implement a WikiPage field and some methods. Any way I can get rid of that? Like article it has stuff that makes little sense here.
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/110231
Comment are welcome, esp those pointing out stuff I'm doing wrong :)
Cheers
-- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l