lhc/web/wiklou.git
13 years ago* Eliminate CLIInstallerOutput per r68645 since, yes, it wasn't needed.
Mark A. Hershberger [Fri, 2 Jul 2010 21:15:13 +0000 (21:15 +0000)]
* Eliminate CLIInstallerOutput per r68645 since, yes, it wasn't needed.
* Make sure output only happens in the top-level Installer implementations.
* Differentiate Status warning messages from Status error messages in the Installer.
* Change abstract method from Install::showStatusError() to Install::showStatusMessage() since we'll use it to show warnings now, too.
* TODO Need a better way to extract/display Status warning messages since, from my look at the Status class, it looks like warnings are implemented, but not really used.

13 years ago(bug 24212) Added MediaWiki:ImagePage.css which is also included on foreign client...
Bryan Tong Minh [Fri, 2 Jul 2010 19:54:46 +0000 (19:54 +0000)]
(bug 24212) Added MediaWiki:ImagePage.css which is also included on foreign client wikis.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 2 Jul 2010 19:30:05 +0000 (19:30 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-07-02 19:08:00 UTC)

13 years agoLocalization update for he.
Rotem Liss [Fri, 2 Jul 2010 19:22:44 +0000 (19:22 +0000)]
Localization update for he.

13 years agoAnd one error suppression opertator less (per bug 24159)
Alexandre Emsenhuber [Fri, 2 Jul 2010 19:10:36 +0000 (19:10 +0000)]
And one error suppression opertator less (per bug 24159)

13 years ago* Added scriptExtension setting to $wgForeignFileRepos
Bryan Tong Minh [Fri, 2 Jul 2010 18:37:06 +0000 (18:37 +0000)]
* Added scriptExtension setting to $wgForeignFileRepos
* Added FileRepo::makeUrl() to remove code duplication
* Made ForeignApiRepo use scriptDirUrl if apiBase not set
* Factored out 'timestamp|user|comment|url|size|sha1|metadata|mime' to ForeignApiFile::getProps()
* Killed some @ error suppression

13 years agoFollowup to r66898, source correct patchfile
OverlordQ [Fri, 2 Jul 2010 17:22:37 +0000 (17:22 +0000)]
Followup to r66898, source correct patchfile

13 years agoMake escapenoentities work again, broken by r68801
Aryeh Gregor [Fri, 2 Jul 2010 16:42:24 +0000 (16:42 +0000)]
Make escapenoentities work again, broken by r68801

13 years agoFixed E_STRICT for different function signature
Alexandre Emsenhuber [Fri, 2 Jul 2010 16:19:09 +0000 (16:19 +0000)]
Fixed E_STRICT for different function signature

13 years agoPass a title to DifferenceEngine's constructor so that it won't fall back to $wgTitle...
Alexandre Emsenhuber [Fri, 2 Jul 2010 16:12:30 +0000 (16:12 +0000)]
Pass a title to DifferenceEngine's constructor so that it won't fall back to $wgTitle (Special:ComparePage) and produce invalid links

13 years ago* Removed unused globals
Alexandre Emsenhuber [Fri, 2 Jul 2010 15:57:58 +0000 (15:57 +0000)]
* Removed unused globals
* Fixed some whitespaces
* Use Html class instead of Xml when possible
* Make the page valid when using HTML5

13 years agoMake the "Reason:" label consistent for all input forms, compare with http://translat...
Raimond Spekking [Fri, 2 Jul 2010 15:10:29 +0000 (15:10 +0000)]
Make the "Reason:" label consistent for all input forms, compare with translatewiki.net/wiki/Template:Identical/Reason for a list of all reason labels.

13 years agoSpecial:ComparePages: output titles in a more human-readable form
Max Semenik [Fri, 2 Jul 2010 14:04:39 +0000 (14:04 +0000)]
Special:ComparePages: output titles in a more human-readable form

13 years agoRefactored Database*::getLag(): moved the default implementation to MySQL, replaced...
Max Semenik [Fri, 2 Jul 2010 13:17:28 +0000 (13:17 +0000)]
Refactored Database*::getLag(): moved the default implementation to MySQL, replaced it with a proper dummy, deleted stub implementations from other classes. This adds fake lag support to all databases.

13 years ago(bug 24073) Recognize MS Office 2003 style files that have been saved by MS 2007.
Derk-Jan Hartman [Fri, 2 Jul 2010 12:11:39 +0000 (12:11 +0000)]
(bug 24073) Recognize MS Office 2003 style files that have been saved by MS 2007.
These files have OPC trailers with 2007 specific information.

13 years ago* Replaced the mess of every database class implementing filedExists() is its own...
Max Semenik [Fri, 2 Jul 2010 10:01:09 +0000 (10:01 +0000)]
* Replaced the mess of every database class implementing filedExists() is its own way with one simple function in base class. Verified to work on MySQL, Postgres and SQLite.
* Fixed fieldInfo() on Postgres not using tableName() and thus failing for table user, for example.
* Made fieldInfo() on MySQL return false instead of throwing a query error if table does not exist. This is consistent with other databases' behaviour.

13 years agoRemove some whitespace, and fixup if braces in postgres section of updaters.inc
Sam Reed [Fri, 2 Jul 2010 06:52:20 +0000 (06:52 +0000)]
Remove some whitespace, and fixup if braces in postgres section of updaters.inc

Fix minor message typo also

13 years agoUpdate the Chinese conversion tables.
Philip Tzou [Fri, 2 Jul 2010 04:16:46 +0000 (04:16 +0000)]
Update the Chinese conversion tables.

13 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Thu, 1 Jul 2010 20:45:21 +0000 (20:45 +0000)]
Fixed some doxygen warnings

13 years agoMake sure we use the right variable. Follow up r68848.
Derk-Jan Hartman [Thu, 1 Jul 2010 19:57:26 +0000 (19:57 +0000)]
Make sure we use the right variable. Follow up r68848.

13 years ago(bug 24022) Don't check extensions of files in uploadpage script when $wgStrictFileEx...
Derk-Jan Hartman [Thu, 1 Jul 2010 19:55:04 +0000 (19:55 +0000)]
(bug 24022) Don't check extensions of files in uploadpage script when $wgStrictFileExtensions == false

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 1 Jul 2010 19:37:00 +0000 (19:37 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-07-01 19:25:00 UTC)

13 years agotexvc +\bcancel and \xcancel to make full use of the cancel package
Conrad Irwin [Thu, 1 Jul 2010 19:11:22 +0000 (19:11 +0000)]
texvc +\bcancel and \xcancel to make full use of the cancel package

13 years agoThrow a wfDeprecated() on this since the last usage is gone in r68836
Chad Horohoe [Thu, 1 Jul 2010 15:31:54 +0000 (15:31 +0000)]
Throw a wfDeprecated() on this since the last usage is gone in r68836

13 years agoFollowup r63389: remove useless CACHE_DB and confusing CACHE_ANYTHING from cache...
Chad Horohoe [Thu, 1 Jul 2010 13:43:05 +0000 (13:43 +0000)]
Followup r63389: remove useless CACHE_DB and confusing CACHE_ANYTHING from cache setup

13 years ago(bug 16886) Sister projects box moves down the extract of the first result in IE 7.
Platonides [Thu, 1 Jul 2010 09:48:53 +0000 (09:48 +0000)]
(bug 16886) Sister projects box moves down the extract of the first result in IE 7.

13 years agoDon't add confusing new lines to debug output, mark deprecated method
Niklas Laxström [Thu, 1 Jul 2010 07:30:55 +0000 (07:30 +0000)]
Don't add confusing new lines to debug output, mark deprecated method

13 years agoAdd a couple of braces
Sam Reed [Thu, 1 Jul 2010 06:28:30 +0000 (06:28 +0000)]
Add a couple of braces

13 years agoUse <!DOCTYPE html> unconditionally
Aryeh Gregor [Wed, 30 Jun 2010 23:08:49 +0000 (23:08 +0000)]
Use <!DOCTYPE html> unconditionally

See r67090 for context.  Everywhere that I've found this breaking
well-formedness is fixed.  Tested with the following Python:

import xml.sax
class Myhandler(xml.sax.ContentHandler):
    pass

h = Myhandler()
for page in ('BrokenRedirects', 'Deadendpages', 'DoubleRedirects', 'Longpages', 'Ancientpages', 'Lonelypages', 'Fewestrevisions', 'Withoutinterwiki', 'Protectedpages', 'Protectedtitles', 'Shortpages', 'Uncategorizedcategories', 'Uncategorizedimages', 'Uncategorizedpages', 'Uncategorizedtemplates', 'Unusedcategories', 'Unusedimages', 'Unusedtemplates', 'Unwatchedpages', 'Wantedcategories', 'Wantedfiles', 'Wantedpages', 'Wantedtemplates', 'Allpages', 'Prefixindex', 'Categories', 'Disambiguations', 'Listredirects', 'Userlogin', 'CreateAccount', 'Blockip', 'Ipblocklist', 'Unblock', 'Resetpass', 'DeletedContributions', 'Preferences', 'Contributions', 'Listgrouprights', 'Listusers', 'Activeusers', 'Userrights', 'Newimages', 'Log', 'Watchlist', 'Newpages', 'Recentchanges', 'Recentchangeslinked', 'Tags', 'Listfiles', 'Filepath', 'MIMEsearch', 'FileDuplicateSearch', 'Upload', 'Statistics', 'Allmessages', 'Version', 'Lockdb', 'Unlockdb', 'LinkSearch', 'Randompage', 'Randomredirect', 'Mostlinkedcategories', 'Mostimages', 'Mostlinked', 'Mostlinkedtemplates', 'Mostcategories', 'Mostrevisions', 'ComparePages', 'Export', 'Import', 'Undelete', 'Whatlinkshere', 'MergeHistory', 'Booksources', 'Blankpage', 'Blockme', 'Emailuser', 'Listadmins', 'Listbots', 'Movepage', 'Mycontributions', 'Mypage', 'Mytalk', 'Revisiondelete', 'RevisionMove', 'Specialpages', 'Userlogout'):
    xml.sax.parse("http://localhost/git-trunk/phase3/index.php?title=Special:" + page, h)

I had to manually skip some of these for unrelated reasons, but none of
them became malformed because of this commit.  Also tested the main page
and Special:Random a bunch of separate times.  There are probably other
well-formedness errors lurking, but they can be fixed as they're
reported.

13 years ago0="something" is not what we want here, we want id
Aryeh Gregor [Wed, 30 Jun 2010 23:08:41 +0000 (23:08 +0000)]
0="something" is not what we want here, we want id

Html should probably check for the case of missing keys in attributes.

13 years agoWhen using escapenoentities, decode entities
Aryeh Gregor [Wed, 30 Jun 2010 23:08:31 +0000 (23:08 +0000)]
When using escapenoentities, decode entities

See r67090 for context.  Maybe it would be better to alter
normalizeCharReferences() instead?  I'm not sure where else it's called.

13 years agoVector - fix for bug 24190
Adam Miller [Wed, 30 Jun 2010 22:20:18 +0000 (22:20 +0000)]
Vector - fix for bug 24190

13 years agoDisable form validation more thoroughly
Aryeh Gregor [Wed, 30 Jun 2010 22:14:36 +0000 (22:14 +0000)]
Disable form validation more thoroughly

Expands on r67283 by not using any HTML5 input types either, except
search.  Otherwise you'd still have problems when changing integer
fields in Special:Preferences, say.  Sad, since in Opera it had a cute
little widget for incrementing/decrementing, and types like email have
some neat effects on platforms like the iPhone (see
<http://diveintohtml5.org/forms.html#type-email>).  But there's no other
way to disable the constraints these impose without using JS, and given
how broken WebKit is right now . . .

13 years agoFix more grammar in r67360's comment
Aryeh Gregor [Wed, 30 Jun 2010 21:37:19 +0000 (21:37 +0000)]
Fix more grammar in r67360's comment

(see also r67401)

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 30 Jun 2010 18:02:40 +0000 (18:02 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-30 17:45:00 UTC)

13 years agoNormalise # to // comments
Sam Reed [Wed, 30 Jun 2010 15:50:37 +0000 (15:50 +0000)]
Normalise # to // comments

13 years agoFollowup r65037, do the same for the other route of badtitle
Sam Reed [Wed, 30 Jun 2010 15:34:59 +0000 (15:34 +0000)]
Followup r65037, do the same for the other route of badtitle

13 years agoLocalization update for he.
Rotem Liss [Wed, 30 Jun 2010 14:42:44 +0000 (14:42 +0000)]
Localization update for he.

13 years agoFix r65069 per CR: put logo setting outside of block hidden when uploads are disabled
Roan Kattouw [Wed, 30 Jun 2010 10:44:51 +0000 (10:44 +0000)]
Fix r65069 per CR: put logo setting outside of block hidden when uploads are disabled

13 years agoMention the other supported accelerators
Niklas Laxström [Wed, 30 Jun 2010 07:42:43 +0000 (07:42 +0000)]
Mention the other supported accelerators

13 years agoExtra whitespace which annoys me
Niklas Laxström [Wed, 30 Jun 2010 07:42:07 +0000 (07:42 +0000)]
Extra whitespace which annoys me

13 years agoPut \n in double-quotes
Mark A. Hershberger [Wed, 30 Jun 2010 07:39:17 +0000 (07:39 +0000)]
Put \n in double-quotes

13 years agoFix error suppression from r63209.
Tim Starling [Wed, 30 Jun 2010 05:30:29 +0000 (05:30 +0000)]
Fix error suppression from r63209.

13 years agor68756 - Make the use of MW_CONFIG_CALLBACK compatible with PHP 5.1
Mark A. Hershberger [Wed, 30 Jun 2010 04:25:23 +0000 (04:25 +0000)]
r68756 - Make the use of MW_CONFIG_CALLBACK compatible with PHP 5.1

13 years ago* Removed mockup code from WebInstallerPage::execute(), made it abstract instead.
Tim Starling [Wed, 30 Jun 2010 03:36:20 +0000 (03:36 +0000)]
* Removed mockup code from WebInstallerPage::execute(), made it abstract instead.
* Updated URL for session.save_path documentation.
* Fixed documentation typo.

13 years agoFix for r68645: <doclink> was removed in refactor
Chad Horohoe [Wed, 30 Jun 2010 00:52:11 +0000 (00:52 +0000)]
Fix for r68645: <doclink> was removed in refactor

13 years agoSimpleSearch - fixing positioning problems with the button
Adam Miller [Tue, 29 Jun 2010 22:02:20 +0000 (22:02 +0000)]
SimpleSearch - fixing positioning problems with the button

13 years agoRem superfluous code, as per comments on r68338
Sam Reed [Tue, 29 Jun 2010 20:22:52 +0000 (20:22 +0000)]
Rem superfluous code, as per comments on r68338

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 29 Jun 2010 19:51:55 +0000 (19:51 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-29 19:28:00 UTC)

13 years agoFollow-up r68719: Simplify a bit per suggestions of Nikerabbit.
Raimond Spekking [Tue, 29 Jun 2010 14:37:39 +0000 (14:37 +0000)]
Follow-up r68719: Simplify a bit per suggestions of Nikerabbit.

13 years ago* Bug 8507 - Group file links by namespace:title on image pages
Raimond Spekking [Tue, 29 Jun 2010 13:38:55 +0000 (13:38 +0000)]
* Bug 8507 -  Group file links by namespace:title on image pages
* Use proper Html::functions
* Add namespace specific CSS Id to the li elements to allow styling per namespace

13 years agoAdding new namespace alises for Persian.
Huji [Tue, 29 Jun 2010 11:34:25 +0000 (11:34 +0000)]
Adding new namespace alises for Persian.

13 years agoFixed yet another borkage from r67707
Max Semenik [Tue, 29 Jun 2010 09:20:09 +0000 (09:20 +0000)]
Fixed yet another borkage from r67707

13 years agoFixed a fatal installer failure on PG introduced in r67707. 1.16 is unaffected
Max Semenik [Tue, 29 Jun 2010 09:11:37 +0000 (09:11 +0000)]
Fixed a fatal installer failure on PG introduced in r67707. 1.16 is unaffected

13 years agoadded normalization for parameter 'page', based on pageCount, as by tims comment...
Daniel Kinzler [Tue, 29 Jun 2010 08:40:23 +0000 (08:40 +0000)]
added normalization for parameter 'page', based on pageCount, as by tims comment to r68418

13 years agoRevert r66835, r66846: it's too late to break interfaces in 1.16.
Tim Starling [Tue, 29 Jun 2010 06:39:32 +0000 (06:39 +0000)]
Revert r66835, r66846: it's too late to break interfaces in 1.16.

13 years agoFix comment typo
Sam Reed [Tue, 29 Jun 2010 06:32:18 +0000 (06:32 +0000)]
Fix comment typo

13 years agoLet CookieJar work for hostnames without dots in them, so that ApiTest can work on...
Tim Starling [Tue, 29 Jun 2010 03:49:35 +0000 (03:49 +0000)]
Let CookieJar work for hostnames without dots in them, so that ApiTest can work on my test wiki (and presumably most other localhost wikis).

13 years agoRemoved the hacks from r62948 to skip ApiTest if the parser test database is currentl...
Tim Starling [Tue, 29 Jun 2010 03:44:08 +0000 (03:44 +0000)]
Removed the hacks from r62948 to skip ApiTest if the parser test database is currently active. This is no longer necessary since the parser tests tear down the database environment properly.

13 years ago* remove bogus outputFooter call
Mark A. Hershberger [Tue, 29 Jun 2010 02:46:11 +0000 (02:46 +0000)]
* remove bogus outputFooter call
* strip tags + de-code entities before outputing messages to CLI (need an un-wiki call)
* Make LocalSettings::writeLocalSettings return a Status object instead of true/false so we can use the text in out cli output.

13 years ago* Remove error classes from revmove messages. Used with OutputPage::showErrorPage...
Siebrand Mazeland [Mon, 28 Jun 2010 22:28:13 +0000 (22:28 +0000)]
* Remove error classes from revmove messages. Used with OutputPage::showErrorPage, and other special pages using that method do not have marked up messages either.
* Reword 'revmove-nullmove' per suggestion of Nikerabbit (http://translatewiki.net/wiki/Thread:Support/MediaWiki:Revmove-nullmove).
* Remove references to the "back" button, and use "Go back to the previous page" in three messages.
* Add newlines between sentences.

13 years agoRemove trailing whitespace, run stylize.php, update whitespace
Siebrand Mazeland [Mon, 28 Jun 2010 22:13:02 +0000 (22:13 +0000)]
Remove trailing whitespace, run stylize.php, update whitespace

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Mon, 28 Jun 2010 19:46:38 +0000 (19:46 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-28 19:36:00 UTC)

13 years agoAdded @noflip to div.tleft and div.rleft
Trevor Parscal [Mon, 28 Jun 2010 19:46:31 +0000 (19:46 +0000)]
Added @noflip to div.tleft and div.rleft

13 years agoAdded a new hook that allows extensions to add their own tests to the core test suite
Max Semenik [Mon, 28 Jun 2010 18:17:47 +0000 (18:17 +0000)]
Added a new hook that allows extensions to add their own tests to the core test suite

13 years ago* (bug 24155) Import no longer produces errors with php 5.2 and before
Alexandre Emsenhuber [Mon, 28 Jun 2010 17:51:49 +0000 (17:51 +0000)]
* (bug 24155) Import no longer produces errors with php 5.2 and before

13 years agoUniformly indent things that have already been completed. Sort of addresses bug 22753.
Chad Horohoe [Mon, 28 Jun 2010 13:44:51 +0000 (13:44 +0000)]
Uniformly indent things that have already been completed. Sort of addresses bug 22753.

13 years agoOne place forgot intval() mLatestID causing bugs with strict comparisons. Fixed it...
Niklas Laxström [Mon, 28 Jun 2010 12:02:09 +0000 (12:02 +0000)]
One place forgot intval() mLatestID causing bugs with strict comparisons. Fixed it and added extra intval() conversion.

13 years agoLocalization update for he.
Rotem Liss [Mon, 28 Jun 2010 11:04:26 +0000 (11:04 +0000)]
Localization update for he.

13 years agoCode cleanup
Niklas Laxström [Mon, 28 Jun 2010 07:17:16 +0000 (07:17 +0000)]
Code cleanup

13 years ago* consolidate some installer functionals into the Installer class
Mark A. Hershberger [Sun, 27 Jun 2010 21:48:51 +0000 (21:48 +0000)]
* consolidate some installer functionals into the Installer class
* add beginning of CliInstallerOutput class
* make it possible to override LocalSettings from a maint script
* make basic cli installation possible (only tested mysql so far)

13 years agoMinor followup to r68636, add to getPossibleErrors
Sam Reed [Sun, 27 Jun 2010 20:30:43 +0000 (20:30 +0000)]
Minor followup to r68636, add to getPossibleErrors

13 years ago* (bug 24136) unknownerror when adding new section without summary, but forceditsummary
Sam Reed [Sun, 27 Jun 2010 19:22:46 +0000 (19:22 +0000)]
* (bug 24136) unknownerror when adding new section without summary, but forceditsummary

Handle AS_SUMMARY_NEEDED in ApiEditPage

Fixup some braces

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sun, 27 Jun 2010 18:58:30 +0000 (18:58 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-27 18:45:00 UTC)

13 years agoFix SearchSqlite::updateTitle()
Max Semenik [Sun, 27 Jun 2010 17:40:34 +0000 (17:40 +0000)]
Fix SearchSqlite::updateTitle()

13 years agoFollow-up to r68604: recognise ATTACH DATABASE as a read-only statement
Max Semenik [Sun, 27 Jun 2010 12:35:25 +0000 (12:35 +0000)]
Follow-up to r68604: recognise ATTACH DATABASE as a read-only statement

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sat, 26 Jun 2010 21:40:08 +0000 (21:40 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-2+ 21:25:00 UTC)

13 years agoRevert r68598. Broken.
Siebrand Mazeland [Sat, 26 Jun 2010 20:39:21 +0000 (20:39 +0000)]
Revert r68598. Broken.

Special:Preferences tabs were no longer displayed, was shown all in one page, Gadgets didn't load any longer.

13 years agoFollow-up r68606, per comments:
Matěj Grabovský [Sat, 26 Jun 2010 19:52:52 +0000 (19:52 +0000)]
Follow-up r68606, per comments:
* Made proper use of Article::doEdit's return value (hopefully)

13 years ago(bug 18891) Deprecated Article::insertNewArticle still used in core
Matěj Grabovský [Sat, 26 Jun 2010 13:25:08 +0000 (13:25 +0000)]
(bug 18891) Deprecated Article::insertNewArticle still used in core

13 years agoSupport for $wgSharedDB in SQlite
Max Semenik [Sat, 26 Jun 2010 12:10:47 +0000 (12:10 +0000)]
Support for $wgSharedDB in SQlite

13 years agoFix accesskeys for chrome
Daniel Friesen [Sat, 26 Jun 2010 05:23:01 +0000 (05:23 +0000)]
Fix accesskeys for chrome

13 years agoClean up the mess of horrid javascript in wikibits before I fix a bug
Daniel Friesen [Sat, 26 Jun 2010 05:22:18 +0000 (05:22 +0000)]
Clean up the mess of horrid javascript in wikibits before I fix a bug

13 years agoSome import-related fixes for LiquidThreads dump importation.
Andrew Garrett [Fri, 25 Jun 2010 21:03:48 +0000 (21:03 +0000)]
Some import-related fixes for LiquidThreads dump importation.

13 years agoFollow-up r68307: Rephrased sp-contributions-toponly message as suggested by Siebrand
Matěj Grabovský [Fri, 25 Jun 2010 19:38:37 +0000 (19:38 +0000)]
Follow-up r68307: Rephrased sp-contributions-toponly message as suggested by Siebrand

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 25 Jun 2010 18:39:41 +0000 (18:39 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-25 18:25:00 UTC)

13 years agoFollow-up to r68544: restored the ability to run tests from separate files
Max Semenik [Fri, 25 Jun 2010 16:19:25 +0000 (16:19 +0000)]
Follow-up to r68544: restored the ability to run tests from separate files

13 years agoRemove some simple skin elements that are provided by the shared CSS.
Derk-Jan Hartman [Fri, 25 Jun 2010 14:41:16 +0000 (14:41 +0000)]
Remove some simple skin elements that are provided by the shared CSS.

13 years agoMake sure that simple skin has the shared CSS and print CSS.
Derk-Jan Hartman [Fri, 25 Jun 2010 14:40:45 +0000 (14:40 +0000)]
Make sure that simple skin has the shared CSS and print CSS.
Simple was the last skin not to support the shared elements.

13 years agoSuppress warnings
Niklas Laxström [Fri, 25 Jun 2010 14:21:07 +0000 (14:21 +0000)]
Suppress warnings

13 years agoremove unused classes for article validation from Monobook's and Modern's main CSS...
Jack Phoenix [Fri, 25 Jun 2010 13:38:30 +0000 (13:38 +0000)]
remove unused classes for article validation from Monobook's and Modern's main CSS files, related to old Special:Validate feature. This reverts Magnus' r9552.

13 years agoPermission warnings are annoying and should be transparent to end users
Chad Horohoe [Fri, 25 Jun 2010 13:33:39 +0000 (13:33 +0000)]
Permission warnings are annoying and should be transparent to end users

13 years agoRun texvc via wfShellExec(), so that execution time is limited.
Tim Starling [Fri, 25 Jun 2010 10:58:29 +0000 (10:58 +0000)]
Run texvc via wfShellExec(), so that execution time is limited.

13 years agor68558 fixes: add some escaping (just in case, not really needed), as well as import...
Domas Mituzas [Fri, 25 Jun 2010 09:36:39 +0000 (09:36 +0000)]
r68558 fixes: add some escaping (just in case, not really needed), as well as import the variable via global

13 years agoAdding $wgSQLMode
Domas Mituzas [Fri, 25 Jun 2010 09:19:34 +0000 (09:19 +0000)]
Adding $wgSQLMode
* default is disabling all modes ('')
* null disables the SET operation (we will use this at WMF deployment)
* String override can be used as configuration parameter

13 years ago* Fixed the makefile to only run enabled tests, instead of every file in the director...
Tim Starling [Fri, 25 Jun 2010 09:01:41 +0000 (09:01 +0000)]
* Fixed the makefile to only run enabled tests, instead of every file in the directory with "test" in its name. Did this by moving the test list to a common PHP file, accessible by both the makefile and a new PHPUnit_TextUI_Command subclass.
* Removed the perl dependency from the default "make test". There doesn't seem to be a memory issue anymore, but you can always use one of the non-default targets if it recurs.
* Fixed a couple of test/suite names broken in r68544.
* Added custom CSS to Special:Selenium, accidentally missing from r68555.

13 years agoFollow-up r68555: Add new message key to maintenance script
Raimond Spekking [Fri, 25 Jun 2010 06:34:44 +0000 (06:34 +0000)]
Follow-up r68555: Add new message key to maintenance script
Add new special page to $specialPageAliase

13 years ago* Integrated the selenium tests into MediaWiki properly, and removed the insecure...
Tim Starling [Fri, 25 Jun 2010 05:55:23 +0000 (05:55 +0000)]
* Integrated the selenium tests into MediaWiki properly, and removed the insecure LocalSeleniumSettings.php concept.
* Removed the insecure web entry point hiding in the maintenance directory, in RunSeleniumTests.php. Replaced it with a special page interface, with CSRF protection and access control. If you wanted a secure web entry point, then I suppose this is how it would be done, but I think it should be killed ASAP.
* As in r68544, removed as many require() calls as possible, since nobody seems to know how to do them properly. Made the usual changes to make classes autoloader-compatible: class constants instead of define(), no file-scope registration code.

13 years agoFixes for r68544: fixed notices, added phpunit.bat to duplicate the functionality...
Max Semenik [Fri, 25 Jun 2010 05:55:11 +0000 (05:55 +0000)]
Fixes for r68544: fixed notices, added phpunit.bat to duplicate the functionality on Windows

13 years ago* Removed require/require_once from maintenance scripts where possible, replaced...
Tim Starling [Fri, 25 Jun 2010 02:55:51 +0000 (02:55 +0000)]
* Removed require/require_once from maintenance scripts where possible, replaced by the AutoLoader, since register_globals vulnerabilities and inappropriate include_path dependencies are so common.
* Rearranged PHPUnit startup so that MediaWiki can be started from the file scope, as required by Setup.php and other core MediaWiki startup files. The custom entry point maintenance/tests/phpunit starts MediaWiki and then passes its arguments through to PHPUnit.
* Moved the parser test tag hooks into classes and moved their registration to parserTests.inc, to allow autoloading.
* Renamed ApiSetup to ApiTestSetup, MediaWiki_Setup to MediaWikiTestSetup, PTShell to ParserTestSuiteBackend.
* Moved command-line initialisation code from the file scope of parserTests.inc to parserTests.php to allow autoloading
* Rewrote the interface between PHPUnit and the parser tests. Removed all the hacks designed to make the rest of the PHPUnit tests work without proper teardown of the parser test environment. Moved the PHPUnit_Framework_TestSuite subclass to a file that's not scanned by PHPUnit, to avoid "no tests found" warnings".
* Removed the {{NUMBEROFARTICLES}} parser test, too hard to make it work consistently.