Aaron Schulz [Sat, 17 Oct 2015 22:12:20 +0000 (15:12 -0700)]
Add make(Global)Key() method to WANObjectCache
Change-Id: I8e739fbe8614c9bd1c3595bbf16c8cd423aff7cc
Fomafix [Sat, 17 Oct 2015 17:49:31 +0000 (17:49 +0000)]
mediawiki.js: Show line number of caller of mw.log.warn and .error
Currently the JavaScript console shows the line number from mediawiki.js
where the function mw.log.warn is defined.
With this change the JavaScript console shows the file and the line number
where the function mw.log.warn is called.
Inspirited by https://matthewspencer.github.io/console-log/
Change-Id: I2345333fc0158a66ebcb3abf0e94e6e622b3bdc0
Kevin Israel [Fri, 28 Aug 2015 07:57:01 +0000 (03:57 -0400)]
Avoid creating lots and lots of cat_id gaps
Currently, INSERT...ON DUPLICATE KEY UPDATE is used to update the page
counts in the category table. However, MySQL 5.1.22 and newer, by default,
increment the counter for cat_id before checking for duplicate key errors.
This creates many gaps in the cat_id sequence.
To avoid this, check for existing category rows, and instead UPDATE any
that were found. It is hoped that the extra queries will not significantly
harm performance.
Change-Id: Ic2ab9ff14f04a0c7ea90a5b6756cade0c78e2885
Kevin Israel [Fri, 28 Aug 2015 07:57:01 +0000 (03:57 -0400)]
Category::refreshCounts(): Save new counts using upsert()
This doesn't completely address the TODO comment. However, I intend
to finish doing so in a separate change.
Change-Id: I71c6dafd4223d79a0153fa8ce7cb0ee1354c0ec6
jenkins-bot [Sat, 17 Oct 2015 01:06:12 +0000 (01:06 +0000)]
Merge "Add `makeKey` and `makeGlobalKey` to BagOStuff"
Darian Anthony Patrick [Wed, 12 Aug 2015 19:47:36 +0000 (12:47 -0700)]
Avoid exposure of local path in PNG thumbnails
Bug: T108616
Change-Id: I952068d2d175d71f86dec0dbb92af5a122c05a49
jenkins-bot [Fri, 16 Oct 2015 21:45:55 +0000 (21:45 +0000)]
Merge "SECURITY: RevDel: Check all revisions for suppression, not just the first"
jenkins-bot [Fri, 16 Oct 2015 21:45:51 +0000 (21:45 +0000)]
Merge "SECURITY: API: Improve validation in chunked uploading"
Brad Jorsch [Thu, 9 Apr 2015 17:59:16 +0000 (13:59 -0400)]
SECURITY: RevDel: Check all revisions for suppression, not just the first
If any of the revisions in the list are deleted, do not allow changing
the permissions without suppressrevision.
Bug: T95589
Change-Id: Ia8a3ef13b73925d14a79775a50d46b939c01664f
csteipp [Tue, 8 Sep 2015 17:59:44 +0000 (10:59 -0700)]
SECURITY: API: Improve validation in chunked uploading
This fixes a few shortcomings in the chunked uploader:
* Raises an error if offset + chunksize > filesize.
* Enforces a minimum chunk size for non-final chunks.
* Refuses additional chunks after seeing a final chunk.
* Status of a chunked upload in progress is now available with
'checkstatus'.
Bug: T91203
Bug: T91205
Change-Id: I2262db1bc8460616b069c564475d2e4148001768
jenkins-bot [Fri, 16 Oct 2015 21:09:32 +0000 (21:09 +0000)]
Merge "SECURITY: Throttle uploads"
Translation updater bot [Fri, 16 Oct 2015 19:51:25 +0000 (21:51 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Iec6e48de8a855f6f21b1cded93cb03bd9e5f7d56
jenkins-bot [Fri, 16 Oct 2015 19:03:15 +0000 (19:03 +0000)]
Merge "Clarify that ParserOutput::getDisplayTitle() returns HTML."
csteipp [Thu, 12 Mar 2015 01:44:44 +0000 (18:44 -0700)]
SECURITY: Throttle uploads
Add throttle check in ApiUpload and SpecialUpload.
Bug: T91850
Change-Id: If33cc99f304aab2486507c7500b4abb06b6b5d70
daniel [Fri, 16 Oct 2015 18:03:33 +0000 (20:03 +0200)]
Clarify that ParserOutput::getDisplayTitle() returns HTML.
This change only improves documentation, it does not touch code.
For reference:
* CoreParserFunctions::displaytitle generates HTML, with &, < and so on
property escaped. OutputPage::setPageTitle() treats the input as wikitext,
which works for both plain text and HTML.
* Wikibase calls ParserOutput::setDisplayTitle() with HTML including <span>
structures.
In the API action=query&prop=pageprops returns HTML. There doesn't seem to
be a good place to document that fact, though.
Change-Id: I043b26b82f066abe2830a81d3bc073543b3748d8
jenkins-bot [Fri, 16 Oct 2015 15:29:03 +0000 (15:29 +0000)]
Merge "mw.ForeignStructuredUpload.BookletLayout: Switch order of widgets"
Prateek Saxena [Fri, 16 Oct 2015 14:39:12 +0000 (20:09 +0530)]
mw.ForeignStructuredUpload.BookletLayout: Switch order of widgets
As per Pau's observation and mw.Upload.BookletLayout, the description
input should come after the name input.
Change-Id: I6492f305734268de15d721476bf751e5bc9c805b
Edward Chernenko [Thu, 15 Oct 2015 21:07:55 +0000 (00:07 +0300)]
Typo in comment of Html::radio()
Incorrectly copied documentation from Html::check().
Change-Id: I508e4beedb01b62989a7f37466c47ddd37091b49
jenkins-bot [Fri, 16 Oct 2015 11:46:27 +0000 (11:46 +0000)]
Merge "More specific @return doc in WikiPage::getDeletionUpdates"
jenkins-bot [Fri, 16 Oct 2015 03:35:25 +0000 (03:35 +0000)]
Merge "LoadBalancer::getLaggedSlaveMode needs to know about the wiki"
jenkins-bot [Thu, 15 Oct 2015 20:05:19 +0000 (20:05 +0000)]
Merge "Fix mw.notify not being visible if first loaded when scrolled down"
jenkins-bot [Thu, 15 Oct 2015 19:51:50 +0000 (19:51 +0000)]
Merge "ApiMessage: Improve documentation"
Translation updater bot [Thu, 15 Oct 2015 19:12:47 +0000 (19:12 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Bartosz Dziewoński [Tue, 13 Oct 2015 21:30:04 +0000 (23:30 +0200)]
ApiMessage: Improve documentation
Based on an excerpt from Anomie's IRC conversation with me.
Change-Id: I02661548a30fd40eaa72d77c98a6801dbbaff456
Translation updater bot [Thu, 15 Oct 2015 19:07:09 +0000 (21:07 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ia14ad3a350ff7e552c0001c5ccf4cda36e192294
jenkins-bot [Thu, 15 Oct 2015 19:06:38 +0000 (19:06 +0000)]
Merge "Move some styles of convenience links to mediawiki.special"
jenkins-bot [Thu, 15 Oct 2015 19:06:32 +0000 (19:06 +0000)]
Merge "Move styles for Special:FileDuplicateSearch to mediawiki.special"
jenkins-bot [Thu, 15 Oct 2015 17:17:33 +0000 (17:17 +0000)]
Merge "Improve the API help for format=xmlfm"
Reedy [Thu, 15 Oct 2015 16:53:14 +0000 (17:53 +0100)]
Remove unused ApiQueryORM
Bug: T114538
Change-Id: I4673977cef336ab3b4e375a3deab4d4fc67830eb
Glaisher [Thu, 15 Oct 2015 16:31:46 +0000 (21:31 +0500)]
Make Special:Redirect work for blocked users and in read-only mode
Bug: T115570
Change-Id: Id26af6efe9dc7eddb2066a2f61c86116305fff7c
jenkins-bot [Thu, 15 Oct 2015 15:01:07 +0000 (15:01 +0000)]
Merge "objectcache: Rename WANObjectCache TTL_NONE to TTL_INDEFINITE"
Brad Jorsch [Thu, 15 Oct 2015 13:09:02 +0000 (09:09 -0400)]
Use specified pageId for LinksDeletionUpdate→DeleteLinksJob
Not page->getId() which may now be 0 due to the page having been
deleted.
Bug: T115586
Change-Id: I5a3482bbe1df23dda0f33e7d675b06d616395bb6
Thiemo Mättig [Thu, 15 Oct 2015 08:31:32 +0000 (10:31 +0200)]
More specific @return doc in WikiPage::getDeletionUpdates
Change-Id: I8d126944411c91f87cb3bec3269e60d23f5dceac
Sumit Asthana [Sun, 21 Dec 2014 14:20:08 +0000 (19:50 +0530)]
Added a parenthetical to fileextensions description
Changed "fileextensions for more clarity of the description.
Bug: T62121
Change-Id: Ida361a370069e6d5565a5ef5b03f0976dfd3515b
S Page [Wed, 25 Feb 2015 06:48:52 +0000 (22:48 -0800)]
Improve the API help for format=xmlfm
I thought it dumped raw text with attached JSON "debugging elements",
but it's just jsonfm with a little extra.
Change-Id: I55f2ae2c9aa295bcb972b4e02e7352532d64341c
Timo Tijhof [Tue, 13 Oct 2015 15:15:36 +0000 (11:15 -0400)]
objectcache: Rename WANObjectCache TTL_NONE to TTL_INDEFINITE
"None" has a somewhat unobvious meaning, also ambiguous with "uncachable".
Change-Id: I799de385427aeb8f581d51800606552bdc998252
Translation updater bot [Wed, 14 Oct 2015 19:33:50 +0000 (21:33 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I821a5724c2f14c6d1697d60454cd17618998e2bd
Reedy [Sat, 26 Sep 2015 18:04:30 +0000 (19:04 +0100)]
Re-enable last phpcs rule
Bug: T102609
Change-Id: I49eb778ccb5f0a3662fe4573872d1235c52fdd81
jenkins-bot [Wed, 14 Oct 2015 17:06:09 +0000 (17:06 +0000)]
Merge "Move comment in backup_PageTest.php"
jenkins-bot [Wed, 14 Oct 2015 17:06:04 +0000 (17:06 +0000)]
Merge "Fix array index spacing in ResourceLoaderEditToolbarModule"
jenkins-bot [Wed, 14 Oct 2015 17:06:00 +0000 (17:06 +0000)]
Merge "Change some comment style in userOptions.inc"
jenkins-bot [Wed, 14 Oct 2015 16:56:10 +0000 (16:56 +0000)]
Merge "Add curly braces to while"
jenkins-bot [Wed, 14 Oct 2015 16:56:06 +0000 (16:56 +0000)]
Merge "Remove empty comment line from GlobalTest.php"
Alex Monk [Sun, 20 Sep 2015 21:50:19 +0000 (22:50 +0100)]
Add $suppress to ArticleDelete hook
We should be telling extensions whether a deletion is a suppression or not, so
they can behave appropriately.
Change-Id: I2cb6ffd61dd12766fe0266514c9360ff0c90b788
Alex Monk [Fri, 9 Oct 2015 17:20:25 +0000 (18:20 +0100)]
Use the frame 'type' in wfFormatStackFrame, like MWExceptionHandler::prettyPrintTrace
Instead of assuming '::'
Change-Id: I2452bc5ebd3716eb61f53da41a0050f4833fb5a4
Kunal Mehta [Wed, 30 Sep 2015 17:08:59 +0000 (10:08 -0700)]
Mark Title::setFragment() as @private
It is deprecated for public use, so indicate that it should only be used
privately.
Change-Id: I1b32f52f427a36ddb81bd7befadc9099ebc4f191
dennisroczek [Tue, 29 Sep 2015 09:00:25 +0000 (11:00 +0200)]
adding 7zip archives to the MIMEs
Change-Id: Ib3392b7fcec475c153099a1b92fe195c5eb4b195
Alex Monk [Fri, 9 Oct 2015 16:58:26 +0000 (17:58 +0100)]
Handle $frame['function'] not being set in stack frames
Bug: T115107
Change-Id: I9fbfcd53fbcba1800a924acb1a1702c3c9037cc5
jenkins-bot [Wed, 14 Oct 2015 12:30:11 +0000 (12:30 +0000)]
Merge "Add recentChangesLine to ChangesList"
umherirrender [Wed, 14 Oct 2015 10:21:55 +0000 (12:21 +0200)]
Use correct @codingStandardsIgnore in DairikiDiff.php
@codingStandardsIgnoreFile is for whole files, use
@codingStandardsIgnoreStart instead
Also correct a MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.
SingleSpaceBeforeSingleLineComment sniff in the same file
Follows I06cdab4616b5bff47c85152df28f18c861730a23
Change-Id: I75e6e936e2fb4453bd56848ff39cabd92ae171fc
umherirrender [Wed, 14 Oct 2015 10:14:23 +0000 (12:14 +0200)]
Remove empty comment line from GlobalTest.php
Remove empty line comments as found by the
MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.EmptyComment sniff
Change-Id: Ibd60165ae8ddef2a2fd443856e7476f32a0c6392
umherirrender [Wed, 14 Oct 2015 09:55:43 +0000 (11:55 +0200)]
Fix array index spacing in ResourceLoaderEditToolbarModule
Code style is not using spaces in array index
Follows Ic3eab71691e502bfe19bdf4eb6f82cc679a7782f
Change-Id: I0e20787c41d2edbc2899308647092ed6831d2489
umherirrender [Wed, 14 Oct 2015 09:42:00 +0000 (11:42 +0200)]
Add curly braces to while
Follows Iaa1a479b5eefcae0fc8f82b1d20e9575d609c0e9
Change-Id: I7f2b9b12e3282f5b8ba54a315fa12f1a97985572
Legoktm [Wed, 7 Oct 2015 06:08:26 +0000 (06:08 +0000)]
Revert "Add // @codingStandardsIgnoreFile to FormatMetadata"
For testing.
This reverts commit
df706d2457e675ce3896b6b2aace27dac3fb9ff1.
Change-Id: If63199293ac3539030f3503fbcbd5e0f4aa2eece
jenkins-bot [Wed, 14 Oct 2015 09:13:36 +0000 (09:13 +0000)]
Merge "Show a confirmation message on Special:UserRights"
umherirrender [Wed, 14 Oct 2015 07:34:55 +0000 (09:34 +0200)]
Change some comment style in userOptions.inc
Change-Id: Ida429683ee5b6194c96d782cf5fb4e0527c89103
umherirrender [Wed, 14 Oct 2015 07:03:15 +0000 (09:03 +0200)]
Move comment in backup_PageTest.php
Move the comment at the begin of the function out of it to a doc
comment.
Change-Id: I6febf51a74de88204d54b1e3251df187197c1819
jenkins-bot [Wed, 14 Oct 2015 08:27:43 +0000 (08:27 +0000)]
Merge "Change some line comments to multi line comments"
jenkins-bot [Wed, 14 Oct 2015 08:27:40 +0000 (08:27 +0000)]
Merge "Remove empty line comments"
umherirrender [Wed, 14 Oct 2015 07:46:44 +0000 (09:46 +0200)]
Remove empty line comments
Remove empty line comments as found by the
MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.EmptyComment sniff
Change-Id: I5d694f7a7d3bc97e16300ba03c60ad17f3c912a5
umherirrender [Wed, 14 Oct 2015 07:40:50 +0000 (09:40 +0200)]
Change some line comments to multi line comments
This allows empty lines inside the comment as found by the
MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.EmptyComment sniff
Change-Id: Iac155bbda4a84562db2b452baeae9b8973899453
jenkins-bot [Wed, 14 Oct 2015 07:40:50 +0000 (07:40 +0000)]
Merge "Move the "shit" out"
umherirrender [Wed, 14 Oct 2015 07:12:01 +0000 (09:12 +0200)]
Move the "shit" out
There is no need for such words
Change-Id: I0294c0e2381b96fd4377d7edcdf4d7e7fc0d06d3
Florian [Fri, 9 Oct 2015 21:39:58 +0000 (23:39 +0200)]
Show a confirmation message on Special:UserRights
If the rights was saved, show a Special:Preferences-like success-box on top
of the page, which indicates, that the user rights was saved successfully.
Bug: T103361
Change-Id: I19646e9a1b0b31b4fbfe0fa2c8f775f8a2a67a83
jenkins-bot [Wed, 14 Oct 2015 02:39:47 +0000 (02:39 +0000)]
Merge "Revert "mediawiki.widgets: Add temporary workaround for upstream oojs-ui bug""
Bartosz Dziewoński [Tue, 13 Oct 2015 20:23:47 +0000 (22:23 +0200)]
Move release notes about mw.Upload and friends to 1.26
This was originally meant for 1.26 release, but we didn't quite make
the deadline and currently 1.26 contains a half-broken implementation
of some parts. We're going to be backporting all the additions and
fixes since branch cut to 1.26.
Change-Id: I24100009d8a0c7c691b7ef44f33bf42f093a514a
Brad Jorsch [Fri, 4 Sep 2015 16:17:42 +0000 (12:17 -0400)]
User: Mostly remove password handling
AuthManager is coming, which will make it easier to add alternative
methods of authentication. But in order to do that, we need to finally
get around to ripping the password-related bits out of the User class.
The password expiration handling isn't used anywhere in core or
extensions in Gerrit beyond testing for expired passwords on login and
resetting the expiry date on password change. Those bits have been
inlined and the functions removed; AuthManager will allow each
"authentication provider" to handle its own password expiration.
The methods for fetching passwords, including the fact that mPassword
and other fields are public, has also been removed. This is already
broken in combination with basically any extension that messes with
authentication, and the major use outside of that was in creating
system users like MassMessage's "MediaWiki message delivery" user.
Password setting methods are silently deprecated, since most of the
replacements won't be available until AuthManager. But uses in unit
testing can be replaced with TestUser::setPasswordForUser() immediately.
User::randomPassword() and User::getPasswordFactory() don't really
belong in User either. For the former a new PasswordFactory method has
been created, while the latter should just be replaced by the two lines
to create a PasswordFactory via its constructor.
Bug: T47716
Change-Id: I2c736ad72d946fa9b859e6cd335fa58aececc0d5
jenkins-bot [Tue, 13 Oct 2015 21:49:07 +0000 (21:49 +0000)]
Merge "Remove unused mw.Upload.BookletLayout messages"
jenkins-bot [Tue, 13 Oct 2015 21:15:43 +0000 (21:15 +0000)]
Merge "Do not double load gallery styles now cache has expired"
Bartosz Dziewoński [Tue, 13 Oct 2015 20:58:40 +0000 (22:58 +0200)]
Remove unused mw.Upload.BookletLayout messages
'upload-process-error' and 'upload-process-warning' are no longer
in use since
3e596a9185724793bb8ff4e47373a9d75c17914a.
Change-Id: I6af1bc962901d5be89584795a5521be830199ab4
Jdlrobson [Wed, 23 Sep 2015 20:17:09 +0000 (20:17 +0000)]
Do not double load gallery styles now cache has expired
This reverts commit
4a9aab29c1ba0725271898bd60138336f17fa67e.
now that galleries are rendered correctly on category pages.
Dependency: I32697c2c65824d7622c
Change-Id: I0ef5c2d5a9019355aa3a158f9e489df02975e0af
Marius Hoch [Tue, 13 Oct 2015 20:50:47 +0000 (22:50 +0200)]
LoadBalancer::getLaggedSlaveMode needs to know about the wiki
If not asked for the current wiki.
This is relevant in setups with LBFactoryMulti where one LoadBalancer
only knows about some database servers and not necessarily about the
ones of the current wiki, but we still try to open a connection with
the current wiki database.
Change-Id: Ie6a87c587c68df6380e568a16c57f7a05ec084f6
James D. Forrester [Tue, 13 Oct 2015 20:40:33 +0000 (13:40 -0700)]
Update OOjs UI to v0.12.12
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.12.12/History.md
Change-Id: If241c883b8c079ea9f1d73c8eb6f51c99dd615ac
umherirrender [Sat, 10 Oct 2015 06:53:32 +0000 (08:53 +0200)]
Move styles for Special:FileDuplicateSearch to mediawiki.special
Style for #mw-fileduplicatesearch-icon is just needed on that special
page
Change-Id: If06b451d1ca8c25e9e86e9992b23d6380f7111ee
umherirrender [Sat, 10 Oct 2015 06:41:43 +0000 (08:41 +0200)]
Move some styles of convenience links to mediawiki.special
Moved the style of convenience links for special pages to the
mediawiki.special module to keep it out of shared.css
Change-Id: I57ba598c48f8c1ea4bca978b6bf83d157d9dad1c
Bartosz Dziewoński [Tue, 13 Oct 2015 20:13:47 +0000 (20:13 +0000)]
Revert "mediawiki.widgets: Add temporary workaround for upstream oojs-ui bug"
No longer needed.
This reverts commit
ca751872aac2be673d88fe9067472808c6500bb5.
Change-Id: Iefa3386d448826a220fe0e861fe38fc9f1809d4d
Translation updater bot [Tue, 13 Oct 2015 19:57:38 +0000 (19:57 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Tue, 13 Oct 2015 19:55:12 +0000 (19:55 +0000)]
Merge "jquery.tablesorter: use of expand-child class"
Translation updater bot [Tue, 13 Oct 2015 19:49:25 +0000 (21:49 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I3a2e3736065603ab00a1a29703c0f391c6531a06
MatthiasDD [Sat, 10 Oct 2015 21:20:51 +0000 (23:20 +0200)]
jquery.tablesorter: use of expand-child class
Rows with class expand-child are now skipped in detectParserForColumn().
This is necessary after change I5180296.
Add a test for expand-child class.
Bug: T114721
Change-Id: I88a01208889fbb461b1f42855ed6494d479440fa
addshore [Tue, 13 Oct 2015 09:56:04 +0000 (10:56 +0100)]
Add recentChangesLine to ChangesList
This method is implemented in all sub classes.
Not having this method here looks odd as
ChangesList::newFromContext returns a ChangesList
and parts of the code base then call recentChangesLine
on that object which may not exist..
In the future we might even have some interface here?
Change-Id: Iad00a956862c078a2bcaf3ef0602abcf3fedb7d2
jenkins-bot [Tue, 13 Oct 2015 18:39:56 +0000 (18:39 +0000)]
Merge "Add missing scope to ChangesListSpecialPage methods"
jenkins-bot [Tue, 13 Oct 2015 18:36:49 +0000 (18:36 +0000)]
Merge "Of course EmailNotification::updateWatchlistTimestamp returns users ids"
addshore [Tue, 13 Oct 2015 16:30:04 +0000 (17:30 +0100)]
Of course EmailNotification::updateWatchlistTimestamp returns users ids
Change-Id: I04b2a8f97527c2bcd3f993b60e4100915b7f4c18
Ricordisamoa [Tue, 13 Oct 2015 16:07:36 +0000 (18:07 +0200)]
Use explicit methods instead of the jQuery constructor's second argument
As recommended by
https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript#Pitfalls:
"As of jQuery 1.4 the jQuery constructor has a new feature
that allows passing an object as second argument, like
jQuery( '<div>', { foo: 'bar', click: function () {}, css: { .. } } );.
Don't use this. It makes code harder to follow, fails on attributes
(such as 'size') that are also methods, and is unstable due to this
mixing of jQuery methods with element attributes. A future jQuery
method or plugin or called "title" might convert an element into a
heading, which means the title attribute can also no longer be set
through this method. Be explicit and call .attr(), .prop(), .on()
etc. directly."
Change-Id: Iaf456b4b76dd4fc260dad0e4c0ec8f2976b59b83
jenkins-bot [Tue, 13 Oct 2015 15:59:38 +0000 (15:59 +0000)]
Merge "mw.ForeignUpload: Provide an edit summary to help track these uploads"
jenkins-bot [Tue, 13 Oct 2015 15:52:22 +0000 (15:52 +0000)]
Merge "mw.ForeignStructuredUpload: Use the right license template for Commons"
Bartosz Dziewoński [Tue, 13 Oct 2015 15:36:49 +0000 (17:36 +0200)]
mw.ForeignUpload: Provide an edit summary to help track these uploads
The summary is "Cross-wiki upload from xx.wikixedia.org". We don't
know the content language of the foreign wiki, so it's not translateable.
Bug: T115328
Change-Id: I4b36cad20ffe318f9a01126a5b9ed70f5d806b57
jenkins-bot [Tue, 13 Oct 2015 15:40:02 +0000 (15:40 +0000)]
Merge "mw.ForeignStructuredUpload: Use '{{own}}' template for 'source' field"
Bartosz Dziewoński [Tue, 13 Oct 2015 15:27:04 +0000 (17:27 +0200)]
mw.ForeignStructuredUpload: Use the right license template for Commons
When uploading locally or to different repo, keep the field empty,
since we don't really know what licenses are appropriate (and we don't
name a specific one in the UI).
Change-Id: I5c8f55653dae42e47ac696d44a7b2082adf6d6f2
jenkins-bot [Tue, 13 Oct 2015 15:30:10 +0000 (15:30 +0000)]
Merge "Caching documentation tweaks and doxygen cleanups"
Bartosz Dziewoński [Tue, 13 Oct 2015 15:17:46 +0000 (17:17 +0200)]
mw.ForeignStructuredUpload: Use '{{own}}' template for 'source' field
Change-Id: Ib939b6c8b0ae3afdb93465721de8de995687b81a
jenkins-bot [Tue, 13 Oct 2015 14:27:04 +0000 (14:27 +0000)]
Merge "OOjs UI: Backport
aadaa8a1,
9aba218a"
jenkins-bot [Tue, 13 Oct 2015 13:59:36 +0000 (13:59 +0000)]
Merge "jquery.tablesorter: Match clobbered iso dates and fix edgecases"
Ori Livneh [Fri, 9 Oct 2015 23:35:08 +0000 (16:35 -0700)]
Add `makeKey` and `makeGlobalKey` to BagOStuff
* Add a string `keyspace` member to BagOStuff instances. The default
implementation, meant for simple key/value stores, treats the key space
as a string prefix to prepend to keys. By default, its value is `local`,
but any instance created via ObjectCache::newFromParams() (or or one of
its callers) will have that default to $wgCachePrefix / wfWikiID().
* Add `makeKey` and `makeGlobalKey` methods to the base BagOStuff class.
These methods are not static to allow for BagOStuff types which require
a configured instance to know the underlying storage engine's key semantics.
* Make wfMemcKey() and wfGlobalCacheKey() delegate to these methods on the main
ObjectCache instance.
Change-Id: Ib7fc2f939be3decfa97f66af8c2431c51039905f
jenkins-bot [Tue, 13 Oct 2015 13:04:02 +0000 (13:04 +0000)]
Merge "Added autopatrol parameter to MarkPatrolled and MarkPatrolledComplete hooks"
Bartosz Dziewoński [Tue, 13 Oct 2015 12:24:36 +0000 (14:24 +0200)]
OOjs UI: Backport
aadaa8a1,
9aba218a
Important tweaks for mw.widgets.CategorySelector, which will rise to
prominence soon when we deploy mw.Upload.BookletLayout in VisualEditor.
Bug: T114945
Bug: T115010
Change-Id: I4236a7c64469faa7476bcab9bd0a0f8497101fe2
jenkins-bot [Tue, 13 Oct 2015 11:39:18 +0000 (11:39 +0000)]
Merge "Update comment about enabled extensions"
haritha28 [Fri, 4 Sep 2015 13:28:43 +0000 (18:58 +0530)]
Update comment about enabled extensions
The comment message given in enabling the extensions
are based on for the earlier versions of mediawiki which
uses the requireonce() and as at present all the versions
since 1.25 uses wfLoadExtensions() the comment message
have been changed accordingly.
Bug: T100940
Change-Id: I915a4893cc2d89624c9d8dd6504d7dc8bf166cd9
jenkins-bot [Tue, 13 Oct 2015 11:21:47 +0000 (11:21 +0000)]
Merge "Clean up zh-tw.json"