mrbluesky [Sun, 15 Apr 2012 00:12:01 +0000 (02:12 +0200)]
Add and fix comments in some includes files
Change-Id: If781ad1a9eeba8310cef97dc9786685e8b265fa1
Reedy [Wed, 23 May 2012 19:37:49 +0000 (19:37 +0000)]
Merge "Skip legacy archives rows that already have the sha1 filled."
Aaron Schulz [Wed, 23 May 2012 19:32:50 +0000 (19:32 +0000)]
Merge "Revert "(bug 30625) Add, to every API upload response, the warnings raised.""
Aaron Schulz [Wed, 23 May 2012 19:28:09 +0000 (12:28 -0700)]
Skip legacy archives rows that already have the sha1 filled.
Change-Id: I070413a736211017022c7ae36a9efab3aa0e1fe1
Brion VIBBER [Wed, 23 May 2012 19:27:48 +0000 (19:27 +0000)]
Revert "(bug 30625) Add, to every API upload response, the warnings raised."
Inconsistent formatting (returns an empty array vs a full object, breaks UploadWizard)
This reverts commit
e2b3d53db5c766dea3ea1d34e4136259214a03c9
Alexandre Emsenhuber [Wed, 23 May 2012 17:35:12 +0000 (19:35 +0200)]
Removed checks for the "MEDIAWIKI" constant on files that only define classes.
This checks are not needed in that case.
Change-Id: Ia83447427de8b7ea32aced8ff43c7a252b8d504c
Aaron Schulz [Wed, 23 May 2012 17:15:48 +0000 (10:15 -0700)]
Added canonical url check for squid caching on view.
* This check is similar to the HistoryAction one. It prevents things from
getting cached that do not get purged with the page is invalidated.
Change-Id: Ie38ae198b173533937103d66478a9ccb5b086175
Alexandre Emsenhuber [Wed, 23 May 2012 11:41:30 +0000 (13:41 +0200)]
Added missing GPLv2 headers in some places.
Also made file documentation more consistent.
Change-Id: I30e124514396f110a572467b94ca06cefd5f7b46
Aaron [Thu, 10 May 2012 18:15:29 +0000 (11:15 -0700)]
[FileRepo] Cleanup of URL config.
* Made the 'zones' config a bit easier to set by falling back to defaults more piecemeal.
Each zone now also has a 'url' parameter. This is useful for CDN support for third parties.
* Deprecated weirdly name getRootUrl() function and made it wrap getZoneUrl( 'public' ).
Change-Id: I8295a81e9cc56c08069b35fa4e4f883fd0108df7
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
awjrichards [Tue, 22 May 2012 21:40:59 +0000 (21:40 +0000)]
Merge "Refactor 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
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."
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
Reedy [Tue, 22 May 2012 21:18:17 +0000 (21:18 +0000)]
Merge "Localisation updates from translatewiki.net."
Reedy [Tue, 22 May 2012 21:18:13 +0000 (21:18 +0000)]
Merge "Localisation updates from translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:46 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:40 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:35 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:28 +0000 (21:16 +0000)]
Merge "Localisation updates from translatewiki.net."
Reedy [Tue, 22 May 2012 21:16:21 +0000 (21:16 +0000)]
Merge "Localisation updates from 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
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
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
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
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
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
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
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
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
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
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
Siebrand [Tue, 22 May 2012 19:25:08 +0000 (19:25 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Tue, 22 May 2012 19:17:21 +0000 (19:17 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I1e5a2181d541eda3268e6b77ec14b31cb5d5303b
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
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
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
Siebrand [Mon, 21 May 2012 23:44:31 +0000 (23:44 +0000)]
Merge "Adding params to getArrow()"
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
Reedy [Mon, 21 May 2012 20:07:18 +0000 (20:07 +0000)]
Merge "Localisation updates from translatewiki.net."
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
Translation updater bot [Mon, 21 May 2012 19:55:05 +0000 (19:55 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Icadd46b1444aae30f60f9348d570fea9b70f42e9
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."
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
Siebrand [Mon, 21 May 2012 16:27:56 +0000 (16:27 +0000)]
Merge "Improved/added parameter documentation"
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
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
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
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"
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
Reedy [Sun, 20 May 2012 23:22:59 +0000 (23:22 +0000)]
Merge "[FileRepo] Added more upload profiling."
Tim Starling [Sun, 20 May 2012 23:16:46 +0000 (23:16 +0000)]
Merge "[FileBackend] Made supported ops check more explicit for sanity."
Reedy [Sun, 20 May 2012 23:15:39 +0000 (23:15 +0000)]
Merge "[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
Translation updater bot [Sun, 20 May 2012 18:56:04 +0000 (18:56 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I0465d352068927d65e78dfc284e62bd732d4bcb4
Aaron Schulz [Sun, 20 May 2012 18:15:42 +0000 (18:15 +0000)]
Merge "multi dbms support in api"
Aaron Schulz [Sun, 20 May 2012 18:13:58 +0000 (18:13 +0000)]
Merge "Fill GenderCache inside ApiPageSet"
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
Demon [Sun, 20 May 2012 14:28:12 +0000 (14:28 +0000)]
Merge "Set $wgLanguageConverterCacheType to CACHE_NONE in installer"
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
Aaron Schulz [Sat, 19 May 2012 22:05:20 +0000 (22:05 +0000)]
Merge "(bug 23844) Add var dataCacheTime to mw.config"
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
umherirrender [Sat, 19 May 2012 17:44:09 +0000 (19:44 +0200)]
(bug 23844) Add var dataCacheTime to mw.config
Change-Id: I67c9cbf4fc01f4e8580b39852b27a1ac70993051
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
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"
Aaron [Sat, 19 May 2012 00:56:53 +0000 (17:56 -0700)]
[FileRepo] Added more upload profiling.
Change-Id: Ib79306fde3470ccaa1f6822b894f1b61f16d772b
Aaron [Fri, 18 May 2012 22:35:23 +0000 (15:35 -0700)]
[FileRepo] Disabled ancient migration code, kills performance.
Change-Id: I6ed49f447dda3235e22edbbf837dad66c66d0764
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
Aaron Schulz [Fri, 18 May 2012 21:50:35 +0000 (21:50 +0000)]
Merge "(bug 36908) Language::isValidBuiltInCode passed an object"
Reedy [Fri, 18 May 2012 21:45:45 +0000 (21:45 +0000)]
Merge "fetchLanguageNames: fallback to default instead of false"
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
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
Aaron Schulz [Fri, 18 May 2012 05:39:19 +0000 (05:39 +0000)]
Merge "Make errors from ArticleSave hooks propagate to the interface"
Aaron Schulz [Fri, 18 May 2012 05:22:55 +0000 (05:22 +0000)]
Merge "Various fixes to Special:Mostlinked."
Aaron Schulz [Fri, 18 May 2012 05:15:39 +0000 (05:15 +0000)]
Merge "Document DBO_PERSISTENT in DefaultSettings.php"
Aaron Schulz [Fri, 18 May 2012 05:14:18 +0000 (05:14 +0000)]
Merge "exclude immovable namespaces from the namespace selector on Special:MovePage"
Tim Starling [Fri, 18 May 2012 04:57:44 +0000 (04:57 +0000)]
Merge "Remove extra unneeded whitespace"
Tim Starling [Fri, 18 May 2012 04:49:44 +0000 (04:49 +0000)]
Merge "[FileRepo] Use faster doQuickOperations() function for thumbnails ops."
Reedy [Fri, 18 May 2012 02:58:15 +0000 (03:58 +0100)]
Improved/added parameter documentation
Change-Id: Ie48852acb434f6b62fda0b13b13e076f833d8975
Aaron [Fri, 18 May 2012 00:21:39 +0000 (17:21 -0700)]
[FileBackend] Moved closeResources() call up to parent class function.
Change-Id: I903b40c17e8f757bc3642e24552ddd518c0ef39d
Reedy [Thu, 17 May 2012 23:48:58 +0000 (23:48 +0000)]
Merge "[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
Reedy [Thu, 17 May 2012 22:27:38 +0000 (23:27 +0100)]
At least use /*$wgDBTableOptions*/; if passed through MW
Change-Id: I7ed0ae6223d362e24121836a290a6e159d672878
Reedy [Thu, 17 May 2012 22:08:07 +0000 (23:08 +0100)]
Document DBO_PERSISTENT in DefaultSettings.php
Change-Id: Iee17925fdfd011218a36d5e555ce6494c27837ff
Aaron [Thu, 17 May 2012 21:18:45 +0000 (14:18 -0700)]
[FileBackend] Added profiling to doQuickOperationsInternal().
Change-Id: I98ce4bdfb61bf55b5306dabf0f20427c26319c3c
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
Aaron [Wed, 16 May 2012 20:45:31 +0000 (13:45 -0700)]
[FileRepo] Use faster doQuickOperations() function for thumbnails ops.
Change-Id: I8139b7f6f8533bb0dbeddba12750ab9342b2dd82
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."
Tim Starling [Thu, 17 May 2012 07:42:07 +0000 (07:42 +0000)]
Merge "[FileBackend] Added doQuickOperations() function for things like purging thumbnails."
Tim Starling [Thu, 17 May 2012 07:16:08 +0000 (07:16 +0000)]
Merge "[FileBackend] Added CDN support to Swift for third-party sites."
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."
Tim Starling [Thu, 17 May 2012 07:03:34 +0000 (07:03 +0000)]
Merge "[FileBackend] Syncing from journal support."
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
Hashar [Thu, 17 May 2012 04:50:20 +0000 (04:50 +0000)]
Merge "Updating Release Notes about addition of getCreator and getOldestRevision methods"
Catrope [Thu, 17 May 2012 03:11:04 +0000 (03:11 +0000)]
Merge "Introduced the concept of raw ResourceLoader modules"
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
Reedy [Wed, 16 May 2012 23:48:49 +0000 (23:48 +0000)]
Merge "add since tags"
Aaron [Wed, 16 May 2012 23:44:48 +0000 (16:44 -0700)]
[Upload] Added various profiling calls to upload code.
Change-Id: Ib13be24393eee05e3af4a942a1c8cdcf590b0da9
Aaron Schulz [Wed, 16 May 2012 22:20:49 +0000 (22:20 +0000)]
Merge "prop=revisions: join user table to get user name"
Aaron Schulz [Wed, 16 May 2012 22:17:17 +0000 (22:17 +0000)]
Merge "Add DebugInfos to api result"