lhc/web/wiklou.git
13 years agoRemove unused globals
Platonides [Sat, 1 Jan 2011 22:16:58 +0000 (22:16 +0000)]
Remove unused globals

13 years agoFollowup r79443: Add some form of organization to the test autoloader
X! [Sat, 1 Jan 2011 22:16:54 +0000 (22:16 +0000)]
Followup r79443: Add some form of organization to the test autoloader

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Sat, 1 Jan 2011 22:09:01 +0000 (22:09 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-01-01 21:40:00 UTC)

13 years agoUse an autoloader for the tests, following the ideas from r72858.
Platonides [Sat, 1 Jan 2011 22:04:14 +0000 (22:04 +0000)]
Use an autoloader for the tests, following the ideas from r72858.
The SeleniumTestConstants class was added in r79437

13 years agoPer Platonides, fix for r79430: removed debugging code
Alexandre Emsenhuber [Sat, 1 Jan 2011 21:57:32 +0000 (21:57 +0000)]
Per Platonides, fix for r79430: removed debugging code

13 years agoReorder functions around, add some form of order to the test suite.
X! [Sat, 1 Jan 2011 20:57:13 +0000 (20:57 +0000)]
Reorder functions around, add some form of order to the test suite.
It'd be nice to break some of these functions out to another class, but then again,
I'd also like to see Windows actually become stable, MediaWiki to become fully class based,
and Google to stop taking over the world. We can't all have what we want.

13 years agoI am fed up of selenium constants which aren't properly defined by all files using...
Platonides [Sat, 1 Jan 2011 20:56:39 +0000 (20:56 +0000)]
I am fed up of selenium constants which aren't properly defined by all files using them.
Making those of SeleniumTestConstants.php into class constants.

for i in $(grep -o 'const [A-Z_]*' SeleniumTestConstants.php | cut -c 7-); do
find -name \*.php -and -not -name SeleniumTestConstants.php -exec sed -i s/$i/SeleniumTestConstants::$i/g \{\} +
done

13 years agoAdd fuzz tests to new parser tests (someone else should make sure this works as expected)
X! [Sat, 1 Jan 2011 18:10:28 +0000 (18:10 +0000)]
Add fuzz tests to new parser tests (someone else should make sure this works as expected)

13 years agoFix Vector to output a proper newline and indentation before the ending body and...
Daniel Friesen [Sat, 1 Jan 2011 17:51:10 +0000 (17:51 +0000)]
Fix Vector to output a proper newline and indentation before the ending body and html tags... (*cough* A certain sneaker wearing rabbit made me do it)

13 years agoAdd a realname option to query=userinfo in the api.
Daniel Friesen [Sat, 1 Jan 2011 17:38:15 +0000 (17:38 +0000)]
Add a realname option to query=userinfo in the api.

13 years agoDon't use the --verbose option anymore
X! [Sat, 1 Jan 2011 17:05:08 +0000 (17:05 +0000)]
Don't use the --verbose option anymore

13 years agoMade the page_count update defered, as for the site_stats update. I just removed...
Alexandre Emsenhuber [Sat, 1 Jan 2011 16:58:00 +0000 (16:58 +0000)]
Made the page_count update defered, as for the site_stats update. I just removed Article::incViewCount() since nothing else was calling this function.

13 years agoFix modern to use the tooltiponly attribute.
Daniel Friesen [Sat, 1 Jan 2011 16:44:58 +0000 (16:44 +0000)]
Fix modern to use the tooltiponly attribute.

13 years agoConvert the common bottomscripts, reporttime, and debug boilerplate into a printTrail...
Daniel Friesen [Sat, 1 Jan 2011 16:41:45 +0000 (16:41 +0000)]
Convert the common bottomscripts, reporttime, and debug boilerplate into a printTrail() helper method.
Note that in vector this does move the fixalpha stuff above bottomscripts while it was after it before, theoretically though this shouldn't cause any trouble.

13 years agoSimpleSeleniumTest now has its own resources (database and images dir)
Markus Glaser [Sat, 1 Jan 2011 15:52:52 +0000 (15:52 +0000)]
SimpleSeleniumTest now has its own resources (database and images dir)

13 years agotest data for SimpleSeleniumTest
Markus Glaser [Sat, 1 Jan 2011 15:51:54 +0000 (15:51 +0000)]
test data for SimpleSeleniumTest

13 years agotest data for SimpleSeleniumTest
Markus Glaser [Sat, 1 Jan 2011 15:51:37 +0000 (15:51 +0000)]
test data for SimpleSeleniumTest

13 years agotypo in comment
Markus Glaser [Sat, 1 Jan 2011 15:49:58 +0000 (15:49 +0000)]
typo in comment

13 years agochanged path after relocation
Markus Glaser [Sat, 1 Jan 2011 15:49:33 +0000 (15:49 +0000)]
changed path after relocation

13 years agonow uses separate database and images dir for selenium tests if $wgSeleniumUseTestRes...
Markus Glaser [Sat, 1 Jan 2011 15:47:43 +0000 (15:47 +0000)]
now uses separate database and images dir for selenium tests if $wgSeleniumUseTestResources is set

13 years agoUpdate copyright year
Alexandre Emsenhuber [Sat, 1 Jan 2011 12:40:21 +0000 (12:40 +0000)]
Update copyright year

13 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sat, 1 Jan 2011 10:59:32 +0000 (10:59 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

13 years agoAdd parsertest specific help to PHPUnit.php
X! [Sat, 1 Jan 2011 06:49:00 +0000 (06:49 +0000)]
Add parsertest specific help to PHPUnit.php

13 years agoMore work on new parser tests:
X! [Sat, 1 Jan 2011 05:53:04 +0000 (05:53 +0000)]
More work on new parser tests:
-No need to specify a new function for each argument, use PHP5 magic to automatically set it
-Create (g|s)etCliArg() functions
-Implement some features from the old parser tests

13 years agoStart work on porting ParserTests completely into PHPunit.
X! [Sat, 1 Jan 2011 03:39:37 +0000 (03:39 +0000)]
Start work on porting ParserTests completely into PHPunit.
Disable temporary tables, a few reports of them not working. The tables get deleted anyway, so why risk it?

13 years ago*sigh* I wish this were git... Followup r79398, small mistake that slipped through...
Daniel Friesen [Sat, 1 Jan 2011 01:05:39 +0000 (01:05 +0000)]
*sigh* I wish this were git... Followup r79398, small mistake that slipped through when I was fixing an incorrect method use.

13 years agoImplement "relevant" title and user in the skin system and update undelete, log,...
Daniel Friesen [Sat, 1 Jan 2011 01:03:02 +0000 (01:03 +0000)]
Implement "relevant" title and user in the skin system and update undelete, log, contributions, blockip, and movepage to use it.
A "Relevant" is used by the skin to determine what title to display tabs for. This setting allows pages like Special:MovePage (which is linked to from the tabs themselves) to retain the tabs specific to the page relevant to it when switching to the special page.
Similaly a "Relevant" user is used by the skin to display things in the toolbox which would usually only be displayed on the user's userpage and talkpage, pages like Special:Contributions which are linked to by the toolbox can use this to retain the toolbox links when switching between the user pages and these special pages.

13 years agoFix php notice in vector from r79383.
Daniel Friesen [Sat, 1 Jan 2011 00:59:12 +0000 (00:59 +0000)]
Fix php notice in vector from r79383.

13 years agoFollowup r79383, missing message documentation.
Daniel Friesen [Fri, 31 Dec 2010 23:48:41 +0000 (23:48 +0000)]
Followup r79383, missing message documentation.

13 years agoMerging Vector's navigation_urls and SkinTemplate's content_actions code into content...
Daniel Friesen [Fri, 31 Dec 2010 23:30:00 +0000 (23:30 +0000)]
Merging Vector's navigation_urls and SkinTemplate's content_actions code into content_navigation. content_actions is now built by folding content_navigation and cleaning it up a bit.
content_actions hooks no longer work and have been dropped from the code, the hooks that affected vector before now affect all skins.
A few logic changes were made to make for a clean merge:
- vector was using vector-???-??? messages while SkinTemplate was using '???' messages. So as a side effect of merging that together all skins now support messages like '$skinname-view-history' which will fallback to the standard message if not defined.
- For MediaWiki: pages where the page does not exist but the message does in the i18n system SkinTemplate displayed "Edit" while Vector displayed "Create"; All skins now display "Edit".
- For users without undelete permissions SkinTemplate displayed an "Undelete" tab if the user had deletedhistory and deletedtext permissions. Vector would only display the tab for users with both deletedhistory and undelete permissions; The new behavior in all skins is to always display a tab if you have deletedhistory (since Special:Undelete will always have something to display) but display a "View ... deleted" instead of "Undelete" message if you do not have undelete permissions.
- Skins no longer need to hardcode tests for the &action= to decide if they should ignore the accesskey on some tabs, tabs which should not have an accesskey in the current page now have a "tooltiponly" key set to true.

13 years agoForgot to change the other API tests
X! [Fri, 31 Dec 2010 22:34:20 +0000 (22:34 +0000)]
Forgot to change the other API tests

13 years agoSolve 1 test by changing static variables to non-static
X! [Fri, 31 Dec 2010 22:08:13 +0000 (22:08 +0000)]
Solve 1 test by changing static variables to non-static

13 years agoFor some reason tableExists() is being unreliable, which is resulting in tables not...
X! [Fri, 31 Dec 2010 21:51:21 +0000 (21:51 +0000)]
For some reason tableExists() is being unreliable, which is resulting in tables not being dropped that _should_ be dropped. Drop them anyway and ignore the errors.

13 years ago-If $this->db does not exist, skip destroying the DB
X! [Fri, 31 Dec 2010 21:40:26 +0000 (21:40 +0000)]
-If $this->db does not exist, skip destroying the DB
-Fix ApiTest errors due to DB rewrite

13 years agoAdd check to make sure only MySQL and SQLite are used at the moment. These two are...
X! [Fri, 31 Dec 2010 21:10:36 +0000 (21:10 +0000)]
Add check to make sure only MySQL and SQLite are used at the moment. These two are the only ones with the listTables() function, and the only ones that are tested.

13 years agoOnly destroy DB if it needs it
X! [Fri, 31 Dec 2010 21:05:51 +0000 (21:05 +0000)]
Only destroy DB if it needs it

13 years agoI made MySQL work, and broke SQLite in the process. I fix SQLite, and made MySQL...
X! [Fri, 31 Dec 2010 21:01:17 +0000 (21:01 +0000)]
I made MySQL work, and broke SQLite in the process. I fix SQLite, and made MySQL break. Fixing MySQL again, hoping that SQLite works too. :)

13 years agoSolved problem with SQLite: Globals were getting stored, and when a PDO reference...
X! [Fri, 31 Dec 2010 20:47:48 +0000 (20:47 +0000)]
Solved problem with SQLite: Globals were getting stored, and when a PDO reference is transferred, as is the case with SQLite, it serializes the globals.

13 years agoRELEASE-NOTES update for r79363
Aryeh Gregor [Fri, 31 Dec 2010 20:43:27 +0000 (20:43 +0000)]
RELEASE-NOTES update for r79363

13 years agoMore work on getting SQLite to work with unit tests. DB Prefix changing is now static...
X! [Fri, 31 Dec 2010 20:42:39 +0000 (20:42 +0000)]
More work on getting SQLite to work with unit tests. DB Prefix changing is now static to allow for external classes to change it.

13 years agoUpdate dependencies for r79363 per Roan's advice
Aryeh Gregor [Fri, 31 Dec 2010 19:53:54 +0000 (19:53 +0000)]
Update dependencies for r79363 per Roan's advice

13 years agoEnable mwsuggest datalist implementation
Aryeh Gregor [Fri, 31 Dec 2010 19:30:29 +0000 (19:30 +0000)]
Enable mwsuggest datalist implementation

Tested in Firefox 4.0b8, which is the only browser it will trigger for
due to the feature test.  Opera is explicitly blacklisted for the reason
given in the comment.  This feature was added in r61348 but remained
disabled by default because no browser actually supported it properly
(due to Opera's bug).  Of course, this is somewhat obsolescent given the
fancy new Vector search, but it's a two-line change, so why not.

I was reminded of this by Jonas Sicking, a Firefox developer, remarking
on how <datalist> should indeed be usable for this purpose in Firefox 4:
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-December/029577.html

13 years agoNew method for making it easier for developers to get localised language names.
Niklas Laxström [Fri, 31 Dec 2010 18:18:57 +0000 (18:18 +0000)]
New method for making it easier for developers to get localised language names.
For now the core itself doesn't provide those, but extension can use the hook
to provide them. Callers should not except full coverage in every language.

13 years agoAdd SkinTemplateNavigation::SpecialPage and SkinTemplateNavigation::Universal hooks...
Daniel Friesen [Fri, 31 Dec 2010 17:48:07 +0000 (17:48 +0000)]
Add SkinTemplateNavigation::SpecialPage and SkinTemplateNavigation::Universal hooks to match the content_actions based hooks that vector based hooks are missing.

13 years agoMight as well fix this doc file... even though it's completely out of date...
Daniel Friesen [Fri, 31 Dec 2010 17:26:31 +0000 (17:26 +0000)]
Might as well fix this doc file... even though it's completely out of date...

13 years agor79347 didn't update other callers to mungeQuery(), so let's just take the easy way...
Roan Kattouw [Fri, 31 Dec 2010 16:53:01 +0000 (16:53 +0000)]
r79347 didn't update other callers to mungeQuery(), so let's just take the easy way out and obtain $dbr inside the function so we don't have to change the parameter list

13 years agoFollowup r78786: pass $fname in the raw SQL case too
Roan Kattouw [Fri, 31 Dec 2010 16:47:57 +0000 (16:47 +0000)]
Followup r78786: pass $fname in the raw SQL case too

13 years agoFollow-up r78786: the querypage branch merge threw SpecialLinkSearch back to the...
Roan Kattouw [Fri, 31 Dec 2010 16:44:31 +0000 (16:44 +0000)]
Follow-up r78786: the querypage branch merge threw SpecialLinkSearch back to the pre-buildLike() era, so bring back makeLikeArray() and buildLike(). Also, fix an undefined $dbr in the old version.

13 years agoFix r78970 per CR: params were the wrong way around
Roan Kattouw [Fri, 31 Dec 2010 16:31:41 +0000 (16:31 +0000)]
Fix r78970 per CR: params were the wrong way around

13 years agoRemove now-unused SQL timestamp conversion functions added in r77231. They were made...
Roan Kattouw [Fri, 31 Dec 2010 16:29:44 +0000 (16:29 +0000)]
Remove now-unused SQL timestamp conversion functions added in r77231. They were made obsolete by the querypage-work2 branch merge in r78786

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 31 Dec 2010 14:32:24 +0000 (14:32 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-31 14:10:00 UTC)

13 years agoFollow up r79314.
Platonides [Fri, 31 Dec 2010 14:08:10 +0000 (14:08 +0000)]
Follow up r79314.
The table to drop is the NEW one, the one that is going to be recreated.
Sure, the prefix was changed, which means that we need just the table base.

The r79314 behavior was to perform the following:
 DROP /* CloneDatabase::cloneTableStructure  */ TABLE IF EXISTS `archive`
 CREATE /* DatabaseMysql::duplicateTableStructure  */ TEMPORARY  TABLE `unittest_archive` (LIKE `archive`)

Luckily, it failed there as it didn't find the table it had just dropped.

13 years agoChange the values taken from the SeleniumTestConstants.php
nadeesha [Fri, 31 Dec 2010 10:05:15 +0000 (10:05 +0000)]
Change the values taken from the SeleniumTestConstants.php

13 years agoFollowup r74519, fixup code style issues
Sam Reed [Fri, 31 Dec 2010 07:25:51 +0000 (07:25 +0000)]
Followup r74519, fixup code style issues

13 years agoMake BenchmarkPurge subclass benchmark, not really reusing most of the code yet...
Sam Reed [Fri, 31 Dec 2010 07:13:40 +0000 (07:13 +0000)]
Make BenchmarkPurge subclass benchmark, not really reusing most of the code yet...

13 years agoAdd descriptions
Sam Reed [Fri, 31 Dec 2010 07:09:49 +0000 (07:09 +0000)]
Add descriptions

13 years agoMove benchmarkPurge to maintenance/benchmarks folder
Sam Reed [Fri, 31 Dec 2010 07:06:50 +0000 (07:06 +0000)]
Move benchmarkPurge to maintenance/benchmarks folder

13 years agoUse $oldTableName in CloneDatabase. The dropTable() appends the prefix, so $oldTableN...
X! [Fri, 31 Dec 2010 02:18:25 +0000 (02:18 +0000)]
Use $oldTableName in CloneDatabase. The dropTable() appends the prefix, so $oldTableName becomes $newTableName

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 30 Dec 2010 21:45:57 +0000 (21:45 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-20 21:02:00 UTC)

13 years agoFollow up r77654
Platonides [Thu, 30 Dec 2010 19:18:09 +0000 (19:18 +0000)]
Follow up r77654
These two files use constants from SeleniumTestConstants.php
I would be more confortable if all these defines were class variables, though.

Removed an empty statement.

13 years agoDon't put multiple tables in the same file.
Greg Sabino Mullane [Thu, 30 Dec 2010 18:53:48 +0000 (18:53 +0000)]
Don't put multiple tables in the same file.

13 years agoFix private class member variable access
Sam Reed [Thu, 30 Dec 2010 17:41:19 +0000 (17:41 +0000)]
Fix private class member variable access

Some method documentation

13 years ago-Destroy the DB automatically when initting the DB
X! [Thu, 30 Dec 2010 17:30:35 +0000 (17:30 +0000)]
-Destroy the DB automatically when initting the DB
-Add $force option to wfSetVar
-More work on getting SQLite to work

13 years agoStyleli[zs]e the API up to date (Been a while since)
Sam Reed [Thu, 30 Dec 2010 17:06:09 +0000 (17:06 +0000)]
Styleli[zs]e the API up to date (Been a while since)

13 years agoSpacing, esthetical fixes.
Platonides [Thu, 30 Dec 2010 16:57:44 +0000 (16:57 +0000)]
Spacing, esthetical fixes.

13 years agoFollow up r79109. Do not use create_function.
Platonides [Thu, 30 Dec 2010 16:24:29 +0000 (16:24 +0000)]
Follow up r79109. Do not use create_function.

13 years agoThis global declaration is now unused.
Platonides [Thu, 30 Dec 2010 16:19:10 +0000 (16:19 +0000)]
This global declaration is now unused.

13 years agoResourceLoader::register() works differently since r77011.
Platonides [Thu, 30 Dec 2010 16:16:16 +0000 (16:16 +0000)]
ResourceLoader::register() works differently since r77011.
This test isn't useful anymore.

13 years agoFix r71751 problems with textual parameters.
Platonides [Thu, 30 Dec 2010 16:10:42 +0000 (16:10 +0000)]
Fix r71751 problems with textual parameters.
Add a test for checking the problems which appeared in r71751

13 years ago(bug 26507) Wrap all ResourceLoader-served JS in (function($, mw) { code here })...
Roan Kattouw [Thu, 30 Dec 2010 12:22:39 +0000 (12:22 +0000)]
(bug 26507) Wrap all ResourceLoader-served JS in (function($, mw) { code here })(jQuery, mediaWiki) so modules can always use $ as an alias for jQuery even if it's been unset in the global scope with jQuery.noConflict()

13 years agoFix JS errors in prefs.js caused by the (unintentional?) renaming of mw-input-timecor...
Roan Kattouw [Thu, 30 Dec 2010 12:16:16 +0000 (12:16 +0000)]
Fix JS errors in prefs.js caused by the (unintentional?) renaming of mw-input-timecorrection to mw-input-wptimecorrection. This was caused by one of the HTMLForm changes but those are all very mysterious to me, so I haven't tried to track down which change is to blame or figure out how to rename the inputs back. Instead, I updated the JS file to use the new IDs

13 years agoFollowup r79055 c12495 fix undefined index notice.
Daniel Friesen [Thu, 30 Dec 2010 10:03:40 +0000 (10:03 +0000)]
Followup r79055 c12495 fix undefined index notice.

13 years agoReplace the common xpaths with the 'LINK_DIV', 'LINK_FORM', 'LINK_RIGHT_FRAMEWORK...
nadeesha [Thu, 30 Dec 2010 09:10:46 +0000 (09:10 +0000)]
Replace the common xpaths with the 'LINK_DIV', 'LINK_FORM', 'LINK_RIGHT_FRAMEWORK' variables

13 years agoAdded 'LINK_DIV' variable
nadeesha [Thu, 30 Dec 2010 09:07:23 +0000 (09:07 +0000)]
Added 'LINK_DIV' variable

13 years agoAdded two variables 'LINK_FORM' and 'LINK_RIGHT_FRAMEWORK'
nadeesha [Thu, 30 Dec 2010 08:37:01 +0000 (08:37 +0000)]
Added two variables 'LINK_FORM' and 'LINK_RIGHT_FRAMEWORK'

13 years agoFix for r79231: $dbname was missing
Alexandre Emsenhuber [Thu, 30 Dec 2010 07:24:41 +0000 (07:24 +0000)]
Fix for r79231: $dbname was missing

13 years agoRemove another usage of extract()
Sam Reed [Thu, 30 Dec 2010 03:00:45 +0000 (03:00 +0000)]
Remove another usage of extract()

13 years agoNo magic variables are used after this extract call. All done $defaults['blah']....
Sam Reed [Thu, 30 Dec 2010 02:56:36 +0000 (02:56 +0000)]
No magic variables are used after this extract call. All done $defaults['blah']. Hence remove extract call

13 years agoExtract sucks
Sam Reed [Thu, 30 Dec 2010 02:48:27 +0000 (02:48 +0000)]
Extract sucks

Wrap long line

13 years agoFollowup r79229, fix varible type fail
Sam Reed [Thu, 30 Dec 2010 02:45:28 +0000 (02:45 +0000)]
Followup r79229, fix varible type fail

13 years agoAdd function return type hint to wfGetLBFactory
Sam Reed [Thu, 30 Dec 2010 02:44:26 +0000 (02:44 +0000)]
Add function return type hint to wfGetLBFactory

More parameter documentation to CloneDatabase

13 years agoArray to array
Sam Reed [Thu, 30 Dec 2010 02:41:20 +0000 (02:41 +0000)]
Array to array

Add some function documentation

13 years agoPer CR on r68482, fix adss to add
Sam Reed [Thu, 30 Dec 2010 00:56:30 +0000 (00:56 +0000)]
Per CR on r68482, fix adss to add

Also remove trailing whitespace in files

13 years agoFix r79213: and $ts === null too, per CR
Roan Kattouw [Wed, 29 Dec 2010 22:30:07 +0000 (22:30 +0000)]
Fix r79213: and $ts === null too, per CR

13 years agoFollowup r71751: change strict comparison to loose per CR, and add a comment explaini...
Roan Kattouw [Wed, 29 Dec 2010 22:28:26 +0000 (22:28 +0000)]
Followup r71751: change strict comparison to loose per CR, and add a comment explaining why

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 29 Dec 2010 20:54:05 +0000 (20:54 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-29 20:34:00 UTC)

13 years agoFollow-up to r75282: don't query if there are no pages to query
Bryan Tong Minh [Wed, 29 Dec 2010 20:32:14 +0000 (20:32 +0000)]
Follow-up to r75282: don't query if there are no pages to query

13 years agoFollowup r78824: add missing message
Roan Kattouw [Wed, 29 Dec 2010 20:20:55 +0000 (20:20 +0000)]
Followup r78824: add missing message

13 years agoFix example per r78832 CR
Chad Horohoe [Wed, 29 Dec 2010 18:37:08 +0000 (18:37 +0000)]
Fix example per r78832 CR

13 years agoFollowup r78823: just remove the offending line entirely
Chad Horohoe [Wed, 29 Dec 2010 17:15:46 +0000 (17:15 +0000)]
Followup r78823: just remove the offending line entirely

13 years agoTweak comment
Chad Horohoe [Wed, 29 Dec 2010 17:03:07 +0000 (17:03 +0000)]
Tweak comment

13 years agoFollow up r79183 removing global added in r79154
Platonides [Wed, 29 Dec 2010 16:45:16 +0000 (16:45 +0000)]
Follow up r79183 removing global added in r79154

13 years ago(Bug 26458) Section edit links appear on pages that user does not have right to edit (
Platonides [Wed, 29 Dec 2010 16:42:46 +0000 (16:42 +0000)]
(Bug 26458) Section edit links appear on pages that user does not have right to edit (

13 years agoSelf-reverting my reversion of r79154 in r79158. The old version is flawed and broken...
X! [Wed, 29 Dec 2010 16:40:31 +0000 (16:40 +0000)]
Self-reverting my reversion of r79154 in r79158. The old version is flawed and broken beyond belief. At least this version works.

13 years agoReplace the global $additionalMWCLIArgs with a class variable.
Platonides [Wed, 29 Dec 2010 16:24:59 +0000 (16:24 +0000)]
Replace the global $additionalMWCLIArgs with a class variable.
Provide a default value for verbose since it is checked regardless of existance.

13 years agoFollow up r67663. Now with 100% less sugar, er.. @s!
Platonides [Wed, 29 Dec 2010 16:15:23 +0000 (16:15 +0000)]
Follow up r67663. Now with 100% less sugar, er.. @s!

13 years agoMove MediaWikiTestCase class to a new file and load it from phpunit.php
Platonides [Wed, 29 Dec 2010 15:52:07 +0000 (15:52 +0000)]
Move MediaWikiTestCase class to a new file and load it from phpunit.php
This restores the ability to run single tests with
php phpunit.php includes/filename.php

13 years agoFollow up r79107 for old PHPUnit versions.
Platonides [Wed, 29 Dec 2010 15:21:25 +0000 (15:21 +0000)]
Follow up r79107 for old PHPUnit versions.

13 years agoDon't error no matter if the article exists or not.
Platonides [Wed, 29 Dec 2010 15:15:56 +0000 (15:15 +0000)]
Don't error no matter if the article exists or not.
Change the parent to MediaWikiTestCase.

13 years agoFix the DELETE FROM `unittest_objectcache` WHERE keyname = 'my_wiki-unittest_:user...
Platonides [Wed, 29 Dec 2010 15:11:44 +0000 (15:11 +0000)]
Fix the DELETE FROM `unittest_objectcache` WHERE keyname = 'my_wiki-unittest_:user:id:1 error