Commit graph

7 commits

Author SHA1 Message Date
Kunal Mehta
1fd095ec1c Avoid using the deprecated ParserCache::singleton()
Change-Id: I0da6d9cbfad26c89bf5dab564071ef97acaf44f9
2017-09-09 14:20:10 -07:00
Aaron Schulz
950cf6016c Rename DB_SLAVE constant to DB_REPLICA
This is more consistent with LoadBalancer, modern, and inclusive
of master/master mysql, NDB cluster, and MariaDB galera cluster.

The old constant is an alias now.

Change-Id: I0b37299ecb439cc446ffbe8c341365d1eef45849
2016-09-05 22:55:53 -07:00
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
Max Semenik
59db24e90b Use addDescription() instead of accessing mDescription directly
Change-Id: I0e2aa83024b8abf5298cfea4b21bf45722ad3103
2016-01-30 01:28:32 -08:00
umherirrender
2b021dc48a Fixed spacing
- Added/removed spaces around parenthesis
- Added space after switch/if/foreach
- changed else if to elseif

Change-Id: I99cda543e0e077320091addd75c188cb6e3a42c2
2014-07-19 23:12:10 +02:00
Aaron Schulz
14d0cc5c8f Tweaks to compareParserCache.php
* Skip parsing if there is no cache entry to compare to
* Mention the total number of pages with differences

Change-Id: I8905ae02b4d6c414690a30aec01b11abd1e22d14
2014-05-15 08:39:21 -07:00
Aaron Schulz
380b075756 Added a script to compare current parser output to cache
* This works on a random set of pages in a namespace and can
  be used to compare different PHP interpreters.
* This can, like any maintenance script, be used with --profiler.

Change-Id: Ica69a3ef27df29af1c6e4dc4c8413b55a03df49e
2014-05-14 16:54:34 -07:00