Max Semenik [Tue, 22 May 2012 15:09:52 +0000 (19:09 +0400)]
HTMLForm: throw a warning when no callback is set
Change-Id: Ied019afaf607c4b5967989fcb53945a116eeaed6
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"
Siebrand [Wed, 16 May 2012 21:31:28 +0000 (21:31 +0000)]
Merge "Localisation updates from translatewiki.net."
Reedy [Wed, 16 May 2012 20:17:34 +0000 (20:17 +0000)]
Merge "Renamed new BagOStuff getBatch() function to getMulti() for consistency."
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
Translation updater bot [Wed, 16 May 2012 18:38:16 +0000 (18:38 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I6f811ac3d564cb4d114cdd03a1e4bb3fe833181c
Aaron [Wed, 16 May 2012 18:15:00 +0000 (11:15 -0700)]
Fixed call to setArticleBodyOnly() on wrong object type.
Change-Id: I492bbdb41aa849a86b162c7cc659dde391874454
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
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
jeroendedauw [Wed, 16 May 2012 16:25:30 +0000 (18:25 +0200)]
add since tags
Change-Id: I4601600f3d0de79c34f5a1a4074384b27f57b005
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
umherirrender [Wed, 16 May 2012 14:38:40 +0000 (16:38 +0200)]
prop=revisions: join user table to get user name
this avoid a lazy load of the user name for each row
Change-Id: I5d8983476e03cc2f6dad074577402f5255080838
Reedy [Wed, 16 May 2012 02:10:29 +0000 (02:10 +0000)]
Merge "Add includes/zhtable/.gitignore to avoid data files to be committed."
Reedy [Wed, 16 May 2012 01:51:34 +0000 (01:51 +0000)]
Merge "[FileBackend] Avoid infinite loops when populating missing metadata in Swift."
Reedy [Wed, 16 May 2012 00:50:07 +0000 (00:50 +0000)]
Revert "Added RandomRootPage extension ( bug 16655 )"
This reverts commit
d5bfa3bff2be3b29abb02d9619aa8e3cbd2954ac
Reedy [Wed, 16 May 2012 00:46:48 +0000 (01:46 +0100)]
Added RandomRootPage extension ( bug 16655 )
Change-Id: Ib81dd7aa301680272e3e51c5709d04c4265a4371
Max Semenik [Fri, 11 May 2012 19:16:29 +0000 (23:16 +0400)]
Introduced the concept of raw ResourceLoader modules
This is needed for mobile scripts that are supposed to work on dumb
devices and as such can't rely on client-side RL, but still can take
advantage of server-side minification and concatenation.
Patchset 2: Allow loading raw modules with &raw=true appended to URL.
Change-Id: I9410ffbf6633075e07bd06b10a98a4d12d9b6106
Aaron [Tue, 15 May 2012 20:05:46 +0000 (13:05 -0700)]
[FileBackend] Avoid infinite loops when populating missing metadata in Swift.
Change-Id: Ief13048256ee11caf3494d934eb5267f5eb71e8b
Translation updater bot [Tue, 15 May 2012 19:56:40 +0000 (19:56 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I5301759ec55c626bacd552f31f27411f0ec3aab7
Reedy [Tue, 15 May 2012 19:10:51 +0000 (19:10 +0000)]
Merge "[IP] Added an IP::prettifyIP() function for displaying IPs."
Kaldari [Tue, 15 May 2012 17:50:23 +0000 (10:50 -0700)]
Updating Release Notes about addition of getCreator and getOldestRevision methods
Change-Id: I2cda54984c6cc652e868608d941be704cba3dae6
Siebrand Mazeland [Tue, 15 May 2012 17:11:48 +0000 (19:11 +0200)]
(bug 36851) Update autonym for 'bpy'.
To ÎõÎéÎõÎéÎõÎéÎõÎéÎõÎéÎõÎéÎõÎéÎõÎéÎõÎéÎõÎéÎõÎéÎõÎéÎõÎé ÎõÎéÎõÎéÎõÎéÎõÎéÎõÎéÎõÎéÎõÎé as mentioned
in https://en.wikipedia.org/wiki/Bishnupriya_Manipuri_language.
Change-Id: Iac949eccceb4a9dc77deb09483fb9209be0050be
Aaron Schulz [Tue, 15 May 2012 09:16:59 +0000 (09:16 +0000)]
Merge "Various fixes to Special:Mostcategories."
Aaron Schulz [Tue, 15 May 2012 08:48:22 +0000 (01:48 -0700)]
Renamed new BagOStuff getBatch() function to getMulti() for consistency.
Change-Id: Icfe673919f65192565aa114c165c90d97d33785a
Aaron Schulz [Tue, 15 May 2012 08:45:03 +0000 (08:45 +0000)]
Merge "Don't log HttpError"
Aaron Schulz [Tue, 15 May 2012 08:38:54 +0000 (08:38 +0000)]
Merge "Minor PECL client fixes"
Tim Starling [Tue, 15 May 2012 04:19:32 +0000 (14:19 +1000)]
Don't log HttpError
Fix for r97314: don't log HttpError exceptions to the exception log channel. Do
this by overriding MWException::report() rather than
MWException::reportHTML(), same as every other child class in
Exception.php.
Change-Id: I3fb2b0ca9b0e7c67c210078d1fd90e1430be39df
Tim Starling [Tue, 15 May 2012 03:34:24 +0000 (13:34 +1000)]
Minor PECL client fixes
* Fixed the check for igbinary presence. It's not enough for the
extension to be loaded, the memcached extension also needs to be
compiled with --enable-memcached-igbinary.
* When delete() is attempted on a key that doesn't exist, return true,
as in the other BagOStuff implementations.
Change-Id: I298952f4a9925d860fa5673f632d073b1f20aa47
Tim Starling [Tue, 15 May 2012 01:37:02 +0000 (01:37 +0000)]
Merge "Reduced contention slam potential in User::invalidateCache()."
Aaron [Tue, 15 May 2012 01:26:56 +0000 (18:26 -0700)]
[FileBackend] Removed likely surperflous memcached retry code.
Change-Id: I934cd658d14c051f99f72d7e37e12f8646e59458
Aaron Schulz [Tue, 15 May 2012 01:09:37 +0000 (01:09 +0000)]
Merge "Add/update function level parameter documentation"
Aaron Schulz [Tue, 15 May 2012 01:07:05 +0000 (01:07 +0000)]
Merge "Implemented a wrapper for the memcached PECL client"
Reedy [Tue, 15 May 2012 01:00:05 +0000 (01:00 +0000)]
Merge "Cosmetic change: add a new line after a section title."
Tim Starling [Fri, 11 May 2012 05:45:23 +0000 (15:45 +1000)]
Implemented a wrapper for the memcached PECL client
* Introduced a common base class for the two memcached clients, called
MemcachedBagOStuff.
* Moved the expiry time normalisation from MemcachedClient.php to
MemcachedBagOStuff since libmemcached needs the same workaround.
Change-Id: I507d4ec5a7fd863ae64a94f2c453981f9f03746c
Reedy [Fri, 11 May 2012 19:17:39 +0000 (20:17 +0100)]
Add/update function level parameter documentation
Change-Id: I148b84e3b81c29c63585f3bf524fc445fd7683a7
Reedy [Mon, 14 May 2012 23:38:10 +0000 (23:38 +0000)]
Merge "Added missing GPLv2 headers in some places."
Aaron [Fri, 11 May 2012 00:41:48 +0000 (17:41 -0700)]
[FileBackend] Added CDN support to Swift for third-party sites.
Change-Id: I220ab8cf8fd97d3a080b8dcc8f010d97fcc09671
Aaron Schulz [Mon, 14 May 2012 22:23:46 +0000 (22:23 +0000)]
Merge "Adding NamespaceIsMovable hook to isMovable in MWNamespace, much like done in Title::isMovable."