Alexandre Emsenhuber [Thu, 11 Feb 2010 12:33:17 +0000 (12:33 +0000)]
Implement keys() for APCBagOStuff
Tim Starling [Thu, 11 Feb 2010 11:49:19 +0000 (11:49 +0000)]
A script for doing full scans of the text table and presenting some resulting statistics about storage types.
Mark A. Hershberger [Thu, 11 Feb 2010 06:14:15 +0000 (06:14 +0000)]
Make sure Firefogg gets the json it needs.
Mark A. Hershberger [Thu, 11 Feb 2010 05:35:21 +0000 (05:35 +0000)]
follow-up r61355
Actually test UploadChunks code against Firefogg. Uploads work, but
feedback on the Firefogg side seems not too. Also, Firefogg makes a
complete upload, but then attempts more uploads.
Aryeh Gregor [Thu, 11 Feb 2010 02:14:43 +0000 (02:14 +0000)]
Fix whitespace in Monobook output
Lots of craziness here. Mainly random or excessive indentation, and
missing newlines (the latter due to the fact that a newline after ?> is
dropped). The HTML looks a lot prettier now. There are still some
annoying bits like <ul > that could be fixed.
Sam Reed [Thu, 11 Feb 2010 01:13:45 +0000 (01:13 +0000)]
Start implementation of bug 18771 - List possible errors in action=paraminfo
Base has empty array() returning method, ApiBlock has implementation of possibleErrors from code above (possibly not complete)
Can be finished incrementally, so serves as a review point for Roan
Aryeh Gregor [Wed, 10 Feb 2010 23:02:06 +0000 (23:02 +0000)]
Add comment for r62191
Aryeh Gregor [Wed, 10 Feb 2010 21:56:59 +0000 (21:56 +0000)]
Move some new features from the list of fixed bugs
Follow-up to r62194.
Alexandre Emsenhuber [Wed, 10 Feb 2010 21:42:31 +0000 (21:42 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Wed, 10 Feb 2010 21:40:49 +0000 (21:40 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-09 21:30 UTC)
Alexandre Emsenhuber [Wed, 10 Feb 2010 20:26:07 +0000 (20:26 +0000)]
Fixed E_STRICT errors about method signatures not matching
Roan Kattouw [Wed, 10 Feb 2010 15:15:36 +0000 (15:15 +0000)]
Revert r62022: breaks tab order on section=new edits, see also CR.
Roan Kattouw [Wed, 10 Feb 2010 13:19:21 +0000 (13:19 +0000)]
Some tweaks to edit.js to make currentFocused detection work in IE (was completely broken) and with the usability iframe. Will backport a simplified version to wmf-deployment shortly.
Tobias [Wed, 10 Feb 2010 13:08:24 +0000 (13:08 +0000)]
showLogExtract of block log on user (talk) pages of blocked users
Mark A. Hershberger [Wed, 10 Feb 2010 11:08:39 +0000 (11:08 +0000)]
follow-up r62231 Document FileRepo::append()
Roan Kattouw [Wed, 10 Feb 2010 10:54:00 +0000 (10:54 +0000)]
Whitespace fixes for r62195, remove out-of-context comment
Chad Horohoe [Wed, 10 Feb 2010 10:49:17 +0000 (10:49 +0000)]
Followup r62231, reduce code duplication in $request->response()
Mark A. Hershberger [Wed, 10 Feb 2010 10:47:02 +0000 (10:47 +0000)]
commit changes to ApiSetup that are needed to make the
chunked uploading tests work.
Mark A. Hershberger [Wed, 10 Feb 2010 10:36:11 +0000 (10:36 +0000)]
* new FauxResponse class to help with unit testing
* Add append() method to FileRepo classes to enable chunked uploading
* Change chunksessionkey to chunksession
* Remove echo json stuff
* Fix a multitude of bugs in my own code
* still to test: mwEmbed use of chunked upload
Mark A. Hershberger [Wed, 10 Feb 2010 09:59:02 +0000 (09:59 +0000)]
follow-up r62164
Tim Starling [Wed, 10 Feb 2010 04:13:43 +0000 (04:13 +0000)]
* Fix for r60163: in RC/RCL, hash together all the options, not just namespace, in order to form the cache key.
* Removed Crb from the credits since none of his code remains.
* Fixed two bugs which both broke feed links on RCL: $this->mTargetTitle not initialised when setTopText() is called, and $out->setFeedAppendQuery() in setBottomText() overridden by a subsequent call to setSyndicated(). Fixed both by rearranging data flow, using memoized accessors instead of setup functions to eliminate bugs due to execution order.
* Renamed a few variables which were unclear ($feed and $feedObj).
Chad Horohoe [Wed, 10 Feb 2010 01:44:09 +0000 (01:44 +0000)]
Reduce code duplication in requires
Chad Horohoe [Wed, 10 Feb 2010 01:43:18 +0000 (01:43 +0000)]
Followup r62067, drop $wgUseNormalUser as un-needed
Tim Starling [Wed, 10 Feb 2010 00:41:59 +0000 (00:41 +0000)]
Fix for r56885, r58364, r58364: use a two-part GROUP BY even on MySQL. The implicit sort shouldn't cause any problems here. Query runs without errors on MySQL (with or without ONLY_FULL_GROUP_BY), SQLite and PostgreSQL. The previous version in the non-MySQL case was plainly broken, see CR r58915.
Sam Reed [Tue, 9 Feb 2010 20:48:49 +0000 (20:48 +0000)]
Minor fix to RELEASE-NOTES for r62195
Sam Reed [Tue, 9 Feb 2010 20:47:35 +0000 (20:47 +0000)]
* (bug 18608) - API should provide list of CSS styles to apply to rendered output
Sam Reed [Tue, 9 Feb 2010 20:46:54 +0000 (20:46 +0000)]
Pretty sure that
* (bug 5210) preload parser should parse <noinclude> (as well as <includeonly>)
* (bug 8785) Pipe trick should work with colon functions
* (bug 4099) Pipe trick doesn't work when emptiness is only provided by empty
template parameter
* (bug 845) [[#foo|]], [[/bar|]] should be equivalent to [[#foo|foo]],
[[/bar|bar]] (new use of "pipe trick")
* (bug 21660) Support full-width commas for pipe trick
* (bug 7264) Magic word to give Page Title as if pipe-trick performed on it
{{pipetrick:}}
* (bug 20339) Allow using the pipe trick in log reasons
Aren't API changes. Moved to bug fixes (still not right, but more applicable)
Jack Phoenix [Tue, 9 Feb 2010 19:51:17 +0000 (19:51 +0000)]
bug #19334: textarea jumps when editing longer articles in IE8
Raimond Spekking [Tue, 9 Feb 2010 19:20:37 +0000 (19:20 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-09 19:00 UTC)
Roan Kattouw [Tue, 9 Feb 2010 16:58:53 +0000 (16:58 +0000)]
Fix up r62154: don't throw a JS error when $j is undefined, and bump $wgStyleVersion
Alexandre Emsenhuber [Tue, 9 Feb 2010 16:52:34 +0000 (16:52 +0000)]
Fixed a doxygen warnng
Chad Horohoe [Tue, 9 Feb 2010 15:41:45 +0000 (15:41 +0000)]
Wrap lines at 80chars
Mark A. Hershberger [Tue, 9 Feb 2010 09:41:15 +0000 (09:41 +0000)]
follow-up r61355 a bit more, still have several bits to fix (e.g. json handling)
Mark A. Hershberger [Tue, 9 Feb 2010 08:39:37 +0000 (08:39 +0000)]
random EOL white space.
Mark A. Hershberger [Tue, 9 Feb 2010 08:37:38 +0000 (08:37 +0000)]
* Fix up ApiTest a bit, cookie handling works
* Start upload chunks testing
* found some problems with messages
Mark A. Hershberger [Tue, 9 Feb 2010 08:23:09 +0000 (08:23 +0000)]
Fix problem of incorrect Status message use.
Uncovered an additional problem with HTTP error messages and PhpHttpRequest
Andrew Garrett [Tue, 9 Feb 2010 07:39:09 +0000 (07:39 +0000)]
Reverse removal of Live Preview in r59446, with the following changes:
* Make Live Preview entirely JS-based. It requires no modification of the HTML.
* Replace annoying slideDown with less annoying fadeIn().
* Ensure that elements not supposed to be shown are not, in fact, shown by fadeIn().
* Remove some redundant lines of code.
* Make compatible with the current jQuery usage in MediaWiki.
Mark A. Hershberger [Tue, 9 Feb 2010 06:47:46 +0000 (06:47 +0000)]
another typo
Mark A. Hershberger [Tue, 9 Feb 2010 06:47:16 +0000 (06:47 +0000)]
typo
Mark A. Hershberger [Tue, 9 Feb 2010 06:46:20 +0000 (06:46 +0000)]
fix messages for http non-200 messages
Mark A. Hershberger [Tue, 9 Feb 2010 06:18:53 +0000 (06:18 +0000)]
Fix Http::request() so that it continues to return false on non-200 requests.
Tim Starling [Tue, 9 Feb 2010 06:12:15 +0000 (06:12 +0000)]
Revert r58635 and related, unnecessary and incorrect use of the hook mechanism
Mark A. Hershberger [Tue, 9 Feb 2010 03:54:59 +0000 (03:54 +0000)]
follow up r61407
rename UploadBase::initialize to UploadBase::initializeFileInfo
Each sub-class implements initialize() with a different prototype. Only two sub-classes actually use the parent initialize().
Trevor Parscal [Tue, 9 Feb 2010 01:31:00 +0000 (01:31 +0000)]
Updated to use the textSelection plugin when possible.
Tim Starling [Tue, 9 Feb 2010 01:17:01 +0000 (01:17 +0000)]
For r58153: in HistoryPage, removed the user permissions checks for deleted revision filtering. Added a tag to the SQL filtered SQL query so that sysadmins can easily find the relevant code if there is a problem.
Conrad Irwin [Tue, 9 Feb 2010 01:05:49 +0000 (01:05 +0000)]
More sensible semantics for pipe trick with section links after r62076
[[hello#world|]] -> [[hello#world|world]] (not [[hello#world]])
Tim Starling [Tue, 9 Feb 2010 00:57:07 +0000 (00:57 +0000)]
Bug fix: bt_page and bt_rev_id should be 0 for orphans, not null.
Alexandre Emsenhuber [Mon, 8 Feb 2010 20:41:05 +0000 (20:41 +0000)]
Fixed some doxygen warnings
Aryeh Gregor [Mon, 8 Feb 2010 20:20:37 +0000 (20:20 +0000)]
Update $wgExperimentalHtmlIds comment with status
Test page I used to check if it was working:
http://www.mediawiki.org/wiki/User:Simetrical/Id_test
I guess we'll have to wait a year or two to deploy this by default,
unless a workaround for the Opera < 10.50 problem can be found.
Aryeh Gregor [Mon, 8 Feb 2010 20:15:32 +0000 (20:15 +0000)]
Strip # from IDs, IE doesn't seem to like them
Aryeh Gregor [Mon, 8 Feb 2010 20:05:17 +0000 (20:05 +0000)]
Unescape entities for prettier/more consistent IDs
Only affects $wgExperimentalHtmlIds = true.
Aryeh Gregor [Mon, 8 Feb 2010 20:05:06 +0000 (20:05 +0000)]
Whitespace
Raimond Spekking [Mon, 8 Feb 2010 19:54:26 +0000 (19:54 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-08 19:30 UTC)
Aryeh Gregor [Mon, 8 Feb 2010 18:54:08 +0000 (18:54 +0000)]
Use consistent case when calling functions
Tim Starling [Mon, 8 Feb 2010 13:01:30 +0000 (13:01 +0000)]
Fixed a bug which came up during testing, world-destruction thus averted.
Tim Starling [Mon, 8 Feb 2010 12:36:20 +0000 (12:36 +0000)]
Fix script for bug 20757.
Chad Horohoe [Mon, 8 Feb 2010 11:30:17 +0000 (11:30 +0000)]
Cleanup r62111, don't pass by reference
Tim Starling [Mon, 8 Feb 2010 07:01:46 +0000 (07:01 +0000)]
Initial fix for bug 20757. Committing for test on server.
Mark A. Hershberger [Mon, 8 Feb 2010 05:38:09 +0000 (05:38 +0000)]
Add a bunch of tests and checks for cookie domain security.
Andrew Garrett [Mon, 8 Feb 2010 04:49:34 +0000 (04:49 +0000)]
Make a few more protected functions public, so they can be called from hooks
Conrad Irwin [Mon, 8 Feb 2010 02:07:15 +0000 (02:07 +0000)]
partial revert for r62081. Make {{PIPETRICK}} like {{PAGENAME}}, add {{PIPETRICKE}}. fix r62077 better.
Raimond Spekking [Sun, 7 Feb 2010 20:49:40 +0000 (20:49 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-07 20:30 UTC)
Jack Phoenix [Sun, 7 Feb 2010 19:31:24 +0000 (19:31 +0000)]
coding style tweaks, marked public functions as such
Jack Phoenix [Sun, 7 Feb 2010 19:24:43 +0000 (19:24 +0000)]
cleanup to CologneBlue.php, Nostalgia.php and Standard.php
Jack Phoenix [Sun, 7 Feb 2010 19:19:32 +0000 (19:19 +0000)]
delete Skin.sample: old and hardly helpful file; even MediaWiki.org's outdated docs on how to write a new skin are better than this
Platonides [Sun, 7 Feb 2010 18:39:26 +0000 (18:39 +0000)]
file_get_contents -> Http::get per ^demon
Aryeh Gregor [Sun, 7 Feb 2010 17:38:46 +0000 (17:38 +0000)]
Adjust wording of r62052
The "and" seems out of place to me.
Alexandre Emsenhuber [Sun, 7 Feb 2010 17:03:51 +0000 (17:03 +0000)]
* Fix some doxygen warnings
* Document a bit
Alexandre Emsenhuber [Sun, 7 Feb 2010 16:42:50 +0000 (16:42 +0000)]
* Modified MediaWiki_Setup to use the normal mechanism to get a database connection
* Include commandLine.inc from bootstrap.php to get admin credentials
* Marked SearchEngineTest as stub and exclude it
Platonides [Sun, 7 Feb 2010 16:26:17 +0000 (16:26 +0000)]
Fix at least the url and entities.
Platonides [Sun, 7 Feb 2010 16:10:14 +0000 (16:10 +0000)]
Applied and tweaked smart-import patch from Mij, merging with 1.16.
This adds --source-wiki-url parameter to importImages.php for a wiki
from which to fetch the original uploader and comment.
Useful when going from local uploads to a shared repository.
Original code at http://www.howtopedia.org/public/mw-smart-import.tbz
"I release it with the least restrictive license applicable,
considering the code is derivative work of the respective
maintenance scripts from the MW distribution.
Feel free to commit this or modifications of it to your repos."
http://lists.wikimedia.org/pipermail/mediawiki-l/2010-February/033230.html
Conrad Irwin [Sun, 7 Feb 2010 14:50:55 +0000 (14:50 +0000)]
Fix bug 20339 allow pipe-trick in log reasons
follows on from r62069 moving logic from Parser into Linker
(copying brion's technique for dealing with subpages)
Conrad Irwin [Sun, 7 Feb 2010 13:17:05 +0000 (13:17 +0000)]
Fixes for r62077
{{pipetrick:}} -> {{#pipetrick:}} per IAlex
clearer documentation per Siebrand
parser test for new magic word.
Conrad Irwin [Sun, 7 Feb 2010 11:59:58 +0000 (11:59 +0000)]
Initialize parser properly in getTransclusionText()
Mark A. Hershberger [Sun, 7 Feb 2010 05:45:37 +0000 (05:45 +0000)]
Test cases working with “make tap” but not just “phpunit” right now.
“make tap” spawns a new php instance for each test file.
Found some problems with date/time parsing on older 32bit php. I
forgot the year 2999 isn't a valid epoch date.
Conrad Irwin [Sun, 7 Feb 2010 02:36:32 +0000 (02:36 +0000)]
Bug 7264 - Magic word to give Page Title as if pipe-trick performed on it {{pipetrick:}}
Conrad Irwin [Sun, 7 Feb 2010 02:15:26 +0000 (02:15 +0000)]
Update Pipe Trick semantics per bug 845 and bug 21660
Allows fullwidth variants of "(", ")", and "," everywhere
Adds [[#section|]] -> [[#section|section]] (initial # only)
Adds [[/sub/section|]] -> [[/sub/section|section]]
Raimond Spekking [Sat, 6 Feb 2010 19:39:53 +0000 (19:39 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-06 19:15 UTC)
Ævar Arnfjörð Bjarmason [Sat, 6 Feb 2010 16:20:30 +0000 (16:20 +0000)]
Make 'make tap' the default target and add a 'make phpunit' target to
run things with phpunit.
phpunit as-is consumed up to 800MB of memory on PHP 5.2.12. Running it
also results in test failures for LanguageConverterTest.php which is
tripping over some setup code a previous test made.
The TAP target also runs in ~15 seconds on my machine, whereas I have
to kill phpunit after 8 minutes of running tests & eating my memory.
Ævar Arnfjörð Bjarmason [Sat, 6 Feb 2010 15:57:51 +0000 (15:57 +0000)]
Add a `make tap' target which runs the tests with `prove' and `phpunit --tap'
Also rename files so that all *Test*.php files are real test cases and
not just skeletons used for setup, those are now called *Setup*.php.
Niklas Laxström [Sat, 6 Feb 2010 15:37:43 +0000 (15:37 +0000)]
Fix syntax error in r62063
Conrad Irwin [Sat, 6 Feb 2010 15:00:45 +0000 (15:00 +0000)]
Allow pipe trick to work after PST.
Fixes bug 4099, bug 8785, partially bug 16714, bug 2700.
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