Is there any plan in the future to move more of the functionality from the EditPage class to Article? It seems like a lot of the functionality that's currently in EditPage (at least in the 1.4 version) such as checking if the page is protected, checking the time stamp of the article, etc should be moved into the Article class so that other new classes that modify articles don't have to duplicate code or meddle with the EditPage class to save an article.
Thanks, Travis
Travis Derouin wrote:
Is there any plan in the future to move more of the functionality from the EditPage class to Article? It seems like a lot of the functionality that's currently in EditPage (at least in the 1.4 version)
Please don't look at 1.4 for anything. That code is extremely outdated; lots of things have been totally restructured in the last couple years.
-- brion vibber (brion @ pobox.com)
"in the last couple years." - lol @ dat
On May 31, 2006, at 1:06 PM, Brion Vibber wrote:
Travis Derouin wrote:
Is there any plan in the future to move more of the functionality from the EditPage class to Article? It seems like a lot of the functionality that's currently in EditPage (at least in the 1.4 version)
Please don't look at 1.4 for anything. That code is extremely outdated; lots of things have been totally restructured in the last couple years.
-- brion vibber (brion @ pobox.com)
wikitech-l@lists.wikimedia.org