Roan Kattouw [Thu, 30 Apr 2015 20:33:29 +0000 (13:33 -0700)]
Also add mw-content-{ltr,rtl} on page views for missing pages
So that noarticletext or whatever might render there has
this class applied.
For some reason, this was explicitly bypassed for missing pages,
but there was no explanation why.
Bug: T97624
Change-Id: Ib790498ff102f9d9b01aac3b8551c4829f964b7d
Thiemo Mättig [Mon, 20 Apr 2015 13:44:50 +0000 (15:44 +0200)]
Add @var LoadBalancer[] type doc
This avoids a good amount of type warnings in certain IDEs, e.g. in
my PHPStorm.
Change-Id: Id2b99ad48fa2c0d924a1f51b7d2e382eaac7347d
Kevin Israel [Wed, 29 Apr 2015 12:46:32 +0000 (08:46 -0400)]
Change case of class names to match declarations
Found by running a script that uses PHP's tokenizer extension to
extract class declarations and uses, then compare them:
* AllMessagesTablePager
* SVGReader
* XML
Change-Id: I960aa05b2127722ecc5ae8b165549f9e1077d3c1
Aaron Schulz [Wed, 29 Apr 2015 18:42:05 +0000 (11:42 -0700)]
Made getWithSetCallback doc comment clearer
Change-Id: I68c3929691c886bcfee32499a6058f01f69ea63c
jenkins-bot [Wed, 29 Apr 2015 18:02:51 +0000 (18:02 +0000)]
Merge "Fixed some <code> tags for doxygen"
jenkins-bot [Wed, 29 Apr 2015 18:02:24 +0000 (18:02 +0000)]
Merge "ChangeTags: Show checkbox on Special:Log when user lacks RevDel rights"
Brad Jorsch [Wed, 29 Apr 2015 17:34:30 +0000 (13:34 -0400)]
ChangeTags: Show checkbox on Special:Log when user lacks RevDel rights
The actual production of checkboxes in LogEventsList didn't get updated
to show checkboxes when the user can edit change tags but cannot use
RevDel on log entries.
This also renames LogEventsList::USE_REVDEL_CHECKBOXES to
LogEventsList::USE_CHECKBOXES to be accurate with the change here; no
extensions in Gerrit use this constant, so we should be safe.
Bug: T97501
Change-Id: I72ca7371fe73b650d5ef32d18da19788084f9aeb
Kunal Mehta [Wed, 29 Apr 2015 17:36:03 +0000 (10:36 -0700)]
MovePage: Move target existence check into isValidMove()
The target existence check is not dependent upon the user who is making
the move, so move it into MovePage::isValidMove() instead of
MovePage::checkPermissions() which not all callers will call.
Bug: T97536
Change-Id: I3aad1455ad4c064cbeaf35221a00ca6baba97c33
Timo Tijhof [Wed, 29 Apr 2015 16:19:16 +0000 (17:19 +0100)]
Update jQuery from v1.11.2 to v1.11.3
This release ships a hot-fix for a JIT bug in iOS 8.2 and 8.3.
This is the only change.
Source code
https://code.jquery.com/jquery-1.11.3.js
Release notes
http://blog.jquery.com/2015/04/28/jquery-1-11-3
Change-Id: I5f23b24ae4481749b32e469bb83663361f706e97
Brad Jorsch [Wed, 29 Apr 2015 14:39:25 +0000 (10:39 -0400)]
API: ApiResult must validate even when using numeric auto-indexes
Bug: T97490
Change-Id: I5301a615a992b090000a59f86e13b9f78dcd5aec
Aaron Schulz [Wed, 29 Apr 2015 04:49:40 +0000 (21:49 -0700)]
Fixed some <code> tags for doxygen
Change-Id: I550b8760556e4916ee9b63ee244bbbcb4d926142
jenkins-bot [Wed, 29 Apr 2015 02:37:39 +0000 (02:37 +0000)]
Merge "Update OOjs to v1.1.7"
James D. Forrester [Wed, 29 Apr 2015 01:24:59 +0000 (18:24 -0700)]
Update OOjs to v1.1.7
Release notes:
https://git.wikimedia.org/blob/oojs%2Fcore.git/v1.1.7/History.md
Change-Id: Ie275172cc497dfba53bd5b405f9f1a4089c063eb
Timo Tijhof [Wed, 29 Apr 2015 01:02:50 +0000 (02:02 +0100)]
maintenance/resources: Enable 'set -e' and 'set -u' in bash scripts
* set -e: Abort on error.
* set -u: Emit error for undefined variables.
This removes the need for endless "&&"-chains and easy-to-forget
"|| exit 1" statements.
Change-Id: I41a1c0d1bd57b5e241b83224096d32876fd913af
Brad Jorsch [Tue, 28 Apr 2015 20:32:16 +0000 (16:32 -0400)]
Protect API metadata keys from FormatMetadata::fetchExtendedMetadata()
Bug: T97469
Change-Id: If5d101231ca913621c88e6683f6ef07f6dae1ee8
jenkins-bot [Tue, 28 Apr 2015 20:21:08 +0000 (20:21 +0000)]
Merge "Use ResourceLoaderImageModule to serve icons for OOjs UI"
Translation updater bot [Tue, 28 Apr 2015 19:03:25 +0000 (21:03 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I663235fee22c625f55610a6c53c790a127fbc786
Roan Kattouw [Thu, 18 Jul 2013 17:52:23 +0000 (10:52 -0700)]
resourceloader: Always send headers with a 304 response
There was a code path that sent plain 304s without Expires or any
other headers. Fix this by moving the call to sendResponseHeaders()
into tryLastModified().
Bug: 51283
Change-Id: I15d13c5d32102f53bf3e3aaac01d76967e968f78
Aaron Schulz [Mon, 27 Apr 2015 19:17:52 +0000 (12:17 -0700)]
Made DatabaseSqlite::__construct always caller super
* Also fixed misuse of private mTrxAtomicLevels var
Change-Id: I711508cb3906a5192be1a244a7e511b1720141ca
Bartosz Dziewoński [Tue, 7 Apr 2015 16:02:46 +0000 (18:02 +0200)]
Use ResourceLoaderImageModule to serve icons for OOjs UI
Benefits:
* Full per-language icons support. Icons that differ for each language
(such as the 'Bold' icon) will now always display correctly
according to user interface language, even on old browsers.
* MediaWiki UI icons support. When the 'mediawiki.ui.icon' module is
loaded, you can use syntaxes such as below to display any OOUI icons
(from the packs that were loaded) without involving OOUI itself.
<div class="mw-ui-icon mw-ui-icon-before mw-ui-icon-check">OK</div>
<div class="mw-ui-icon mw-ui-icon-after mw-ui-icon-check">OK</div>
<div class="mw-ui-icon mw-ui-icon-element mw-ui-icon-check">OK</div>
Summary of changes:
* Resources.php:
* Remove icons CSS files. Include image data JSON files instead.
* Split the images from 'oojs-ui.styles' module to separate ones.
* OutputPage: Update enableOOUI() method for newly split modules.
* ResourceLoaderImageModule: Make it possible to load image data from
a JSON file.
* update-oojs-ui.sh: Copy source files rather than distribution for
icon packs.
This is not an improvement when it comes to code quality, though :(
Issues include some nasty code duplication, using "source code" (image
definitions) from OOUI rather than just distribution files, and hacky
methods to load image data from JSON files live.
Bug: T92551
Change-Id: Id369ecaec7048dcf68ba1e4df748362760533782
jenkins-bot [Tue, 28 Apr 2015 08:31:14 +0000 (08:31 +0000)]
Merge "Removed LocalFile::purgeHistory method"
jenkins-bot [Tue, 28 Apr 2015 08:27:11 +0000 (08:27 +0000)]
Merge "Avoid direct DatabaseSqlite constructor use in tests"
jenkins-bot [Tue, 28 Apr 2015 08:26:06 +0000 (08:26 +0000)]
Merge "Added $wgTrxProfilerLimits and slow query limits"
Aaron Schulz [Sun, 26 Apr 2015 18:26:49 +0000 (11:26 -0700)]
Added $wgTrxProfilerLimits and slow query limits
* Limits are now configurable instead of being hard-coded
Change-Id: I99133586eb82e8e9e84061548c8d1a99695fde5c
jenkins-bot [Tue, 28 Apr 2015 07:55:41 +0000 (07:55 +0000)]
Merge "Remove cache use in setNewtalk, as nothing reads from that"
jenkins-bot [Tue, 28 Apr 2015 07:39:53 +0000 (07:39 +0000)]
Merge "Removed "empty" cache key from JobQueueDB for simplicity"
jenkins-bot [Tue, 28 Apr 2015 04:55:41 +0000 (04:55 +0000)]
Merge "ContentHandler: remove last wfRunHooks() call in includes"
jenkins-bot [Tue, 28 Apr 2015 04:51:17 +0000 (04:51 +0000)]
Merge "wfRunHooks() -> Hooks::run() in maintenance scripts"
Chad Horohoe [Tue, 28 Apr 2015 04:43:11 +0000 (21:43 -0700)]
ContentHandler: remove last wfRunHooks() call in includes
Change-Id: I074d886e7021a965a9dc32e74974e9882e77930e
Chad Horohoe [Tue, 28 Apr 2015 04:41:39 +0000 (21:41 -0700)]
wfRunHooks() -> Hooks::run() in maintenance scripts
Change-Id: I6550bca3a6a3a6cd67bb1ed94c09805deed86dbc
Chad Horohoe [Tue, 28 Apr 2015 04:37:20 +0000 (21:37 -0700)]
wfRunHooks() -> Hooks::run() in remaining entry point files
Change-Id: I074deaa7dabc9512812a0ec76a8cc2ea4535a484
jenkins-bot [Tue, 28 Apr 2015 04:34:56 +0000 (04:34 +0000)]
Merge "api.php: wfRunHooks() → Hooks::run()"
jenkins-bot [Tue, 28 Apr 2015 04:25:21 +0000 (04:25 +0000)]
Merge "Fix @return documentation in WANObjectCache::prefixCacheKeys()"
jenkins-bot [Tue, 28 Apr 2015 04:24:44 +0000 (04:24 +0000)]
Merge "API: Fix parameter interpretation in ApiFeedRecentChanges"
Kunal Mehta [Mon, 27 Apr 2015 20:03:50 +0000 (13:03 -0700)]
Fix @return documentation in WANObjectCache::prefixCacheKeys()
Change-Id: Iff27ad3b034b4702f329437950b69731de29171c
Aaron Schulz [Tue, 28 Apr 2015 00:36:02 +0000 (17:36 -0700)]
Removed LocalFile::purgeHistory method
* This just purges an unused key as OldLocalFile::getCacheKey
simply returns false (rather than a key with "oldfile" in it)
Change-Id: Ic7dda9bf192803a75eaa9bd3bb5a145ad1409dd2
Aaron Schulz [Mon, 27 Apr 2015 23:45:58 +0000 (16:45 -0700)]
Remove cache use in setNewtalk, as nothing reads from that
Change-Id: Ia094fa99be49816b48e35aeb695b5d9558fd1d28
jenkins-bot [Mon, 27 Apr 2015 23:09:02 +0000 (23:09 +0000)]
Merge "Remove throws from Title::getContentModel()"
jenkins-bot [Mon, 27 Apr 2015 23:04:36 +0000 (23:04 +0000)]
Merge "Fixed undefined variable in addTagsAccompanyingChangeWithChecks()"
jenkins-bot [Mon, 27 Apr 2015 22:54:05 +0000 (22:54 +0000)]
Merge "Use array_merge instead of the plus operator so that hooked functions are able to override the ORDER BY condition"
Kunal Mehta [Mon, 27 Apr 2015 22:43:49 +0000 (15:43 -0700)]
api.php: wfRunHooks() → Hooks::run()
Change-Id: I199fff17ff574d19701c354ee29bbb8e307e5665
Aaron Schulz [Mon, 27 Apr 2015 22:43:41 +0000 (15:43 -0700)]
Fixed undefined variable in addTagsAccompanyingChangeWithChecks()
Change-Id: I53d9147fb51e354305b1d1739545c35228d66522
Jack Phoenix [Sun, 26 Apr 2015 22:29:57 +0000 (01:29 +0300)]
Use array_merge instead of the plus operator so that hooked functions are
able to override the ORDER BY condition
This is needed to implement wikiHow's "reverse order" option cleanly,
without any core hacks. Without this changeset, you can hook into
ChangesListSpecialPageQuery hook, but it will be impossible to override
the ORDER BY conditions to get rid of the DESC sort order when the reverse
param is set to 1 in the URL.
For a live example of the feature in question, see
http://www.wikihow.com/Special:RecentChanges (tick the "reverse order"
box, press button and take a look at the results).
For the code behind this feature, see
/extensions/wikihow/hooks/SpecialPagesHooks.php and
/extensions/wikihow/hooks/WikihowHooks.php on the wikiHow codebase.
Change-Id: I2177aed9e4807b90cbde4baf33083da492d3d194
jenkins-bot [Mon, 27 Apr 2015 22:15:54 +0000 (22:15 +0000)]
Merge "Fixed default $wgMainWANCache to trigger Setup.php logic"
Aaron Schulz [Mon, 27 Apr 2015 21:46:44 +0000 (14:46 -0700)]
Fixed default $wgMainWANCache to trigger Setup.php logic
Change-Id: I8a5b2f5bd41bfc58568f1a2d96d74ddd5d8d86ed
Aaron Schulz [Mon, 27 Apr 2015 21:23:32 +0000 (14:23 -0700)]
Added ObjectCache::getMainWANInstance() helper method
Change-Id: I3d8d93b3bb6f7e06fae7adc694e6d4d851b2d8c2
Aaron Schulz [Mon, 27 Apr 2015 20:49:10 +0000 (13:49 -0700)]
Removed "empty" cache key from JobQueueDB for simplicity
Bug: T91815
Change-Id: I74d3f8257c728f3ec5d223cf8ca5e2f93aceab13
Aaron Schulz [Mon, 27 Apr 2015 19:44:57 +0000 (12:44 -0700)]
Avoid direct DatabaseSqlite constructor use in tests
Change-Id: Iedbc68347836204cc031db15dfb2453577beaf02
jenkins-bot [Mon, 27 Apr 2015 20:33:49 +0000 (20:33 +0000)]
Merge "Fixed transaction error while undeleting revdeleted files"
jenkins-bot [Mon, 27 Apr 2015 20:28:41 +0000 (20:28 +0000)]
Merge "Cleaned up a few exceptions and IDE errors in BagOStuff"
jenkins-bot [Mon, 27 Apr 2015 20:28:07 +0000 (20:28 +0000)]
Merge "Fixed getLagTimes() locking"
jenkins-bot [Mon, 27 Apr 2015 20:25:34 +0000 (20:25 +0000)]
Merge "Moved WAN cache and relayer to /libs"
Aaron Schulz [Mon, 27 Apr 2015 19:55:19 +0000 (12:55 -0700)]
Cleaned up a few exceptions and IDE errors in BagOStuff
Change-Id: I7ae88009f50c259c20572349b5d01480e36f7cb8
Aaron Schulz [Mon, 27 Apr 2015 20:14:21 +0000 (13:14 -0700)]
Fixed getLagTimes() locking
* Previously it deleted the value it just cached due to a missing suffix,
which would lead to connection spam to get the new lag values.
Change-Id: I1040b2b87d3d4ddd7c368291cab87daf4227c2d0
Translation updater bot [Mon, 27 Apr 2015 19:42:09 +0000 (21:42 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I073cc1399e22fb5c2dd5fc628bebb1cfe02b798d
Aaron Schulz [Mon, 27 Apr 2015 19:35:58 +0000 (12:35 -0700)]
Moved WAN cache and relayer to /libs
Change-Id: I9586d22890ce1cda7f74869ff701de73d65eaaef
jenkins-bot [Mon, 27 Apr 2015 17:54:28 +0000 (17:54 +0000)]
Merge "API: Remove metadata keys from indexpageids output"
James D. Forrester [Mon, 27 Apr 2015 17:23:52 +0000 (10:23 -0700)]
Update OOjs UI to v0.10.1
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.10.1/History.md
Change-Id: If390a691c73491be4f080e70788b6b8b8f698be0
Florianschmidtwelzow [Mon, 27 Apr 2015 09:51:53 +0000 (11:51 +0200)]
Remove throws from Title::getContentModel()
ContentHandler::getDefaultModelFor() always returns a contentmodel,
so this exception is never thrown.
Change-Id: I7678964f229da8fcd15eb49e9e8c8e9a258e35a1
jenkins-bot [Mon, 27 Apr 2015 08:29:46 +0000 (08:29 +0000)]
Merge "Added $wgJobSerialCommitThreshold setting"
Translation updater bot [Sun, 26 Apr 2015 19:49:26 +0000 (21:49 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Icd09897d70a253338e09ff0eb2e20c4c229a8245
Aaron Schulz [Sun, 26 Apr 2015 17:19:19 +0000 (10:19 -0700)]
Fixed transaction error while undeleting revdeleted files
Bug: T97222
Change-Id: I16cdf228a517e93ac71ccda243b9e47b68ad7717
Translation updater bot [Sat, 25 Apr 2015 20:26:39 +0000 (22:26 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ib8aa14e1dec9ee472abc25f38e77600544fd41a3
Gabriel Wicke [Sat, 25 Apr 2015 20:03:20 +0000 (13:03 -0700)]
Don't load XML metadata on DjVu thumb generation
As described in T96360, scaling of DjVu files loads huge XML blobs from the
database for no apparent reason. This caused several outages by overloading
the database.
This patch simply removes the XML fetching & associated check.
Bug: T96360
Change-Id: I99d90b569bf9a6b6492ecca23b1b00267b0fa0ab
Brad Jorsch [Sat, 25 Apr 2015 11:20:43 +0000 (07:20 -0400)]
API: Fix parameter interpretation in ApiFeedRecentChanges
ApiFeedRecentChanges uses special page logic (eew) to do its thing.
Lacking the time at the moment to refactor the business logic, let's at
least pass the parsed parameters in via a FauxRequest instead of
allowing the special page logic to do its own interpretation of the raw
parameters.
This makes it so all recognized timestamp formats are supported (instead
of only TS_MW) and fixes the interpretation of booleans to match API
standards.
Bug: T97213
Change-Id: Ia254e36b5df2e552e283fb57ce859d6478908bd9
Matthew Flaschen [Sat, 25 Apr 2015 04:09:51 +0000 (00:09 -0400)]
Document IContextSource->msg
Change-Id: I4cc922c61f77bbb7cd4ece94f28d927c4753c24e
jenkins-bot [Sat, 25 Apr 2015 03:40:46 +0000 (03:40 +0000)]
Merge "ApiEditPage: Fetch content model from article, not title"
jenkins-bot [Sat, 25 Apr 2015 02:16:04 +0000 (02:16 +0000)]
Merge "Made wfReadOnlyReason catch DB connection errors"
Timo Tijhof [Sat, 25 Apr 2015 01:09:07 +0000 (02:09 +0100)]
qunit: Remove mwlogenv feature
I added this in the JSTesting branch back in SVN (r107521, merged in
r107919 for MediaWiki 1.19.0).
It was mostly for debugging the setup/teardown in the branch. It never
had much practical use.
Change-Id: I8d6eb9e06ad070c23cb9c9041b5cf4143ee6ac0b
jenkins-bot [Fri, 24 Apr 2015 23:00:58 +0000 (23:00 +0000)]
Merge "API: Improve queries for prop=revisions in enum mode"
Brad Jorsch [Tue, 3 Feb 2015 16:53:27 +0000 (11:53 -0500)]
API: Improve queries for prop=revisions in enum mode
This reworks the queries to better use the indexes available, and at the
same time sorts results by rev_timestamp like they always should have
been rather than rev_id. See T88084 for details.
This also takes the opportunity to replace !is_null with !== null, since
it was annoying me while writing this.
Bug: T88084
Bug: T91883
Change-Id: Ie175c6014e75848e9dda6b413175c8575d1ef6af
jenkins-bot [Fri, 24 Apr 2015 22:42:19 +0000 (22:42 +0000)]
Merge "Drop unused FormatMetadata::flattenArray method"
Translation updater bot [Fri, 24 Apr 2015 22:23:10 +0000 (00:23 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I6732d53f845fda7bebd133a094cbd27578532504
jenkins-bot [Fri, 24 Apr 2015 20:57:41 +0000 (20:57 +0000)]
Merge "Allow setting MySQL session variables via config"
Aaron Schulz [Fri, 24 Apr 2015 20:52:32 +0000 (13:52 -0700)]
Made wfReadOnlyReason catch DB connection errors
Change-Id: I4e960d9bd751b2a6f95f08861fc8ed360af4a04a
Timo Tijhof [Fri, 24 Apr 2015 19:43:50 +0000 (20:43 +0100)]
resourceloader: Add logging for T94810
Bug: T94810
Change-Id: Ibedc31659ed91262bca115101136fe60df6c5134
Aaron Schulz [Fri, 24 Apr 2015 19:32:18 +0000 (19:32 +0000)]
Merge "Moved DBConnRef to a separate file"
Aaron Schulz [Wed, 22 Apr 2015 06:13:31 +0000 (23:13 -0700)]
Added $wgJobSerialCommitThreshold setting
* This is used to avoid lag by certain jobs
Bug: T95501
Change-Id: Id707c9a840fa23d56407e03aaae4e25149a1f906
jenkins-bot [Fri, 24 Apr 2015 18:14:50 +0000 (18:14 +0000)]
Merge "Remove install-phpunit.sh"
Aaron Schulz [Fri, 24 Apr 2015 18:07:02 +0000 (11:07 -0700)]
Allow setting MySQL session variables via config
Change-Id: I39c7e0f5ffe53a3fb15da489f4dddc36af99a4b3
jenkins-bot [Fri, 24 Apr 2015 18:03:02 +0000 (18:03 +0000)]
Merge "Fix category column count regression"
Aaron Schulz [Fri, 24 Apr 2015 17:00:22 +0000 (10:00 -0700)]
Moved DBConnRef to a separate file
Change-Id: I9c8570aefb8927a3d69b7fd446165f6e8661e84d
Chad Horohoe [Fri, 24 Apr 2015 17:36:19 +0000 (10:36 -0700)]
Remove install-phpunit.sh
The default fetch location is PEAR, which is not where PHPUnit
is distributed from anymore. apt-get and yum tend to ship horribly
outdated versions of PHPUnit that we don't want. Macports? Lol.
Instead one should install PHPUnit via composer. If you use vagrant
for testing, this is done for you. Our composer.json also lists
PHPUnit if you want to do it yourself.
Bug: T96834
Change-Id: I84ae186a9be2595cd594b428a07f3af684c258fe
jenkins-bot [Fri, 24 Apr 2015 16:52:26 +0000 (16:52 +0000)]
Merge "Improved ActiveUsers cache staleness estimates"
jenkins-bot [Fri, 24 Apr 2015 16:38:04 +0000 (16:38 +0000)]
Merge "Automatically set $wgMainWANCache by default using $wgMainCacheType"
Chad Horohoe [Fri, 24 Apr 2015 16:21:32 +0000 (09:21 -0700)]
Remove useless +x flag on ProfilerSectionOnly
Change-Id: I8f5190c114b50ee3b6288ce383caba7988c49895
Mormegil [Fri, 24 Apr 2015 14:51:30 +0000 (16:51 +0200)]
Fix category column count regression
T55130 redesigned category view to use dynamic CSS-based columns
instead of the old fixed 3-column layout. The design was updated
in I20b68dea8f, setting the column width to 25em.
However, on 1280px screen, this reduces the layout to just 2 columns,
as 3 columns do not fit: With the default 14px font, 25em translates
to 350px of column width, plus 1em of column-gap, therefore, 1078px
of space would be required for three columns. However, a 1280px
screen seems to have only 1038px left for content, so 40px are
missing.
By reducing the column size slightly to 24em, three columns are back.
Bug: T55130
Change-Id: I2dbecf809c54d786579bdf3826efbf85ad822c7c
jenkins-bot [Fri, 24 Apr 2015 13:43:59 +0000 (13:43 +0000)]
Merge "Better pageprops API example"
Aaron Schulz [Thu, 23 Apr 2015 22:44:19 +0000 (15:44 -0700)]
Automatically set $wgMainWANCache by default using $wgMainCacheType
Change-Id: If1ad62e4d1f84e01cd4fea04c6dd568c9d290178
Aaron Schulz [Fri, 24 Apr 2015 07:19:17 +0000 (00:19 -0700)]
Improved ActiveUsers cache staleness estimates
Change-Id: Iddbdd90ff91d65f93dc51da0c8a5c0d4d0ab219f
Nikerabbit [Fri, 24 Apr 2015 06:49:46 +0000 (06:49 +0000)]
Merge "Improve Makefile.py for zhtable"
S Page [Tue, 7 Apr 2015 10:31:43 +0000 (03:31 -0700)]
Better pageprops API example
Change example query from non-existent Category:Foo to querying Main
Page and MediaWiki, which exist on both enwiki and mediawiki.org (and
have really interesting info on enwiki).
To test, visit api.php?action=help&modules=query+pageprops and try the
example URL.
Change-Id: Ibad1e912bd2fa0f0f627025a60ec137f43a2abe4
Aaron Schulz [Tue, 27 Jan 2015 19:56:44 +0000 (11:56 -0800)]
Added WANObjectCache class
This class handles caching across distance sites where purges
must reach both. It also aims to make purging more reliable in
the face of network glitches and node consistent hash ejection.
bug: T88492
Change-Id: I686811b3075bf22e2f4de45127e8461e54648ead
Translation updater bot [Thu, 23 Apr 2015 21:09:49 +0000 (23:09 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I6bcecb1d8d1d57b20c583ec65267a72f6b4b6a1d
Chad Horohoe [Thu, 23 Apr 2015 17:30:23 +0000 (10:30 -0700)]
Don't profile setting up the temp directory
It's boring and profiling of wfTempDir() will already catch it
Change-Id: If4b489eb665af329fa9e3cb9b3e9913832b83862
jenkins-bot [Thu, 23 Apr 2015 16:13:30 +0000 (16:13 +0000)]
Merge "wikibits: Un-deprecate importScript and importStylesheet"
jenkins-bot [Thu, 23 Apr 2015 15:38:48 +0000 (15:38 +0000)]
Merge "Update OOjs UI to v0.10.0"
Brad Jorsch [Thu, 23 Apr 2015 14:21:11 +0000 (10:21 -0400)]
ApiEditPage: Fetch content model from article, not title
The Title object's cached content model isn't updated after the edit.
The Article object fetches the model from the revision that was just
created, so let's just use that instead.
Bug: T96937
Change-Id: I4c5ab3ec6829d403a29a8a8f55e7458730369034
jenkins-bot [Thu, 23 Apr 2015 13:26:08 +0000 (13:26 +0000)]
Merge "Split Tunisian spoken Arabic in Arabic and Latin script variants"
Brad Jorsch [Thu, 23 Apr 2015 13:13:42 +0000 (09:13 -0400)]
API: Remove metadata keys from indexpageids output
While we could fix the issue at hand by moving the setArrayType() call,
it's more robust to explicitly remove *all* metadata.
Bug: T96942
Change-Id: I313b19339474ea34880ebef31851eefdf14a7a07