Commit graph

19 commits

Author SHA1 Message Date
Kunal Mehta
6e9b4f0e9c Convert all array() syntax to []
Per wikitech-l consensus:
 https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html

Notes:
* Disabled CallTimePassByReference due to false positives (T127163)

Change-Id: I2c8ce713ce6600a0bb7bf67537c87044c7a45c4b
2016-02-17 01:33:00 -08:00
Reedy
00c426e3c2 Replace wfBaseConvert with Wikimedia\base_convert
Change-Id: Iadab3d018c3559daf79be90edb23d131729bdb68
2015-11-24 22:51:42 +00:00
Aaron Schulz
7c07943eab Update more docs and type hints to use IDatabase
Change-Id: I8c8d85b32a8aba21e14d2a2dde4c25eb509186c1
2015-10-06 18:49:52 -07:00
Aaron Schulz
a611ebf1ff Changed FileBackend exceptions to subclass Exception
Change-Id: Ic7d4d6cf0dde3e93ef78758b1a6b03f78c9bcdba
2015-01-17 14:48:00 -08:00
umherirrender
b883e8c7c0 Cleanup some docs (includes/[e-l])
- Swap "$variable type" to "type $variable"
- Added missing types
- Fixed spacing inside docs
- Makes beginning of @param/@return/@var/@throws in capital
- Changed some types to match the more common spelling

Change-Id: I41a84e8e1dec39170aa655250325ffc485eaeaef
2014-07-24 19:43:03 +02:00
umherirrender
957adbef22 Fixed some @params documentation (includes/[file...|upload])
Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.
Also added some missing @param.

Change-Id: I8804ebe0922d3a414863b162a2110e0b9e49b80f
2014-04-19 17:19:17 +02:00
umherirrender
23fab68274 Fix spacing after @param and friends in comments
Searched for:
\@(param|return|throws|since|deprecated|access|todo|var)[ \t]{2,}

Change-Id: Icce22ba9fe0635455691ca58d9872d618151f346
2014-04-05 20:02:29 +00:00
Siebrand Mazeland
34a4bcbd48 Update documentation of file backend classes
Change-Id: I2113aecc53f1b361d9c276113bc0a9f7076cd21c
2013-11-23 19:24:43 +01:00
Siebrand Mazeland
a5c35215e2 Update formatting of file backend classes
Change-Id: Ie69c324e2f1ea0b8a654adee06ebda494cebd10c
2013-11-22 22:17:15 +01:00
umherirrender
1bfc8feb25 Fixed spacing in actions/cache/filebackend/filerepo/job folder
Added spaces before if, foreach
Added some braces for one line statements

Change-Id: Idb93d34e314e5f314223b79208968d6bcd30c40e
2013-04-20 19:18:13 +02:00
Tyler Anthony Romeo
4dcc7961df Fixed @param tags to conform with Doxygen format.
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
2013-03-11 13:15:01 -04:00
Aaron Schulz
d4e9dd90f4 Added --postime option syncFileBackend.
* Useful when starting positions are made after copying started.

Change-Id: I34d996594753f7bc4449dac96a4822242c1897ee
2013-03-03 04:45:15 -08:00
Aaron Schulz
9dc6ffe9f9 [FileJournal] Randomly prune old log entries.
Change-Id: I667bfdaf167f2154d833b06de7115b4b292a0d2b
2012-11-09 00:28:30 +00:00
Aaron Schulz
926d96115e Minor documentation fix.
Change-Id: I4efc89b4b4149caba62663a7b56f0f57eb9c6b52
2012-10-26 14:02:37 -07:00
Aaron Schulz
22ac627fd3 Added "posdump" option to syncFileBackend to dump the current position.
Change-Id: Iabb027788796e98e06e3c6e97d14f74819cc6c95
2012-10-04 11:43:59 -07:00
Aaron
65f34c3a25 [FileJournal] Made getMasterDB() reuse the DB handle.
* Also made use of autocommit mode while at it.

Change-Id: I460e483d0103de70d505fe00dc9c67e33effde0c
2012-08-27 13:42:31 -07:00
Aaron Schulz
04d088b5fc Cleaned up FileJournal documentation.
Change-Id: I411b1328d4a3fa04283292646a34926c0d485b22
2012-08-19 12:46:14 -07:00
Aaron Schulz
4bdad0e395 Removed useless fj_path_sha1 field to save space.
* Searches by path are not used by any code, and small blobs
  are stored with the rest of the row in innoDB, so there is
  no gain there. The field is mostly a hangover from a use case
  that never materialized (where it would be indexed).

Change-Id: I5515f15bd35823736138a79a4942c7207e519e5c
2012-08-10 23:03:38 -07:00
Aaron Schulz
a47892abef [FileBackend] Moved filerepo/backend/ up to filebackend
Change-Id: I62ba23bd22e0f177fb48acaf6bcc38cbffacd3e7
2012-08-08 18:20:57 -07:00