Use Title, not IContextSource; remove createArticle, etc.
authordaniel <daniel.kinzler@wikimedia.de>
Wed, 23 May 2012 06:53:01 +0000 (08:53 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Wed, 23 May 2012 06:53:01 +0000 (08:53 +0200)
commit684178dfb60c514547d46cca610b88f72df015ce
tree35d1c051bf4fb1d1dc35810239acdc5e1df39b71
parent96b4779ebdd463c13f459c7659981df6b28e2d0e
Use Title, not IContextSource; remove createArticle, etc.

This merges the latest core patch into the Wikidata branch,
implementing suggestions collected on gerrit. Most importantly:

* Methods in the Content class no longer rely on a IContextSource
* createArticle and createEditPage were removed from Contenthandler
14 files changed:
includes/Article.php
includes/Content.php
includes/ContentHandler.php
includes/EditPage.php
includes/LinksUpdate.php
includes/Title.php
includes/WikiFilePage.php
includes/WikiPage.php
includes/actions/EditAction.php
maintenance/refreshLinks.php
tests/phpunit/includes/ContentHandlerTest.php
tests/phpunit/includes/WikiPageTest.php
tests/phpunit/includes/WikitextContentTest.php
tests/phpunit/includes/WikitextContentTest.php.orig [new file with mode: 0644]