lhc/web/wiklou.git
11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 28 Nov 2012 19:59:50 +0000 (19:59 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I104647cc6b24e8f6b3717c7230b4c53799670ab7

11 years agoMerge "Add 'dimensions' and 'thumbmine' to resultproperties in prop=imageinfo"
Catrope [Wed, 28 Nov 2012 18:54:03 +0000 (18:54 +0000)]
Merge "Add 'dimensions' and 'thumbmine' to resultproperties in prop=imageinfo"

11 years agoMerge "Addition of SearchAfterNoDirectMatch hook"
Ori.livneh [Wed, 28 Nov 2012 11:52:07 +0000 (11:52 +0000)]
Merge "Addition of SearchAfterNoDirectMatch hook"

11 years agoAddition of SearchAfterNoDirectMatch hook
Reedy [Fri, 2 Nov 2012 16:56:36 +0000 (16:56 +0000)]
Addition of SearchAfterNoDirectMatch hook

Needed for mediawiki/extensions/SearchExtraNS

Change-Id: If0a7da5c8691c418bc388e50dd11eea3b57ed45d

11 years ago[JobQueue] Improved refreshLinks/htmlCacheUpdate job de-duplication.
Aaron Schulz [Thu, 8 Nov 2012 22:01:40 +0000 (14:01 -0800)]
[JobQueue] Improved refreshLinks/htmlCacheUpdate job de-duplication.

* Added JobQueue::deduplicateRootJob() function which uses cache
  records of the last time a "root" job was initiated for a task
  in order to invalidate prior jobs for that task. For refreshLinks,
  the "task" is basically "enqueueing the refresh jobs for title X".
* (bug 27914) Also added new Job::getDeduplicationFields() function
  and made use of it with refreshLinks to exclude things like 'masterPos'
  from duplicate job check comparisons for refreshLinks.
* (bug 27914) Always resolve refreshLinks2 jobs down to refreshLinks jobs.
  For each affected pages, one of them will get their job popped
  first, which will remove the duplicates for that page unless
  one page is in a refreshLinks2 jobs and the other in refreshLinks.
* (bug 37731) Made LinksUpdate/HTMLCacheUpdate defer the large
  backlinks query by doing it in an outer job.
* (bug 42065) HTMLCacheUpdate will no longer purge pages that were
  already purged since the job was added.

Change-Id: I71b743e0a38e60a874ca856e80cb761bea06b689

11 years agoStore "bad metadata" placeholder metadata for SVGs.
Aaron Schulz [Mon, 26 Nov 2012 21:17:41 +0000 (13:17 -0800)]
Store "bad metadata" placeholder metadata for SVGs.

* This prevents excessive download (getLocalReference()) and metadata
  extraction operations to keep reloading metadata again and again.
* This also avoids DB load and lock timeouts due to constants UPDATEs.

Change-Id: I9d35467d3a5e23a07e880dbdf59fccda4b598faf

11 years agoAdded a script to populate file HTTP headers for existing files.
Aaron Schulz [Tue, 27 Nov 2012 00:09:01 +0000 (16:09 -0800)]
Added a script to populate file HTTP headers for existing files.

Change-Id: I17a0e3d0e84fea1638afe18f2ee3d36ea6be831a

11 years agoMerge "Fix typo (sentances => sentences)"
Ori Livneh [Tue, 27 Nov 2012 23:29:06 +0000 (23:29 +0000)]
Merge "Fix typo (sentances => sentences)"

11 years agoFix typo (sentances => sentences)
Ori Livneh [Tue, 27 Nov 2012 23:27:45 +0000 (15:27 -0800)]
Fix typo (sentances => sentences)

Change-Id: Ifaec0d0bd24703dbe80ab1869366b404aa001cce

11 years agoChanged Status class to allow passing of Message objects.
Tyler Anthony Romeo [Tue, 7 Aug 2012 17:03:55 +0000 (13:03 -0400)]
Changed Status class to allow passing of Message objects.

Adjusted internal Status functions so that a Message
object can be passed as an error message instead of just
a string. Also removed deprecated message functions in
the process.

Change-Id: Icb4b5edeb25190f0aba4f3096a9ea94f22c27bda
Signed-off-by: Tyler Romeo <tylerromeo@gmail.com>
11 years agoMerge "Fix hash validation in api"
Aaron Schulz [Tue, 27 Nov 2012 22:53:56 +0000 (22:53 +0000)]
Merge "Fix hash validation in api"

11 years agoRefreshLinksJob parsed with incorrect revision variables
umherirrender [Tue, 27 Nov 2012 20:49:58 +0000 (21:49 +0100)]
RefreshLinksJob parsed with incorrect revision variables

It is necessary to pass the revision id to the parser output to get the
revision variables like REVISIONTIMESTAMP correct. Doing this self
in the job prevents from calling Title::getLatestRevId in
Content::getSecondaryDataUpdates or other places.

This behaviour was lost in I551a90b0

Change-Id: I4bf0e8199edacaa703699f45ec8e65ca9e31e765

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 27 Nov 2012 20:38:14 +0000 (20:38 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I1832224e316757869dc2071d0f52b9a376ad0a1c

11 years agoRebuild MessagesEn.php
Alexandre Emsenhuber [Tue, 27 Nov 2012 19:02:48 +0000 (20:02 +0100)]
Rebuild MessagesEn.php

Change-Id: I83b0a325c703d19a76e84cb160dc849785d140af

11 years agoMerge "Fix doc/hooks.txt for EditPage::showStandardInputs:options"
IAlex [Tue, 27 Nov 2012 19:01:51 +0000 (19:01 +0000)]
Merge "Fix doc/hooks.txt for EditPage::showStandardInputs:options"

11 years agoFix syntax error.
Siebrand Mazeland [Tue, 27 Nov 2012 18:36:03 +0000 (19:36 +0100)]
Fix syntax error.

HOW COULD THIS HAVE BEEN MERGED?!?

Change-Id: I4c5047c9a5403fffa38e61e0b315cae55ea52eee

11 years agoMerge "Fix per-connection database name in DBAccessBase."
Demon [Tue, 27 Nov 2012 18:28:49 +0000 (18:28 +0000)]
Merge "Fix per-connection database name in DBAccessBase."

11 years agoFix per-connection database name in DBAccessBase.
daniel [Tue, 27 Nov 2012 18:18:55 +0000 (19:18 +0100)]
Fix per-connection database name in DBAccessBase.

Change-Id: I5ac4bfb93f2dfee1e6822f7afd75ff81c0864e43

11 years agoMerge "Made BackLinkCache use object caching better."
Demon [Tue, 27 Nov 2012 17:58:34 +0000 (17:58 +0000)]
Merge "Made BackLinkCache use object caching better."

11 years agoMerge "Make clear that reportConnectionError() stops the code flow."
Demon [Tue, 27 Nov 2012 17:57:43 +0000 (17:57 +0000)]
Merge "Make clear that reportConnectionError() stops the code flow."

11 years agoMerge "Fix $wgHtml5 case. Follow-up c35304 (0473c33)"
Demon [Tue, 27 Nov 2012 17:56:47 +0000 (17:56 +0000)]
Merge "Fix $wgHtml5 case. Follow-up c35304 (0473c33)"

11 years agoMerge "Move around User::getEditCount() code."
Demon [Tue, 27 Nov 2012 17:56:29 +0000 (17:56 +0000)]
Merge "Move around User::getEditCount() code."

11 years agoFix $wgHtml5 case. Follow-up c35304 (0473c33)
Platonides [Tue, 27 Nov 2012 17:47:30 +0000 (18:47 +0100)]
Fix $wgHtml5 case. Follow-up c35304 (0473c33)

Change-Id: Ie5916a5fbb64873adb0ed8a6fdd0aca666c7ebf1

11 years agoMade BackLinkCache use object caching better.
Aaron Schulz [Tue, 27 Nov 2012 17:26:02 +0000 (09:26 -0800)]
Made BackLinkCache use object caching better.

* This way, we can actually get persistent cache hits for
the HTMLCacheUpdate queries rather than always hitting a DB.
* Also moved BacklinkCache under the /cache directory.

Change-Id: I0666ee575fb42675f1a7dd9cb52665f0a12a66a9

11 years agoMerge "Base class for objects accessign databases."
Demon [Tue, 27 Nov 2012 17:37:53 +0000 (17:37 +0000)]
Merge "Base class for objects accessign databases."

11 years agoMerge "(bug 38110) provide a way to separate out schema changes"
Demon [Tue, 27 Nov 2012 17:20:45 +0000 (17:20 +0000)]
Merge "(bug 38110) provide a way to separate out schema changes"

11 years agoMerge changes Idfc2e2b6,I9b30d602
Demon [Tue, 27 Nov 2012 17:18:21 +0000 (17:18 +0000)]
Merge changes Idfc2e2b6,I9b30d602

* changes:
  $wgHTML5 is a different variable than $wgHtml5 and the right name is the later.
  Global tweaks wrt $wgSecureLogin.

11 years agoBase class for objects accessign databases.
daniel [Mon, 19 Nov 2012 09:32:51 +0000 (10:32 +0100)]
Base class for objects accessign databases.

DBAccessBase provides utility methods for DB access, including
access to other wiki's databases.

Change-Id: I3c23a5c6e49e4921d48fddd72f2cf28ad1d13a58

11 years ago(bug 14901) Expand release notes
Federico Leva [Mon, 26 Nov 2012 20:32:14 +0000 (21:32 +0100)]
(bug 14901) Expand release notes

The bug has not been fixed completely and it deserves some space.
Expanded the release notes pseudo-quoting bsitu's comment on the
commit/https://bugzilla.wikimedia.org/show_bug.cgi?id=14901#c63.

The release note mentions most of the terms used by both technical
and non technical users so that they uphold each other and ease
grepping or search (except for case and hyphens):
'(Email)? notifications?', 'Enotif'.

Per Siebrand, it was impossible to both avoid inconsistent wrapping
and respect line length limits, so I've rewrapped the other offenders.

Follow-up to Ibb7953741e4189127d1cd6718ac58492f254671e

Change-Id: I7403185a35ebab549d9342169d2b54a2e63c5480

11 years agoMerge "release notes for I9a2ebd50"
Siebrand [Tue, 27 Nov 2012 12:42:47 +0000 (12:42 +0000)]
Merge "release notes for I9a2ebd50"

11 years agorelease notes for I9a2ebd50
MatmaRex [Tue, 27 Nov 2012 07:47:50 +0000 (08:47 +0100)]
release notes for I9a2ebd50

I forgot them earlier, sorry.

Change-Id: I08236ae05edb0d96febb4bb01fc8d15324d327bd

11 years agoMerge "Fix data type for timestamp in TestORMRowTest"
Hashar [Tue, 27 Nov 2012 10:04:22 +0000 (10:04 +0000)]
Merge "Fix data type for timestamp in TestORMRowTest"

11 years agoMerge "Typo in comment's Example code."
Hashar [Tue, 27 Nov 2012 09:35:34 +0000 (09:35 +0000)]
Merge "Typo in comment's Example code."

11 years agoMerge "Removal of unused globals."
Nikerabbit [Tue, 27 Nov 2012 07:05:44 +0000 (07:05 +0000)]
Merge "Removal of unused globals."

11 years agoTypo in comment's Example code.
S Page [Tue, 27 Nov 2012 05:11:21 +0000 (21:11 -0800)]
Typo in comment's Example code.

Patch 2: fix both comment Examples, rephrase comment, fix a few typos.

Change-Id: Id57d9307a3f613445faacdea8c9a4e195ad3987d

11 years ago[JobQueue] Fixed some old race conditions in nextJobDB.php
Aaron Schulz [Fri, 23 Nov 2012 03:10:42 +0000 (19:10 -0800)]
[JobQueue] Fixed some old race conditions in nextJobDB.php

Change-Id: I90911083a096c8117dcceb16bf997eac9fd3ccd1

11 years ago(bug 36780) Improve display of IPv6 addresses
csteipp [Tue, 22 May 2012 23:30:07 +0000 (23:30 +0000)]
(bug 36780)  Improve display of IPv6 addresses

Also add partial tests for Linker::userLink()

Change-Id: I680a59bb0ec3ca1d85ed12b0debb3446c73a3aab

11 years agoMove around User::getEditCount() code.
Platonides [Mon, 26 Nov 2012 21:56:42 +0000 (22:56 +0100)]
Move around User::getEditCount() code.

It's simpler to do an early return and catch almost everything
in the profiling.

Change-Id: I2306c7b39d9808989f11d7d9d34db06c39d51820

11 years agoMerge "(bug 42337) Simplify "my talk" link logic in personal tools"
Ori.livneh [Mon, 26 Nov 2012 21:49:45 +0000 (21:49 +0000)]
Merge "(bug 42337) Simplify "my talk" link logic in personal tools"

11 years agoMake clear that reportConnectionError() stops the code flow.
Platonides [Mon, 26 Nov 2012 21:41:52 +0000 (22:41 +0100)]
Make clear that reportConnectionError() stops the code flow.

Use it as if 'returning' a value for getConnection().
It doesn't make sense to sometimes add a return false and
sometimes not. But it was confusing that it looked like
wfProfileOut( __METHOD__ ); could be called twice.

Change-Id: I09638a134fcc925410389660f85239e8aa16483e

11 years ago$wgHTML5 is a different variable than $wgHtml5 and the right name is the later.
Platonides [Mon, 26 Nov 2012 21:34:40 +0000 (22:34 +0100)]
$wgHTML5 is a different variable than $wgHtml5 and the right name is the later.

Change-Id: Idfc2e2b61a791a2d9d6a33cbffe2fc12054e22d8

11 years agoGlobal tweaks wrt $wgSecureLogin.
Platonides [Mon, 26 Nov 2012 21:32:23 +0000 (22:32 +0100)]
Global tweaks wrt $wgSecureLogin.

· Remove duplicated global.
· Do not define a global in a switch.

Change-Id: I9b30d602ae86e0f0643d7788188efb3af367dec8

11 years agoRemoval of unused globals.
Platonides [Mon, 26 Nov 2012 21:15:11 +0000 (22:15 +0100)]
Removal of unused globals.

Change-Id: I870665d18f955a245222cfceca4665897277e7e4

11 years agoMerge "Kill DeviceDetection"
awjrichards [Mon, 26 Nov 2012 20:57:11 +0000 (20:57 +0000)]
Merge "Kill DeviceDetection"

11 years agoMerge "Stopped some debug notice warnings from showing on SpecialPages."
IAlex [Mon, 26 Nov 2012 20:51:55 +0000 (20:51 +0000)]
Merge "Stopped some debug notice warnings from showing on SpecialPages."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 26 Nov 2012 20:21:47 +0000 (20:21 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ibb1d15728b75d4faaa21fbcab6393fa55eb0c4b3

11 years ago(bug 42337) Simplify "my talk" link logic in personal tools
Amir E. Aharoni [Thu, 22 Nov 2012 21:57:02 +0000 (23:57 +0200)]
(bug 42337) Simplify "my talk" link logic in personal tools

Another attempt at fixing the complexity and the broken RTL display
that change I822a7390 introduced.

This commit is the same as Change I36ec3bec, except that it completely
removes the parentheses that were added to the "talk" link and
the associated mytalk-parenthetical message.

The following is copied from the commit message of Change I36ec3bec:

Change I822a7390 introduced a somewhat complex way to display
the "talk" link in parentheses after the username. It would only
work in Vector, and it broke the display in RTL wikis, because
it hacked into the personal links array.

This change attempts to make it more robust, by keeping the
array intact. This fixes the display in RTL wikis.

This commit also eliminates the global $wgVectorCombineUserTalk,
which is not needed any more.

Change-Id: Ib6076396d7f5bbdd4ba771b21020bdbb8e0c5b2d

11 years ago(bug 14901) Email notification mistakes log action for new page creation
bsitu [Fri, 18 May 2012 21:01:12 +0000 (14:01 -0700)]
(bug 14901) Email notification mistakes log action for new page creation

Original patch by Dan Nessett, modified by Benny Situ and Roan Kattouw

Change-Id: Ibb7953741e4189127d1cd6718ac58492f254671e

11 years agoBug 42445: Fix file revert with local repo
Jan Gerber [Mon, 26 Nov 2012 11:42:09 +0000 (11:42 +0000)]
Bug 42445: Fix file revert with local repo

reverting a file a virtual url is passed to upload without props,
get props from backend, virutal urls are not local files.

Change-Id: I1d56a6237e1d2af9941f29e4ba3f0262817b0e8d

11 years agoMerge "(bug 42302) Fixed broken thumbnails for files with a "+" in the name."
Aaron Schulz [Mon, 26 Nov 2012 18:07:20 +0000 (18:07 +0000)]
Merge "(bug 42302) Fixed broken thumbnails for files with a "+" in the name."

11 years agoFix doc/hooks.txt for EditPage::showStandardInputs:options
Brad Jorsch [Mon, 26 Nov 2012 17:57:25 +0000 (12:57 -0500)]
Fix doc/hooks.txt for EditPage::showStandardInputs:options

The documentation added for this hook in Ic5d35c8e missed one of the
parameters.

Change-Id: I935dac942679d999658fa9fe367db81df33edbfd

11 years agoMerge "(bug 42410) Add $pageObj->clear() for newtimestamp"
Anomie [Mon, 26 Nov 2012 14:22:15 +0000 (14:22 +0000)]
Merge "(bug 42410) Add $pageObj->clear() for newtimestamp"

11 years ago(bug 42410) Add $pageObj->clear() for newtimestamp
burthsceh [Sun, 4 Nov 2012 07:39:03 +0000 (16:39 +0900)]
(bug 42410) Add $pageObj->clear() for newtimestamp

To return latest timestamp

Change-Id: I1d28164d89917152d3f712817a125c8be36f390d

11 years agoMerge "mark ApiEditPageTest as being slow tests"
Antoine Musso [Mon, 26 Nov 2012 14:18:30 +0000 (14:18 +0000)]
Merge "mark ApiEditPageTest as being slow tests"

11 years agoMerge "[FileRepo] Added File::getStreamHeaders() function for convenience."
Demon [Mon, 26 Nov 2012 14:10:21 +0000 (14:10 +0000)]
Merge "[FileRepo] Added File::getStreamHeaders() function for convenience."

11 years agoMerge "[LockManager] Use proper hmac function for LSLockManager."
Demon [Mon, 26 Nov 2012 14:09:58 +0000 (14:09 +0000)]
Merge "[LockManager] Use proper hmac function for LSLockManager."

11 years agomark ApiEditPageTest as being slow tests
Antoine Musso [Mon, 26 Nov 2012 13:49:52 +0000 (14:49 +0100)]
mark ApiEditPageTest as being slow tests

The edit conflict tests can take quiet a while to execute, definitely
more than the default 2 seconds we allocated to test. Marking the class
with '@group medium', in the comment, instructs PHPUnit to apply a
timeout of 10 seconds.

Change-Id: Icdd78ea43c91eeca7d4a00bfe6bb368bb3b8f891

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 25 Nov 2012 20:37:47 +0000 (20:37 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I1373ade165d011e2aea7075f6d7a702d78527b96

11 years agoMerge "(bug 41886) make $.tablesorter support headers with colspan"
TheDJ [Sun, 25 Nov 2012 20:15:06 +0000 (20:15 +0000)]
Merge "(bug 41886) make $.tablesorter support headers with colspan"

11 years agoMerge "Revert "[FileBackend] Added optional callback parameter to concatenate().""
Aaron Schulz [Sun, 25 Nov 2012 01:05:56 +0000 (01:05 +0000)]
Merge "Revert "[FileBackend] Added optional callback parameter to concatenate().""

11 years agoRevert "[FileBackend] Added optional callback parameter to concatenate()."
Aaron Schulz [Sun, 25 Nov 2012 00:59:16 +0000 (00:59 +0000)]
Revert "[FileBackend] Added optional callback parameter to concatenate()."

This gives updates for the faster part (local FS file changes) and not
the slow GETs that really need this. This should be re-done to use a
byte based read progress callback (that handles the parallel GETs).

This reverts commit 6c9f13b5477f54fbe9cff893f665814ad8cdff87

Change-Id: Id8d739e1d5048e7f38c68eda4f9a008682707cba

11 years agoStopped some debug notice warnings from showing on SpecialPages.
Aaron Schulz [Sun, 25 Nov 2012 00:39:48 +0000 (16:39 -0800)]
Stopped some debug notice warnings from showing on SpecialPages.

Change-Id: I9b7fdf3a714b806ac28bd28c5c43951e2a5f1f64

11 years ago(bug 42302) Fixed broken thumbnails for files with a "+" in the name.
Aaron Schulz [Sat, 24 Nov 2012 23:47:17 +0000 (15:47 -0800)]
(bug 42302) Fixed broken thumbnails for files with a "+" in the name.

Change-Id: Ic5764fa17e12d24ddbc77bfc0523e97ed12b0afe

11 years agoMerge "Revert "(bug 42337) Simplify "my talk" link logic in personal tools""
Krinkle [Sat, 24 Nov 2012 23:15:18 +0000 (23:15 +0000)]
Merge "Revert "(bug 42337) Simplify "my talk" link logic in personal tools""

11 years agoRevert "(bug 42337) Simplify "my talk" link logic in personal tools"
Krinkle [Sat, 24 Nov 2012 23:15:12 +0000 (23:15 +0000)]
Revert "(bug 42337) Simplify "my talk" link logic in personal tools"

For 2 reasons:
* The parentheses look (according to CologneBlue) weird in skins others than Monobook and Vector (where they are bulleted lists)
* The parentheses look (according to Krinkle) weird in Vector and Monobook as well.
* The casing changed from (talk) to (Talk), which is odd.

Please try again.

This reverts commit f31209dfb307ec2bac20107e788578b762f70e89

11 years agoMerge "Follow up: I1b017e13 - Fix Strict Standards"
Aaron Schulz [Sat, 24 Nov 2012 22:02:26 +0000 (22:02 +0000)]
Merge "Follow up: I1b017e13 - Fix Strict Standards"

11 years agoMerge "Allow null for title in preprocess"
Platonides [Sat, 24 Nov 2012 21:25:18 +0000 (21:25 +0000)]
Merge "Allow null for title in preprocess"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 24 Nov 2012 20:51:41 +0000 (20:51 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I31e192158cad615c628471f295d8a1ce5f5d8438

11 years ago(bug 41886) make $.tablesorter support headers with colspan
MatmaRex [Fri, 9 Nov 2012 16:47:29 +0000 (17:47 +0100)]
(bug 41886) make $.tablesorter support headers with colspan

Previously, if a header had colspan set, all headers after it would sort
wrong columns (shifted by the cumulating colspans). This fixes the issue,
from now on every header sorts on all columns it spans over (using the
multi-column sorting funcitonality already present in $.tablesorter).

Change-Id: I89766c9640b83ca38f41d698d1ef052a9e3f68d3

11 years agoFollow up: I1b017e13 - Fix Strict Standards
umherirrender [Sat, 24 Nov 2012 14:15:32 +0000 (15:15 +0100)]
Follow up: I1b017e13 - Fix Strict Standards

Strict Standards: Declaration of ForeignDBFile::publish() should be
compatible with that of LocalFile::publish() in
\includes\filerepo\file\ForeignDBFile.php on line 122

Change-Id: If3de7ec3a6794752bfe6ef7644b66497c1ad9c8b

11 years agoAllow null for title in preprocess
Stephan Gambke [Sat, 24 Nov 2012 09:40:06 +0000 (10:40 +0100)]
Allow null for title in preprocess

Additionally remove creation of bogus title in transformMsg.

The only place preprocess uses the title is in startParse. And that explicitly allows null.

Change-Id: I33d090bf250092fc541e284eb19dbd4053f40ae5

11 years agoMerge "(bug 42337) Simplify "my talk" link logic in personal tools"
Ori.livneh [Sat, 24 Nov 2012 08:24:07 +0000 (08:24 +0000)]
Merge "(bug 42337) Simplify "my talk" link logic in personal tools"

11 years ago(bug 35272) Tweak new user creation log messages
Alex Monk [Sat, 27 Oct 2012 18:30:11 +0000 (19:30 +0100)]
(bug 35272) Tweak new user creation log messages

Change-Id: I6ae7986b0425208ffe00afb8bb246f4b85dc954d

11 years agoMerge "Fix misleading param name in FormatJson::encode signature"
Nikerabbit [Fri, 23 Nov 2012 22:53:07 +0000 (22:53 +0000)]
Merge "Fix misleading param name in FormatJson::encode signature"

11 years agoFix misleading param name in FormatJson::encode signature
Ori Livneh [Fri, 23 Nov 2012 21:51:15 +0000 (13:51 -0800)]
Fix misleading param name in FormatJson::encode signature

As the FIXME notes, $isHtml has nothing to do with HTML; it simply controls
whether the resultant JSON should be formatted for readability by inserting
whitespace as appropriate.

Change-Id: I90d46d6624d683f18a39c98500bd71bbd0ca3800

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 23 Nov 2012 21:37:16 +0000 (21:37 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I31198b2c4c2f14f237c692ad1d08eceda62efd40

11 years agoMerge "Clean up Language::markNoConversion()."
Nikerabbit [Fri, 23 Nov 2012 13:01:08 +0000 (13:01 +0000)]
Merge "Clean up Language::markNoConversion()."

11 years agoFix data type for timestamp in TestORMRowTest
umherirrender [Fri, 23 Nov 2012 12:50:43 +0000 (13:50 +0100)]
Fix data type for timestamp in TestORMRowTest

1) TestORMRowTest::testConstructor with data set #0 (array('Foobar',
'20120101020202', 42, 9000.1, true, array(13, 11, 7, 5, 3, 2),
stdClass), true)
Failed asserting that 2147483647 matches expected '20120101020202'.

Change-Id: I4dddaedf4e386c2061ee79fe0ab18af59033f052

11 years agoMerge "Add MediaWikiTestCase::checkHasDiff3 and use it"
Hashar [Fri, 23 Nov 2012 10:27:47 +0000 (10:27 +0000)]
Merge "Add MediaWikiTestCase::checkHasDiff3 and use it"

11 years agoMerge "(bug 41792) Fix Special:Preferences tabs in IE8 compatibility mode"
Nikerabbit [Fri, 23 Nov 2012 10:26:26 +0000 (10:26 +0000)]
Merge "(bug 41792) Fix Special:Preferences tabs in IE8 compatibility mode"

11 years agoMerge "Added profiling to test runner."
Hashar [Fri, 23 Nov 2012 10:26:18 +0000 (10:26 +0000)]
Merge "Added profiling to test runner."

11 years agoMerge "Fix exception when searching for stuff beginning with "Media:""
Nikerabbit [Fri, 23 Nov 2012 10:22:09 +0000 (10:22 +0000)]
Merge "Fix exception when searching for stuff beginning with "Media:""

11 years ago[LockManager] Use proper hmac function for LSLockManager.
Aaron Schulz [Fri, 23 Nov 2012 03:35:15 +0000 (19:35 -0800)]
[LockManager] Use proper hmac function for LSLockManager.

Change-Id: If4a3d25a61bcc7cf26beb32abf3d4cc655ca4c55

11 years agoMerge "[FileBackend] Improved getFileProps() docs a bit."
ASchulz [Thu, 22 Nov 2012 22:09:26 +0000 (22:09 +0000)]
Merge "[FileBackend] Improved getFileProps() docs a bit."

11 years ago(bug 42337) Simplify "my talk" link logic in personal tools
Amir E. Aharoni [Thu, 22 Nov 2012 21:57:02 +0000 (23:57 +0200)]
(bug 42337) Simplify "my talk" link logic in personal tools

Change I822a7390 introduced a somewhat complex way to display
the "talk" link in parentheses after the username. It would only
work in Vector, and it broke the display in RTL wikis, because
it hacked into the personal links array.

This change attempts to make it more robust, by keeping the
array intact and adding the parentheses to the mytalk item
as a special case in SkinTemplate::makeListItem(). This fixes
the display in RTL wikis and allows the parentheses
to be displayed in all skins.

This commit also eliminates the global $wgVectorCombineUserTalk,
which is not needed any more.

Change-Id: I36ec3bec89a17cab3e4fc56ccf5038f7df93d213

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

Change-Id: I934fc8141bcd2d6f7683f55862286f0d9341c69a

11 years agoAdded profiling to test runner.
daniel [Thu, 22 Nov 2012 18:34:32 +0000 (19:34 +0100)]
Added profiling to test runner.

MediaWikiTestCase now calls wfProfileIn/wfProfileOut for each call
to a test function. This makes it easy to track down slow tests.

Change-Id: I5ff2fea957c082f41da37936fe44948ad006f573

11 years agoAdd MediaWikiTestCase::checkHasDiff3 and use it
umherirrender [Thu, 22 Nov 2012 16:45:50 +0000 (17:45 +0100)]
Add MediaWikiTestCase::checkHasDiff3 and use it

Some tests can only passed, when diff3 is enabled on the wiki, when not
the tests should marked as skipped. To avoid code duplicates inside
the test folder for the check, if diff3 is enabled, the new function
MediaWikiTestCase::checkHasDiff3 can be used.

Change-Id: Ie765da49a4a1358da78a3506e38772d61bcd010c

11 years agoMerge "Allow all rc options in feeds"
IAlex [Thu, 22 Nov 2012 11:56:45 +0000 (11:56 +0000)]
Merge "Allow all rc options in feeds"

11 years agoAllow all rc options in feeds
Niklas Laxström [Thu, 22 Nov 2012 10:56:16 +0000 (10:56 +0000)]
Allow all rc options in feeds

The comment seems outdated given the following code in ChangesFeed:
$optionsHash = md5( serialize( $opts->getAllValues() ) ) . $wgRenderHashAppend;

Change-Id: I6f7ac3badf14eef8d193053c4788d7d7f5eb03f3

11 years ago(bug 38110) provide a way to separate out schema changes
MarkAHershberger [Thu, 22 Nov 2012 03:53:24 +0000 (22:53 -0500)]
(bug 38110) provide a way to separate out schema changes

Allows update.php to be run when $wgAllowSchemaUpdates = false.

This is useful for non-WMF environments where strict DB permissions
allow database updates (which update.php performs), but no schema
changes (such as adding or dropping tables or indices which update.php
also performs).

It does this by adding the --schema and --noschema flags. Without
either of these flags, update.php will perform exactly as before.

With --noschema, all changes to the table structure or table additions
are skipped. Only data changes are made.

With --schema is used, no schema changes are made to the database, but
the schema changes are saved to a separate SQL file that can be run.

Change-Id: I96b4cfd4c02e9cbf46cc6a0499b87fb3b89020a0

11 years agoAdd EditPage hooks AlternateEditPreview, EditPage::showStandardInputs:options
Brad Jorsch [Sat, 10 Nov 2012 00:54:57 +0000 (16:54 -0800)]
Add EditPage hooks AlternateEditPreview, EditPage::showStandardInputs:options

Adds two new hooks:
* AlternateEditPreview allows an extension to override the standard
  page preview display.
* EditPage::showStandardInputs:options allows an extension to add
  additional HTML to the end of the editOptions area of the edit form.

Change-Id: Ic5d35c8e9ff71282b5ebccc87c64894a385e5836

11 years agoFix exception when searching for stuff beginning with "Media:"
Max Semenik [Thu, 22 Nov 2012 00:29:49 +0000 (04:29 +0400)]
Fix exception when searching for stuff beginning with "Media:"

Change-Id: I8b5a419fa369ad91034c3769a4b228290b878e1b

11 years agoMerge "(bug 457) use semantic headings for the navigation menu"
Siebrand [Thu, 22 Nov 2012 00:14:36 +0000 (00:14 +0000)]
Merge "(bug 457) use semantic headings for the navigation menu"

11 years agoMerge "Fix uselang parameter in ApiWatch"
Anomie [Wed, 21 Nov 2012 23:59:41 +0000 (23:59 +0000)]
Merge "Fix uselang parameter in ApiWatch"

11 years agoFix uselang parameter in ApiWatch
Marius Hoch [Wed, 21 Nov 2012 21:17:29 +0000 (22:17 +0100)]
Fix uselang parameter in ApiWatch

It's now possible to use uselang with the watch API without
it throwing a warning (cause the parameter wasn't defined).
Idea and some code taken from ApiParse.

Change-Id: I74b7c4286c0c2f44fabc337d5fb744560f71cf71

11 years ago(bug 35031) Change decimal separators for numbers in Kurdish
Federico Leva [Tue, 20 Nov 2012 21:48:17 +0000 (22:48 +0100)]
(bug 35031) Change decimal separators for numbers in Kurdish

Change-Id: I464eb3b3ae5f6b0b8e49a353070db10ad2eea5b1

11 years ago[FileBackend] Improved getFileProps() docs a bit.
ASchulz [Wed, 21 Nov 2012 23:30:54 +0000 (15:30 -0800)]
[FileBackend] Improved getFileProps() docs a bit.

Change-Id: I37dfc6c90829aa63511570c4576666e41764b6df

11 years ago(bug 34977) Change Spanish formatnum behavior
Federico Leva [Tue, 20 Nov 2012 21:56:56 +0000 (22:56 +0100)]
(bug 34977) Change Spanish formatnum behavior

Use non-breaking spaces as thousands separator.
Used the same $separatorTransformTable as in fr, it etc.
The format is the correct one according to official
standards and it's also currently in use "in the wild",
e.g. on Spanish Wikipedia, according to guidelines.

Change-Id: I1c9dfe1f02d907183fb671b7382f2eb706e57bab

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 21 Nov 2012 22:16:38 +0000 (22:16 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I5aa36c8f947fb85f43afd288efb63f51cdc35659