| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
* Used this parameter to speed up copyFileBackend.php.
* Also added mtime checks to copyFileBackend.php and a few cleanups.
* Also fixed some incorrect getDirListPageInternal/getFileListPageInternal docs.
Change-Id: I424ef238f7adf4cf1f33b74e3a4e187dcb328a99
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
hphpc has been superseded by hhvm, so support for hphpc is no longer
needed.
* Continue to use Preprocessor_Hash under HipHop since it is still
faster under hhvm
* Keep $wgCompiledFiles for now, so that wikihiero doesn't give an error
before Ic9d1e795 is merged
* Migrate the run-server script and associated configuration file to
hhvm. Enable EnableStaticContentFromDisk since it doesn't seem
ridiculously inefficient at first glance. Run from $IP rather than
$IP/.. since hhvm is apparently not picky about sourcing files from
outside of the current directory.
Change-Id: Ic3e769f1fbad4f7ad26dd819406796fee48c6b45
|
|/
|
|
| |
Change-Id: Idc9f82309d52818acf57adc9c4eb04370a7b422a
|
|
|
|
|
|
|
|
|
| |
I've hit this error when $wgDBuser didn't have access to $wgDBname.
I've also checked all other error handlers in core.
An alternative approach would be to use an anonymous function but it doesn't support $this until PHP 5.4 so it would be messier.
Change-Id: I89db2e8c88b84d9b53c4b828ac0208b05a3d3783
|
|
|
|
|
|
|
| |
Added spaces before if, foreach
Added some braces for one line statements
Change-Id: Idb93d34e314e5f314223b79208968d6bcd30c40e
|
|
|
|
|
|
|
|
| |
* This should lesson the chance of consistency problems
if there is any memcached flapping.
* Also cleaned up some documentation.
Change-Id: I89401892c7e848fcff0b093eaa861dfe02387a5c
|
|
|
|
| |
Change-Id: I162ca34fe9f92d862345004bd184013531da9e8d
|
|
|
|
| |
Change-Id: I7ade74eb307a5075533f36836768af60f106a6b9
|
|
|
|
|
|
| |
FilterIterator.
Change-Id: I22f79447b1edec4fa6d7fc06d67f3f831a484f16
|
|
|
|
|
|
|
|
|
| |
And added/removed spaces around some other tokens,
like +, -, *, /, <, >, =, !
Fixed windows newline style
Change-Id: I0b9c8c408f3f6bfc0d685a074d7ec468fb848fc8
|
|
|
|
| |
Change-Id: I1d830da0597f19efd0b2ae48642389975e736e23
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I3f008e3d1931423fc3c73af587d657040fdffe83
|
| |
| |
| |
| | |
Change-Id: I32f97b813fc6036b2774d67c14c574420e7a1437
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: I7dc9980d334bc5ad6421135d713d890a8588281c
|
| |
| |
| |
| | |
Change-Id: Ia2a86e1c8126bde48c17f0c8f56905ed325d8be1
|
|/
|
|
| |
Change-Id: Ie0b131c1a09bc75be39bbb7e9c87b8d3221a0fc5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Previously, for doQuickOperations(), the default move function
would just delete the file if it was moved over itself. In fact,
the php-cloudfiles bindings have this same bug in its move function.
* For both copy and move, when the source and destination are the
same path, make sure that the headers get updated as specified.
This only applies for the 'overwrite' case (not 'overwriteSame').
* Fixed bad status for doQuickOperations() when copying a file over
itself using FSFileBackend.
* Clarified the documentation for 'overwriteSame' option.
* Renamed destSameAsSource to overwriteSameCase in FileOp for clarity.
Change-Id: I3f609d9413795c654de27958b1e807b1fc785f31
|
|
|
|
|
|
|
|
|
|
|
| |
* Removed spaces around array index
* Removed double spaces or added spaces to begin or end of function
calls, method signature, conditions or foreachs
* Added braces to one-line ifs
* Changed multi line conditions to one line conditions
* Realigned some arrays
Change-Id: Ia04d2a99d663b07101013c2d53b3b2e872fd9cc3
|
|
|
|
| |
Change-Id: I18a8d733b3dbaa925a676c881225a63e90ff2f05
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
* Deprecated the "disposition" parameter.
* This also adds "headers" to to copy/move operations.
Change-Id: I63faa1dbbadb42c401b6ed4ac58776dc336ba3ab
|
|/
|
|
|
|
| |
* Also made the TTL configurable.
Change-Id: I713979267fe7bd92ac6cd5fe4d4168d20e539c75
|
|
|
|
|
|
|
| |
* Beefed up unit tests for this case and other "ignoreMissingSource" cases
such as when the source container or parent directory do not exist.
Change-Id: Iea6dae2424edfd0c4367e5cff606c09a4e8a865b
|
|
|
|
| |
Change-Id: I2b9f4764c4938dcee61f17c31ed4d4b84fbfbcb2
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improved handling of corrupt values in cache for MemcLockManager.
Also improved the use of Status warnings a bit.
* Removed broken special-case handling for SH->EX lock escalation.
Updated MysqLockManager to compensate.
* Made FSLockManager only use one handle per file, which is more
efficient and avoids errors when escalating locks (SH->EX).
* Made lock unit tests have more useful output on failure.
Change-Id: Ib304712fa2b6b3fd02bfc1b08b6f238c771960c2
|
|
|
|
| |
Change-Id: Ie9eefd3693e82f483a9ef0da3f972452ae7bf49e
|
|
|
|
|
|
|
|
|
|
|
| |
Doxygen expects parameter types to come before the
parameter name in @param tags. Used a quick regex
to switch everything around where possible. This
only fixes cases where a primitve variable (or a
primitive followed by other types) is the variable
type. Other cases will need to be fixed manually.
Change-Id: Ic59fd20856eb0489d70f3469a56ebce0efb3db13
|
|
|
|
| |
Change-Id: I7039f1328f37ee669b694f73ee282602186bffd1
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ifc7b9c012276ed1f1e436ffafbd5615689680054
|
|/
|
|
|
|
|
|
| |
Added/removed spaces around logical/arithmetic operator
Reduced multiple empty lines to one empty line
Removed wrong tabs before comments at end of line
Removed too many spaces in assigments
Change-Id: I2bba4e72f9b5f88c53324d7b70e6042f1aad8f6b
|
|
|
|
|
|
| |
* Added more lock unit tests.
Change-Id: Ic359307cf26cfb621ae8d2db867801735a375dde
|
|
|
|
|
|
| |
* Useful when starting positions are made after copying started.
Change-Id: I34d996594753f7bc4449dac96a4822242c1897ee
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I2a6b801cd97e8ee1a678a43d5f6d01d3e9603637
|
| |
| |
| |
| |
| |
| |
| |
| | |
- Add missing wfProfileOut( __METHOD__ ); in FSFile.php [13ae6bfb]
- Remove unused $IP globals in ApiUpload.php [fbf34d84]
- Remove empty statement in EditPage.php [375687ed]
Change-Id: I3b0506e3c8fc89b352a0d72f18e51a1223af0e9b
|
|/
|
|
|
|
|
|
| |
This shouldn't harm as we don't use this and then alter the file.
But it can kick in useful with extension that need the sha1 of
files (like AbuseFilter).
Change-Id: Ied2ac0397266a5ffd27da02ef6448b64c12fad86
|
|
|
|
| |
Change-Id: I02c3944efc63508c7aa798b3079167b85c760454
|
|
|
|
|
|
|
| |
* Made DBLockManager abstract instead of a hacky blocking implementation.
With a PG and MySQL option, that option is no longer useful.
Change-Id: I939551bd2283608f2d017d9d2fca1334a533c005
|
|
|
|
|
|
|
| |
As we're evaluating the output, we can just suppress these
warnings
Change-Id: I5b0af085d163824a7406b675eb0decc617ef4b4c
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I63b03207a18c7523675a4929031dc560a2d8b5f8
|
|/
|
|
|
|
|
| |
to allow different storage strategies for thumbnails
and audio/video derivatives, add a new zone "transcoded".
Change-Id: I204c843dae4966b02f4807f15e6b0bac672f34dc
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* This reduces the change of partial operations. WMF sites already
set ignore_user_abort() in configuration, but this makes sure that
it always happens during file changes.
Change-Id: I702c27fc3c19aca0cdd39b793a3250ead40bfe71
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The PHP_SAPI constant has been available since PHP 4.2.0. It's more
concise to use the constant and has less overhead than a function call.
Furthermore, PHP_SAPI rhymes with "happy", whereas "php_sapi_name"
rhymes with "lame". QED, etc.
Change-Id: Ie8c121cb8fcef50536af8d3f66723b458f0bf9af
|
|/
|
|
| |
Change-Id: I88e73d47a552918880514d88a876296a6cb80d88
|