lhc/web/wiklou.git
13 years agoThe subtitle on movepage is now redundant with the tabs
Niklas Laxström [Sun, 2 Jan 2011 12:43:43 +0000 (12:43 +0000)]
The subtitle on movepage is now redundant with the tabs

13 years agoFollow-up r79483: Fix syntax error: PHP Notice: Undefined variable: wgUpgradeKey...
Raimond Spekking [Sun, 2 Jan 2011 10:07:58 +0000 (10:07 +0000)]
Follow-up r79483: Fix syntax error: PHP Notice: Undefined variable: wgUpgradeKey in /home/betawiki/projects/mediawiki-ext/Installer/Installer.i18n.php on line 5997

13 years agoFixup some syntax errors in messages
Sam Reed [Sun, 2 Jan 2011 09:30:41 +0000 (09:30 +0000)]
Fixup some syntax errors in messages

13 years agoMethod documentation
Sam Reed [Sun, 2 Jan 2011 08:33:47 +0000 (08:33 +0000)]
Method documentation

13 years agoExplicitally define $duplicates = array();
Sam Reed [Sun, 2 Jan 2011 08:25:05 +0000 (08:25 +0000)]
Explicitally define $duplicates = array();

Also changed undefined $row for $rows

13 years ago* (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater
Sam Reed [Sun, 2 Jan 2011 08:05:04 +0000 (08:05 +0000)]
* (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater

13 years agoPer my comment on r68760: Make MWfunction class, complete with call_user_func helper...
X! [Sun, 2 Jan 2011 06:48:07 +0000 (06:48 +0000)]
Per my comment on r68760: Make MWfunction class, complete with call_user_func helper functions that automatically
make the callback PHP 5.1 compatible with the Class::Method syntax. Add Unit tests to supplement it.

13 years agoFollowup to r79477: Add invalid purge title
X! [Sun, 2 Jan 2011 06:15:32 +0000 (06:15 +0000)]
Followup to r79477: Add invalid purge title

13 years agoAdd API purge test (mainly as proof of concept for how API tests should be written)
X! [Sun, 2 Jan 2011 06:09:58 +0000 (06:09 +0000)]
Add API purge test (mainly as proof of concept for how API tests should be written)

13 years agoRefactor much of the API testing code.
X! [Sun, 2 Jan 2011 05:52:00 +0000 (05:52 +0000)]
Refactor much of the API testing code.
Old: ApiWatchTest not only tested the watch module, but also tested the login module,
     and the login module test was also used to log in to the API for the other tests.
New: ApiWatchTest only contains watch-specific methods. The login testing has been moved
     to ApiTest. The code used to log in and get tokens have been moved to ApiSetup. Nice,
     organized, and much nicer than before. ApiUploadTest is still pretty fugly, though.

13 years ago* Toggle entire element if no .mw-collapsible-content is found
Krinkle [Sun, 2 Jan 2011 04:46:44 +0000 (04:46 +0000)]
* Toggle entire element if no .mw-collapsible-content is found
* Bug fixed in which a single customtoggle should trigger multiple customcollapsible elements

If no .mw-collapsible-content element is found when the toggleElement() function is called, assume that the user wants the mw-collapsible itself to be toggled. This enables custom use with table rows (in which we dont want something inside to toggle but the entire table row) - with a remote toggle.

This change makes it possible to have a togglable table-row.

The intial "collapsed" state for a mw-customtoggle is no longer executed by performing a click on the mw-customtoggle. Instead by calling the toggle function directly.
Reason being that an mw-customtoggle could have any number of special functions bound to it (be it the function to toggle another mw-customcollapsible, or perhaps a totally different function).

I considered using this method for 'normal' default togglers as well. However default togglers have more actions involved aside from just 'toggling' the element. Namely changing the innerText to the localized message and swapping classes. Those stay as they are by simply simulating a click() event on them (if the initial state should be collapsed).

13 years agoFollowup r79470, removed unused variable
Sam Reed [Sun, 2 Jan 2011 04:46:41 +0000 (04:46 +0000)]
Followup r79470, removed unused variable

13 years agoGlobalFunction additions:
X! [Sun, 2 Jan 2011 04:38:04 +0000 (04:38 +0000)]
GlobalFunction additions:
-in_string has a case-insensitive option
-wfClientAcceptsGzip has a force option to force resetting the static value, useful for unit tests

Unit tests for more global functions added

13 years agoMethod documentation
Sam Reed [Sun, 2 Jan 2011 04:37:06 +0000 (04:37 +0000)]
Method documentation

Change variable assignment

13 years agoApiQueryRevisions: Switch from manual Cache checking, to use $article->getParserOutput()
Sam Reed [Sun, 2 Jan 2011 03:20:45 +0000 (03:20 +0000)]
ApiQueryRevisions: Switch from manual Cache checking, to use $article->getParserOutput()

ApiParse: Fix comment typo

13 years agoAdd more wfDebug tests
X! [Sun, 2 Jan 2011 02:33:07 +0000 (02:33 +0000)]
Add more wfDebug tests

13 years agoFollowup r79467: Add more wfDebug() tests, complete with MockOutputPage
X! [Sun, 2 Jan 2011 02:16:32 +0000 (02:16 +0000)]
Followup r79467: Add more wfDebug() tests, complete with MockOutputPage

13 years agoAdd some wfDebug() unit tests
X! [Sun, 2 Jan 2011 01:59:52 +0000 (01:59 +0000)]
Add some wfDebug() unit tests

13 years agoAdd fallback mb_* function tests
X! [Sun, 2 Jan 2011 01:51:44 +0000 (01:51 +0000)]
Add fallback mb_* function tests

13 years agoFix r79463 and r79464: Syntax error
X! [Sun, 2 Jan 2011 01:35:24 +0000 (01:35 +0000)]
Fix r79463 and r79464: Syntax error

13 years agoAccidental syntax error. *hides*
X! [Sun, 2 Jan 2011 01:34:26 +0000 (01:34 +0000)]
Accidental syntax error. *hides*

13 years agoMove fallback function creation out of function_exists() conditionals.
X! [Sun, 2 Jan 2011 01:29:00 +0000 (01:29 +0000)]
Move fallback function creation out of function_exists() conditionals.
This allows for unit testing of the fallback functions to ensure that
they work like the real functions do

13 years agoFix broken blacklisting code from r79363
Aryeh Gregor [Sun, 2 Jan 2011 00:10:42 +0000 (00:10 +0000)]
Fix broken blacklisting code from r79363

Problem reported by Krinkle -- the code I copy-pasted from the wiki page
was wrong, and apparently I didn't test properly in Opera.

13 years agoAdd missing $popts parameter, and pass it from r79455
Sam Reed [Sat, 1 Jan 2011 23:06:04 +0000 (23:06 +0000)]
Add missing $popts parameter, and pass it from r79455

13 years agoAllow section to work with oldid when oldid == currentrevid (worked with older id)
Sam Reed [Sat, 1 Jan 2011 23:01:24 +0000 (23:01 +0000)]
Allow section to work with oldid when oldid == currentrevid (worked with older id)

13 years agoPer Platonides on CR r75334, use $article->getParserOutput() to get latest revision...
Sam Reed [Sat, 1 Jan 2011 22:49:47 +0000 (22:49 +0000)]
Per Platonides on CR r75334, use $article->getParserOutput() to get latest revision, rather than doing parser cache stuff ourselves

Helps reduce code duplication too

13 years agoDocument getParserOutput() return type in Article
Sam Reed [Sat, 1 Jan 2011 22:46:23 +0000 (22:46 +0000)]
Document getParserOutput() return type in Article

13 years agoPer Nikerabbit on IRC, and Bryan on CR (r79451), change back for ===, and intval...
Sam Reed [Sat, 1 Jan 2011 22:42:53 +0000 (22:42 +0000)]
Per Nikerabbit on IRC, and Bryan on CR (r79451), change back for ===, and intval( $oldid )

13 years agoFollowup r75334. Change to int == string, rather than int === string (not going to...
Sam Reed [Sat, 1 Jan 2011 22:35:16 +0000 (22:35 +0000)]
Followup r75334. Change to int == string, rather than int === string (not going to work)

Attempt to load/save an article object, rather than an title object from the parser cache.

Per Bryan, and per bug 26534 now logged, this really needs refactoring more cleanly. As if latestRevId == oldid set, it's doing exactly the same lookup/parse

13 years agorm unused global
Platonides [Sat, 1 Jan 2011 22:24:51 +0000 (22:24 +0000)]
rm unused global

13 years agoFix r79447: Remove debugging code
X! [Sat, 1 Jan 2011 22:19:22 +0000 (22:19 +0000)]
Fix r79447: Remove debugging code

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