daniel [Mon, 30 Apr 2012 14:18:33 +0000 (16:18 +0200)]
transactions for SecondaryDataUpdate
daniel [Mon, 30 Apr 2012 13:32:31 +0000 (15:32 +0200)]
using SecondaryDataUpdate to clean up after deletion
daniel [Mon, 30 Apr 2012 11:48:13 +0000 (13:48 +0200)]
spaces -> tabs
daniel [Mon, 30 Apr 2012 10:50:31 +0000 (12:50 +0200)]
backporting changes made during review of core patch
daniel [Sun, 29 Apr 2012 19:41:03 +0000 (21:41 +0200)]
merged from master
Aaron Schulz [Sat, 28 Apr 2012 22:22:12 +0000 (22:22 +0000)]
Merge "Fatal error: Call to a member function getId() on a non-object in /usr/local/apache/common-local/php-1.20wmf1/includes/EditPage.php on line 822"
Reedy [Sat, 28 Apr 2012 21:39:00 +0000 (22:39 +0100)]
Fatal error: Call to a member function getId() on a non-object in /usr/local/apache/common-local/php-1.20wmf1/includes/EditPage.php on line 822
getNext() can return null!
Change-Id: I76a8e50076165d89c90796c6e925913c64722a3a
Reedy [Sat, 28 Apr 2012 20:34:40 +0000 (20:34 +0000)]
Merge "add hints to description of action=edit"
umherirrender [Sat, 28 Apr 2012 18:59:01 +0000 (20:59 +0200)]
add hints to description of action=edit
add a hint to appendtext about section=new. I have seen, that people
build up the new header by itself and concat that with the section text.
It is easy to use section=new.
Feel free to change my english, if you think, that is not good worded.
Change-Id: I0642d496441c8fd375e8cb5dc383124b9ac25235
Alexandre Emsenhuber [Sat, 28 Apr 2012 18:41:55 +0000 (20:41 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: If65d7313e1e05163ce6cc46d17daa310cb41888c
Platonides [Sat, 28 Apr 2012 15:18:22 +0000 (17:18 +0200)]
Change CRLF line ending in GenderCacheTest.php
Edited in windows with no autocrlf set?
Change-Id: I955f0ed1fad9c4e5c143324b163a4b3c81a3f733
Platonides [Sat, 28 Apr 2012 15:11:41 +0000 (17:11 +0200)]
Really use the global variable. Fixes bug in c4507 (4989dd)
Change-Id: I4733a3d8949d76044ba90e672395299f6623cecf
Aaron Schulz [Sat, 28 Apr 2012 06:17:19 +0000 (06:17 +0000)]
Merge "Fatal error: Call to a member function getExtension() on a non-object in /usr/local/apache/common-local/php-1.20wmf1/includes/ExternalEdit.php on line 84"
Aaron Schulz [Sat, 28 Apr 2012 06:15:56 +0000 (06:15 +0000)]
Merge "Attempt at fixing "Fatal error: Call to a member function getText() on a non-object in /usr/local/apache/common-local/php-1.20wmf1/includes/api/ApiParse.php on line 209""
Aaron Schulz [Sat, 28 Apr 2012 06:12:50 +0000 (06:12 +0000)]
Merge "__clone() is a public method, shouldn't be made protected"
Reedy [Sat, 28 Apr 2012 01:30:53 +0000 (02:30 +0100)]
__clone() is a public method, shouldn't be made protected
Change-Id: Ib4a716867b12be2cef90f87bc77c22ea2d890261
Reedy [Sat, 28 Apr 2012 00:33:24 +0000 (01:33 +0100)]
Attempt at fixing "Fatal error: Call to a member function getText() on a non-object in /usr/local/apache/common-local/php-1.20wmf1/includes/api/ApiParse.php on line 209"
$page->getParserOutput() can apparently return false, so seems a reasonable starting point
Change-Id: I5ee1996f19405d4c854900376a3588fb1b7bbb66
Reedy [Sat, 28 Apr 2012 00:21:42 +0000 (01:21 +0100)]
Fatal error: Call to a member function getExtension() on a non-object in /usr/local/apache/common-local/php-1.20wmf1/includes/ExternalEdit.php on line 84
Change-Id: I9e54204ebac69dc0e8682b502cee8ec43ff2d9a4
Aaron [Fri, 27 Apr 2012 23:41:20 +0000 (16:41 -0700)]
Made delete() return True for NOT_FOUND memcached responses.
Change-Id: Ia1ec62721a3e42dd7a5bd21974e922d500d3f501
Brion VIBBER [Fri, 27 Apr 2012 21:23:33 +0000 (21:23 +0000)]
Merge "Update jQuery UI to 1.8.19"
Brion VIBBER [Fri, 27 Apr 2012 21:21:18 +0000 (21:21 +0000)]
Merge "Simplify and refactor out api code for getting title or page id"
Brion VIBBER [Fri, 27 Apr 2012 21:20:48 +0000 (21:20 +0000)]
Merge "Normalising return statements"
Demon [Fri, 27 Apr 2012 19:08:04 +0000 (19:08 +0000)]
Merge "Improved BagOStuff documentation and made some return value tweaks."
Brion VIBBER [Fri, 27 Apr 2012 18:48:57 +0000 (18:48 +0000)]
Merge "Adding file stat caching to avoid RTTs to high latency backends."
Demon [Fri, 27 Apr 2012 18:36:05 +0000 (18:36 +0000)]
Merge changes Ib2cb36cd,I50dec908
* changes:
Adding Maintenance output tests
fwriting to STDOUT -> print in Maintenance
Aaron [Fri, 27 Apr 2012 00:46:28 +0000 (17:46 -0700)]
Adding file stat caching to avoid RTTs to high latency backends.
Also tweaked a few of the container cache functions a bit.
Change-Id: Ic91b8e04aa509410578b3a4dc232871c0c5561d0
Translation updater bot [Fri, 27 Apr 2012 17:48:20 +0000 (17:48 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I1a4e24d32a01cf11eb77fe56832c38534445695a
Reedy [Fri, 27 Apr 2012 15:40:14 +0000 (16:40 +0100)]
Normalising return statements
Add/improve parameter documentation
Change-Id: I4c7fa319be60a47b7fcd81131458577bccb009fb
umherirrender [Sat, 21 Apr 2012 11:09:03 +0000 (13:09 +0200)]
(bug 22887) Add warning and tracking category for preprocessor errors
I have only add things and not change the current error strings to
messages, because bug 21521 is WONTFIX
Change of Preprocessor_HipHop.php is not tested
Change-Id: I7a7243b8ba010dbb395bdbbb3e00e3217088038e
Reedy [Sat, 7 Apr 2012 21:47:06 +0000 (22:47 +0100)]
Simplify and refactor out api code for getting title or page id
Change-Id: I098dd36619fff3610be6894037220d3472b809d5
Tim Starling [Fri, 27 Apr 2012 04:51:52 +0000 (14:51 +1000)]
In mctest.php, use the configured timeout instead of the default
Change-Id: Ia003c7f96cd0de91db57ec83036493e4bb995ee7
Catrope [Fri, 27 Apr 2012 02:04:57 +0000 (02:04 +0000)]
Merge "Whitespace and typo fix"
Aaron [Fri, 27 Apr 2012 01:33:42 +0000 (18:33 -0700)]
Improved BagOStuff documentation and made some return value tweaks.
Change-Id: I9d8f09c10ccc5e710bd8cae05b8f3da3c2d02056
Reedy [Fri, 27 Apr 2012 00:07:56 +0000 (01:07 +0100)]
Update jQuery UI to 1.8.19
http://blog.jqueryui.com/2012/04/jquery-ui-1-8-19/
Change-Id: Ib79baabc57c67c8bf96fc6d4f9304af39224fdc9
Brion VIBBER [Thu, 26 Apr 2012 23:40:12 +0000 (23:40 +0000)]
Merge "[FileBackend] Some documentation and minor cleanups."
Brion VIBBER [Thu, 26 Apr 2012 23:38:15 +0000 (23:38 +0000)]
Merge "The script can be re-run (in some cases at least!) to fix up incomplete migrations (see bug 34981 for enwiki)"
Brion VIBBER [Thu, 26 Apr 2012 23:34:21 +0000 (23:34 +0000)]
Merge "[FileBackend] Added a script to copy files from one backend to another. Useful for re-sharding."
Brion VIBBER [Thu, 26 Apr 2012 23:32:32 +0000 (23:32 +0000)]
Merge "[FileBackend] Tweaked various cache parameters and bumped tiny Swift auth TTL a bit."
Brion VIBBER [Thu, 26 Apr 2012 23:31:50 +0000 (23:31 +0000)]
Merge "Changed wfMessage() usage to call directly MessageCache::get() so that its $isFullKey parameter can be set to true."
Brion VIBBER [Thu, 26 Apr 2012 23:30:05 +0000 (23:30 +0000)]
Merge "[FileBackend] Added 'recursive' flag to directory clean() function."
Brion VIBBER [Thu, 26 Apr 2012 23:27:55 +0000 (23:27 +0000)]
Merge "(bug 33602) list=allusers throws exceptions with invalid names"
Brion VIBBER [Thu, 26 Apr 2012 23:21:43 +0000 (23:21 +0000)]
Merge "strip off subpages direct in GenderCache"
Brion VIBBER [Thu, 26 Apr 2012 23:20:31 +0000 (23:20 +0000)]
Merge "Removed usage of global objects in SpecialEmailUser"
Brion VIBBER [Thu, 26 Apr 2012 23:15:16 +0000 (23:15 +0000)]
Merge "(bug 30410) Remove deprecated $wgFilterCallback. The 'filtered' API error was also removed, along with EditPage::AS_FILTERING."
Brion VIBBER [Thu, 26 Apr 2012 23:02:10 +0000 (23:02 +0000)]
Merge "Edit notices can now be translated."
robin [Fri, 13 Apr 2012 23:57:12 +0000 (01:57 +0200)]
Edit notices can now be translated.
Change editnotice from content language to user language. I see no
need to disable possible translations (for multilingual wikis). As
there is no default content, it'll always default to the editnotice
in the content language anyway. Slashes in page titles are converted
to hyphens, so there are no collisions.
Patch set 3, 4: Rebase against master
Patch set 5: wrap commit msg
Change-Id: I3d7ccec0bf407324821c3c853a60c27db5e5c519
Brion VIBBER [Thu, 26 Apr 2012 22:56:05 +0000 (22:56 +0000)]
Merge "[FileRepo] Added hook to let us copy thumbnails into additional places as they are transformed."
Brion VIBBER [Thu, 26 Apr 2012 22:55:15 +0000 (22:55 +0000)]
Merge "No environment reset for failure after prefetch hit"
Brion VIBBER [Thu, 26 Apr 2012 22:51:54 +0000 (22:51 +0000)]
Merge "[FileBackend] Added container stat caching to reduce RTTs to high latency backends."
Szymon Świerkosz [Thu, 26 Apr 2012 21:45:09 +0000 (23:45 +0200)]
(bug 33602) list=allusers throws exceptions with invalid names
Follow up to: I7d115e734cb8c93dcf6dc3b98bdbc81975951273.
I have replaced $this->keyToTitle calls with simple str_replace.
As a result invalid user names will be accepted in parameters, so
the chain of requests based on query-continue will not be broken
by invalid entry in the database.
Change-Id: I8a80fe6395ae6e9304e4d9ec7b604195ec3c9d00
lupo [Thu, 26 Apr 2012 20:53:11 +0000 (22:53 +0200)]
Whitespace and typo fix
Change-Id: I060482b31959a78ecee4ad8851aebcac1f77e905
Siebrand [Thu, 26 Apr 2012 20:48:08 +0000 (20:48 +0000)]
Merge "Localisation updates from translatewiki.net."
Aaron [Thu, 26 Apr 2012 18:40:47 +0000 (11:40 -0700)]
[FileBackend] Added 'recursive' flag to directory clean() function.
Change-Id: I8fadd25c05840e2324bf8433dc0a4846daf8e2c3
Translation updater bot [Thu, 26 Apr 2012 19:06:56 +0000 (19:06 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Idba168c15b23254e23335b426753b221fb668a7f
Catrope [Thu, 26 Apr 2012 19:01:41 +0000 (19:01 +0000)]
Merge "(bug 33602) list=allusers throws exceptions with invalid names"
Aaron [Wed, 25 Apr 2012 21:21:49 +0000 (14:21 -0700)]
[FileBackend] Tweaked various cache parameters and bumped tiny Swift auth TTL a bit.
Change-Id: Ibb1a43624a94ff737e9f5c73a0bedec75aba37ff
Alexandre Emsenhuber [Thu, 26 Apr 2012 17:23:02 +0000 (19:23 +0200)]
Changed wfMessage() usage to call directly MessageCache::get() so that its $isFullKey parameter can be set to true.
The $isFullKey parameter means the message key already contains the language subpage ("/de", etc.)
Change-Id: I9bcc93563a2a2f8c38c98e50e18067e70f6fb3d7
Aaron Schulz [Thu, 26 Apr 2012 17:29:15 +0000 (17:29 +0000)]
Merge "Make data loading a bit better in ApiProtect."
Aaron [Wed, 25 Apr 2012 22:52:27 +0000 (15:52 -0700)]
[FileBackend] Added a script to copy files from one backend to another. Useful for re-sharding.
Change-Id: Id942e83420fc5214ddcc8a5b483fd72166a76ff2
Aaron Schulz [Thu, 26 Apr 2012 17:21:06 +0000 (17:21 +0000)]
Merge "Use WikiPage::newFromID() instead of Title::newFromID() in refreshLinks.php."
Aaron Schulz [Thu, 26 Apr 2012 17:19:38 +0000 (17:19 +0000)]
Merge "Optimise WikiPage::newFromID() to load all the data in one database query."
daniel [Thu, 26 Apr 2012 13:27:21 +0000 (15:27 +0200)]
merged incoming
Demon [Thu, 26 Apr 2012 13:22:17 +0000 (13:22 +0000)]
Merge "let us easily override PHPUnit version"
daniel [Thu, 26 Apr 2012 13:12:40 +0000 (15:12 +0200)]
documented new hooks, deprecated old hooks
daniel [Thu, 26 Apr 2012 11:28:33 +0000 (13:28 +0200)]
spaces -> tabs
daniel [Thu, 26 Apr 2012 11:25:52 +0000 (13:25 +0200)]
removed use of getNativeData() from WikiPage
daniel [Thu, 26 Apr 2012 11:28:33 +0000 (13:28 +0200)]
spaces -> tabs
daniel [Thu, 26 Apr 2012 11:25:52 +0000 (13:25 +0200)]
removed use of getNativeData() from WikiPage
daniel [Thu, 26 Apr 2012 11:24:13 +0000 (13:24 +0200)]
docu cleanup; marked contenthandler stuff as @since 1.WD
daniel [Thu, 26 Apr 2012 10:17:47 +0000 (12:17 +0200)]
fix test: use text/x-wiki, not application/x-wiki
daniel [Thu, 26 Apr 2012 10:11:34 +0000 (12:11 +0200)]
spaces -> tabs
daniel [Thu, 26 Apr 2012 10:11:01 +0000 (12:11 +0200)]
reset namespace caches when testing extra namespace handling
daniel [Thu, 26 Apr 2012 10:10:38 +0000 (12:10 +0200)]
explicitly define user objects for testing
daniel [Thu, 26 Apr 2012 10:08:21 +0000 (12:08 +0200)]
allow namespace caches to be reset for testing
Alexandre Emsenhuber [Thu, 26 Apr 2012 08:47:10 +0000 (10:47 +0200)]
Added missing GPLv2 headers in includes/db.
Change-Id: Ib8fe301c6db77603e411113cea5a39c25c664961
Alexandre Emsenhuber [Thu, 26 Apr 2012 07:37:27 +0000 (09:37 +0200)]
Use WikiPage::newFromID() instead of Title::newFromID() in refreshLinks.php.
Avoids having to load twice the same row from the database.
Change-Id: I3099dbd290e44f21677990e69200694c70aac63b
Aaron Schulz [Thu, 26 Apr 2012 02:50:36 +0000 (02:50 +0000)]
Merge "36019: Revert b/25095 breaks Special:Categories"
Aaron [Mon, 23 Apr 2012 20:27:58 +0000 (13:27 -0700)]
[FileBackend] Added container stat caching to reduce RTTs to high latency backends.
Change-Id: I73575fd65ca06a238803b30f8de6873801a224b3
Aaron [Wed, 25 Apr 2012 20:47:09 +0000 (13:47 -0700)]
[FileBackend] Some documentation and minor cleanups.
Change-Id: Ia5f01679c928a9053cfd05d26fe1a03b67dac433
Brion VIBBER [Wed, 25 Apr 2012 19:43:25 +0000 (19:43 +0000)]
Merge "Hot-fix for mismatching lens from database"
Brion VIBBER [Wed, 25 Apr 2012 19:40:23 +0000 (19:40 +0000)]
Merge "(bug 32537) Pre-register default-loaded RL modules in the client-side loader."
Brion VIBBER [Wed, 25 Apr 2012 19:38:12 +0000 (19:38 +0000)]
Merge "[FileBackend] Added some basic directory functions."
Brion VIBBER [Wed, 25 Apr 2012 19:36:21 +0000 (19:36 +0000)]
Merge "Add function OutputPage::getHeadLinksArray()"
Brion VIBBER [Wed, 25 Apr 2012 19:28:00 +0000 (19:28 +0000)]
Merge "[FileRepo] Avoid performance degeration due to thumbnail requests with a read-only backend."
Brion VIBBER [Wed, 25 Apr 2012 19:24:17 +0000 (19:24 +0000)]
Merge "Split out quickCleanDir() function just for thumbnails for consistency."
Translation updater bot [Wed, 25 Apr 2012 19:15:14 +0000 (19:15 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I510e39d60833c79754fa3c8b3307313338187847
daniel [Wed, 25 Apr 2012 18:45:32 +0000 (20:45 +0200)]
use text/x-wiki instead of application/x-wiki, as per brions comment on wikitech-l
lupo [Wed, 25 Apr 2012 18:24:03 +0000 (20:24 +0200)]
(bug 32537) Pre-register default-loaded RL modules in the client-side
loader.
Site, user, and user.groups modules are pre-registered in JS client-side
loader. This prevents loading them again if they're given as explicit
dependencies of some other module.
Enabled modules are registered as "loading", disabled ones as "missing".
Empty modules register themselves as "ready".
Also adapt the client-side mw.loader.state to ensure that dependencies
are tracked if called with state "ready".
Note the FIXME in OutputPage.php; methinks this is an already existing
issue not fixed by this change.
Changeset 2: fix bug number in commit message (32537, not 32357!)
Changeset 3: change 'ready' registration as discussed; adapt line
lengths; clean up client-side code.
Changeset 4: "missing" status for disabled modules.
Change-Id: I595b3af1900d4bec0c35940ef51a19c8a7440faa
daniel [Wed, 25 Apr 2012 17:50:01 +0000 (19:50 +0200)]
spaces -> tabs
daniel [Wed, 25 Apr 2012 17:49:09 +0000 (19:49 +0200)]
merged from master
Aaron [Wed, 25 Apr 2012 17:47:59 +0000 (10:47 -0700)]
Split out quickCleanDir() function just for thumbnails for consistency.
Change-Id: I02f3eefc703016ac5681128de05ff09e716646d1
Brion VIBBER [Wed, 25 Apr 2012 17:39:53 +0000 (17:39 +0000)]
Merge "[FileRepo] Fixed regression where thumbnails could not be written to foreign repos."
daniel [Wed, 25 Apr 2012 16:56:58 +0000 (18:56 +0200)]
documentation cleanup; rm unreachable code
daniel [Wed, 25 Apr 2012 16:35:36 +0000 (18:35 +0200)]
spaces -> tabs
daniel [Wed, 25 Apr 2012 16:34:36 +0000 (18:34 +0200)]
type hinting
daniel [Wed, 25 Apr 2012 16:24:33 +0000 (18:24 +0200)]
spaces -> tabs
daniel [Wed, 25 Apr 2012 16:12:11 +0000 (18:12 +0200)]
use application/x-wiki, not application/x-wikitext
daniel [Wed, 25 Apr 2012 16:10:25 +0000 (18:10 +0200)]
documentation and minor bugs
Max Semenik [Tue, 24 Apr 2012 17:25:06 +0000 (21:25 +0400)]
Add function OutputPage::getHeadLinksArray()
...that returns head tags as associative array for the benefit of skin
makers who don't want to output every <meta> tag in the universe.
Patchset 2: make sure that array keys are unique
Change-Id: I6fa3c954d603e0e401cbdb68975d536cf07e11ab
Demon [Wed, 25 Apr 2012 15:00:00 +0000 (15:00 +0000)]
Merge "(bug 34956) Parser should use mUrlProtocol instead of wfUrlProtocols()"