Arlo Breault [Fri, 22 Jan 2016 03:24:03 +0000 (19:24 -0800)]
Last caption wins in gallery
* Currently, for images:
[[File:Foobar.jpg|hi|alt=100|ho]]
caption: ho
but for galleries:
<gallery>
File:Foobar.jpg|hi|alt=100|ho
</gallery>
caption: hi|ho
* This patch brings some consistency to them.
Change-Id: I3b73189b27cc35fade4809477cf18779b953aa3b
jenkins-bot [Fri, 22 Jan 2016 01:52:57 +0000 (01:52 +0000)]
Merge "UploadFromStash: Only remove stashed file on successful uploads"
Bartosz Dziewoński [Thu, 21 Jan 2016 22:56:16 +0000 (23:56 +0100)]
UploadFromStash: Only remove stashed file on successful uploads
Also, makes code shorter!
Change-Id: I144d8a207c753bd9e38ac847a0fc61257f11e54d
Matthew Flaschen [Thu, 5 Nov 2015 16:13:17 +0000 (11:13 -0500)]
Fix comment; these are the least signifincant bits (LSBs), not MSBs
Change-Id: I0102e4969d95c6392a48d4a5b2f2bec096a828a5
Max Semenik [Thu, 21 Jan 2016 21:45:12 +0000 (21:45 +0000)]
Merge "Register a couple of test classes in autoloader"
jenkins-bot [Thu, 21 Jan 2016 20:48:18 +0000 (20:48 +0000)]
Merge "SessionManager: Notify AuthPlugin when auto-creating accounts"
Max Semenik [Thu, 21 Jan 2016 20:46:26 +0000 (12:46 -0800)]
Register a couple of test classes in autoloader
Bug: T59557
Change-Id: I98e00a321d8fecc4b13bbc84938f849b781209c9
Translation updater bot [Thu, 21 Jan 2016 20:40:18 +0000 (21:40 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I956981e2c3308a17770fe78d532f83dd72427e78
Brad Jorsch [Thu, 21 Jan 2016 20:20:44 +0000 (15:20 -0500)]
SessionManager: Notify AuthPlugin when auto-creating accounts
Bug: T74791
Change-Id: Iabb44d58a922051ca2d70a052d6c53734a4f8936
jenkins-bot [Thu, 21 Jan 2016 20:15:03 +0000 (20:15 +0000)]
Merge "Add checks of $wgEnableBotPasswords in more places"
Brad Jorsch [Thu, 21 Jan 2016 20:06:02 +0000 (15:06 -0500)]
Add checks of $wgEnableBotPasswords in more places
Bug: T124335
Change-Id: I3c13e7c7b84d5b72437f9ebdba35aad29b403b9c
jenkins-bot [Thu, 21 Jan 2016 19:08:52 +0000 (19:08 +0000)]
Merge "Properly escape \n and \r in IRCColourfulRCFeedFormatter"
jenkins-bot [Thu, 21 Jan 2016 17:39:57 +0000 (17:39 +0000)]
Merge "API: Add support for documenting dynamic parameters"
Brad Jorsch [Fri, 15 Jan 2016 21:38:31 +0000 (16:38 -0500)]
API: Add support for documenting dynamic parameters
This will be used by AuthManager's API modules to document the fact that
AuthenticationRequest fields are accepted by the module, and to inform
the user reading the documentation how to determine what those are at
any particular time.
Change-Id: Ic7351de0f9bd239db17d584196e52a77112ed978
jenkins-bot [Thu, 21 Jan 2016 15:12:18 +0000 (15:12 +0000)]
Merge "Do not raise a PHP warning when session write fails"
Gergő Tisza [Thu, 21 Jan 2016 12:24:43 +0000 (04:24 -0800)]
Do not raise a PHP warning when session write fails
Bug: T124126
Change-Id: I3482d8dba4a4d9fe92a39439df41c0e70bfef35d
Anomie [Tue, 22 Dec 2015 16:59:19 +0000 (16:59 +0000)]
Revert "Revert "API: Add a unit test to check all modules' i18n""
This reverts commit
7076a79e8649ad0478bd4bce4743f2919c5f3c69.
Change-Id: I21a606a810cecf2cf13a893dd92c15e5e026e2dc
Depends-On: Ieb790c466847dc06c9a73334ad020ab2c54b2976
Depends-On: I727458c5bf54cebd4bf684fc3f3c5ea31c1ebeeb
Tim Starling [Thu, 21 Jan 2016 05:35:59 +0000 (16:35 +1100)]
Improve wfTempDir() fallback sequence
Validate the return value of sys_get_temp_dir(), and use upload_tmp_dir
if that is not writable. If nothing is writable, throw an exception.
Bug: T119934
Change-Id: I27d784f55c47277bbab1192853e2e04a9d8bd39a
Kevin Israel [Fri, 20 Nov 2015 03:13:17 +0000 (22:13 -0500)]
updateCollation.php: Switch back to using cl_from index for now
Using the cl_sortkey index instead (to reduce disruption to a live
site), as currently implemented, seems to have two serious problems:
* MySQL / MariaDB filesorts all rows that "sort above the given row
[the last row of the previous batch]", not just a single category
at a time until the row limit is reached.
* The current approach to pagination is broken in that it does not
work with ENUM columns such as cl_type, causing 'file' rows to be
skipped, or rows of any type to be repeated. See T119173.
This reverts part of commit
a43f751cf6b6849e.
Bug: T58041
Change-Id: I619564e85b2122f249bdacc45d547b9ce1b3beb5
jenkins-bot [Thu, 21 Jan 2016 04:38:07 +0000 (04:38 +0000)]
Merge "In refreshLinks.php don't clear tag hooks"
Bartosz Dziewoński [Tue, 24 Nov 2015 21:55:24 +0000 (22:55 +0100)]
Preprocessor: Don't allow unclosed extension tags (matching until end of input)
I think it's saner to treat this as invalid syntax, and output the
mismatched tag code verbatim. The current behavior is particularly
annoying for <ref> tags, which often swallow everything afterwards.
This does not affect HTML tags, though. Assuming Tidy is enabled, they
are still auto-closed at the end of the page content.
Related to T17712 and T58306. I think this brings the PHP parser closer
to Parsoid's interpretation.
It reduces performance somewhat in the worst case, though. Testing with
https://phabricator.wikimedia.org/
F3245989 (a 1 MB page starting with
3000 opening tags of 15 different types), parsing time rises from
~0.2 seconds to ~1.1 seconds on my setup. We go from O(N) to O(kN),
where N is bytes of input and k is the number of types of tags present
on the page. Maximum k shouldn't exceed 30 or so in reasonable setups
(depends on installed extensions, it's 20 on English Wikipedia).
To consider:
* Should we keep previous behavior for unclosed <includeonly> /
<noinclude>? This would be particularly disruptive for these if
someone relied on the old behavior, and they're already
special-cased in places.
* Unclosed <pre> tags are now treated as HTML tags, and are still
displayed as preformatted text, but without suppressing wikitext
formatting.
Change-Id: Ia2f24dbfb3567c4b0778761585e6c0303d11ddd0
Alex Monk [Thu, 21 Jan 2016 00:36:11 +0000 (00:36 +0000)]
Allow UserInputWidget on mobile
Change-Id: I87699a93ca1b34c6d248456fcc060f584623d158
jenkins-bot [Thu, 21 Jan 2016 00:13:35 +0000 (00:13 +0000)]
Merge "HTMLForm: Don't limit width to 50em in OOUI mode"
jenkins-bot [Wed, 20 Jan 2016 22:08:07 +0000 (22:08 +0000)]
Merge "HTMLFormField: Use 'align' => 'top' when wrapping legacy stuff in OOUI FieldLayout"
jenkins-bot [Wed, 20 Jan 2016 22:07:58 +0000 (22:07 +0000)]
Merge "resourceloader: Change getLessCompiler() to not be static"
jenkins-bot [Wed, 20 Jan 2016 22:03:08 +0000 (22:03 +0000)]
Merge "SessionManager: Change behavior of getSessionById()"
jenkins-bot [Wed, 20 Jan 2016 21:43:25 +0000 (21:43 +0000)]
Merge "Only check LoggedOut timestamp on the user loaded from session"
Translation updater bot [Wed, 20 Jan 2016 19:44:42 +0000 (19:44 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Wed, 20 Jan 2016 19:38:57 +0000 (19:38 +0000)]
Merge "mw.widgets.CategorySelector: Don't lose namespace-like prefixes from category names"
jenkins-bot [Wed, 20 Jan 2016 19:38:46 +0000 (19:38 +0000)]
Merge "mw.Title: Implement #makeTitle for titles with predefined namespace"
Translation updater bot [Wed, 20 Jan 2016 19:35:40 +0000 (20:35 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I969ad7d6c565bfb99b1ba059a05288a43f7b34e6
jenkins-bot [Wed, 20 Jan 2016 18:45:52 +0000 (18:45 +0000)]
Merge "SpecialMovepage: Use 'warningbox'/'errorbox' for warnings/errors"
Brad Jorsch [Wed, 20 Jan 2016 18:26:44 +0000 (13:26 -0500)]
Only check LoggedOut timestamp on the user loaded from session
This avoids infinite loops when trying to load other User objects, and
should still preserve the intent of the timestamp (that being as an
invalidation date for client-side caching).
Bug: T124143
Change-Id: Ie304cc3839fdc36a1cb2895e26f7700f4b725159
Brad Jorsch [Wed, 20 Jan 2016 17:40:04 +0000 (12:40 -0500)]
SessionManager: Change behavior of getSessionById()
It's easily possible for SessionManager::getSessionById() to not be
able to load the specified session and to not be able to create an empty
one by that ID, for example if the user's token changed. So change this
from an exceptional condition to an expected one, and adjust callers to
deal with it appropriately.
Let's also make the checks for invalid data structure when loading the
session from the store delete the bogus data entirely.
At the same time, let's change the silly "$noEmpty" parameter to
"$create" and make the default behavior be not to create an empty
session.
Bug: T124126
Change-Id: I085d2026d1b366b1af9fd0e8ca3d815fd8288030
Ryan Schmidt [Wed, 20 Jan 2016 17:06:45 +0000 (11:06 -0600)]
Properly escape \n and \r in IRCColourfulRCFeedFormatter
Right now it is possible to emit a raw \n or \r to the UDP feed by
encoding it as an HTML entity, e.g. This could be used for
arbitrary IRC command execution in bots which do not subsequently
perform their own escaping. This commit changes it so that entities are
decoded first before \n and \r are stripped.
Change-Id: I3f7005abded3fbafb586754d763a00a4018f0954
jenkins-bot [Wed, 20 Jan 2016 15:00:26 +0000 (15:00 +0000)]
Merge "Make redlink tooltip be content language to stop cache pollution."
Bartosz Dziewoński [Tue, 22 Dec 2015 18:01:12 +0000 (19:01 +0100)]
mw.widgets.CategorySelector: Don't lose namespace-like prefixes from category names
Also, handle queries which return non-category results.
Bug: T122221
Change-Id: I205d2fe52a10bd3adcf0235108005dd96811ae65
Bartosz Dziewoński [Tue, 22 Dec 2015 17:56:07 +0000 (18:56 +0100)]
mw.Title: Implement #makeTitle for titles with predefined namespace
Unlike #newFromText or the constructor, this function doesn't allow
the given `namespace` to be overridden by a namespace prefix in
`title`.
Name was chosen to match the PHP function Title::makeTitle().
(There's no need for a #makeTitleSafe variant, because #makeTitle is
already "safe" and checks title validity.)
Change-Id: Ib78dbcb0910bf1458b842b4d9ece6d204761b202
Bartosz Dziewoński [Fri, 27 Nov 2015 02:13:38 +0000 (03:13 +0100)]
SpecialMovepage: Use 'warningbox'/'errorbox' for warnings/errors
Matches the new form styling better.
Also, remove headings in warning messages. Yeah, I don't know
what was up with that, either.
Change-Id: I84ce4d32c50f91cd64d4a1502e33b4cdbadfc5f3
Reedy [Tue, 19 Jan 2016 20:10:16 +0000 (20:10 +0000)]
Make ChangesListSpecialPage::getLegend non static
Change-Id: I1044c0f019daf27c5ce83d6c1363aaab499115bc
jenkins-bot [Wed, 20 Jan 2016 00:49:38 +0000 (00:49 +0000)]
Merge "Define doesWrites() for SpecialPageAction"
jenkins-bot [Wed, 20 Jan 2016 00:37:06 +0000 (00:37 +0000)]
Merge "Small code cleanups to MWCallableUpdate"
Aaron Schulz [Wed, 23 Dec 2015 20:19:13 +0000 (12:19 -0800)]
Cleanups and IDEA error fixes to initializeArticle()
Avoid using magic Article methods (use WikiPage instead).
Change-Id: I4057f78f3cde2185a6301a3444367196641a8e26
jenkins-bot [Wed, 20 Jan 2016 00:16:05 +0000 (00:16 +0000)]
Merge "Prevent revisions with rev_page = 0 from being inserted into the DB"
jenkins-bot [Wed, 20 Jan 2016 00:10:39 +0000 (00:10 +0000)]
Merge "Deprecate wfWaitForSlaves() with LBFactory::waitForReplication()"
This, that and the other [Tue, 19 Jan 2016 23:30:32 +0000 (10:30 +1100)]
Prevent revisions with rev_page = 0 from being inserted into the DB
There's no good reason to ever do this, or to write code that lets it
happen. The revisions are just going to sit around in the DB, not
connected to anything (except maybe in some page's page_latest field,
if you're lucky). Any operations that do this should fail fast instead
of spamming the DB and appearing to "succeed".
Bug: T18674
Change-Id: I8219153a09adb1c556d0159a4fb0799895370a94
Brian Wolff [Sun, 13 Dec 2015 08:42:00 +0000 (03:42 -0500)]
Make redlink tooltip be content language to stop cache pollution.
Redlink tooltips end up in parser cache!
This is not ideal, as ideally it would be in the page's language,
not the content language and it would be user language for things
outside of pages, but that's not easy to do the way the code is
structured, and this is much better than the alternative.
Other possibilities include:
* Splitting parser cache (Previously been reverted, and doesn't
seem worth it given the feature in question)
* Post-processing step after parsing (Really complicated. Doesn't
seem worth it)
Bug: T34686
Change-Id: Id632f8ef59d1c762aed1867a708c569cbff5f0dd
Translation updater bot [Tue, 19 Jan 2016 20:01:14 +0000 (21:01 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Iea3943a25e97adc4e7d2a6a38bf47f3d2b711439
jenkins-bot [Tue, 19 Jan 2016 19:21:24 +0000 (19:21 +0000)]
Merge "Update README from mediawiki.org upstream"
Reedy [Sun, 10 Jan 2016 14:07:52 +0000 (14:07 +0000)]
Update README from mediawiki.org upstream
https://www.mediawiki.org/w/index.php?title=README&oldid=
1311557
Change-Id: I20f2345060b04bff37fae1390c07a81d31b30989
jenkins-bot [Tue, 19 Jan 2016 18:03:41 +0000 (18:03 +0000)]
Merge "Revert API part of "Add page_props table access class""
jenkins-bot [Tue, 19 Jan 2016 17:59:01 +0000 (17:59 +0000)]
Merge "Add Special:Randomrootpage (from RandomRootPage extension)"
Anomie [Tue, 19 Jan 2016 17:49:01 +0000 (17:49 +0000)]
Revert API part of "Add page_props table access class"
This partially reverts commit
e48030a7aebb47eeb702d351716ba8304308b02f.
Change-Id: I31869acdaed8c2f5acfd9780887fbd3ab175bbe9
Tim Starling [Tue, 19 Jan 2016 06:09:42 +0000 (17:09 +1100)]
In refreshLinks.php don't clear tag hooks
It made perfect sense when I introduced this line in June 2005, but now
that we have <ref> etc., we need to use the normal parser configuration.
Change-Id: I5a32e4e38badff85fe6d7d63c3fa158dc6fd5336
jenkins-bot [Tue, 19 Jan 2016 02:43:06 +0000 (02:43 +0000)]
Merge "Fix access to invalid symbol in Special:Userrights"
Luke Faraone [Tue, 19 Jan 2016 02:07:27 +0000 (02:07 +0000)]
Fix access to invalid symbol in Special:Userrights
Change-Id: Ibfc9f4f5e3b24dc3945e00dcfaecf5fdb4078acb
Luke Faraone [Tue, 19 Jan 2016 01:14:36 +0000 (01:14 +0000)]
Add self to CREDITS.
Change-Id: Ic2ed629412a57bd9766397eebdb2e3e81b6501ba
Tim Hollmann [Fri, 15 Jan 2016 23:17:05 +0000 (00:17 +0100)]
Add Special:Randomrootpage (from RandomRootPage extension)
Imported RandomRootPage extension as SpecialRandomrootpage, including
its aliases and localization messages.
Bug: T109809
Change-Id: I7252ae9f4a8f1822b023cc4f0d3a732af48d84d3
Translation updater bot [Mon, 18 Jan 2016 20:15:59 +0000 (21:15 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I7655f1c8a8cc88f08eaccd874902a162aa554c8f
jenkins-bot [Mon, 18 Jan 2016 18:45:12 +0000 (18:45 +0000)]
Merge "mw.feedback: Make the title required"
James D. Forrester [Mon, 18 Jan 2016 17:22:29 +0000 (09:22 -0800)]
mw.feedback: Make the title required
Bug: T122414
Change-Id: I191dfa203ce1c76a17fbf10e5df65ee754b77164
IoannisKydonis [Mon, 18 Jan 2016 16:36:38 +0000 (18:36 +0200)]
Remove Deprecated methods from ParserOutput.php
Remove ParserOutput::getSecondaryDataUpdates and
ParserOutput::addSecondaryDataUpdate
Deprecated since 1.25, slated for removal in 1.26 but not done.
Change-Id: Id5e41003fe47b55f493f636c69c9b31932cde9b8
jenkins-bot [Mon, 18 Jan 2016 16:55:58 +0000 (16:55 +0000)]
Merge "HTMLForm: With nested FieldLayouts(!) don't provide an extra bottom margin"
Bartosz Dziewoński [Mon, 18 Jan 2016 16:48:33 +0000 (17:48 +0100)]
HTMLFormField: Use 'align' => 'top' when wrapping legacy stuff in OOUI FieldLayout
Otherwise, it defaults to 'left', which limits the width of the field
to 60%, which is silly.
Change-Id: I89e64e03cf9bd48a02ce5eebb7f329407916d79b
James D. Forrester [Mon, 18 Jan 2016 16:22:55 +0000 (08:22 -0800)]
HTMLForm: With nested FieldLayouts(!) don't provide an extra bottom margin
Change-Id: Ib5acea294d7c1863cd34194663c86db89646ecf6
James D. Forrester [Mon, 18 Jan 2016 16:11:37 +0000 (08:11 -0800)]
HTMLForm: Don't limit width to 50em in OOUI mode
Change-Id: I5f6e825ec76ea8cc86b010ce10839aebc493d7ef
Fomafix [Mon, 18 Jan 2016 15:30:48 +0000 (15:30 +0000)]
SpecialListgrouprights: Escape namespace text
This also escapes the message 'blanknamespace'.
Change-Id: I821b8c191c92a757a0349c9def49c7506f68e70e
jenkins-bot [Mon, 18 Jan 2016 07:31:39 +0000 (07:31 +0000)]
Merge "Add links to toggle checkbox selections in Special:Log"
Luke Faraone [Thu, 7 Jan 2016 17:18:35 +0000 (17:18 +0000)]
Add links to toggle checkbox selections in Special:Log
This implements a new JavaScript module, mediawiki.checkboxtoggle.
The module is suitable to be reused in any other list of checkboxes.
Bug: T92230
Change-Id: I92141a7079fc7fcd7152ef418d82f4f7969b163b
jenkins-bot [Mon, 18 Jan 2016 00:56:26 +0000 (00:56 +0000)]
Merge "ChangeTags: Teach updateTags() to derive log_id from rev_id (and the other way)"
jenkins-bot [Mon, 18 Jan 2016 00:56:22 +0000 (00:56 +0000)]
Merge "Validate that $wgVariantArticlePath is absolute, too"
jenkins-bot [Mon, 18 Jan 2016 00:49:24 +0000 (00:49 +0000)]
Merge "mediawiki.mixins.rotation: Remove unnecessary @-o-keyframes"
Bartosz Dziewoński [Mon, 18 Jan 2016 00:31:07 +0000 (01:31 +0100)]
mediawiki.mixins: Correct browser support comments about Opera
Change-Id: I2735e102d2390e38e1de36a01507aceced06cf0e
Bartosz Dziewoński [Sun, 17 Jan 2016 22:24:10 +0000 (23:24 +0100)]
mediawiki.mixins.rotation: Remove unnecessary @-o-keyframes
Opera 12, which this is meant for, understands unprefixed @keyframes.
Change-Id: Idc6c96dc343781fa894f5117869f7392c5a4aa7e
Aaron Schulz [Wed, 13 Jan 2016 17:31:39 +0000 (09:31 -0800)]
Add more preOutputCommit() comments
Change-Id: Ia0b4c37b391b8e5e77397d21458f9638b49ebf71
Translation updater bot [Sun, 17 Jan 2016 21:17:24 +0000 (22:17 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I11ce995617c6dd55ff4aa272dd2b1953c7baf273
Fomafix [Sun, 17 Jan 2016 20:46:50 +0000 (20:46 +0000)]
SpecialAllMessages: Remove unsupported parameter
Sanitizer::escapeHtmlAllowEntities does not have a second parameter.
Change-Id: I6395fe3f31f8ce6321383330fff5b6e011fef90e
jenkins-bot [Sun, 17 Jan 2016 20:06:49 +0000 (20:06 +0000)]
Merge "Fix caption-side for tables inside figcaptions"
jenkins-bot [Sun, 17 Jan 2016 17:37:10 +0000 (17:37 +0000)]
Merge "Set defaultValue property on tz box in Special:Preferences to fix change check"
Ed Sanders [Sun, 17 Jan 2016 17:23:42 +0000 (17:23 +0000)]
Fix caption-side for tables inside figcaptions
Bug: T75435
Change-Id: I7626f55872dc70cdb793352386d4a7d93b02b829
jenkins-bot [Sun, 17 Jan 2016 14:40:12 +0000 (14:40 +0000)]
Merge "SpecialMergeHistory: HTML escape link text"
Fomafix [Sun, 17 Jan 2016 13:42:11 +0000 (13:42 +0000)]
SpecialMergeHistory: HTML escape link text
Linker::link expects HTML as second parameter. Text must HTML encoded.
The value null automatically use the escaped getPrefixedText() value.
Change-Id: Idb2a31ec8db92d930415a4964e955bdf1653b0de
Fomafix [Sun, 17 Jan 2016 10:56:00 +0000 (10:56 +0000)]
SpecialVersion: Escape message 'version-ext-license'
Change-Id: I27fb766accba40d04a26a249f87b2f0c4cdf4ff7
PranavK [Wed, 13 Jan 2016 16:05:47 +0000 (21:35 +0530)]
Make Special:Redirect page redirect to log events by ID
Bug: T71107
Change-Id: I48bc6ae31e9f841f1cfeed6167c0c13c58e53f4a
IoannisKydonis [Sun, 17 Jan 2016 10:28:39 +0000 (12:28 +0200)]
Remove ParserOutput::hasCustomDataUpdates()
Deprecated since 1.25, slated for removal in 1.26 but not done.
Change-Id: Ia198c3b5a55c794cfdd8a5e93521aff85468ff88
aude [Sun, 17 Jan 2016 00:18:10 +0000 (19:18 -0500)]
Fix typo SpecialVersion::getCreditsForExtension comments
Change-Id: I069bb79e18d0c2ffc41a96d0ef71b1d90aee0b75
Geoffrey Mon [Sun, 17 Jan 2016 01:16:06 +0000 (20:16 -0500)]
Set defaultValue property on tz box in Special:Preferences to fix change check
It is set client side on load, which causes changed preferences check to go off.
Bug: T122702
Change-Id: I030fd14a893373af879a51b90322dce1faa692ba
Translation updater bot [Sat, 16 Jan 2016 20:41:41 +0000 (21:41 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ica795c8990e377277d705bcfd58f1f806b91e127
Fomafix [Sun, 10 Jan 2016 20:19:34 +0000 (20:19 +0000)]
Title.php: Avoid wfGetLangObj for Language objects
getPageLanguage() from ContentHandler already returns a Language object.
wfGetLangObj is not necessary.
Change-Id: I556236419e445ce549598dd1752b29f619b0ca3c
PranavK [Mon, 4 Jan 2016 00:38:14 +0000 (06:08 +0530)]
Add GENDER support to some MediaWiki core messages
https://translatewiki.net/wiki/MediaWiki:Confirmrecreate/en
https://translatewiki.net/wiki/MediaWiki:Confirmrecreate-noreason/en
https://translatewiki.net/wiki/MediaWiki:Saveusergroups/en
https://translatewiki.net/wiki/MediaWiki:Editusergroup/en
Change-Id: Ieec383e77aa245fd0db12ea714a27540853c5054
jenkins-bot [Sat, 16 Jan 2016 13:15:04 +0000 (13:15 +0000)]
Merge "Special:Import: Select first subproject if first project was empty"
georggi [Sat, 16 Jan 2016 13:00:39 +0000 (15:00 +0200)]
Special:Import: Select first subproject if first project was empty
Previously, the first subproject in alphabetical order would be
selected the first time the subproject dropdown was shown. Now,
the first subproject in the list is selected, making it easier
for common selections to be placed at the top of the list.
Change-Id: Id6b9c6076630e4dad70ebe0f1185a59015b9a01f
jenkins-bot [Sat, 16 Jan 2016 11:23:53 +0000 (11:23 +0000)]
Merge "Hooks: Added ImportLogInterwikiLink hook"
georggi [Sat, 16 Jan 2016 10:32:12 +0000 (12:32 +0200)]
Hooks: Added ImportLogInterwikiLink hook
ImportLogInterwikiLink. Hook to change the interwiki link used in log entries and edit summaries for transwiki imports.
Change-Id: I03e054de16d8820c0f3d2c165288e229960d6bb1
jenkins-bot [Sat, 16 Jan 2016 04:49:40 +0000 (04:49 +0000)]
Merge "API: Work around PHP bug 45959"
Brad Jorsch [Sat, 16 Jan 2016 03:26:00 +0000 (22:26 -0500)]
Add some new rights to grants
* Give changetags and applychangetags to anyone granted the ability to edit
* Give move-categorypages along with the other move-related rights
Change-Id: Ic246c5699a21d56d2050669e7b2c89136894b805
jenkins-bot [Sat, 16 Jan 2016 01:02:09 +0000 (01:02 +0000)]
Merge "More complete, more straightforward JobQueueMemoryTest"
jenkins-bot [Sat, 16 Jan 2016 00:54:45 +0000 (00:54 +0000)]
Merge "Fix mistakes in JobQueue type documentations"
Thiemo Mättig [Fri, 15 Jan 2016 09:31:07 +0000 (10:31 +0100)]
Fix mistakes in JobQueue type documentations
The missing "bool" should be obvious.
I'm also changing type hints from the implementation to the interface.
All public methods from the JobSpecification class are also in the
interface, except for two: toSerializableArray and newFromArray.
These two are not used here.
Change-Id: I36867cdfdf012a4f3233ac4730ab46dac1edc0ab
jenkins-bot [Sat, 16 Jan 2016 00:28:53 +0000 (00:28 +0000)]
Merge "Remove IE8 support from mediawiki.inspect.js"