Bartosz Dziewoński [Sun, 8 Nov 2015 15:21:58 +0000 (16:21 +0100)]
Implement HTMLComboboxField
It's a dropdown select with the ability to add custom options, or a
text field with input suggestions, whichever you prefer.
This is meant to be a replacement for HTMLSelectOrOtherField and
HTMLAutoCompleteSelectField.
In regular HTML mode, it uses HTML5 `<datalist>` element with no
custom JavaScript. This is supported by a wide range of browsers
(IE 10+, modern Firefox and Chrome, Opera 12+).
In OOUI mode, it uses a ComboBoxInputWidget.
Depends on: I14b40884f185fb4e5
Bug: T118119
Change-Id: I954d3d24ed4efe90be9596a1bd9586ba3aee1e23
jenkins-bot [Thu, 12 Nov 2015 02:46:03 +0000 (02:46 +0000)]
Merge "Followup
a88df43d: make $wgDebugDumpSql log commented queries again"
Roan Kattouw [Thu, 12 Nov 2015 02:17:23 +0000 (18:17 -0800)]
Followup
a88df43d: make $wgDebugDumpSql log commented queries again
Change-Id: I0c10b2119f03fa047dbb2bad1c4c1233403bff59
jenkins-bot [Thu, 12 Nov 2015 00:52:59 +0000 (00:52 +0000)]
Merge "Remove spammy wfDebug() from LocalFile::loadFromCache()"
Timo Tijhof [Thu, 12 Nov 2015 00:24:38 +0000 (00:24 +0000)]
resourceloader: Remove deprecated MessageBlobStore::getInstance()
Deprecated since MediaWiki 1.25.
Not used anywhere in public Wikimedia Git.
Change-Id: Iaa31d0e83b95fb033c62430bc3fc4dd66af16906
jenkins-bot [Wed, 11 Nov 2015 23:17:19 +0000 (23:17 +0000)]
Merge "startup.test: Add IE11 and Edge strings to Grade A tests"
James D. Forrester [Wed, 11 Nov 2015 16:48:05 +0000 (08:48 -0800)]
startup.test: Add IE11 and Edge strings to Grade A tests
Change-Id: Ia4fa69c1abfb8381913885aada0784a04c22aa7c
jenkins-bot [Wed, 11 Nov 2015 22:46:25 +0000 (22:46 +0000)]
Merge "Really validate that $wgArticlePath starts with a slash"
jenkins-bot [Wed, 11 Nov 2015 22:24:08 +0000 (22:24 +0000)]
Merge "Cleaner Special:Watchlist options form"
jenkins-bot [Wed, 11 Nov 2015 22:09:58 +0000 (22:09 +0000)]
Merge "Allow undo via ApiEditPage for all content models"
Bartosz Dziewoński [Wed, 11 Nov 2015 22:00:31 +0000 (23:00 +0100)]
Really validate that $wgArticlePath starts with a slash
The regular expression wasn't entirely correct.
Follow-up to
a4a3d0454069c25a24e2bfe732a665cc6a865878.
Bug: T48998
Change-Id: I08bdf2db20c1c3de55527fc812bcbb55fa23f7bc
Aaron Schulz [Wed, 11 Nov 2015 21:36:53 +0000 (13:36 -0800)]
Remove spammy wfDebug() from LocalFile::loadFromCache()
Change-Id: I36ad31f197ec8f71c97e6a8673ac5ca979f8d9ab
Translation updater bot [Wed, 11 Nov 2015 20:34:04 +0000 (21:34 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I197a422a9cd705e75853fbbbd6da01714a3e22f1
aude [Thu, 13 Aug 2015 20:34:45 +0000 (22:34 +0200)]
Allow undo via ApiEditPage for all content models
It might be even nicer to separate undo into action=undo,
but for now undo is done via ApiEditPage and should be
allowed for all content models.
Bug: T101694
Change-Id: I833bcc20d86fa5bf216dc9444e2b8a16ddd45f66
jenkins-bot [Wed, 11 Nov 2015 19:01:33 +0000 (19:01 +0000)]
Merge "Update OOjs to v1.1.10"
James D. Forrester [Wed, 11 Nov 2015 17:02:06 +0000 (09:02 -0800)]
Update OOjs to v1.1.10
Release notes:
https://git.wikimedia.org/blob/oojs%2Fcore.git/v1.1.10/History.md
Change-Id: Id19682f59690aafc70fa05c6febf32b1206090c2
jenkins-bot [Wed, 11 Nov 2015 17:11:22 +0000 (17:11 +0000)]
Merge "Make TitleInputWidget configurable, if term should be highlighted or not"
jenkins-bot [Wed, 11 Nov 2015 16:43:03 +0000 (16:43 +0000)]
Merge "mw.loader: Use requestIdleCallback to update module store"
jenkins-bot [Wed, 11 Nov 2015 16:16:38 +0000 (16:16 +0000)]
Merge "Add flexbox mixins to mediawiki.mixins"
jenkins-bot [Wed, 11 Nov 2015 15:20:31 +0000 (15:20 +0000)]
Merge "Language: Convert names cache from MapCacheLRU to HashBagOStuff"
jenkins-bot [Wed, 11 Nov 2015 15:16:28 +0000 (15:16 +0000)]
Merge "Title: Convert cache from MapCacheLRU to HashBagOStuff"
Timo Tijhof [Wed, 11 Nov 2015 00:14:30 +0000 (00:14 +0000)]
mediawiki.Uri: Remove redundant jshint overrides for latedef
These aren't being violated. They were either left-over from
refactoring or added to work around bugs in JSHint that have
been fixed since.
Change-Id: I3ac4a6e97b6294f392ae9ec2474eab448b044a13
jenkins-bot [Wed, 11 Nov 2015 03:46:39 +0000 (03:46 +0000)]
Merge "build: Enable all remaining jsduck jsDoc rules except two"
jenkins-bot [Wed, 11 Nov 2015 02:18:35 +0000 (02:18 +0000)]
Merge "TitleSearchWidget: Only update results if the query is current"
jenkins-bot [Wed, 11 Nov 2015 01:41:57 +0000 (01:41 +0000)]
Merge "UserMailer: Use PHP_EOL instead of DIY"
David Lynch [Tue, 10 Nov 2015 23:59:27 +0000 (15:59 -0800)]
TitleSearchWidget: Only update results if the query is current
With near-simultaneous inputs (e.g. holding down the backspace key
while deleting text) you can cause the suggestion promise to resolve
out-of-order. This causes apparently incorrect suggestions to be
displayed for the current input.
To fix this, abort the existing promise if it exists.
Bug: T114178
Change-Id: I9332452fd914b54e7c564284da2a8a00865ae806
Chad Horohoe [Wed, 11 Nov 2015 01:28:32 +0000 (17:28 -0800)]
UserMailer: Use PHP_EOL instead of DIY
Also fixes arrayToHeaderString() to be correct when called without
the $endl parameter
Change-Id: I8b9f72500f9a055f9f2e1cfcbb276d565674f1b8
Isarra [Tue, 27 Oct 2015 02:54:45 +0000 (02:54 +0000)]
Add flexbox mixins to mediawiki.mixins
Includes some fallback support for 2009 (old firefox and some mobile
browsers) and 2012 (IE10) specs.
Change-Id: I0c6fca82b778a28930bf83fd43a3059858fe9243
jenkins-bot [Wed, 11 Nov 2015 00:33:49 +0000 (00:33 +0000)]
Merge "Avoid using !important and hide the nolabel instead"
jenkins-bot [Wed, 11 Nov 2015 00:11:42 +0000 (00:11 +0000)]
Merge "Update OOjs UI to v0.13.2"
jenkins-bot [Tue, 10 Nov 2015 23:49:30 +0000 (23:49 +0000)]
Merge "Make runOnTransactionIdleCallbacks() handle dangling transactions"
James D. Forrester [Tue, 10 Nov 2015 23:44:04 +0000 (15:44 -0800)]
Update OOjs UI to v0.13.2
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.13.2/History.md
Change-Id: I0626d91d4b93e1d680579f1e6a02555c6050127f
jenkins-bot [Tue, 10 Nov 2015 23:21:19 +0000 (23:21 +0000)]
Merge "Validates wgArticlePath does start with slash (/)."
JuneHyeon Bae [Sat, 24 May 2014 10:48:02 +0000 (19:48 +0900)]
Validates wgArticlePath does start with slash (/).
When relative URL used in $wgArticlePath, and $wgArticlePath does not
start with slash (/), raise FatalError.
Bug: T48998
Change-Id: Ic7cd6f774cff97081f4f35af351161170b4b26eb
jenkins-bot [Tue, 10 Nov 2015 22:50:55 +0000 (22:50 +0000)]
Merge "Avoid doNotifyQueueEmpty() race conditions for Redis"
Aaron Schulz [Tue, 10 Nov 2015 22:34:24 +0000 (14:34 -0800)]
Avoid doNotifyQueueEmpty() race conditions for Redis
Previously, races could cause queues to be seen as empty
and ignored when they actually have jobs in them.
Change-Id: I6cdf5c1fbd33c9ed7982e5d2d494974b1d7e09fd
Timo Tijhof [Tue, 10 Nov 2015 22:09:21 +0000 (22:09 +0000)]
mw.loader: Use requestIdleCallback to update module store
.. instead of setTimeout.
Also adapt the code accordingly since it is no longer needed to
cancel and re-schedule an update every time update() is called.
This is already handled by requestIdleCallback.
We can let the already-scheduled callback survive. The data
that will be saved is serialised during the flush anyway,
not when scheduling.
Change-Id: Iea48919b4baba7647040b6ed9ff4b6d0d387b962
Florian [Fri, 6 Nov 2015 17:17:29 +0000 (18:17 +0100)]
Make TitleInputWidget configurable, if term should be highlighted or not
Depends on: I36502da43c383373
Bug: T106273
Change-Id: I393eef9cd20bdf80e4db72891f23de08bcdfd376
Translation updater bot [Tue, 10 Nov 2015 21:20:04 +0000 (22:20 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ic027cac2ca0839cbb6083078c5a90eabee280510
jenkins-bot [Tue, 10 Nov 2015 21:15:53 +0000 (21:15 +0000)]
Merge "Migrate feeds from $messageMemc to the WAN cache"
jenkins-bot [Tue, 10 Nov 2015 21:02:46 +0000 (21:02 +0000)]
Merge "Various JobQueue test tweaks"
Derk-Jan Hartman [Tue, 10 Nov 2015 20:48:25 +0000 (21:48 +0100)]
Avoid using !important and hide the nolabel instead
Instead of playing catchup with width settings, let's simply hide the
table cells with nolabel. This seems closer to the original intent,
and it works with at least IE8 as well, so why not.
It does effectively move every element without a label 1em (padding) +
1px to the left in your preferences. This will likely be noticeable by
endusers.
Follow-up to: I24d9b16ed672
Change-Id: I92083687ef8a9a6e5fc9c822f9449a1aa7ed7ea1
jenkins-bot [Tue, 10 Nov 2015 20:46:52 +0000 (20:46 +0000)]
Merge "Make getLaggedSlaveMode() use reuseConnection() as needed"
jenkins-bot [Tue, 10 Nov 2015 20:30:21 +0000 (20:30 +0000)]
Merge "resourceloader: Log if MessageBlobStore failed to fetch a message"
Aaron Schulz [Tue, 10 Nov 2015 20:18:00 +0000 (12:18 -0800)]
Make getLaggedSlaveMode() use reuseConnection() as needed
Bug: T118162
Change-Id: I03e1386b952a9e9243518c12fb175727f81c9976
jenkins-bot [Tue, 10 Nov 2015 20:02:11 +0000 (20:02 +0000)]
Merge "Make FindOrphanedFiles handle bad file titles"
jenkins-bot [Tue, 10 Nov 2015 19:52:30 +0000 (19:52 +0000)]
Merge "Make FindOrphanedFiles handle files with ! properly"
Aaron Schulz [Tue, 10 Nov 2015 06:48:36 +0000 (22:48 -0800)]
Migrate feeds from $messageMemc to the WAN cache
This makes the delete() calls work properly for all DCs.
Also, using the message cache was fairly bizzare.
Change-Id: Idec7fa47811e982ba89bb8fbbd9565a26585e77f
jenkins-bot [Tue, 10 Nov 2015 19:08:43 +0000 (19:08 +0000)]
Merge "Move Math specific CSS from core to extension"
jenkins-bot [Tue, 10 Nov 2015 19:08:39 +0000 (19:08 +0000)]
Merge "SpecialAllMessages: Use cached getHtmlCode() instead of wfBCP47()"
Timo Tijhof [Wed, 21 Oct 2015 01:52:52 +0000 (02:52 +0100)]
Implement mw.requestIdleCallback for deferred background tasks
We often use the idiom "window.onload" or "$(window).on('load')".
Since code loads asynchronous, this is problematic because the event won't
always be observed as it may fire before the event handler is attached.
Most tasks also don't really want to wait until the page is loaded (in which
case it would run immediately if the page is already loaded). Rather their intent
is just to defer it to a later point in time – to avoid disrupting user events.
Bug: T111456
Change-Id: Ieba0440c6d83086762c777dfbbc167f1c314a751
Fomafix [Tue, 10 Nov 2015 17:27:40 +0000 (17:27 +0000)]
SpecialAllMessages: Use cached getHtmlCode() instead of wfBCP47()
Follows-up
5efbb10f
Change-Id: Icf00a4a20559d666b2ac551b933873e695735c9c
physikerwelt [Sat, 31 Oct 2015 09:55:26 +0000 (10:55 +0100)]
Move Math specific CSS from core to extension
Depends on I3775980916de12aef23bac85c38a6f92253aa479
in extension Math.
Bug: T110492
Change-Id: If6a4ca34a54c451cdb10d011ffd806a34cbccd2c
Aaron Schulz [Tue, 10 Nov 2015 06:41:04 +0000 (22:41 -0800)]
Mention main WAN and stash instances in cache debug statement
Change-Id: Ic98ce5aecc093400f23d3595be75df3bf54268bf
Aaron Schulz [Tue, 10 Nov 2015 05:24:34 +0000 (21:24 -0800)]
Various JobQueue test tweaks
* Remove some getAcquiredCount() assertions when claimTTL=0
as this is not well defined enough (queues may take a few
minutes to garbage collect the failed jobs).
* Added some tests to make sure push() only de-duplicates
among unclaimed jobs.
Change-Id: Ie0a5e539095c245dfcc8c160417e12824eb7ab83
Aaron Schulz [Mon, 9 Nov 2015 20:44:06 +0000 (12:44 -0800)]
Improve LoadBalancer::doWait() performance via APC
* This avoids bothering with MASTER_POS_WAIT() if an equal/higher
position was already successfully waited on by another process.
* Add DBMasterPos toString() and hasReached() methods, which
MySQLMasterPos already implemented and used.
* Moved more wfDebug() statements to the 'replication' log.
Change-Id: I423b5fe2da8d97889a6d204a635e351342de7649
jenkins-bot [Tue, 10 Nov 2015 04:46:39 +0000 (04:46 +0000)]
Merge "Break long lines and cleanup some RefreshLinksJob checks"
Timo Tijhof [Tue, 10 Nov 2015 04:40:31 +0000 (04:40 +0000)]
resourceloader: Log if MessageBlobStore failed to fetch a message
Bug: T93800
Change-Id: I6f174251a6b9a6b31921037f672dbc197f3abb7e
Timo Tijhof [Tue, 10 Nov 2015 03:20:08 +0000 (03:20 +0000)]
objectcache: Reduce MediaWiki-specificness from Memcached classes
Follows-up
f36b73e96c, which moved these classes to libs/objectcache.
* Fix wrong @throws in MemcachedPeclBagOStuff.
* Fix wrong @returns in MemcachedBagOStuff::getClient().
* Rename MWMemcached to MemcachedClient.
* Remove mention of 'memcached.php', which doesn't exist anymore.
Change-Id: I34dbc859be4778cea489fd2344f233f30452605c
jenkins-bot [Tue, 10 Nov 2015 01:18:38 +0000 (01:18 +0000)]
Merge "Sync up with Parsoid parserTests."
jenkins-bot [Tue, 10 Nov 2015 01:18:34 +0000 (01:18 +0000)]
Merge "Removed useless field in SqlBagOStuff"
jenkins-bot [Tue, 10 Nov 2015 01:08:44 +0000 (01:08 +0000)]
Merge "Upgrade JobRunner "COMMIT ENQUEUED" log entries to WARNING"
Arlo Breault [Tue, 10 Nov 2015 00:56:48 +0000 (16:56 -0800)]
Sync up with Parsoid parserTests.
This now aligns with Parsoid commit
b869b084be641d0e2150648ea926ca974590e6e3
Change-Id: I3e8ebd578db8b6630d23ebbdedb5036fa5a092e5
Aaron Schulz [Mon, 9 Nov 2015 06:02:30 +0000 (22:02 -0800)]
Removed useless field in SqlBagOStuff
Change-Id: I27c0b35769667ce48ba761ff4bbc828033c6849d
jenkins-bot [Tue, 10 Nov 2015 01:02:40 +0000 (01:02 +0000)]
Merge "MessageCache: Remove redundant Language::ucfirst() optimisation"
jenkins-bot [Tue, 10 Nov 2015 01:02:07 +0000 (01:02 +0000)]
Merge "languages: Avoid getPreferredVariant() in ucfirst/lcfirst unless needed"
Aaron Schulz [Sat, 7 Nov 2015 07:31:45 +0000 (23:31 -0800)]
Upgrade JobRunner "COMMIT ENQUEUED" log entries to WARNING
Change-Id: I3f3bbb5c3a59975e152b099481dc07617c845b8e
Timo Tijhof [Tue, 10 Nov 2015 00:33:07 +0000 (00:33 +0000)]
languages: Avoid getPreferredVariant() in ucfirst/lcfirst unless needed
This method calls out to LanguageConverter which involve the User,
Request, and additional validation.
Change-Id: I3edae1244073767a8d8888708024bb5498c70dc9
Timo Tijhof [Tue, 10 Nov 2015 00:40:54 +0000 (00:40 +0000)]
MessageCache: Remove redundant Language::ucfirst() optimisation
Language::ucfirst() already has this optimisation. The expensive
method is Language::uc(), which is only called when needed.
The ord() < 128 is one of the conditionals in Language::ucfirst().
Change-Id: Idd648b7b84eba1f92dda904438122fe38d3cf22b
jenkins-bot [Tue, 10 Nov 2015 00:35:30 +0000 (00:35 +0000)]
Merge "BacklinkCache: Remove use of ProcessCacheLRU"
jenkins-bot [Tue, 10 Nov 2015 00:22:04 +0000 (00:22 +0000)]
Merge "Don't apply CSS columns if less than 3 results were found on AllPages & PrefixIndex"
Timo Tijhof [Mon, 9 Nov 2015 23:51:11 +0000 (23:51 +0000)]
BacklinkCache: Remove use of ProcessCacheLRU
Follows-up
af89b09a06 and
e40a90f0bc, and general phasing out
of MapCacheLRU and ProcessCacheLRU.
Use of ProcessCacheLRU seems redundant in this case as it is
essentially just a keyed singleton.
Change-Id: I7cc84cf6c76ecc422ea337dba2d216c3d7ebf281
Timo Tijhof [Mon, 9 Nov 2015 23:29:07 +0000 (23:29 +0000)]
Language: Convert names cache from MapCacheLRU to HashBagOStuff
Change-Id: I3237c8ed97d23e82caa171d936ecb5745a2fe3d5
Timo Tijhof [Mon, 9 Nov 2015 23:22:16 +0000 (23:22 +0000)]
Title: Convert cache from MapCacheLRU to HashBagOStuff
Change-Id: I0d4c21be1356216970d9ad424ffc848f82778e50
Timo Tijhof [Mon, 9 Nov 2015 23:17:39 +0000 (23:17 +0000)]
LinkCache: Convert from MapCacheLRU to HashBagOStuff.
Change-Id: I28a9509ad4c6d724a12dc72bc50d3cf58642c651
Timo Tijhof [Mon, 9 Nov 2015 23:14:42 +0000 (23:14 +0000)]
LinkCache: Minor clean up of documentation and variable names
In preparation for conversion from MapCacheLRU to HashBagOStuff.
* Use early-return pattern for error and rejection cases.
* Add 'int' to @return for getGoodLinkFieldObj() per the
values set in addGoodLinkObj().
* Add type hints for Title where possible.
* Avoid single-letter variables like $f and $s.
* Add visibility for public static methods.
Change-Id: Iab90539922f648c21cb147f749943a64f598e8de
Translation updater bot [Mon, 9 Nov 2015 20:15:50 +0000 (21:15 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ibb56238c1948221039ad18c36cba14af79881847
jenkins-bot [Mon, 9 Nov 2015 20:08:02 +0000 (20:08 +0000)]
Merge "Convert LCStoreDB to using startAtomic/endAtomic"
jenkins-bot [Mon, 9 Nov 2015 20:05:24 +0000 (20:05 +0000)]
Merge "Revert "Disable Preferences save button before setting change""
jenkins-bot [Mon, 9 Nov 2015 19:55:42 +0000 (19:55 +0000)]
Merge "Always defer the log publish() in recordUpload2"
jenkins-bot [Mon, 9 Nov 2015 19:55:39 +0000 (19:55 +0000)]
Merge "Make Swift iterators throw errors on failure"
Aaron Schulz [Mon, 9 Nov 2015 06:29:40 +0000 (22:29 -0800)]
Convert LCStoreDB to using startAtomic/endAtomic
* This avoids throwing atomic section errors when recache()
is triggered in the middle of transactions.
* Also made the read-only checks handle $wgReadOnly mode.
Change-Id: Ie00cf8454656a6dc3b1862475a959b2af3b472f0
TheDJ [Mon, 9 Nov 2015 19:23:13 +0000 (19:23 +0000)]
Revert "Disable Preferences save button before setting change"
This solution became broken after all JS started loading async. If desired we
should find a new solution for bug T89457.
This reverts commit
b5d46d22b5e49b76fb51fdd7e666c69efb4e1afe.
Bug: T112379
Change-Id: Ia2b527aade8128d1a58af3d42325171f518a68d3
Timo Tijhof [Fri, 6 Nov 2015 23:20:16 +0000 (23:20 +0000)]
resourceloader: Remove use of msg_resource_links table
This table is not needed because module names and their messages
array are available to the runtime environment at very little cost.
The only purpose it was serving is reverse lookup from message
key to module name (e.g. when MessageCache receives update that
need to propagate to MessageBlobStore). However that is better
achieved by simply looping through modules in PHP. The overhead
of a database is not worth this minor convenience.
MessageBlobStore
* insertMessageBlob: Doesn't need to update msg_resource_links.
* updateModule: Doesn't need to update msg_resource_links.
* getUpdatesForMessage: Reimplement with list from memory
instead of msg_resource_links.
The database table will be removed in If009e2620e59002e1.
Bug: T113092
Change-Id: Ia9131f570001f00c9800b260ac4b3469d54d2784
Glaisher [Mon, 9 Nov 2015 16:50:53 +0000 (21:50 +0500)]
Don't apply CSS columns if less than 3 results were found on AllPages & PrefixIndex
If there are less than 3 entries, the browser still tries to render as it would
appear as if there are 3 columns, so the final rendering is broken. So don't apply
CSS columns and just show a normal list if there are less than 3 results. This also
matches the behavior of CategoryViewer.
Bug: T117887
Change-Id: Ie6ac0e1174ff8cc14008f39a91c95bcd6f616353
jenkins-bot [Mon, 9 Nov 2015 16:32:45 +0000 (16:32 +0000)]
Merge "Use HTMLForm in Special:AllPages"
Glaisher [Wed, 28 Oct 2015 12:29:45 +0000 (17:29 +0500)]
Use HTMLForm in Special:AllPages
Renamed namespaceForm to outputHTMLForm and make it protected
Also made sure that this is the only place where it's used
https://github.com/search?q=namespaceForm+%40wikimedia&ref=reposearch&type=Code
Also make HTMLSelectNamespace's work when 'all' is set to null.
Change-Id: Ia559b52464bceaf1202e3a6696728781bb62cdbc
jenkins-bot [Mon, 9 Nov 2015 15:04:54 +0000 (15:04 +0000)]
Merge "Fix regression in I24d9b16"
Fomafix [Mon, 9 Nov 2015 05:28:58 +0000 (05:28 +0000)]
Replace Language::factory( $wgLanguageCode ) by $wgContLang
$wgContLang is filled with Language::factory( $wgLanguageCode ) in Setup.php
Change-Id: I2cb222ee793106140755cf109f9fcc5fcbaa4ddd
Derk-Jan Hartman [Sun, 8 Nov 2015 21:04:53 +0000 (22:04 +0100)]
Fix regression in I24d9b16
I accidently lost this a CSS block in the transition, and the first
page was missing the prefsection class.
Bug: T115692
Change-Id: I712824cf33bf842e42ca9c6e6660a4cbbf9e6d8e
Translation updater bot [Sun, 8 Nov 2015 20:48:56 +0000 (21:48 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ia89debf1a0b89ebd41c1515c0dbb0e27fd378021
jenkins-bot [Sun, 8 Nov 2015 20:00:29 +0000 (20:00 +0000)]
Merge "Work around broken HHVM ini_get() for 'upload_max_filesize' and 'post_max_size'"
Bartosz Dziewoński [Fri, 23 Oct 2015 16:03:43 +0000 (18:03 +0200)]
Work around broken HHVM ini_get() for 'upload_max_filesize' and 'post_max_size'
In HHVM, the settings 'upload_max_filesize' and 'post_max_size' are
not available via ini_get() due to some long-standing bug
(https://github.com/facebook/hhvm/issues/4993). Instead, one can use
'hhvm.server.upload.upload_max_file_size' and 'hhvm.server.max_post_size'
(in a typical PHP fashion, their names are subtly different than the
originals as to increase the potential for confusion).
Added a new method UploadBase::getMaxPhpUploadSize() to handle this.
Additionally:
* 'post_max_size' can be set to 0, which is equivalent to no limit.
Handle this correctly.
* $wgMaxUploadSize can be an array structure, instead of just a number.
Handle this correctly by using UploadBase::getMaxUploadSize().
* When no maximum is set, use PHP_INT_MAX rather than 1e100. It should
be big enough, and the latter is a float, results in 0 when cast to
int, and doesn't look as pretty when formatted in GB in the interface.
Bug: T116347
Change-Id: Idf707253eeae1b90792a7e26d2ab66d1317e67ae
Derk-Jan Hartman [Sun, 1 Nov 2015 00:34:46 +0000 (01:34 +0100)]
Rework the Preferences to prevent FOUC
New styles modules that is always added, so that all JS specific styling
is guaranteed to load before first paint. Reworked the HTML to generate
the preftoc (hidden when user has no JS).
Set htmlform nolabel class to use !important, so that it doesn't get
overriden by the 20% width rule of labels.
Also requires changes to the skinstyles of Vector preferences, which
is an a separate patch (I59f0f45), and other skins.
Bug: T115692
Change-Id: I24d9b16ed6729fdf0d59adcc2f0ba16f4f621b44
jenkins-bot [Sun, 8 Nov 2015 07:16:51 +0000 (07:16 +0000)]
Merge "mediawiki.jqueryMsg: Update tests to mock magic.SITENAME"
jenkins-bot [Sun, 8 Nov 2015 02:58:07 +0000 (02:58 +0000)]
Merge "Add/update phpdoc"
jenkins-bot [Sun, 8 Nov 2015 02:49:04 +0000 (02:49 +0000)]
Merge "Remove various unused variables"
jenkins-bot [Sun, 8 Nov 2015 02:48:01 +0000 (02:48 +0000)]
Merge "Add class member definition for params"
jenkins-bot [Sun, 8 Nov 2015 02:38:50 +0000 (02:38 +0000)]
Merge "Fix casing of function calls in API"
cenarium [Sat, 13 Jun 2015 17:02:12 +0000 (19:02 +0200)]
Pass wpExistingTags in the request when multiple revisions are selected
Not doing so breaks the option to remove all tags.
Bug: T102186
Change-Id: I961b29d78ec7dd7a48f3bb4633f9c057125cce5b