Alexandre Emsenhuber [Sat, 6 Feb 2010 14:29:37 +0000 (14:29 +0000)]
Use $wgUseNormalUser only in commandLine.inc (and use getDbType() instead in Maintenance)
Shinjiman [Sat, 6 Feb 2010 14:12:23 +0000 (14:12 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Ævar Arnfjörð Bjarmason [Sat, 6 Feb 2010 01:50:30 +0000 (01:50 +0000)]
Fix regression introduced in r30117: Don's sort() the author list in
Special:Version
When extensions specify a list of authors they expect them to appear
in Special:Version as they're specified. Sorting lists on
Special:Version as introduced in r30117 makes sense for things like
the names of parser functions, but not authors.
Some extensions give arrays like array("foo", "bar", "others") and
expect output like "foo, bar and others". Sometimes (like in the case
of Maps.php) this would only incidentally work.
Furthermore in some cases the first author in the array indicates the
primary author, this is the case with CheckUser.php and other similar
extensions with multiple authors.
Ævar Arnfjörð Bjarmason [Sat, 6 Feb 2010 00:03:22 +0000 (00:03 +0000)]
Add note about how you can skip the update countdown with --quick
Conrad Irwin [Fri, 5 Feb 2010 21:52:37 +0000 (21:52 +0000)]
style fixes for r62035
Raimond Spekking [Fri, 5 Feb 2010 20:50:12 +0000 (20:50 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-05 20:30 UTC)
Alexandre Emsenhuber [Fri, 5 Feb 2010 18:28:40 +0000 (18:28 +0000)]
Fix doxygen warnings
Conrad Irwin [Fri, 5 Feb 2010 16:49:21 +0000 (16:49 +0000)]
bug 5210 - add getTransclusionText() to the Parser to remove the horrible (and
very broken) attempt to reimplement bits of the preprocessor in
EditPage.php.
Adam Miller [Fri, 5 Feb 2010 15:29:07 +0000 (15:29 +0000)]
Fix for RTL weirdness in IE7 reported in bug 22387, and some uncommitted RTL changes to one of our experimental babaco color stylesheets
Alexandre Emsenhuber [Fri, 5 Feb 2010 15:10:43 +0000 (15:10 +0000)]
Removed colum names from WHERE clause so that it doesn't break for wiki having tables prefix
Alexandre Emsenhuber [Fri, 5 Feb 2010 15:01:07 +0000 (15:01 +0000)]
Follow-up r56441: the cancel link now links to the correct version even on preview
Alexandre Emsenhuber [Fri, 5 Feb 2010 14:07:18 +0000 (14:07 +0000)]
* (bug 22364) Setting $wgUseExternalEditor to false no longer hides the reupload link from file pages
Raimond Spekking [Fri, 5 Feb 2010 13:43:14 +0000 (13:43 +0000)]
Fix tabindex for summaryfield. The textbox area has tabindex 1 already.
Rotem Liss [Fri, 5 Feb 2010 13:08:33 +0000 (13:08 +0000)]
Localization update for he.
OverlordQ [Fri, 5 Feb 2010 05:40:50 +0000 (05:40 +0000)]
Force new connection to database, fixes bug 20475, might have unforseen consequences
Tim Starling [Fri, 5 Feb 2010 04:40:57 +0000 (04:40 +0000)]
Fix for r61957: initialise array variables explicitly.
Mark A. Hershberger [Fri, 5 Feb 2010 04:33:26 +0000 (04:33 +0000)]
follow up r61911 - put periods in where appropriate
Mark A. Hershberger [Fri, 5 Feb 2010 04:25:30 +0000 (04:25 +0000)]
Random whitespace cleanup
Mark A. Hershberger [Fri, 5 Feb 2010 04:08:19 +0000 (04:08 +0000)]
Add domain checking to HTTP cookie checking.
Mark A. Hershberger [Fri, 5 Feb 2010 04:01:15 +0000 (04:01 +0000)]
PHPUnit now sees individual parser tests as separate tests. This
involved changing parserTests.inc slightly to create an iterator that
reads parserTests.txt — separating the reading of the file from the
execution of the tests.
PHPUnit still doesn't see individual assertions, but that is less
important right now.
Tested maintenance/parserTests.php against maintenance/parserTests.txt
and extensions/Cite/citeParserTests.txt to verify that the parser tests
still worked as expected.
Tim Starling [Fri, 5 Feb 2010 03:36:04 +0000 (03:36 +0000)]
* (bug 21551) Rewrote the Squid purge HTTP client to provide a more robust and general implementation of HTTP, allowing it to purge non-Squid caches such as Varnish. Tested against Squid (keep-alive on or off), Varnish, various kinds of network error, benchmarked at ~3k req/s.
* Reverted what was left of r59178
* Removed $wgDebugSquid, didn't do anything anyway
Aryeh Gregor [Fri, 5 Feb 2010 02:36:18 +0000 (02:36 +0000)]
Remove extra space in <html> from version="" stuff
Aryeh Gregor [Fri, 5 Feb 2010 02:12:01 +0000 (02:12 +0000)]
Use HTML instead of EOT to delimit heredocs
This makes vim highlight the fragment as HTML.
Alexandre Emsenhuber [Thu, 4 Feb 2010 21:07:48 +0000 (21:07 +0000)]
Per Tim, fix r59949: use CSS padding (margin doesn't seem to work on Firefox and Safari) instead of fake empty columns, also added text-align:center
Raimond Spekking [Thu, 4 Feb 2010 19:57:47 +0000 (19:57 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-05 19:00 UTC)
Aryeh Gregor [Thu, 4 Feb 2010 19:01:34 +0000 (19:01 +0000)]
Disable RDFa/microdata by default
It's not clear we want these as an input format, per wikitech-l
discussion. We don't want to allow them if we're not sure, because once
we allow them we can't disable them without breaking things.
Sam Reed [Thu, 4 Feb 2010 18:12:01 +0000 (18:12 +0000)]
array_flip() as per r61760#c5615 (follow up to r61760)
Alexandre Emsenhuber [Thu, 4 Feb 2010 17:57:40 +0000 (17:57 +0000)]
* Port maintenance/cdb-test.php to PHPUnit
* Reduced entries from 100000 to 1000 so that the test doesn't need hours to complete :)
Chad Horohoe [Thu, 4 Feb 2010 14:55:53 +0000 (14:55 +0000)]
Followup r61957, define $index
Chad Horohoe [Thu, 4 Feb 2010 14:42:37 +0000 (14:42 +0000)]
Add missing }
Aaron Schulz [Thu, 4 Feb 2010 10:39:24 +0000 (10:39 +0000)]
* Added Id to "deleted only" check to make label work
* Broke some super long lines
Tim Starling [Wed, 3 Feb 2010 23:30:19 +0000 (23:30 +0000)]
Fix for r58399 (missing index on change_tag table), using the patch from bug 22032 by Gurch, but altered to respect $wgOldChangeTagsIndex.
Alexandre Emsenhuber [Wed, 3 Feb 2010 20:44:05 +0000 (20:44 +0000)]
move ArticleTest to RevisionTest (as it was in t/) since were only testing revision stuff
Max Semenik [Wed, 3 Feb 2010 19:55:56 +0000 (19:55 +0000)]
DatabaseSqlite: avoid fatals with non-zero $failFunction
Max Semenik [Wed, 3 Feb 2010 19:36:04 +0000 (19:36 +0000)]
killed trailing ?>
Max Semenik [Wed, 3 Feb 2010 19:30:36 +0000 (19:30 +0000)]
rm superfuluous requires from tests
Raimond Spekking [Wed, 3 Feb 2010 19:28:17 +0000 (19:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-03 19:00 UTC)
Max Semenik [Wed, 3 Feb 2010 19:21:37 +0000 (19:21 +0000)]
Moved tests to maintenance - one directory less to care about when configuring access.
Alexandre Emsenhuber [Wed, 3 Feb 2010 19:09:14 +0000 (19:09 +0000)]
Follow-up r61938: also port SearchUpdate test
Alexandre Emsenhuber [Wed, 3 Feb 2010 18:07:26 +0000 (18:07 +0000)]
Follow-up r61940: delete Makefile too
Chad Horohoe [Wed, 3 Feb 2010 17:59:25 +0000 (17:59 +0000)]
Revert unrelated (and unworking) change from r61940)
Chad Horohoe [Wed, 3 Feb 2010 17:57:52 +0000 (17:57 +0000)]
Last tests were ported in r61938 or are otherwise unused, deleting /t and unifying unit tests once and for all
Alexandre Emsenhuber [Wed, 3 Feb 2010 17:35:59 +0000 (17:35 +0000)]
* Port tests from t/inc/
* Added new tests to XmlTest
Mark A. Hershberger [Wed, 3 Feb 2010 16:29:09 +0000 (16:29 +0000)]
follow up 61907 remove 5.0 bug check
Mark A. Hershberger [Wed, 3 Feb 2010 16:27:04 +0000 (16:27 +0000)]
follow-up r61917 - stylize for coding conventions
Siebrand Mazeland [Wed, 3 Feb 2010 15:57:54 +0000 (15:57 +0000)]
Follow-up r61055: prevent "\n" appearing as text.
Chad Horohoe [Wed, 3 Feb 2010 14:58:44 +0000 (14:58 +0000)]
Starting to phase out /t in favor of /tests, so removing things already covered by the latter (or otherwise unneeded). People prefer PHPUnit, according to cabal-like IRC polling and previous discussions elsewhere
Alexandre Emsenhuber [Wed, 3 Feb 2010 13:33:13 +0000 (13:33 +0000)]
Catch the case when allow_url_fopen=false
Chad Horohoe [Wed, 3 Feb 2010 13:32:44 +0000 (13:32 +0000)]
Port IP tests to PHPUnit format
Alexandre Emsenhuber [Wed, 3 Feb 2010 13:05:00 +0000 (13:05 +0000)]
Added tests for SiteConfiguration ($wgConf)
Roan Kattouw [Wed, 3 Feb 2010 10:48:11 +0000 (10:48 +0000)]
Use wfAppendQuery() instead of "$path?$wgStyleVersion" where $path can contain ?foo=bar&bar=baz . This fixes the bug where MediaWiki:Monobook.js was included on every page and the JS variable skin was always set to 'monobook'; this happened because of &useskin=vector?265
OverlordQ [Wed, 3 Feb 2010 08:53:43 +0000 (08:53 +0000)]
Followup to r61912, make sure hight is actually given, also dont ignore if upright is specified
Mark A. Hershberger [Wed, 3 Feb 2010 07:45:05 +0000 (07:45 +0000)]
Add preliminary API tests. Next step: UploadChunks API testing.
Tim Starling [Wed, 3 Feb 2010 07:39:32 +0000 (07:39 +0000)]
Revert r58025 (User::newFromName() returns WikiError under certain circumstances). Incomplete, breaks lots of things, see CR.
Siebrand Mazeland [Wed, 3 Feb 2010 07:38:57 +0000 (07:38 +0000)]
Follow-up r61911: rebuild MessagesEn.php
Tim Starling [Wed, 3 Feb 2010 07:10:58 +0000 (07:10 +0000)]
* Fix for r57997 and bug 21222: move math, gallery, pre and nowiki to a new module called CoreTagHooks, analogous to CoreParserFunctions.
* Extended the return interface for tag hooks in a way analogous to the one for parser functions, allowing <nowiki> and <html> to specify that they want to be in the nowiki replacement array instead of the general replacement array.
* Removed ParserOptions::setUseTeX() and related. If <math> is going to be registered in firstCallInit(), then it needs to be stable across multiple parser calls and not change based on parser options. Only one extension caller.
In parserTests.inc:
* Fixed parser test failures due to $wgMathDirectory not being properly set up. The math directory of the host wiki was being used, leading to a parser test failure if it was not writable.
* Fixed message cache hack from r15502. Made parser tests not fail in the case where a tested message is overwritten by the local wiki. All tests now pass on my installation.
OverlordQ [Wed, 3 Feb 2010 06:21:25 +0000 (06:21 +0000)]
Fix for not being able to override thumbnail height
Mark A. Hershberger [Wed, 3 Feb 2010 06:19:47 +0000 (06:19 +0000)]
follow-up r61655 fill out the rest of the missing messages
Add cookie handling to HttpFunctions.
Tim Starling [Wed, 3 Feb 2010 05:42:31 +0000 (05:42 +0000)]
Followup to r61905: remove parser tests for ex-feature.
Mark A. Hershberger [Wed, 3 Feb 2010 05:32:32 +0000 (05:32 +0000)]
Bump minimum supported version to 5.1.0
Tim Starling [Wed, 3 Feb 2010 05:07:57 +0000 (05:07 +0000)]
Remove <a> tag hook for now, pending resolution of implementation issues as discussed on CR r58717.
Tim Starling [Wed, 3 Feb 2010 04:54:20 +0000 (04:54 +0000)]
Revert r56514 and r60421 per CR.
Mark A. Hershberger [Wed, 3 Feb 2010 02:19:25 +0000 (02:19 +0000)]
follow up r61779 - anyone who writes "!$x == null" is an idiot
Max Semenik [Tue, 2 Feb 2010 20:53:28 +0000 (20:53 +0000)]
PHPUnit tests:
* include Setup.php in bootstrap to avoid fatals
* require --> require_once, was causing problems
* require_once "foo.php" --> require_once( "foo.php" ), that's MediaWiki common practice
Alexandre Emsenhuber [Tue, 2 Feb 2010 20:45:35 +0000 (20:45 +0000)]
* (bug 21593) Special:UserRights now lists automatic groups membership
Raimond Spekking [Tue, 2 Feb 2010 19:40:21 +0000 (19:40 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-02 19:15 UTC)
Chad Horohoe [Tue, 2 Feb 2010 19:17:14 +0000 (19:17 +0000)]
Merge alternative readme into main file. Two ways to install phpunit, document them both. Drop run-test.php method of running files doesn't work. Update makefile. TODO: Merge all of the nasty global setup crap into a common wrapper (maybe MediaWiki_TestCase?) so we don't have to constantly reinvent the whell.
Aryeh Gregor [Tue, 2 Feb 2010 17:46:53 +0000 (17:46 +0000)]
existant -> existent for r61855
Alexandre Emsenhuber [Tue, 2 Feb 2010 16:26:52 +0000 (16:26 +0000)]
Follow-up r61806: also escape tag in getPageTitle()
Alexandre Emsenhuber [Tue, 2 Feb 2010 15:59:47 +0000 (15:59 +0000)]
* (bug 21518) Special:UserRights no longer displays the user name box for users that can only change their rights
* changed empty() to !count()
* break line at 80 chars in RELEASE-NOTES
Philip Tzou [Tue, 2 Feb 2010 15:26:20 +0000 (15:26 +0000)]
Follow up r61856, no need.
Conrad Irwin [Tue, 2 Feb 2010 15:24:08 +0000 (15:24 +0000)]
Parser tests for behaviour of subst: and safesubst: after r61710
Philip Tzou [Tue, 2 Feb 2010 15:09:01 +0000 (15:09 +0000)]
Follow up r60742, r60743, r60764, r60766, r61214, r61390. Split stripForSearch into wordSegmentation and normalizeForSearch. So the wordSegmentation could be called by search engines separately.
Conrad Irwin [Tue, 2 Feb 2010 15:03:08 +0000 (15:03 +0000)]
Add a parser test for r61816
Chad Horohoe [Tue, 2 Feb 2010 13:20:26 +0000 (13:20 +0000)]
Fix a bunch of really weird spacing, other style fixes
Roan Kattouw [Tue, 2 Feb 2010 01:06:22 +0000 (01:06 +0000)]
Fix r61838: add /common
Roan Kattouw [Tue, 2 Feb 2010 01:02:16 +0000 (01:02 +0000)]
Fix hardcoding of /skins in OutputPage::addJQuery()
Roan Kattouw [Tue, 2 Feb 2010 00:44:32 +0000 (00:44 +0000)]
Allow external URLs (e.g. bits.wikimedia.org/foo) in OutputPage::addScript()
Conrad Irwin [Mon, 1 Feb 2010 21:36:36 +0000 (21:36 +0000)]
Fix parser test that I broke with r61816
Conrad Irwin [Mon, 1 Feb 2010 20:43:24 +0000 (20:43 +0000)]
Bug 18784 - Internal links like [[File:Foo|caption]] should read 'caption', not 'File:Foo' when Foo is not an image
Philip Tzou [Mon, 1 Feb 2010 20:39:17 +0000 (20:39 +0000)]
Fix a bug found in Makefile.py.
Raimond Spekking [Mon, 1 Feb 2010 19:27:46 +0000 (19:27 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-01 19:00 UTC)
Alexandre Emsenhuber [Mon, 1 Feb 2010 18:51:52 +0000 (18:51 +0000)]
Allow gender in 'login-userblocked', per request on translatewiki.net/wiki/Thread:Support/Login-userblocked
Philip Tzou [Mon, 1 Feb 2010 18:31:19 +0000 (18:31 +0000)]
1. Update the Chinese conversion tables.
2. A little modification on Makefile.py.
Alexandre Emsenhuber [Mon, 1 Feb 2010 18:04:17 +0000 (18:04 +0000)]
Fixes to OutputPage's documentation
* action=raw -> action=render
* escape tags in setPageTitle()'s documentation so that it's displayed correctly (not treated as real tags)
Raimond Spekking [Mon, 1 Feb 2010 16:50:57 +0000 (16:50 +0000)]
Revert r55877 per bug 22343
Roan Kattouw [Mon, 1 Feb 2010 15:36:14 +0000 (15:36 +0000)]
Whitespace fixes for r61761, r61779
Chad Horohoe [Mon, 1 Feb 2010 14:51:46 +0000 (14:51 +0000)]
Cleanup r61694, move blocked check to after password check, global auth checks, etc. Prevents hunting for blocked users
Aryeh Gregor [Mon, 1 Feb 2010 14:44:55 +0000 (14:44 +0000)]
Remove unused file IEMacFixes.css
There are no references to it outside comments.
Jack Phoenix [Mon, 1 Feb 2010 13:52:55 +0000 (13:52 +0000)]
Skin class: documentation and spacing tweaks, shortened some long lines, added braces
Aaron Schulz [Mon, 1 Feb 2010 11:01:14 +0000 (11:01 +0000)]
Add period after space of undo title
Mark A. Hershberger [Mon, 1 Feb 2010 07:05:23 +0000 (07:05 +0000)]
follow up r61355, initial, incomplete dealing with TimStarlings CR
Tim Starling [Mon, 1 Feb 2010 06:06:31 +0000 (06:06 +0000)]
For r61355:
* Removed style note, nobody cares
* Fixed indenting and braces
Mark A. Hershberger [Mon, 1 Feb 2010 04:59:59 +0000 (04:59 +0000)]
follow up r61775 (reapply): Fix parsertests so that they work even when server-side thumbnailing isn't configured.
Mark A. Hershberger [Mon, 1 Feb 2010 04:57:42 +0000 (04:57 +0000)]
follow up 61775 -- REVERT REVERT
Mark A. Hershberger [Mon, 1 Feb 2010 04:55:15 +0000 (04:55 +0000)]
Fix parsertests so that they work even when server-side thumbnailing isn't configured.
Mark A. Hershberger [Mon, 1 Feb 2010 02:45:23 +0000 (02:45 +0000)]
fixes problem on PHP 5.1 where titles are displayed as "Object":
TimStarling sez: "presumably some clever person has been using __toString()"
Why did it have to be in code *I* wrote?
Aryeh Gregor [Mon, 1 Feb 2010 01:43:07 +0000 (01:43 +0000)]
Require $wgHtml5 for $wgExperimentalHtmlIds
This way, if you want to disable HTML5 you don't have to turn off an
extra setting to maintain validity.
Sam Reed [Sun, 31 Jan 2010 23:28:33 +0000 (23:28 +0000)]
Add myself to Api Credits
Sam Reed [Sun, 31 Jan 2010 23:12:17 +0000 (23:12 +0000)]
Last fail change from r61761