Commit graph

4 commits

Author SHA1 Message Date
jeroendedauw
38c7f444e1 Use __DIR__ instead of dirname( __FILE__ )
We can now do this since we finally switched to PHP 5.3 for MW 1.20 and get rid of the silly dirname(__FILE__) stuff :)

Change-Id: Id9b2c9cd2e678197aa81c78adced5d1d31ff57b1
2012-08-27 21:45:00 +02:00
Alexandre Emsenhuber
2aecd77a15 * Use WikiPage instead of Article to call doEdit()
* Use a local user object and pass it WikiPage::doEdit()
* User::$mRights is a flat array of permissions, not a 2-D array like $wgGroupPermissions
2012-02-12 15:22:01 +00:00
Antoine Musso
ee868909e9 swap assertEquals parameters in TemplateCategoriesTest
First parameter is expected, second is the result
2012-01-12 16:42:33 +00:00
Platonides
eb43fae8d3 Test to ensure that after adding a category to a template, the articles get moved into that category.
Articles containing [[es:Plantilla:Ficha_de_película]] showed the categories at the bottom, but were 
not in categorylinks (solved by a doing a null edit to the template and waiting for the job queue, but
how did that situation happen to begin with?).
2011-11-27 16:12:20 +00:00