lhc/web/wiklou.git
14 years agoRemove old/deprecated $this->getMain()->isWriteMode(); from ApiUpload
Sam Reed [Thu, 11 Feb 2010 22:25:31 +0000 (22:25 +0000)]
Remove old/deprecated $this->getMain()->isWriteMode(); from ApiUpload

14 years agoFix r62331 - If we renamed a method, we need to to it everywhere!
Sam Reed [Thu, 11 Feb 2010 22:22:20 +0000 (22:22 +0000)]
Fix r62331 - If we renamed a method, we need to to it everywhere!

14 years ago$this->mModuleName to $this->getModuleName()
Sam Reed [Thu, 11 Feb 2010 22:18:16 +0000 (22:18 +0000)]
$this->mModuleName to $this->getModuleName()

14 years agoUpdate code documentation with Bryans help for r62282 and r62331
Sam Reed [Thu, 11 Feb 2010 22:06:45 +0000 (22:06 +0000)]
Update code documentation with Bryans help for r62282 and r62331

14 years agoFollowup to bryans comment for r62328
Sam Reed [Thu, 11 Feb 2010 21:53:57 +0000 (21:53 +0000)]
Followup to bryans comment for r62328

Rename possibleErrors to getPossibleErrors

14 years agoMove mustBePosted error into messageMap
Sam Reed [Thu, 11 Feb 2010 21:51:15 +0000 (21:51 +0000)]
Move mustBePosted error into messageMap

Switch call to dieUsage to dieUsageMsg

14 years agoMore of bug 18771 - List possible errors in action=paraminfo
Sam Reed [Thu, 11 Feb 2010 21:34:35 +0000 (21:34 +0000)]
More of bug 18771 - List possible errors in action=paraminfo

Followup to comments of r62282

14 years agoLocalization update for he.
Rotem Liss [Thu, 11 Feb 2010 21:27:26 +0000 (21:27 +0000)]
Localization update for he.

14 years agoSimplify a bit per Platonides CR http://www.mediawiki.org/wiki/Special:Code/MediaWiki...
Raimond Spekking [Thu, 11 Feb 2010 21:21:22 +0000 (21:21 +0000)]
Simplify a bit per Platonides CR mediawiki.org/wiki/Special:Code/MediaWiki/61661#c5509

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 11 Feb 2010 19:52:38 +0000 (19:52 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-11 19:30 UTC)

14 years agoAnother MonoBook whitespace fix
Aryeh Gregor [Thu, 11 Feb 2010 17:28:19 +0000 (17:28 +0000)]
Another MonoBook whitespace fix

14 years agoWar on xml:lang
Aryeh Gregor [Thu, 11 Feb 2010 17:25:10 +0000 (17:25 +0000)]
War on xml:lang

There is no reason to use this in HTML in addition to the lang
attribute.  No spec requires it (AFAIK) and it's completely redundant.

14 years agoAvoid silly markup like <ul >
Aryeh Gregor [Thu, 11 Feb 2010 17:25:03 +0000 (17:25 +0000)]
Avoid silly markup like <ul >

14 years agoWhitespaces fixes
Alexandre Emsenhuber [Thu, 11 Feb 2010 14:57:43 +0000 (14:57 +0000)]
Whitespaces fixes

14 years agoindividual message cache entries should start with ' ', also in memcached
Emil Podlaszewski [Thu, 11 Feb 2010 14:17:22 +0000 (14:17 +0000)]
individual message cache entries should start with ' ', also in memcached

14 years agoImplement keys() for APCBagOStuff
Alexandre Emsenhuber [Thu, 11 Feb 2010 12:33:17 +0000 (12:33 +0000)]
Implement keys() for APCBagOStuff

14 years agoA script for doing full scans of the text table and presenting some resulting statist...
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.

14 years agoMake sure Firefogg gets the json it needs.
Mark A. Hershberger [Thu, 11 Feb 2010 06:14:15 +0000 (06:14 +0000)]
Make sure Firefogg gets the json it needs.

14 years agofollow-up r61355
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.

14 years agoFix whitespace in Monobook output
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.

14 years agoStart implementation of bug 18771 - List possible errors in action=paraminfo
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

14 years agoAdd comment for r62191
Aryeh Gregor [Wed, 10 Feb 2010 23:02:06 +0000 (23:02 +0000)]
Add comment for r62191

14 years agoMove some new features from the list of fixed bugs
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.

14 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Wed, 10 Feb 2010 21:42:31 +0000 (21:42 +0000)]
Fixed some doxygen warnings

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

14 years agoFixed E_STRICT errors about method signatures not matching
Alexandre Emsenhuber [Wed, 10 Feb 2010 20:26:07 +0000 (20:26 +0000)]
Fixed E_STRICT errors about method signatures not matching

14 years agoRevert r62022: breaks tab order on section=new edits, see also CR.
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.

14 years agoSome tweaks to edit.js to make currentFocused detection work in IE (was completely...
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.

14 years agoshowLogExtract of block log on user (talk) pages of blocked users
Tobias [Wed, 10 Feb 2010 13:08:24 +0000 (13:08 +0000)]
showLogExtract of block log on user (talk) pages of blocked users

14 years agofollow-up r62231 Document FileRepo::append()
Mark A. Hershberger [Wed, 10 Feb 2010 11:08:39 +0000 (11:08 +0000)]
follow-up r62231 Document FileRepo::append()

14 years agoWhitespace fixes for r62195, remove out-of-context comment
Roan Kattouw [Wed, 10 Feb 2010 10:54:00 +0000 (10:54 +0000)]
Whitespace fixes for r62195, remove out-of-context comment

14 years agoFollowup r62231, reduce code duplication in $request->response()
Chad Horohoe [Wed, 10 Feb 2010 10:49:17 +0000 (10:49 +0000)]
Followup r62231, reduce code duplication in $request->response()

14 years agocommit changes to ApiSetup that are needed to make the
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.

14 years ago* new FauxResponse class to help with unit testing
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

14 years agofollow-up r62164
Mark A. Hershberger [Wed, 10 Feb 2010 09:59:02 +0000 (09:59 +0000)]
follow-up r62164

14 years ago* Fix for r60163: in RC/RCL, hash together all the options, not just namespace, in...
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).

14 years agoReduce code duplication in requires
Chad Horohoe [Wed, 10 Feb 2010 01:44:09 +0000 (01:44 +0000)]
Reduce code duplication in requires

14 years agoFollowup r62067, drop $wgUseNormalUser as un-needed
Chad Horohoe [Wed, 10 Feb 2010 01:43:18 +0000 (01:43 +0000)]
Followup r62067, drop $wgUseNormalUser as un-needed

14 years agoFix for r56885, r58364, r58364: use a two-part GROUP BY even on MySQL. The implicit...
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.

14 years agoMinor fix to RELEASE-NOTES for r62195
Sam Reed [Tue, 9 Feb 2010 20:48:49 +0000 (20:48 +0000)]
Minor fix to RELEASE-NOTES for r62195

14 years ago* (bug 18608) - API should provide list of CSS styles to apply to rendered output
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

14 years agoPretty sure that
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)

14 years agobug #19334: textarea jumps when editing longer articles in IE8
Jack Phoenix [Tue, 9 Feb 2010 19:51:17 +0000 (19:51 +0000)]
bug #19334: textarea jumps when editing longer articles in IE8

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

14 years agoFix up r62154: don't throw a JS error when $j is undefined, and bump $wgStyleVersion
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

14 years agoFixed a doxygen warnng
Alexandre Emsenhuber [Tue, 9 Feb 2010 16:52:34 +0000 (16:52 +0000)]
Fixed a doxygen warnng

14 years agoWrap lines at 80chars
Chad Horohoe [Tue, 9 Feb 2010 15:41:45 +0000 (15:41 +0000)]
Wrap lines at 80chars

14 years agofollow-up r61355 a bit more, still have several bits to fix (e.g. json handling)
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)

14 years agorandom EOL white space.
Mark A. Hershberger [Tue, 9 Feb 2010 08:39:37 +0000 (08:39 +0000)]
random EOL white space.

14 years ago* Fix up ApiTest a bit, cookie handling works
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

14 years agoFix problem of incorrect Status message use.
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

14 years agoReverse removal of Live Preview in r59446, with the following changes:
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.

14 years agoanother typo
Mark A. Hershberger [Tue, 9 Feb 2010 06:47:46 +0000 (06:47 +0000)]
another typo

14 years agotypo
Mark A. Hershberger [Tue, 9 Feb 2010 06:47:16 +0000 (06:47 +0000)]
typo

14 years agofix messages for http non-200 messages
Mark A. Hershberger [Tue, 9 Feb 2010 06:46:20 +0000 (06:46 +0000)]
fix messages for http non-200 messages

14 years agoFix Http::request() so that it continues to return false on non-200 requests.
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.

14 years agoRevert r58635 and related, unnecessary and incorrect use of the hook mechanism
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

14 years agofollow up r61407
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().

14 years agoUpdated to use the textSelection plugin when possible.
Trevor Parscal [Tue, 9 Feb 2010 01:31:00 +0000 (01:31 +0000)]
Updated to use the textSelection plugin when possible.

14 years agoFor r58153: in HistoryPage, removed the user permissions checks for deleted revision...
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.

14 years agoMore sensible semantics for pipe trick with section links after r62076
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]])

14 years agoBug fix: bt_page and bt_rev_id should be 0 for orphans, not null.
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.

14 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Mon, 8 Feb 2010 20:41:05 +0000 (20:41 +0000)]
Fixed some doxygen warnings

14 years agoUpdate $wgExperimentalHtmlIds comment with status
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.

14 years agoStrip # from IDs, IE doesn't seem to like them
Aryeh Gregor [Mon, 8 Feb 2010 20:15:32 +0000 (20:15 +0000)]
Strip # from IDs, IE doesn't seem to like them

14 years agoUnescape entities for prettier/more consistent IDs
Aryeh Gregor [Mon, 8 Feb 2010 20:05:17 +0000 (20:05 +0000)]
Unescape entities for prettier/more consistent IDs

Only affects $wgExperimentalHtmlIds = true.

14 years agoWhitespace
Aryeh Gregor [Mon, 8 Feb 2010 20:05:06 +0000 (20:05 +0000)]
Whitespace

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

14 years agoUse consistent case when calling functions
Aryeh Gregor [Mon, 8 Feb 2010 18:54:08 +0000 (18:54 +0000)]
Use consistent case when calling functions

14 years agoFixed a bug which came up during testing, world-destruction thus averted.
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.

14 years agoFix script for bug 20757.
Tim Starling [Mon, 8 Feb 2010 12:36:20 +0000 (12:36 +0000)]
Fix script for bug 20757.

14 years agoCleanup r62111, don't pass by reference
Chad Horohoe [Mon, 8 Feb 2010 11:30:17 +0000 (11:30 +0000)]
Cleanup r62111, don't pass  by reference

14 years agoInitial fix for bug 20757. Committing for test on server.
Tim Starling [Mon, 8 Feb 2010 07:01:46 +0000 (07:01 +0000)]
Initial fix for bug 20757. Committing for test on server.

14 years agoAdd a bunch of tests and checks for cookie domain security.
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.

14 years agoMake a few more protected functions public, so they can be called from hooks
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

14 years agopartial revert for r62081. Make {{PIPETRICK}} like {{PAGENAME}}, add {{PIPETRICKE...
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.

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

14 years agocoding style tweaks, marked public functions as such
Jack Phoenix [Sun, 7 Feb 2010 19:31:24 +0000 (19:31 +0000)]
coding style tweaks, marked public functions as such

14 years agocleanup to CologneBlue.php, Nostalgia.php and Standard.php
Jack Phoenix [Sun, 7 Feb 2010 19:24:43 +0000 (19:24 +0000)]
cleanup to CologneBlue.php, Nostalgia.php and Standard.php

14 years agodelete Skin.sample: old and hardly helpful file; even MediaWiki.org's outdated docs...
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

14 years agofile_get_contents -> Http::get per ^demon
Platonides [Sun, 7 Feb 2010 18:39:26 +0000 (18:39 +0000)]
file_get_contents -> Http::get per ^demon

14 years agoAdjust wording of r62052
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.

14 years ago* Fix some doxygen warnings
Alexandre Emsenhuber [Sun, 7 Feb 2010 17:03:51 +0000 (17:03 +0000)]
* Fix some doxygen warnings
* Document a bit

14 years ago* Modified MediaWiki_Setup to use the normal mechanism to get a database connection
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

14 years agoFix at least the url and entities.
Platonides [Sun, 7 Feb 2010 16:26:17 +0000 (16:26 +0000)]
Fix at least the url and entities.

14 years agoApplied and tweaked smart-import patch from Mij, merging with 1.16.
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

14 years agoFix bug 20339 allow pipe-trick in log reasons
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)

14 years agoFixes for r62077
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.

14 years agoInitialize parser properly in getTransclusionText()
Conrad Irwin [Sun, 7 Feb 2010 11:59:58 +0000 (11:59 +0000)]
Initialize parser properly in getTransclusionText()

14 years agoTest cases working with “make tap” but not just “phpunit” right now.
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.

14 years agoBug 7264 - Magic word to give Page Title as if pipe-trick performed on it {{pipetrick:}}
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:}}

14 years agoUpdate Pipe Trick semantics per bug 845 and bug 21660
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]]

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
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)

14 years agoMake 'make tap' the default target and add a 'make phpunit' target to
Æ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.

14 years agoAdd a `make tap' target which runs the tests with `prove' and `phpunit --tap'
Æ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.

14 years agoFix syntax error in r62063
Niklas Laxström [Sat, 6 Feb 2010 15:37:43 +0000 (15:37 +0000)]
Fix syntax error in r62063

14 years agoAllow pipe trick to work after PST.
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.

14 years agoUse $wgUseNormalUser only in commandLine.inc (and use getDbType() instead in Maintenance)
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)

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sat, 6 Feb 2010 14:12:23 +0000 (14:12 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agoFix regression introduced in r30117: Don's sort() the author list in
Æ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.