lhc/web/wiklou.git
12 years agoRemove OutputPage::uncacheableBecauseRequestvars()
Tim Starling [Tue, 22 May 2012 23:37:53 +0000 (09:37 +1000)]
Remove OutputPage::uncacheableBecauseRequestvars()

Fix for r10265: OutputPage::uncacheableBecauseRequestvars() as written
in that revision is backwards, apparently declaring all requests to be
uncacheable except those with useskin or uselang. Luckily getText() has
always converted its default parameter to a string, so the triple-equals
comparisons always fail, and uncacheableBecauseRequestvars() always
returns false.

In any case, it was never necessary to suppress the client-side cache
for useskin/uselang views, so the accidental behaviour was appropriate.

Change-Id: I520940867509b986a47d63ead9b549e8aa82fa1f

12 years agoMerge "Refactor DeviceDetection: make it OOP and extendable"
awjrichards [Tue, 22 May 2012 21:40:59 +0000 (21:40 +0000)]
Merge "Refactor DeviceDetection: make it OOP and extendable"

12 years agoRefactor DeviceDetection: make it OOP and extendable
Max Semenik [Mon, 21 May 2012 18:32:35 +0000 (22:32 +0400)]
Refactor DeviceDetection: make it OOP and extendable

Old interfaces are preserved for b/c for now. Stuff that needs to die
such as css_file_name has not been exposed for new interfaces.

Remove unused device properties.

Change-Id: I9b08eb81625a5570e700d9b690c03a001316de71

12 years agoMerge "(bug 30625) Add, to every API upload response, the warnings raised."
Aaron Schulz [Tue, 22 May 2012 21:26:33 +0000 (21:26 +0000)]
Merge "(bug 30625) Add, to every API upload response, the warnings raised."

12 years ago(bug 30625) Add, to every API upload response, the warnings raised.
Mark Holmquist [Fri, 11 May 2012 20:39:57 +0000 (13:39 -0700)]
(bug 30625) Add, to every API upload response, the warnings raised.

The current API implementation has a parameter for uploads that is
called "ignorewarnings". Currently, it will not only suppress any
warnings from stopping the upload, it will also lose any data from
those warnings.

This patch is sort of on the way to solving Bug 30625, which is in
the UploadWizard extension. That extension needs to know when a file
upload *will* fail, barring a change in some data, in order to make
it easier for a user to fix the foreseeable problems. The solution is
either to fix it this way, or to somehow spoof a file upload, and see
if it succeeds. In the hopes that other extensions will also find
this useful, I opted for the former.

Change-Id: I08b4e29e89ade6cf391ae044fceb788aaba3f5b4

12 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Tue, 22 May 2012 21:18:17 +0000 (21:18 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Tue, 22 May 2012 21:18:13 +0000 (21:18 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:46 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:40 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:35 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:28 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:21 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 21:12:58 +0000 (23:12 +0200)]
Localisation updates from translatewiki.net.

Namespace updates for "war".

Change-Id: I7b9637884e1324dee13faebcc40db7b06cd9566f

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 21:11:50 +0000 (23:11 +0200)]
Localisation updates from translatewiki.net.

Namespace updates for "sr-el".

Change-Id: I1ff983abc5e29a6b040487a67aa1314d488da4ce

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 21:10:35 +0000 (23:10 +0200)]
Localisation updates from translatewiki.net.

Namespace updates for "sr-ec".

Change-Id: Ib082eb421608ae063f88ea7e5159821f8d495379

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 21:09:23 +0000 (23:09 +0200)]
Localisation updates from translatewiki.net.

Namespace updates for "frp".

Change-Id: I8df7501a4179b2c4e886ad44302665a231bee66c

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 21:08:08 +0000 (23:08 +0200)]
Localisation updates from translatewiki.net.

Namespace updates for "be-tarask".

Change-Id: Id413764cf638b5b81286681b420ffe526c9e8e9d

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 21:02:21 +0000 (23:02 +0200)]
Localisation updates from translatewiki.net.

Namespace updates for "be".

Change-Id: I07dbb4e66a49b7e082d1b6fa4ba0c2495e4561d9

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 21:00:59 +0000 (23:00 +0200)]
Localisation updates from translatewiki.net.

Namespace updates for "ba".

Change-Id: If14573245022f2b65e1685387868391ad357ac4a

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 20:57:15 +0000 (22:57 +0200)]
Localisation updates from translatewiki.net.

Updates for namespaces for languages that previously didn't have any.
Added additional aliases when $fallback was set (only for 'kv').

Change-Id: I58f34cfe1092f7cb8b52ffd3089ade19ca89202e

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 20:18:54 +0000 (22:18 +0200)]
Localisation updates from translatewiki.net.

Updates for magic words.

Change-Id: Ibb55e9ef0482d5fd064c871ae2afaef112ff2f8a

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 22 May 2012 20:00:56 +0000 (22:00 +0200)]
Localisation updates from translatewiki.net.

Updates for special page aliases.

Change-Id: I4e3df9d4dd3e3753a5c6921a1e305f56dee781ba

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 22 May 2012 19:32:12 +0000 (19:32 +0000)]
Localisation updates from translatewiki.net.

Add support for Tornedalen Finnish (fit).

Change-Id: I1086674ef722026f21ca4fa18a230f2ed4c8e41a

12 years agoMerge "Localisation updates from http://translatewiki.net."
Siebrand [Tue, 22 May 2012 19:25:08 +0000 (19:25 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 22 May 2012 19:17:21 +0000 (19:17 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I1e5a2181d541eda3268e6b77ec14b31cb5d5303b

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Tue, 22 May 2012 18:06:30 +0000 (20:06 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: Ife63db5d36d833de4e0944f9b79ab0f80e7b84c5

12 years ago[FileRepo] Avoiding useless purging for new uploads (not re-uploads).
Aaron [Tue, 22 May 2012 18:36:43 +0000 (11:36 -0700)]
[FileRepo] Avoiding useless purging for new uploads (not re-uploads).

Change-Id: If554c14c786cd5f743c4d8302660a8b1e5295393

12 years ago[FileBackend] Avoid an extra RTT on Swift listing operations.
Aaron Schulz [Sun, 20 May 2012 03:10:23 +0000 (20:10 -0700)]
[FileBackend] Avoid an extra RTT on Swift listing operations.

* Also tweaked timestamp tolerance in tests, intended for Swift
* Also made a few tweaks to speed up tests a bit

Change-Id: Ibdee36d3bf86089b027dc74bb2582acc1ab4b96b

12 years agoMerge "Adding params to getArrow()"
Siebrand [Mon, 21 May 2012 23:44:31 +0000 (23:44 +0000)]
Merge "Adding params to getArrow()"

12 years agoRevert "Treat truncated HTTP requests as errors."
Reedy [Mon, 21 May 2012 22:10:51 +0000 (23:10 +0100)]
Revert "Treat truncated HTTP requests as errors."

Caused bug 36950 among other issues

This reverts commit ded6170bd2072971f72db794f3ab1625a8e13475

Change-Id: I26500896a09a9fe720dc31b3d48cdbb3cd6c8677

12 years agoMerge "Localisation updates from http://translatewiki.net."
Reedy [Mon, 21 May 2012 20:07:18 +0000 (20:07 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Mon, 21 May 2012 19:56:04 +0000 (21:56 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: Ibe7815124d6915792dcbb150d01df21d9b22b0b0

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 21 May 2012 19:55:05 +0000 (19:55 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Icadd46b1444aae30f60f9348d570fea9b70f42e9

12 years agoMerge "Remove some methods from FakeTitle that do not exist anymore in Title."
Demon [Mon, 21 May 2012 19:32:08 +0000 (19:32 +0000)]
Merge "Remove some methods from FakeTitle that do not exist anymore in Title."

12 years agoRe-phrased titles for diff and history pages
Amir E. Aharoni [Mon, 21 May 2012 18:15:26 +0000 (21:15 +0300)]
Re-phrased titles for diff and history pages

Putting the title in the beginning is convenient, because it is more
visible in a small browser tab.

Patch set 2: Capital after colon.

Change-Id: I4803be2265b1209929ae5ba6d08c2371b0f7d759

12 years agoMerge "Improved/added parameter documentation"
Siebrand [Mon, 21 May 2012 16:27:56 +0000 (16:27 +0000)]
Merge "Improved/added parameter documentation"

12 years agoadded since tag to wikiScript after I wasted a minute finding when it was added ...
jeroendedauw [Mon, 21 May 2012 13:39:01 +0000 (15:39 +0200)]
added since tag to wikiScript after I wasted a minute finding when it was added - joy!

Change-Id: Idc4dd1353cdbfed31ad86446b59043bffa4ba225

12 years agoAdding params to getArrow()
Amir E. Aharoni [Wed, 16 May 2012 22:55:08 +0000 (01:55 +0300)]
Adding params to getArrow()

Adding params to getArrow, backwards, left, right, up, down.

Change-Id: Ifbcffca71c495a627d69edd36fec389ceb68bb80

12 years agoRemove some methods from FakeTitle that do not exist anymore in Title.
Alexandre Emsenhuber [Mon, 21 May 2012 08:18:58 +0000 (10:18 +0200)]
Remove some methods from FakeTitle that do not exist anymore in Title.

There are :
- FakeTitle::moveOverExistingRedirect()
- FakeTitle::moveToNewTitle()

Change-Id: I09f689ef185357b9c9afbfe95bc06b6135ed115d

12 years agoMerge "(bug 25946) The message on the top of Special:RecentChanges is now displayed...
Siebrand [Mon, 21 May 2012 07:07:24 +0000 (07:07 +0000)]
Merge "(bug 25946) The message on the top of Special:RecentChanges is now displayed in user language instead of content language"

12 years agoMessages parsed through MessageCache should never show edit links.
Platonides [Sat, 19 May 2012 16:23:24 +0000 (18:23 +0200)]
Messages parsed through MessageCache should never show edit links.
Copy to MessageCache.php the r92703 (d70ad8c) fix.
Fixes bug 36975

Change-Id: I4551aa32b8ff04d2209807c188051878b033285e

12 years agoMerge "[FileRepo] Added more upload profiling."
Reedy [Sun, 20 May 2012 23:22:59 +0000 (23:22 +0000)]
Merge "[FileRepo] Added more upload profiling."

12 years agoMerge "[FileBackend] Made supported ops check more explicit for sanity."
Tim Starling [Sun, 20 May 2012 23:16:46 +0000 (23:16 +0000)]
Merge "[FileBackend] Made supported ops check more explicit for sanity."

12 years agoMerge "[FileBackend] Added some Swift listing profiling."
Reedy [Sun, 20 May 2012 23:15:39 +0000 (23:15 +0000)]
Merge "[FileBackend] Added some Swift listing profiling."

12 years ago[FileBackend] Added some Swift listing profiling.
Aaron Schulz [Sun, 20 May 2012 19:44:38 +0000 (12:44 -0700)]
[FileBackend] Added some Swift listing profiling.

Change-Id: I61d1ec5725be2ebed4bb08e713dfcab7e85160fc

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 20 May 2012 18:56:04 +0000 (18:56 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I0465d352068927d65e78dfc284e62bd732d4bcb4

12 years agoMerge "multi dbms support in api"
Aaron Schulz [Sun, 20 May 2012 18:15:42 +0000 (18:15 +0000)]
Merge "multi dbms support in api"

12 years agoMerge "Fill GenderCache inside ApiPageSet"
Aaron Schulz [Sun, 20 May 2012 18:13:58 +0000 (18:13 +0000)]
Merge "Fill GenderCache inside ApiPageSet"

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Sun, 20 May 2012 15:56:43 +0000 (17:56 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: Ic1ba00472ef62fa4fd746f8f590fe694d490ecd9

12 years agoMerge "Set $wgLanguageConverterCacheType to CACHE_NONE in installer"
Demon [Sun, 20 May 2012 14:28:12 +0000 (14:28 +0000)]
Merge "Set $wgLanguageConverterCacheType to CACHE_NONE in installer"

12 years agogive path when not able to write the thumb
Antoine Musso [Sun, 20 May 2012 01:42:32 +0000 (03:42 +0200)]
give path when not able to write the thumb

Change-Id: I970da631b4263b658c2c071a4c10b155100e53fc

12 years agoMerge "(bug 23844) Add var dataCacheTime to mw.config"
Aaron Schulz [Sat, 19 May 2012 22:05:20 +0000 (22:05 +0000)]
Merge "(bug 23844) Add var dataCacheTime to mw.config"

12 years agoWrap message querypage-no-updates into a class
umherirrender [Sat, 19 May 2012 17:48:13 +0000 (19:48 +0200)]
Wrap message querypage-no-updates into a class

this allows easy styling of that message

Change-Id: Ief78cb598613e705dace65e4b8e36dcb544c6f4b

12 years ago(bug 23844) Add var dataCacheTime to mw.config
umherirrender [Sat, 19 May 2012 17:44:09 +0000 (19:44 +0200)]
(bug 23844) Add var dataCacheTime to mw.config

Change-Id: I67c9cbf4fc01f4e8580b39852b27a1ac70993051

12 years ago[FileBackend] Made supported ops check more explicit for sanity.
Aaron Schulz [Sat, 19 May 2012 08:33:01 +0000 (01:33 -0700)]
[FileBackend] Made supported ops check more explicit for sanity.

Change-Id: I8d7b4e3dcae77f76d390432fe0c52366e63e3f2d

12 years agoMerge "Title::moveToInternal doesn't return anything, but it does throw an exception"
Aaron Schulz [Sat, 19 May 2012 07:55:54 +0000 (07:55 +0000)]
Merge "Title::moveToInternal doesn't return anything, but it does throw an exception"

12 years ago[FileRepo] Added more upload profiling.
Aaron [Sat, 19 May 2012 00:56:53 +0000 (17:56 -0700)]
[FileRepo] Added more upload profiling.

Change-Id: Ib79306fde3470ccaa1f6822b894f1b61f16d772b

12 years ago[FileRepo] Disabled ancient migration code, kills performance.
Aaron [Fri, 18 May 2012 22:35:23 +0000 (15:35 -0700)]
[FileRepo] Disabled ancient migration code, kills performance.

Change-Id: I6ed49f447dda3235e22edbbf837dad66c66d0764

12 years agoFixed undefined var notice.
Aaron [Fri, 18 May 2012 22:19:12 +0000 (15:19 -0700)]
Fixed undefined var notice.

* Fixed "Notice: Undefined variable: addmsg in /var/www/TrunkWiki/core/languages/Language.php on line 254"

Change-Id: Ib5fa6b7c1137f24bc998249af72eaf7301a2aaa8

12 years agoMerge "(bug 36908) Language::isValidBuiltInCode passed an object"
Aaron Schulz [Fri, 18 May 2012 21:50:35 +0000 (21:50 +0000)]
Merge "(bug 36908) Language::isValidBuiltInCode passed an object"

12 years agoMerge "fetchLanguageNames: fallback to default instead of false"
Reedy [Fri, 18 May 2012 21:45:45 +0000 (21:45 +0000)]
Merge "fetchLanguageNames: fallback to default instead of false"

12 years agofix for Ibe3e88fa: restoring doDeleteUpdates().
daniel [Fri, 18 May 2012 16:58:21 +0000 (18:58 +0200)]
fix for Ibe3e88fa: restoring doDeleteUpdates().

When generalizing LinksUpdate to DataUpdate and introducing
WikiPage::getDeletionUpdates(), WikiPage::doDeleteUpdates()
was removed, even though it was still used by Title::moveToInternal().

This patch restores WikiPage::doDeleteUpdates(), using the
new logic based on WikiPage::getDeletionUpdates() to implement it.

Change-Id: I12a49d5ca3ccb6bb9cbb63dde436bcf2a7d8a985

12 years ago(bug 36908) Language::isValidBuiltInCode passed an object
Antoine Musso [Wed, 16 May 2012 14:56:22 +0000 (16:56 +0200)]
(bug 36908) Language::isValidBuiltInCode passed an object

This make isValidBuiltInCode to throw an exception whenever it is passed
something which is not a string.  The rational being to easily find out
errors when the method is wrongly used.

An alternative would be to detect the object being passed is a Language
object and get its Language code.

Change-Id: I37cc419cc725df8d8022e619d8f5191f58a8fd5e

12 years agoMerge "Make errors from ArticleSave hooks propagate to the interface"
Aaron Schulz [Fri, 18 May 2012 05:39:19 +0000 (05:39 +0000)]
Merge "Make errors from ArticleSave hooks propagate to the interface"

12 years agoMerge "Various fixes to Special:Mostlinked."
Aaron Schulz [Fri, 18 May 2012 05:22:55 +0000 (05:22 +0000)]
Merge "Various fixes to Special:Mostlinked."

12 years agoMerge "Document DBO_PERSISTENT in DefaultSettings.php"
Aaron Schulz [Fri, 18 May 2012 05:15:39 +0000 (05:15 +0000)]
Merge "Document DBO_PERSISTENT in DefaultSettings.php"

12 years agoMerge "exclude immovable namespaces from the namespace selector on Special:MovePage"
Aaron Schulz [Fri, 18 May 2012 05:14:18 +0000 (05:14 +0000)]
Merge "exclude immovable namespaces from the namespace selector on Special:MovePage"

12 years agoMerge "Remove extra unneeded whitespace"
Tim Starling [Fri, 18 May 2012 04:57:44 +0000 (04:57 +0000)]
Merge "Remove extra unneeded whitespace"

12 years agoMerge "[FileRepo] Use faster doQuickOperations() function for thumbnails ops."
Tim Starling [Fri, 18 May 2012 04:49:44 +0000 (04:49 +0000)]
Merge "[FileRepo] Use faster doQuickOperations() function for thumbnails ops."

12 years agoImproved/added parameter documentation
Reedy [Fri, 18 May 2012 02:58:15 +0000 (03:58 +0100)]
Improved/added parameter documentation

Change-Id: Ie48852acb434f6b62fda0b13b13e076f833d8975

12 years ago[FileBackend] Moved closeResources() call up to parent class function.
Aaron [Fri, 18 May 2012 00:21:39 +0000 (17:21 -0700)]
[FileBackend] Moved closeResources() call up to parent class function.

Change-Id: I903b40c17e8f757bc3642e24552ddd518c0ef39d

12 years agoMerge "[FileBackend] Fixed parallelize check in doQuickOperationsInternal()."
Reedy [Thu, 17 May 2012 23:48:58 +0000 (23:48 +0000)]
Merge "[FileBackend] Fixed parallelize check in doQuickOperationsInternal()."

12 years ago[FileBackend] Fixed parallelize check in doQuickOperationsInternal().
Aaron [Thu, 17 May 2012 23:17:01 +0000 (16:17 -0700)]
[FileBackend] Fixed parallelize check in doQuickOperationsInternal().

Change-Id: Ia552a5094e61f418bc3fa8958f1a4869018be536

12 years agoAt least use /*$wgDBTableOptions*/; if passed through MW
Reedy [Thu, 17 May 2012 22:27:38 +0000 (23:27 +0100)]
At least use  /*$wgDBTableOptions*/; if passed through MW

Change-Id: I7ed0ae6223d362e24121836a290a6e159d672878

12 years agoDocument DBO_PERSISTENT in DefaultSettings.php
Reedy [Thu, 17 May 2012 22:08:07 +0000 (23:08 +0100)]
Document DBO_PERSISTENT in DefaultSettings.php

Change-Id: Iee17925fdfd011218a36d5e555ce6494c27837ff

12 years ago[FileBackend] Added profiling to doQuickOperationsInternal().
Aaron [Thu, 17 May 2012 21:18:45 +0000 (14:18 -0700)]
[FileBackend] Added profiling to doQuickOperationsInternal().

Change-Id: I98ce4bdfb61bf55b5306dabf0f20427c26319c3c

12 years ago[FileBackend] A few code cleanups and some error message improvements.
Aaron [Thu, 17 May 2012 18:28:05 +0000 (11:28 -0700)]
[FileBackend] A few code cleanups and some error message improvements.

Change-Id: I75f066104b98638ca956042c4e877c0f6327509c

12 years ago[FileRepo] Use faster doQuickOperations() function for thumbnails ops.
Aaron [Wed, 16 May 2012 20:45:31 +0000 (13:45 -0700)]
[FileRepo] Use faster doQuickOperations() function for thumbnails ops.

Change-Id: I8139b7f6f8533bb0dbeddba12750ab9342b2dd82

12 years agoMerge "[FileBackend] Improved connection error handling and logging a bit for Swift."
Tim Starling [Thu, 17 May 2012 07:52:06 +0000 (07:52 +0000)]
Merge "[FileBackend] Improved connection error handling and logging a bit for Swift."

12 years agoMerge "[FileBackend] Added doQuickOperations() function for things like purging thumb...
Tim Starling [Thu, 17 May 2012 07:42:07 +0000 (07:42 +0000)]
Merge "[FileBackend] Added doQuickOperations() function for things like purging thumbnails."

12 years agoMerge "[FileBackend] Added CDN support to Swift for third-party sites."
Tim Starling [Thu, 17 May 2012 07:16:08 +0000 (07:16 +0000)]
Merge "[FileBackend] Added CDN support to Swift for third-party sites."

12 years agoMerge "[FileBackend] Made it easy to use registed file backend config in multi-write...
Tim Starling [Thu, 17 May 2012 07:08:51 +0000 (07:08 +0000)]
Merge "[FileBackend] Made it easy to use registed file backend config in multi-write backends."

12 years agoMerge "[FileBackend] Syncing from journal support."
Tim Starling [Thu, 17 May 2012 07:03:34 +0000 (07:03 +0000)]
Merge "[FileBackend] Syncing from journal support."

12 years agoTweak includes/zhtable/Makefile.py
Liangent [Sat, 12 May 2012 13:31:07 +0000 (21:31 +0800)]
Tweak includes/zhtable/Makefile.py

* Make it executable and use a more generic shebang line.
* Write ZhConversion.php to its own location directly, so it can be more
  convenient to do git checkout -b; edits; ./Makefile.py; git diff; to
  confirm changes made.
* Cosmetic text changes.

Change-Id: Ia3556e3b2cd5ee4eeaa67c4e535141576f13dc16

12 years agoMerge "Updating Release Notes about addition of getCreator and getOldestRevision...
Hashar [Thu, 17 May 2012 04:50:20 +0000 (04:50 +0000)]
Merge "Updating Release Notes about addition of getCreator and getOldestRevision methods"

12 years agoMerge "Introduced the concept of raw ResourceLoader modules"
Catrope [Thu, 17 May 2012 03:11:04 +0000 (03:11 +0000)]
Merge "Introduced the concept of raw ResourceLoader modules"

12 years ago[FileBackend] Improved connection error handling and logging a bit for Swift.
Aaron Schulz [Thu, 17 May 2012 01:51:38 +0000 (18:51 -0700)]
[FileBackend] Improved connection error handling and logging a bit for Swift.

Change-Id: I9a128bc5027cba85b1cf4992434d697215b3277f

12 years agoMerge "add since tags"
Reedy [Wed, 16 May 2012 23:48:49 +0000 (23:48 +0000)]
Merge "add since tags"

12 years ago[Upload] Added various profiling calls to upload code.
Aaron [Wed, 16 May 2012 23:44:48 +0000 (16:44 -0700)]
[Upload] Added various profiling calls to upload code.

Change-Id: Ib13be24393eee05e3af4a942a1c8cdcf590b0da9

12 years agoMerge "prop=revisions: join user table to get user name"
Aaron Schulz [Wed, 16 May 2012 22:20:49 +0000 (22:20 +0000)]
Merge "prop=revisions: join user table to get user name"

12 years agoMerge "Add DebugInfos to api result"
Aaron Schulz [Wed, 16 May 2012 22:17:17 +0000 (22:17 +0000)]
Merge "Add DebugInfos to api result"

12 years agoMerge "Localisation updates from http://translatewiki.net."
Siebrand [Wed, 16 May 2012 21:31:28 +0000 (21:31 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoMerge "Renamed new BagOStuff getBatch() function to getMulti() for consistency."
Reedy [Wed, 16 May 2012 20:17:34 +0000 (20:17 +0000)]
Merge "Renamed new BagOStuff getBatch() function to getMulti() for consistency."

12 years agoempty string test for old page_restricions entries
umherirrender [Wed, 16 May 2012 19:14:40 +0000 (21:14 +0200)]
empty string test for old page_restricions entries

some old page_restricions entries are move=:edit=,
which result in any empty string as level in the JS var
wgRestrictionEdit

Checking wgRestrictionEdit.length is than not possible

Change-Id: I250b4f9bda60361d4cd8c3139b17b299fec0a718

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 16 May 2012 18:38:16 +0000 (18:38 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I6f811ac3d564cb4d114cdd03a1e4bb3fe833181c

12 years agoFixed call to setArticleBodyOnly() on wrong object type.
Aaron [Wed, 16 May 2012 18:15:00 +0000 (11:15 -0700)]
Fixed call to setArticleBodyOnly() on wrong object type.

Change-Id: I492bbdb41aa849a86b162c7cc659dde391874454

12 years ago[FileBackend] Added doQuickOperations() function for things like purging thumbnails.
Aaron [Wed, 16 May 2012 00:42:20 +0000 (17:42 -0700)]
[FileBackend] Added doQuickOperations() function for things like purging thumbnails.

* doQuickOperations() lets us do things like purge thumbnails as fast as possible.
  Stat calls, SHA1 checks, and RTTs in general are avoided. It also avoids the
  slowness of lazy population of thumbnail SHA1s in Swift (for those made by rewrite.py).
* Removed supportedOperations() to avoid the extra complexity.
* Made a few variable type and exception documentation cleanups.
* Cleaned up unit test file removal a bit and made some functions private.

Change-Id: I6922368c6af7752a6927d96402519132203108a1

12 years agomulti dbms support in api
umherirrender [Wed, 16 May 2012 17:22:36 +0000 (19:22 +0200)]
multi dbms support in api

Add some calls to Database::timestamp
Change some calls from Database::strencode to
Database::addQuotes to avoid ' in raw sql
Remove ' from ints in raw sql
Rename some vars to avoid duplicate names

Change-Id: I63f5602fa968f969a42932902a3ccc45fc54b432

12 years agoadd since tags
jeroendedauw [Wed, 16 May 2012 16:25:30 +0000 (18:25 +0200)]
add since tags

Change-Id: I4601600f3d0de79c34f5a1a4074384b27f57b005

12 years agoFill GenderCache inside ApiPageSet
umherirrender [Wed, 16 May 2012 14:46:22 +0000 (16:46 +0200)]
Fill GenderCache inside ApiPageSet

the queries for title and pageids are own queries created by the api,
which does not use the GenderCache, that can produce a query per row

Change-Id: I932f8d9d1cfa751dbb6f5237e2de325527d3ff53