lhc/web/wiklou.git
11 years agoMerge "(bug 29898) Set cookie to force HTTPS from HTTP"
Catrope [Fri, 28 Sep 2012 17:34:26 +0000 (17:34 +0000)]
Merge "(bug 29898) Set cookie to force HTTPS from HTTP"

11 years agoUpdates for MW 1.21
Reedy [Thu, 27 Sep 2012 16:29:49 +0000 (17:29 +0100)]
Updates for MW 1.21

Change-Id: I582c1bcc50d694705b560fea893d0b2984072c08

11 years agoMerge "Bring in 1.19 history, update 1.17 and 1.18 history too"
Reedy [Fri, 28 Sep 2012 15:15:11 +0000 (15:15 +0000)]
Merge "Bring in 1.19 history, update 1.17 and 1.18 history too"

11 years agoBring in 1.19 history, update 1.17 and 1.18 history too
Reedy [Fri, 28 Sep 2012 15:13:40 +0000 (16:13 +0100)]
Bring in 1.19 history, update 1.17 and 1.18 history too

Change-Id: I098fdb5610011cbdd91012b8ed4d29e61ca80408

11 years agoAdd RELEASE-NOTES for g25605
Reedy [Fri, 28 Sep 2012 14:51:57 +0000 (15:51 +0100)]
Add RELEASE-NOTES for g25605

Change-Id: Ibd09a52e98ea2e8fcdf0291b4a586870cb128007

11 years ago(bug 39674) Fixed loading User from session when hook aborts.
Tyler Anthony Romeo [Mon, 27 Aug 2012 02:28:48 +0000 (22:28 -0400)]
(bug 39674) Fixed loading User from session when hook aborts.

Rather than have separate calls to User::loadDefaults()
every time User::loadFromSession() fails, there is now just
one call in User::load() if loadFromSession() returns false.
This fixes the case where a UserLoadFromSession hook aborts
loading from session, leaving the User object uninitialized.

Change-Id: I8d1a114d7ec361b27b260791f742c473a1497f26
Signed-off-by: Tyler Anthony Romeo <tylerromeo@gmail.com>
11 years agoAdd $wgCopyUploadProxy to be used for copy uploads only.
Reedy [Fri, 28 Sep 2012 00:33:48 +0000 (01:33 +0100)]
Add $wgCopyUploadProxy to be used for copy uploads only.

Means we don't break stuff on the cluster such as search by setting $wgHTTPProxy

Change-Id: I094b2bfd097e7e5c1c45b6332357d959ed95ac99

11 years agoCopy plural rules from be to be-tarask
amire80 [Thu, 27 Sep 2012 23:43:04 +0000 (16:43 -0700)]
Copy plural rules from be to be-tarask

CLDR only defines rules for 'be'.
The bug was reported by Wizardist.

Change-Id: I459be3d2f488471eea2acfd3d3c4f79ff3ebc11c

11 years agoMerge "Link the credits in Special:Version in all languages"
Siebrand [Thu, 27 Sep 2012 22:52:42 +0000 (22:52 +0000)]
Merge "Link the credits in Special:Version in all languages"

11 years agoLink the credits in Special:Version in all languages
Marius Hoch [Wed, 26 Sep 2012 23:35:08 +0000 (01:35 +0200)]
Link the credits in Special:Version in all languages

Add the link to {{SERVER}}{{SCRIPTPATH}}/CREDITS in Special:Version
in the code and not in the interface message, which is
way more straightforward, makes the message  easier and
assures that the developers are credited no matter of the current
interface language.

The following languages need interface changes after this is merged:
He, Ko, Bcl, Jv (the fact that this list is so short once again
proves the point that the link isn't set in many languages). I'll
take care of those.

Change-Id: If12c4eb8453da40ede4b9768b2dacfaf838aa2ab

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 27 Sep 2012 20:49:25 +0000 (20:49 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I9e851866959da77ae184c3e07a95b07999027462

11 years agoMerge "Catch and deal with UploadStashZeroLengthFileException when removing stashed...
Aaron Schulz [Thu, 27 Sep 2012 20:18:15 +0000 (20:18 +0000)]
Merge "Catch and deal with UploadStashZeroLengthFileException when removing stashed files"

11 years agoMerge "Style fix"
Siebrand [Thu, 27 Sep 2012 20:05:22 +0000 (20:05 +0000)]
Merge "Style fix"

11 years agoAdded a pile of missing brackets
jeroendedauw [Thu, 27 Sep 2012 19:46:22 +0000 (21:46 +0200)]
Added a pile of missing brackets

Change-Id: Id7b331e1b12875736c8e7e93660e71630360a723

11 years agoStyle fix
jeroendedauw [Thu, 27 Sep 2012 19:36:14 +0000 (21:36 +0200)]
Style fix

Change-Id: I6b900924b07b44152fa943d10400fe151b4046c8

11 years agoCatch and deal with UploadStashZeroLengthFileException when removing stashed files
Reedy [Thu, 27 Sep 2012 18:08:47 +0000 (19:08 +0100)]
Catch and deal with UploadStashZeroLengthFileException when removing stashed files

Seen on the cluster and it halts script execution

reedy@fenari:/home/wikipedia/common$ mwscript cleanupUploadStash.php commonswiki
Getting list of files to clean up...
Removing 52958 file(s)...
File is zero length
Backtrace:

Change-Id: I740111ca20473c495a4a51edafa156169fe6dd4d

11 years agoMerge "(bug 39793) #simpleSearch placeholder styles for Firefox, IE"
Krinkle [Thu, 27 Sep 2012 16:07:12 +0000 (16:07 +0000)]
Merge "(bug 39793) #simpleSearch placeholder styles for Firefox, IE"

11 years ago(bug 39793) #simpleSearch placeholder styles for Firefox, IE
MatmaRex [Thu, 27 Sep 2012 15:02:21 +0000 (17:02 +0200)]
(bug 39793) #simpleSearch placeholder styles for Firefox, IE

Since some time ago Firefox and IE 10 also support styling for input
placeholders. (Opera supports placeholders themselves, but not (yet)
styling them.)

Firefox also applies regular input styles to placeholders, which is at
best weird, so we need to style the placeholder for it to display
reasonably (grayed out). (bug 39793)

Note the single colon for IE and Firefox and double one for Webkit:
these are pseudoclasses, not pseudoelements.

In Opera, the placeholder is always grey; #808080 on my system, but it
might differ on various setups. It's close enough to #999999 for us not to
care.

Further reading:
* http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css/2610741#2610741

Change-Id: I902abe16ac0cb7a55fe0d9ee7a2eec9a4e5a371a

11 years agoMerge "Fix typo in docs."
IAlex [Thu, 27 Sep 2012 07:33:58 +0000 (07:33 +0000)]
Merge "Fix typo in docs."

11 years agoMerge "The hooks are initiated from WikiPage instead of Article"
IAlex [Thu, 27 Sep 2012 07:33:19 +0000 (07:33 +0000)]
Merge "The hooks are initiated from WikiPage instead of Article"

11 years agoMerge "Use standard function name for constructor."
IAlex [Thu, 27 Sep 2012 07:32:48 +0000 (07:32 +0000)]
Merge "Use standard function name for constructor."

11 years agoFix typo in docs.
Siebrand Mazeland [Thu, 27 Sep 2012 05:28:22 +0000 (22:28 -0700)]
Fix typo in docs.

Change-Id: I9390711340f2426aaf46762f048738ac3a3de16a

11 years ago(bug 9237) SpecialBrokenRedirects.php: Exclude iw redirects
Timo Tijhof [Wed, 19 Sep 2012 14:41:28 +0000 (16:41 +0200)]
(bug 9237) SpecialBrokenRedirects.php: Exclude iw redirects

* Cleaned up code
* Difference:
  Added `(rd_interwiki IS NULL OR rd_interwiki = "")` condition.

Change-Id: Ifee9fdcdd3a327742b18cfcc2a235e1e24c062bf

11 years agoMerge "Remove svnstat stuff used in Doxygen generation"
Krinkle [Thu, 27 Sep 2012 01:36:42 +0000 (01:36 +0000)]
Merge "Remove svnstat stuff used in Doxygen generation"

11 years agoMerge "(bug 40531) profileinfo.php: Clean up"
Krinkle [Thu, 27 Sep 2012 00:57:08 +0000 (00:57 +0000)]
Merge "(bug 40531) profileinfo.php: Clean up"

11 years ago(bug 40531) profileinfo.php: Clean up
Dereckson [Wed, 26 Sep 2012 20:55:54 +0000 (22:55 +0200)]
(bug 40531) profileinfo.php: Clean up

* Cleaning whitespaces and quotation
* Improving markup and make valid HTML5
  - <!DOCTYPE html>
  - <meta charset="UTF-8">
* Tune up styles a bit, get rid of 90s narrow pale yellow/cyan
  tables.

Change-Id: Iff36c57ea1baa6462d2b35b7a420cd3919c7e454

11 years agoMerge "Only bin/ulimit4.sh is used by MW in GlobalFunctions.php"
Demon [Thu, 27 Sep 2012 00:31:04 +0000 (00:31 +0000)]
Merge "Only bin/ulimit4.sh is used by MW in GlobalFunctions.php"

11 years agoMerge "Made stash cleaning script also remove the old thumbnails."
Demon [Thu, 27 Sep 2012 00:29:25 +0000 (00:29 +0000)]
Merge "Made stash cleaning script also remove the old thumbnails."

11 years agoMerge ".gitignore: Fix case of "Thumbs.db""
Demon [Thu, 27 Sep 2012 00:26:18 +0000 (00:26 +0000)]
Merge ".gitignore: Fix case of "Thumbs.db""

11 years agoMerge "(bug 33471) compare detectProtocol to 'https'"
Demon [Thu, 27 Sep 2012 00:25:52 +0000 (00:25 +0000)]
Merge "(bug 33471) compare detectProtocol to 'https'"

11 years ago(bug 33471) compare detectProtocol to 'https'
csteipp [Thu, 27 Sep 2012 00:20:15 +0000 (17:20 -0700)]
(bug 33471) compare detectProtocol to 'https'

Extra ':' was added to the comparison string in gerrit change I6adc7e3e

Change-Id: I3ff7274f6aa006b5cb9dcc3d2c44721f25a0fc8f

11 years agoAdded tests to spec out behavior of html with self-closing tags.
Subramanya Sastry [Wed, 26 Sep 2012 23:27:40 +0000 (18:27 -0500)]
Added tests to spec out behavior of html with self-closing tags.

Change-Id: I370bc0ddd2c838bb64239e3c075fc941e55f30b7

11 years agoRemove svnstat stuff used in Doxygen generation
Reedy [Wed, 26 Sep 2012 22:52:36 +0000 (23:52 +0100)]
Remove svnstat stuff used in Doxygen generation

Change-Id: I9d8db5fae6e0c99d59fcb9a43d7ed4aab953c300

11 years agoMerge "Simplify getNewOffset()"
Krinkle [Wed, 26 Sep 2012 23:12:41 +0000 (23:12 +0000)]
Merge "Simplify getNewOffset()"

11 years agoOnly bin/ulimit4.sh is used by MW in GlobalFunctions.php
Reedy [Wed, 26 Sep 2012 22:57:27 +0000 (23:57 +0100)]
Only bin/ulimit4.sh is used by MW in GlobalFunctions.php

Delete the old unused ones

Change-Id: Id9c24191a8ddc6972cd7f2dcd4f609301dcebc65

11 years agoMerge "svnstat? In MY git repo?"
Krinkle [Wed, 26 Sep 2012 22:40:06 +0000 (22:40 +0000)]
Merge "svnstat? In MY git repo?"

11 years agosvnstat? In MY git repo?
Reedy [Wed, 26 Sep 2012 22:38:32 +0000 (23:38 +0100)]
svnstat? In MY git repo?

Change-Id: If72b4446db30668034c40353d22ac597db5aa253

11 years agoMerge "Adding a few tests for categories"
GWicke [Wed, 26 Sep 2012 21:31:11 +0000 (21:31 +0000)]
Merge "Adding a few tests for categories"

11 years agoAdding a few tests for categories
Mark Holmquist [Wed, 26 Sep 2012 20:10:20 +0000 (13:10 -0700)]
Adding a few tests for categories

There wasn't really a test for sort keys, but we need those for
the Parsoid round-trip testing. So here they are!

Change-Id: If1fd948d1937872b9604b08c85b11595276f2808

11 years agoMerge "Add 2 new options to importImages.php"
Demon [Wed, 26 Sep 2012 20:48:41 +0000 (20:48 +0000)]
Merge "Add 2 new options to importImages.php"

11 years agoAdd 2 new options to importImages.php
Max Semenik [Wed, 26 Sep 2012 16:02:47 +0000 (20:02 +0400)]
Add 2 new options to importImages.php

--timestamp overrides upload timestamp
--summary sets upload summary

Change-Id: I930c8b1ce55af0543a41f412ecf702715c82c6df

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Wed, 26 Sep 2012 20:01:29 +0000 (20:01 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 26 Sep 2012 19:39:05 +0000 (19:39 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ib1f59cfe72fac79455011d1d5557796340d4f3f6

11 years agoOnly whitespace changes -- stripped trailing white space.
Subramanya Sastry [Wed, 26 Sep 2012 19:15:13 +0000 (14:15 -0500)]
Only whitespace changes -- stripped trailing white space.

Change-Id: I3914705d17e2851e413b75ab4bbb4e85448804fd

11 years agoNew tests to check handling of tpl-name and tplarg-name clashes.
Subramanya Sastry [Wed, 26 Sep 2012 18:58:30 +0000 (13:58 -0500)]
New tests to check handling of tpl-name and tplarg-name clashes.

Change-Id: I99180af6460b8925a64b751650aaae6163e4ac27

11 years agoMerge "Begin transactions explicitely in Job class."
Reedy [Wed, 26 Sep 2012 18:20:10 +0000 (18:20 +0000)]
Merge "Begin transactions explicitely in Job class."

11 years agoRemove completely broken test
Chad Horohoe [Wed, 26 Sep 2012 13:14:13 +0000 (09:14 -0400)]
Remove completely broken test

Change-Id: I6a9897a533b0d57dab9b65d6100e267a73c710ed

11 years agoMerge "Added doc note about getWikiId()."
Aaron Schulz [Wed, 26 Sep 2012 16:48:42 +0000 (16:48 +0000)]
Merge "Added doc note about getWikiId()."

11 years agoAdded doc note about getWikiId().
Aaron Schulz [Wed, 26 Sep 2012 16:45:21 +0000 (09:45 -0700)]
Added doc note about getWikiId().

Change-Id: I9c078baf84e0fead743e5315f698bd287ecf9f13

11 years agoSimplify getNewOffset()
Reedy [Wed, 26 Sep 2012 15:59:58 +0000 (16:59 +0100)]
Simplify getNewOffset()

Remove @ingroup Diff comment which seems to have come from the extension

Change-Id: I2a357bde2b4298315ef05a619a05b56b0ce4dca2

11 years agoBegin transactions explicitely in Job class.
Daniel Kinzler [Wed, 26 Sep 2012 10:29:44 +0000 (10:29 +0000)]
Begin transactions explicitely in Job class.

This reverts commit dfbf524d3561e3fc54a9a072fda173435acc2e14 which
was "Removed unmatched commits in Job class".

The original change was reverted n the light of the recent discussion about the DBO_TRX flag
and the intended use and bahavior of begin and commit.

See http://www.gossamer-threads.com/lists/wiki/wikitech/300087 for Tim's explanation of DBO_TRX.

This change now implements a new, alternative solution to the original problem of unmatched
calls to commit:

The Job class originally relied on implicitely started transactions. Introducing
explicit calls to begin() avoids warnings while running tests, and
causes transaxctiosn to be used also in cli (maintenance) mode.

Change-Id: I6ecb8faad06449331a79b81860fe64624d3694d4

11 years agoWarn about all nested transactions when testing.
daniel [Wed, 26 Sep 2012 10:38:44 +0000 (12:38 +0200)]
Warn about all nested transactions when testing.

This change causes implicit commits caused by consecutive calls to
Database::begin() without intermediate calls to Database::commit() to
be more easily tracable. The changes introduced are:

* $this->doCommit( $fname ) is now called unconcitionally if there is
  an open transaction. Previously, it was not called if there were no
  write operations performed in that transaction.

* A warning about implicite commits (nested transactions) is now issued
  if write operations were performed OR ther DBO_TRX flag is NOT set. This
  causes any unmatched calls to begin() to trigger an error in CLI mode,
  notably also within unit tests.

* Implicit commits of non-write transactions in DBO_TRX mode can now be
  logged by enabling $wgDebugDBTRansactions.

Besides this, this change improves the documentation of the transaction
control functions.

The rationale is that implicite commits should be more easily tracable
in production and development.

Change-Id: I1e746322c36a7c53b545bfe78e252a13cce44ea1

11 years ago(bug 40352) fixDoubleRedirects.php: Support interwiki redirects
Timo Tijhof [Wed, 19 Sep 2012 13:32:30 +0000 (15:32 +0200)]
(bug 40352) fixDoubleRedirects.php: Support interwiki redirects

While at it, prettified code a bit and added list to output.

Change-Id: I989b5742ad46a9dd8c928a4ff5f76c869924730e

11 years ago(bug 35167) Allow <span dir="ltr|rtl"> in toc items
Amir E. Aharoni [Mon, 3 Sep 2012 08:28:08 +0000 (11:28 +0300)]
(bug 35167) Allow <span dir="ltr|rtl"> in toc items

Added parser tests accordingly.

Change-Id: Ia77f24f53e77b0b9d6112218c93ea15fdefac5de

11 years agoPreemptively add css3's image() to our css sanitizer.
Daniel Friesen [Fri, 21 Sep 2012 16:51:08 +0000 (09:51 -0700)]
Preemptively add css3's image() to our css sanitizer.

- Adding this now even though no browser supports it so that when one does it doesn't become a way to bypass our url() filter.
- Including missing tests for all of our insecure input filters.
- Also make sure that vendor prefixed versions like -webkit-image() are caught because most browsers are probably going to go and implement a vendor prefixed version first.

Change-Id: If73aa98b8accdb7621b0e4ff0615b61d530fa547

11 years agoFixing bug where end limit would not be calculated
mwalker [Mon, 24 Sep 2012 23:35:24 +0000 (16:35 -0700)]
Fixing bug where end limit would not be calculated

In the pager object, if the query was constructed
such that the index was a fully qualified field then
the 'past the end' index reference would not get
computed.

This is because $mIndexField stores the FQ field name
but $mPastTheEndRow is indexed on the non FQ name.
Therefore a warning would be generated due to a non
existent array key.

Change-Id: I52e1cbc8f7dad07de1ba5ba3bdfa2d107dfb4d93

11 years agoThe hooks are initiated from WikiPage instead of Article
Siebrand Mazeland [Wed, 26 Sep 2012 05:03:34 +0000 (22:03 -0700)]
The hooks are initiated from WikiPage instead of Article

Change-Id: Ie3d29d6b73916a17cec8cb5ce1a66d98d791eb40

11 years agoUse standard function name for constructor.
Siebrand Mazeland [Wed, 26 Sep 2012 04:12:45 +0000 (21:12 -0700)]
Use standard function name for constructor.

Also remove a redundant constant check.

Change-Id: I55d929e6bc8f8a851bedf5eaa476601af4458e6e

11 years agoMerge "Change case to use the canonical names."
Nikerabbit [Tue, 25 Sep 2012 23:33:49 +0000 (23:33 +0000)]
Merge "Change case to use the canonical names."

11 years agoMade stash cleaning script also remove the old thumbnails.
Aaron [Tue, 25 Sep 2012 21:49:36 +0000 (14:49 -0700)]
Made stash cleaning script also remove the old thumbnails.

Change-Id: I3dd5cc927bbbfb0f06eac9170107b17fabe39168

11 years agoMerge "Added several template tests to stress Parsoid template RT-ing."
GWicke [Tue, 25 Sep 2012 21:42:08 +0000 (21:42 +0000)]
Merge "Added several template tests to stress Parsoid template RT-ing."

11 years agoAdded several template tests to stress Parsoid template RT-ing.
Subramanya Sastry [Tue, 25 Sep 2012 18:39:44 +0000 (13:39 -0500)]
Added several template tests to stress Parsoid template RT-ing.

Change-Id: I294e5566b00bba260046f403b247d4d5d169b14f

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 25 Sep 2012 19:39:42 +0000 (19:39 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ia4ad3fe20ec69c845fef2b4a63eb25e37fa5eedf

11 years agoMerge "mediawiki.action.edit.preview: New module replacing preview.js"
Trevor Parscal [Tue, 25 Sep 2012 18:49:23 +0000 (18:49 +0000)]
Merge "mediawiki.action.edit.preview: New module replacing preview.js"

11 years agoMerge "(bug 40353) SpecialDoubleRedirect: Fix for interwiki redirects"
Aaron Schulz [Tue, 25 Sep 2012 17:35:47 +0000 (17:35 +0000)]
Merge "(bug 40353) SpecialDoubleRedirect: Fix for interwiki redirects"

11 years ago.gitignore: Fix case of "Thumbs.db"
Timo Tijhof [Tue, 25 Sep 2012 17:24:47 +0000 (19:24 +0200)]
.gitignore: Fix case of "Thumbs.db"

* Follows-up 82b127b3306b3e239df05659ad2eadcc50de83c7.

Change-Id: I57fcc41ad22ec748c8c772aeccd1e9df6d4646f7

11 years agoMerge "improving comment re DateFormatter.php"
Kaldari [Mon, 24 Sep 2012 23:21:19 +0000 (23:21 +0000)]
Merge "improving comment re DateFormatter.php"

11 years agoimproving comment re DateFormatter.php
Kaldari [Mon, 24 Sep 2012 23:19:30 +0000 (16:19 -0700)]
improving comment re DateFormatter.php

Change-Id: Ida5967c69792792b653390752da6536b55fbd0a5

11 years agoMerge "[FileBackend] Added FileBackend::getWikiID() function."
Catrope [Mon, 24 Sep 2012 22:45:00 +0000 (22:45 +0000)]
Merge "[FileBackend] Added FileBackend::getWikiID() function."

11 years ago[FileBackend] Added FileBackend::getWikiID() function.
Aaron [Mon, 24 Sep 2012 22:38:37 +0000 (15:38 -0700)]
[FileBackend] Added FileBackend::getWikiID() function.

Change-Id: Idd9be6c72d494fad37ac62e274c1e115ff97cdec

11 years agoMerge "[FileRepo] Throw an exception if a storage key is invalid."
Demon [Mon, 24 Sep 2012 22:00:38 +0000 (22:00 +0000)]
Merge "[FileRepo] Throw an exception if a storage key is invalid."

11 years agoMerge "Limit bad transactions warnings to those involving possible writes."
Catrope [Mon, 24 Sep 2012 21:57:42 +0000 (21:57 +0000)]
Merge "Limit bad transactions warnings to those involving possible writes."

11 years agoMerge "Replace RLE/LRE/PDF with RLM/LRM."
Nikerabbit [Mon, 24 Sep 2012 21:22:38 +0000 (21:22 +0000)]
Merge "Replace RLE/LRE/PDF with RLM/LRM."

11 years agoAdd an API log
Tim Starling [Wed, 19 Sep 2012 10:07:48 +0000 (20:07 +1000)]
Add an API log

During incident response, it was not possible to tell what API modules
were being requested and by whom, since the action parameter is often
posted. This change logs the API parameters whether they are posted or
sent in the query string.

I did try to get the API parameters from the module, but that turns out
to be difficult. Modules create submodules (generators, page sets) as
local variables, which are created in a procedural style and destroyed
before logging is done, so there is no easy way to query them for
parameter lists after execution completes.

In ApiOptionsTest, use a real ApiMain object like all the other API test
cases, rather than a mock object. Otherwise the test fails.

Change-Id: Idc786007fe61811d1874f29b5ce4762dd97b1847

11 years agoReplace RLE/LRE/PDF with RLM/LRM.
amire80 [Mon, 24 Sep 2012 20:17:27 +0000 (13:17 -0700)]
Replace RLE/LRE/PDF with RLM/LRM.

The main purpose of these control characters is to ensure the correct display
of parentheses in a mixed rtl/ltr environment. Putting RLM/LRM in the end is
enough for doing this and prevents problems with capitalization (like
with Norsk).

Change-Id: I4698bd675802125e42cc9200bd1f7a86be626631

11 years agoMerge "Add a couple more to .gitignore"
Nikerabbit [Mon, 24 Sep 2012 19:20:38 +0000 (19:20 +0000)]
Merge "Add a couple more to .gitignore"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 24 Sep 2012 19:05:01 +0000 (19:05 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ife4cc0ffee41ebb83329e5f6b6f1d018ce6338fc

11 years agoAdd a couple more to .gitignore
Chad Horohoe [Mon, 24 Sep 2012 18:00:00 +0000 (14:00 -0400)]
Add a couple more to .gitignore

Change-Id: Ibe72feb189e8f709c9f0ffd113bfcb926a561e8c

11 years agostylize one line method in includes/specials folder
umherirrender [Mon, 24 Sep 2012 17:44:57 +0000 (19:44 +0200)]
stylize one line method in includes/specials folder

Many of the isExpensive/isSyndicated method not written with new lines,
which are added with this change

Change-Id: I9b3a57035cdc718a8891a2428f9bed777a5f4fce

11 years agoMerge changes I7057c2e0,Id1fc9c87
Siebrand [Mon, 24 Sep 2012 17:34:07 +0000 (17:34 +0000)]
Merge changes I7057c2e0,Id1fc9c87

* changes:
  Remove some PHP 5.2 cruft (we already bailed for < 5.3.2)
  Remove some PHP 5.1 cruft (DateTime has existed since 5.2.0)

11 years agoMerge "Remove special page alias for non existing Special:RevisionMove"
Siebrand [Mon, 24 Sep 2012 17:27:54 +0000 (17:27 +0000)]
Merge "Remove special page alias for non existing Special:RevisionMove"

11 years agoDo not set mIncludable of SpecialPage direct
umherirrender [Mon, 24 Sep 2012 17:16:37 +0000 (19:16 +0200)]
Do not set mIncludable of SpecialPage direct

Override isIncludable instead or use the super class, which does it

Change-Id: If031fafa1eac82d35cf4af9aa1f84a3393d8008a

11 years agoMerge "Clear token cache when resetting session."
Aaron Schulz [Mon, 24 Sep 2012 16:51:35 +0000 (16:51 +0000)]
Merge "Clear token cache when resetting session."

11 years agoRemove some PHP 5.2 cruft (we already bailed for < 5.3.2)
Chad Horohoe [Mon, 24 Sep 2012 14:43:30 +0000 (10:43 -0400)]
Remove some PHP 5.2 cruft (we already bailed for < 5.3.2)

Change-Id: I7057c2e0f389095b9d6191e6fdee0c6ff2f97bd8

11 years agoRemove some PHP 5.1 cruft (DateTime has existed since 5.2.0)
Chad Horohoe [Mon, 24 Sep 2012 14:03:30 +0000 (10:03 -0400)]
Remove some PHP 5.1 cruft (DateTime has existed since 5.2.0)

Change-Id: Id1fc9c874906dcc44abab5b557c8138e6b7ecc50

11 years agoMerge "Fix invalid HTML in design doc"
IAlex [Mon, 24 Sep 2012 13:27:19 +0000 (13:27 +0000)]
Merge "Fix invalid HTML in design doc"

11 years agoSwitch on expected value, since the actual one can obviously be wrong
jeroendedauw [Mon, 24 Sep 2012 13:14:28 +0000 (15:14 +0200)]
Switch on expected value, since the actual one can obviously be wrong

This gets rid of confusing error messages pointing to the provided type being invalid

Change-Id: Id283ef6e8fa6c3f18bc9ef3b740e8ec4bd181e3a

11 years agoClear token cache when resetting session.
daniel [Mon, 24 Sep 2012 13:07:36 +0000 (15:07 +0200)]
Clear token cache when resetting session.

ApiTestCase resets global session data in setup, invalidating any existing cookies.
ApiQueryInfo caches all tokens, these need to be cleared out so tokens are re-generated
to match the fresh session.

Until now, individual tests have been doing that, but there's no not to do this per
default.

Change-Id: Icefa362190c2e7d87d09bda30079255741824f55

11 years agoFix invalid HTML in design doc
Chad Horohoe [Mon, 24 Sep 2012 12:59:31 +0000 (08:59 -0400)]
Fix invalid HTML in design doc

Change-Id: Ibb664c22dc54109b113a51b4385e5564c2b80ce1

11 years agoRemove special page alias for non existing Special:RevisionMove
umherirrender [Mon, 24 Sep 2012 10:58:03 +0000 (12:58 +0200)]
Remove special page alias for non existing Special:RevisionMove

Followup r86155

Change-Id: I4153cfcb3f2da1eecad46956265c3854c654bd3a

11 years agoMerge "Update jStorage from upstream v0.1.7 to v0.3.0"
Krinkle [Mon, 24 Sep 2012 01:39:29 +0000 (01:39 +0000)]
Merge "Update jStorage from upstream v0.1.7 to v0.3.0"

11 years agoUpdate jStorage from upstream v0.1.7 to v0.3.0
Marius Hoch [Sun, 23 Sep 2012 17:58:36 +0000 (19:58 +0200)]
Update jStorage from upstream v0.1.7 to v0.3.0

Upstream:
* src: https://raw.github.com/andris9/jStorage/v0.3.0/jstorage.js
* log:
  https://github.com/andris9/jStorage/compare/v0.1.6.1...v0.3.0

Did not maintain the modifications made as they were not
necessary (only stylistic), and jStorage is already listed in
the .jshintignore file.

Change-Id: I9c92c47ef165157a40412100e9e532bce36fc638

11 years agoSpell the name of Hausa in the Latin script
amire80 [Sun, 23 Sep 2012 22:54:33 +0000 (15:54 -0700)]
Spell the name of Hausa in the Latin script

The actual Wikipedia in this language is written in the Latin script,
so the name in the software must reflect it. If the Arabic variant
will be used, the Arabic name can be added back.

Change-Id: Id2436a40e3cbe83c41e28035abb4ae2e331cd00a

11 years agoMerge "(bug 29374) Enabled $wgVectorUseSimpleSearch by default."
Nikerabbit [Sun, 23 Sep 2012 22:55:34 +0000 (22:55 +0000)]
Merge "(bug 29374) Enabled $wgVectorUseSimpleSearch by default."

11 years agoMerge "Remove pass-by-reference from WikiExporter constructor"
IAlex [Sun, 23 Sep 2012 20:56:50 +0000 (20:56 +0000)]
Merge "Remove pass-by-reference from WikiExporter constructor"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Sun, 23 Sep 2012 19:09:12 +0000 (19:09 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Don't parse the section summary when creating a page by adding a new section."
Siebrand [Sun, 23 Sep 2012 19:03:38 +0000 (19:03 +0000)]
Merge "Don't parse the section summary when creating a page by adding a new section."

11 years agoMerge "Follow-up Ifd700826 (60d119c), address a fixme in a re-enabled test."
Siebrand [Sun, 23 Sep 2012 19:01:20 +0000 (19:01 +0000)]
Merge "Follow-up Ifd700826 (60d119c), address a fixme in a re-enabled test."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 23 Sep 2012 18:59:42 +0000 (18:59 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ic47a081c0071b926ada2b4f46b2d6e57841e9b23

11 years agoMerge "(bug 35693) ApiQueryImageInfo now suppresses errors when unserializing metadata"
Siebrand [Sun, 23 Sep 2012 18:55:37 +0000 (18:55 +0000)]
Merge "(bug 35693) ApiQueryImageInfo now suppresses errors when unserializing metadata"