umherirrender [Thu, 14 Aug 2014 17:22:13 +0000 (19:22 +0200)]
Correct type of @param of Linker::getRevDeleteLink
Change-Id: Ie382e2f7b68e27f56de469bfead1588b97b5f9c3
jenkins-bot [Wed, 20 Aug 2014 06:22:07 +0000 (06:22 +0000)]
Merge "Use FormSpecialPage for Special:RandomInCategory"
Douglas Gardner [Sat, 16 Aug 2014 02:01:48 +0000 (03:01 +0100)]
Use FormSpecialPage for Special:RandomInCategory
This commit moves [[Special:RandomInCategory]] from using the SpecialPage class
to using the FormSpecialPage class, in the process moving from a simple input
box in the middle of a sentence to a "proper" form.
Bug: 67581
Bug: 67253
Change-Id: Ibf8694c0643f7cd3964ff9f62ffc6049f0978416
Jackmcbarn [Wed, 20 Aug 2014 04:03:24 +0000 (00:03 -0400)]
Fix release notes for deleting protected pages
Follows up I5a7c4147
Change-Id: I32f792f9f6baf309fc8c450c2759871e6c0b8b3d
James D. Forrester [Wed, 20 Aug 2014 00:59:55 +0000 (17:59 -0700)]
Update OOjs UI to v0.1.0-pre (
51f513f9d3)
New changes:
8019b96 Localisation updates from https://translatewiki.net.
1fbe3cc Localisation updates from https://translatewiki.net.
455bbb5 Localisation updates from https://translatewiki.net.
379c9da Localisation updates from https://translatewiki.net.
ff74dc3 Fix CSS transplantation in IE
5de13ef Localisation updates from https://translatewiki.net.
44fafb5 Fixing formatting of Agora (mobile) dialogs
d9b7f6a Adjust for border with box-sizing: border-box
a942c71 demos: Refactor tool groups to be re-usable between toolbars
Change-Id: I0ce44be7ecd8ab6fc0693c23bca22d1a8286e383
jenkins-bot [Tue, 19 Aug 2014 23:51:19 +0000 (23:51 +0000)]
Merge "Generate 'Enlarge' image in CSS rather than HTML (Linker)"
jenkins-bot [Tue, 19 Aug 2014 23:50:19 +0000 (23:50 +0000)]
Merge "Sanitize thumbnails and captions styles"
Bartosz Dziewoński [Mon, 18 Aug 2014 12:53:23 +0000 (14:53 +0200)]
Generate 'Enlarge' image in CSS rather than HTML (Linker)
There is an ungodly number of requests for magnify-clip.png, embedding
it in CSS is probably good for performance.
It also makes it a lot easier to change the icon, or provide a vector
version (SVG or icon font).
We need to be careful to keep new CSS compatible with old HTML (HTML
is cached for up to 30 days in WMF environment), but luckily in this
case this requires just one CSS rule. Follow-up to remove it: I7a920105.
Bug: 69673
Change-Id: I849a2222fdf708573e54fa0658dbef4d9f2f665f
jenkins-bot [Tue, 19 Aug 2014 23:13:58 +0000 (23:13 +0000)]
Merge "Update default button color per design consensus"
Bartosz Dziewoński [Mon, 18 Aug 2014 12:15:19 +0000 (14:15 +0200)]
Sanitize thumbnails and captions styles
No design changes, just cleaning up.
* Remove dead rules (equivalent to default styles).
* Remove unnecessary !importants (added in r3300 (!), apparently to
intentionally override styles in skins at the time).
* Make commonContent.css's directionality-specific styling not depend
on shared.css (these don't have to be loaded together).
* Fix double margins for .magnify in mixed directionalities.
* Clarify that shared.css should only contain basic layout styles.
* Group together directionality-specific styles in commonContent.css,
comment about them. oldshared.css seems to intentionally not use them.
* Align commonContent.css and oldshared.css where applicable.
Change-Id: I2176d5ee73e37030c15ee5e16ba4eb0660349e15
Rob Moen [Tue, 19 Aug 2014 22:34:30 +0000 (15:34 -0700)]
Update default button color per design consensus
https://trello.com/c/wANl1n0M/544-update-the-default-mediawiki-ui-button-text-color-in-core
Change-Id: Ie8acb28f4562399360e9c578232ff3fd91d65b93
jenkins-bot [Tue, 19 Aug 2014 21:11:08 +0000 (21:11 +0000)]
Merge "Revision: Allow for userCanBitfield to check per-page restrictions"
jenkins-bot [Tue, 19 Aug 2014 21:02:37 +0000 (21:02 +0000)]
Merge "Remove wrong type from @param of Language::viewPrevNext"
umherirrender [Tue, 19 Aug 2014 19:55:22 +0000 (21:55 +0200)]
Move @codingStandardsIgnoreStart into doc comment
No need to have a own comment here, because phpcs support this.
Change-Id: I7ec0ed4d174417d054eb8578519ae15eda4055ac
jenkins-bot [Tue, 19 Aug 2014 18:35:55 +0000 (18:35 +0000)]
Merge "Allow two-tier setup of transwiki import sources"
jenkins-bot [Tue, 19 Aug 2014 17:22:57 +0000 (17:22 +0000)]
Merge "Test only against protection for deleting"
jenkins-bot [Tue, 19 Aug 2014 16:57:50 +0000 (16:57 +0000)]
Merge "Remove red outline from invalid inputs"
Brad Jorsch [Thu, 14 Aug 2014 20:12:58 +0000 (16:12 -0400)]
API: Add a "submodule" param type
This allows action=paraminfo to indicate when a parameter is specifying
a submodule (so clients can detect what the submodule names are). This
will also allow the future action=help HTMLization to easily auto-link
to submodule docs, and will allow ApiSandbox to handle submodules more
generically.
For BC, rather than directly specifying "type": "submodule", it lists
the names of all the submodules as the type and adds an additional
"submodules" indicator on the param info object.
Change-Id: Id31babdc81d970ac781ec11daa3cdafef18ecd5d
jenkins-bot [Tue, 19 Aug 2014 15:03:01 +0000 (15:03 +0000)]
Merge "Don't estimate the revision count for page deletions"
Bartosz Dziewoński [Sun, 17 Aug 2014 17:07:04 +0000 (19:07 +0200)]
Remove pointless dependencies from mediawiki.legacy.config
* The code has never actually depended on wikibits (or at least
doesn't now).
* These files are not actually loaded via ResourceLoader, so
dependencies etc. don't work anyway.
Change-Id: Id99903c68e98c0c3c832128b891699360c9391ea
jenkins-bot [Tue, 19 Aug 2014 13:54:24 +0000 (13:54 +0000)]
Merge "Move installer files from skins/common/ to mw-config/"
This, that and the other [Wed, 23 Jul 2014 07:45:51 +0000 (17:45 +1000)]
Allow two-tier setup of transwiki import sources
There has been some demand, particularly in the Wikimedia cluster, for the
ability to import from any wiki of a cluster. For this to occur, the
transwiki import user interface needs a bit of a rethink.
This patch replaces the existing single dropdown with a pair of dropdowns:
the first to select the wiki project, and the second to select the
subproject (e.g. a Wikipedia/Wiktionary language, or a Wikia site).
The second one is optional (to support single-wiki sites like Meta, or
for backwards compatibility with existing setups).
$wgImportSources is now treated as a mixed array/associated array (see
comment in DefaultSettings.php). Existing configurations will still work
but will receive no new functionality.
The non-JavaScript fallback is not pretty, but (a) it works, (b) I don't
see an easy way to make it nicer, and (c) wiki sysops should probably be
using a JavaScript-enabled browser for admin actions like importing...
The intention is to alter the WMF configuration to automatically populate
$wgImportSources with all public cluster wikis. I'm not exactly sure how
this will be set up, but this patch is an important first step. I expect
some non-WMF users of MediaWiki will find it helpful as well.
Change-Id: Icdb655500c1ae5374dc7a9f4d99e6738b2269b14
Legoktm [Tue, 19 Aug 2014 03:53:08 +0000 (03:53 +0000)]
Merge "Use getConfig on local context to get configuration settings in Action"
Alexandre Emsenhuber [Sat, 16 Aug 2014 19:25:16 +0000 (21:25 +0200)]
Use getConfig on local context to get configuration settings in Action
Follow-up I47db5eab45 (
aa15d528)
Change-Id: I76409f5fc61e5d35235f964e094dd8881bcc8311
jenkins-bot [Mon, 18 Aug 2014 22:41:42 +0000 (22:41 +0000)]
Merge "Fix highlighting of results when the search result does not return termMatches"
Florian [Sat, 2 Aug 2014 00:31:43 +0000 (02:31 +0200)]
Load mediawiki.action.view.redirectToFragment in mobile
Mobile supports redirect's to fragment, so load the module in desktop
and mobile.
Bug: 69020
Change-Id: Ife76b3e9d660e6d64186ac2e4ab69bf4d8e16ae4
jdlrobson [Mon, 18 Aug 2014 20:48:57 +0000 (13:48 -0700)]
Remove red outline from invalid inputs
This is currently an issue in Flow which uses the required attributes
on certain mw-ui-inputs.
Change-Id: I9f1df52c282c5e156c53a573660b35a978762cc2
Translation updater bot [Mon, 18 Aug 2014 19:58:54 +0000 (21:58 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: If1018a085ee4bd6a77a88603bc2509ae5fee3b43
jenkins-bot [Mon, 18 Aug 2014 18:38:10 +0000 (18:38 +0000)]
Merge "Use HTMLForm to generate the form on Special:ListFiles"
jenkins-bot [Mon, 18 Aug 2014 18:32:49 +0000 (18:32 +0000)]
Merge "Added more JobRunner docs"
jenkins-bot [Mon, 18 Aug 2014 18:30:03 +0000 (18:30 +0000)]
Merge "Special:Search: Remove token from URL when saving settings"
jenkins-bot [Mon, 18 Aug 2014 18:26:55 +0000 (18:26 +0000)]
Merge "Special:Version: Link to tree instead of commit for git hashes"
Kunal Mehta [Mon, 18 Aug 2014 18:11:34 +0000 (11:11 -0700)]
Revision: Allow for userCanBitfield to check per-page restrictions
Change-Id: I13ded8328cac59466b691e63183a16d321659ea4
jenkins-bot [Mon, 18 Aug 2014 17:45:05 +0000 (17:45 +0000)]
Merge "Move debug log related settings up in Setup.php"
Florianschmidtwelzow [Mon, 18 Aug 2014 17:21:42 +0000 (19:21 +0200)]
Fix mediawiki.ui.checkbox loading in mobile
* mwui checkboxes can load on mobile, too
* mwui should have position on top to load before the content is rendered
Follow up: I6a0db7c8ce33d242120f1cba9222db4e2154696c
and I89d80927d603407678182592a1b12e2132de4141
Change-Id: I8222610aa714f7e422acaa3c3041c41f817eab7d
umherirrender [Fri, 15 Aug 2014 16:22:34 +0000 (18:22 +0200)]
Add missing @param to function docs
Change-Id: Ib26407bc55dff7969d8a3b1e2ae51751b202d8fb
jenkins-bot [Mon, 18 Aug 2014 16:12:20 +0000 (16:12 +0000)]
Merge "Use batch inserts for watchlist"
jenkins-bot [Mon, 18 Aug 2014 16:00:50 +0000 (16:00 +0000)]
Merge "Remove unmatched @param"
jenkins-bot [Mon, 18 Aug 2014 15:59:23 +0000 (15:59 +0000)]
Merge "Fix calls to DatabaseBase static functions"
Stephan Gambke [Mon, 18 Aug 2014 15:55:51 +0000 (15:55 +0000)]
Fix highlighting of results when the search result does not return termMatches
If the search engine does not know the concept of serch terms the search
result object will just return an empty array as defined in class
SearchResultSet.
In this case SearchHighlighter::highlightSimple will place a span between
each and every byte (yes, byte, not character, it will break multibyte
chars).
This patch will just output the first few lines of a page if no search
terms are available for highlighting.
Note: Highlighting the page name in the case of title matches is
questionable, IMHO. It might make more sense for this case as well to
just return the first few lines of the page.
Change-Id: I276418f271855fb99443188f51cc076289c6ba0d
jenkins-bot [Mon, 18 Aug 2014 15:34:33 +0000 (15:34 +0000)]
Merge "Fix URL protocol detection regex for file link= parameter"
jenkins-bot [Mon, 18 Aug 2014 14:30:56 +0000 (14:30 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Mon, 18 Aug 2014 14:02:56 +0000 (14:02 +0000)]
Merge "Include action in permission error messages"
jenkins-bot [Mon, 18 Aug 2014 13:55:01 +0000 (13:55 +0000)]
Merge "Remove EnhancedChangesList::arrow() and friends"
jenkins-bot [Mon, 18 Aug 2014 11:43:19 +0000 (11:43 +0000)]
Merge "Do not flip margin of magnify icon on user interface language"
aude [Mon, 18 Aug 2014 10:51:40 +0000 (12:51 +0200)]
Rename variable in RequestContext, $t => $title
Change-Id: Id416816f1c291fea9b7b97b41290b5078936705b
Siebrand Mazeland [Mon, 18 Aug 2014 10:47:11 +0000 (12:47 +0200)]
Remove obsolete no.json
Change-Id: I9a16f2cbd7cd4233a7c14899288e609810822b25
Translation updater bot [Mon, 18 Aug 2014 10:17:43 +0000 (12:17 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ia75c166315dfde47dbfaffedf8a9bb6e86982dab
Yuri Astrakhan [Fri, 15 Aug 2014 18:08:17 +0000 (14:08 -0400)]
Updated dictionary
Change-Id: Ie727553268892d8b7f9b46fefebeee4463d5fecb
jenkins-bot [Mon, 18 Aug 2014 00:15:17 +0000 (00:15 +0000)]
Merge "CSS style for thumbs on special pages"
Bartosz Dziewoński [Mon, 11 Aug 2014 01:59:22 +0000 (03:59 +0200)]
Move installer files from skins/common/ to mw-config/
The CSS and JS files are definitely used only by the installer.
As for the images:
* mediawiki.png is still used directly by some error pages
(includes/PHPVersionError.php, includes/templates/NoLocalSettings.php)
* ajax-loader.gif is still used by shared.css
* bullet.gif is mysteriously used by *something*, according to the
logs at bug 69277 comment 11; I currently have no idea what, so
let's keep it here for a while
* All other ones don't grep (outside of the installer itself) and
don't appear in the logs on bug 69277.
Bug: 69277
Change-Id: I9146d9211a807911a5e0cfaa1dd3ab8170f333ca
addshore [Sun, 17 Aug 2014 22:20:09 +0000 (23:20 +0100)]
Remove unused private var and fix phpdoc
Change-Id: I4a9d5f19cb0255067895f16dde4bc6d7376d904f
addshore [Sun, 17 Aug 2014 22:18:06 +0000 (23:18 +0100)]
Fix name of SpecialListFilesTest > ImageListPagerTest
Change-Id: I221695c3ffb25a65530f1adf9b1f6632d5c20915
Bartosz Dziewoński [Sun, 17 Aug 2014 22:04:57 +0000 (00:04 +0200)]
Remove EnhancedChangesList::arrow() and friends
Not used in core, the only usage outside removed in Ieb5bb6f9.
Also removed two now-unused files from skins/common/.
Bug: 69675
Change-Id: Ia0e9fc2af25af903db085f2a05c04dcd9aff213e
jenkins-bot [Sun, 17 Aug 2014 22:02:36 +0000 (22:02 +0000)]
Merge "Fix phpcs errors in tests dir"
addshore [Sat, 16 Aug 2014 12:53:24 +0000 (13:53 +0100)]
Fix phpcs errors in tests dir
Change-Id: I79fa3b8f92e958f4a0dc4fe892703f37d711ca95
addshore [Sun, 17 Aug 2014 21:38:07 +0000 (22:38 +0100)]
Override phpunit assertTag method to stop errors
This method throws a deperecation error in phpunit
that we dont want to see (and dont want to break
travis tests).
Nothing this method uses is beign deprecated thus
we can override the method and not need to worry
about the error or it vanishing in the future!
Bug: 69505
Change-Id: I0eb63be390b4fdf416635dd8e8a2ad94615e6a47
jenkins-bot [Sun, 17 Aug 2014 21:24:42 +0000 (21:24 +0000)]
Merge "Remove some unused files from skins/common/"
Translation updater bot [Sun, 17 Aug 2014 21:19:20 +0000 (21:19 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Bartosz Dziewoński [Sun, 17 Aug 2014 20:38:18 +0000 (22:38 +0200)]
Remove some unused files from skins/common/
Grepping doesn't point to any usages, and they don't appear in logs
from bug 69277 comment 11.
add.png
Arr_.png
closewindow.png
diffunderline.gif
link_icon.gif
remove.png
tooltip_icon.png
Zoom_sans.gif
Bug: 69277
Change-Id: I09c0c13b353366e83124e7ffa1fa02eeada76729
jenkins-bot [Sun, 17 Aug 2014 20:30:51 +0000 (20:30 +0000)]
Merge "Use public instead of var in classes"
Translation updater bot [Sun, 17 Aug 2014 20:15:26 +0000 (22:15 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I3a6292805700b7071997414a2e601220cd564188
addshore [Sun, 17 Aug 2014 20:07:37 +0000 (21:07 +0100)]
Use public instead of var in classes
Change-Id: I16d1714ba37667d8c9c7c79a765c7199ea0023e4
jenkins-bot [Sun, 17 Aug 2014 20:06:26 +0000 (20:06 +0000)]
Merge "WebInstallerOutput: Restore 'global $wgResourceModules'"
jenkins-bot [Sun, 17 Aug 2014 19:51:07 +0000 (19:51 +0000)]
Merge "Avoid theoretical division by zero"
jenkins-bot [Sun, 17 Aug 2014 19:49:25 +0000 (19:49 +0000)]
Merge "Use Xml::element instead of Html::element for empty elements"
jenkins-bot [Sun, 17 Aug 2014 19:43:46 +0000 (19:43 +0000)]
Merge "Add dependencies to module mediawiki.util"
jenkins-bot [Sun, 17 Aug 2014 19:37:38 +0000 (19:37 +0000)]
Merge "Remove fallback 'de' gender namespaces"
addshore [Sun, 17 Aug 2014 19:25:21 +0000 (20:25 +0100)]
Fix @returns >> @return phpdoc
Change-Id: Ib0050a3854e1d3405ffcdd4c92569d4df6ff847f
Bartosz Dziewoński [Sun, 17 Aug 2014 17:00:37 +0000 (19:00 +0200)]
WebInstallerOutput: Restore 'global $wgResourceModules'
Deleted in
301a7f3d, previously added in
a96afeb2.
Change-Id: If0889bc003320abd0b74fc57b8975255f0efcc7e
umherirrender [Sun, 17 Aug 2014 13:54:13 +0000 (15:54 +0200)]
Remove fallback 'de' gender namespaces
Some languages are fallback to 'de', but have there own namespaces.
There is no feedback, that the german gender namespaces should override
the localized namespaces for gender, so removing it for now.
At least nds has ask for this at
https://de.wikipedia.org/w/index.php?title=Benutzer_Diskussion:Raymond&oldid=
133185685#merkw.C3.BCrdiges_Software-Verhalten_auf_nds.wp
Change-Id: Ie666c95b614faeb9ac1cb57d4b5d96294d43c6cf
Fomafix [Sun, 17 Aug 2014 13:23:40 +0000 (13:23 +0000)]
Add dependencies to module mediawiki.util
* mediawiki.Uri.js uses mw.util.wikiUrlencode().
* mediawiki.special.unwatchedPages.js uses mw.util.getParamValue().
Change-Id: Id109e1ba3ec8421ff278a2b2c5111413b4c3bc62
Fomafix [Sun, 17 Aug 2014 11:51:08 +0000 (11:51 +0000)]
mediawiki.page.watch.ajax depends on mediawiki.page.startup
mediawiki.page.watch.ajax.js requires mw.page, which is defined in
mediawiki.page.startup.js
I just got the error message:
Exception thrown by mediawiki.page.watch.ajax
TypeError: mw.page is undefined
Change-Id: I869fbcb701c3c17ecf6564d89a9bb773bd1a76bd
Marius Hoch [Sat, 3 May 2014 16:47:25 +0000 (18:47 +0200)]
Don't estimate the revision count for page deletions
Often the estimated revision count is several thousands away
from the real one, thus disallowing normal sysops to delete
pages which they actually should be able to delete.
This also changes the revision number shown to users on
action=delete to the real one, as that code path is only
being hit for users that can delete the page.
Bug: 69556
Change-Id: Id0d02aa9960477a0cec8752ef714b6bc6b9ff2ac
withoutaname [Thu, 24 Jul 2014 02:29:28 +0000 (19:29 -0700)]
Fix calls to DatabaseBase static functions
Previously they were calling Database:: which is a nonexistent class.
Change-Id: I73b2ed4722c9108b6a00c8c0cabbda9564378b4b
umherirrender [Sat, 16 Aug 2014 20:53:57 +0000 (22:53 +0200)]
User adjust git timestamp for extensions on Special:Version
User with a timezone in its preferences does not see the git timestamp
in the local timezone.
The timestamp for mediawiki/core gets already adjust.
Change-Id: I412281670766bd9404fc829cac8eae277449c6a0
umherirrender [Sat, 16 Aug 2014 18:49:41 +0000 (20:49 +0200)]
Remove unmatched @param
There is no method parameter for this @param
Change-Id: I42d1e3439e5b767be09920d536bee34bcd017ec9
Alexandre Emsenhuber [Mon, 4 Aug 2014 20:13:39 +0000 (22:13 +0200)]
Move debug log related settings up in Setup.php
Since this doesn't rely on functions defined in GlobalFunctions.php;
this can be in the first "defaults" section of the file.
Change-Id: I24f1a14322d90d053adf51716516001477364e16
jenkins-bot [Sat, 16 Aug 2014 13:20:31 +0000 (13:20 +0000)]
Merge "Fix the (un)watch token to include the namespace name."
This, that and the other [Sat, 16 Aug 2014 12:09:42 +0000 (22:09 +1000)]
Fix URL protocol detection regex for file link= parameter
This regex looked something like /^(?i)bitcoin:|ftp://|ftps://|.../, which
meant the anchoring ^ only applied to the first name. This meant that any
link= value that happened to contain a URL protocol anywhere within it
(e.g. wikinews:Foo containing "news:") got incorrectly matched by this
regex.
Bug: 69317
Change-Id: Ide1c4f64137666db99f8e3b6816df01ef5099c8e
Kunal Mehta [Sat, 16 Aug 2014 05:50:25 +0000 (22:50 -0700)]
Register a fake skin instead of a 'vector' that will fail
Bug: 69639
Change-Id: Icd87520f7b6de337b009144420c3a430861d0833
jenkins-bot [Sat, 16 Aug 2014 00:48:19 +0000 (00:48 +0000)]
Merge "Add blanket support for mediawiki ui via globals"
Aaron Schulz [Fri, 15 Aug 2014 22:19:46 +0000 (15:19 -0700)]
Added more JobRunner docs
Change-Id: I4fbb947a2fc2b5f325dff97127bf39edf18f0e13
jenkins-bot [Fri, 15 Aug 2014 21:49:35 +0000 (21:49 +0000)]
Merge "mediawiki.toc: Remove class="internal" from tocToggleLink"
jdlrobson [Wed, 30 Jul 2014 17:56:25 +0000 (10:56 -0700)]
Add blanket support for mediawiki ui via globals
This provides better mobile experiences on various pages
and a more consistent UI across both mobile and desktop.
It does this in two ways.
1) Forces HTMLForms to not use table based layouts so as
not to interfere with responsive nature of mediawiki ui elements
2) Applies MediaWiki.UI classes to most pages
If a page is created via Xml or Html classes it will use mediawiki ui
Where possible I've added classes unconditionally, but for cases of buttons
this is behind the $wgUseMediaWikiUIEverywhere global since button styling is
enabled on pages by default and for checkboxes since it is changes HTML markup.
3) Adds all MediaWiki.UI styles to pages which can use it
When enabled:
* Apply these styles to all pages which use HTMLForms
* Apply to EditPage
* Apply to anything that uses certain elements outputted by the
Xml or HTML helper classes
* Apply to History page
* Apply to protection page
* Apply to move page
* Apply to deletion page
Currently kept behind a global to allow us time to finetune
existing elements. After further testing we will look to kill the
globals and make mediawiki.ui the default
See: I430c0fbb79d2a33bb828b2427bda0ee01115d73f
Change-Id: I47db5eab4569514d039261d11b6dedb0eeae17b5
jenkins-bot [Fri, 15 Aug 2014 21:40:32 +0000 (21:40 +0000)]
Merge "Turn HTMLBlockedUsersItemSelect into HTMLSelectLimitField"
jenkins-bot [Fri, 15 Aug 2014 21:29:35 +0000 (21:29 +0000)]
Merge "mediawiki.jqueryMsg: Prevent default action for functions as external link"
Erik Bernhardson [Fri, 15 Aug 2014 21:04:10 +0000 (14:04 -0700)]
Use batch inserts for watchlist
Inserting a watchlist item was using two queries where only one was
necessary. This adjusts to use a single query and adds the ability
to watchlist multiple titles simultaneously.
Change-Id: I331238524598f1ee87c28104ab02edf4b2afaaf2
jenkins-bot [Fri, 15 Aug 2014 20:26:17 +0000 (20:26 +0000)]
Merge "Set relevant title on Special:RecentChangesLinked"
paladox [Mon, 4 Aug 2014 11:13:21 +0000 (11:13 +0000)]
Update Moment.js from 2.7.0 to 2.8.1
Project site
* http://momentjs.com/ and https://github.com/moment/moment/
File source
* https://github.com/moment/moment/blob/2.8.1/moment.js
README
* https://github.com/moment/moment/blob/2.8.1/readme.md
Changelog
1.8.0 changelog
* https://gist.github.com/ichernev/
ac3899324a5fa6c8c9b4
1.8.1 changelog
* https://github.com/moment/moment/blob/2.8.1/CHANGELOG.md
difference between 2.7.0 and 2.8.1
incompatible changes
* #1761: moments created without a language are no longer following the global language, in case it changes. Only newly created moments take the global language by default. In case you're affected by this, wait, comment on #1797 and wait for a proper reimplementation
* #1642: 45 days is no longer "a month" according to humanize, cutoffs for month, and year have changed. Hopefully your code does not depend on a particular answer from humanize (which it shouldn't anyway)
* #1784: if you use the human readable English datetime format in a weird way (like storing them in a database) that would break when the format changes you're at risk.
* #1785 moment.momentProperties is now an array of properties instead of a hash. If you have a plugin that uses it to make sure cloned moments will retain the plugin-added properties you need to change your code.
deprecations (old behavior will be dropped in 3.0)
* #1761 lang is renamed to locale , langData -> localeData . Also there is now defineLocale that should be used when creating new locales
* #1763 add(unit, value) and subtract(unit, value) are now deprecated. Use add(value, unit) and subtract(value, unit) instead.
* #1759 rename duration.toIsoString to duration.toISOString . The js standard library and moment's toISOString follow that convention.
new locales
* #1789 Tibetan (bo)
* #1786 Africaans (af)
* #1778 Burmese (my)
* #1727 Belarusian (be)
bugfixes
* #1738 local to zone conversion with keepLocalTime=true
* #1642 more accurate humanize
performance
* #1808 speedup cloning 49x
* #1708 speedup creation with Date object
features
*#1716 moment.relativeTimeThreshold now supports getting the existing threshold
locale bugfix
* #1784 add comma between day-of-month and year in us-en
* #1710 fix lithuanian month name
2.8.1
* bugfix #1813: fix moment().lang([key]) incompatibility
Change-Id: Iaffaaa18e08773f8f36e83e918e61a2259f1e2e3
umherirrender [Fri, 15 Aug 2014 16:33:34 +0000 (18:33 +0200)]
Remove wrong type from @param of Language::viewPrevNext
Change-Id: I26634c23a966a60b94a1a9fc7b35449560b34492
jenkins-bot [Fri, 15 Aug 2014 16:32:05 +0000 (16:32 +0000)]
Merge "API: Mark seldom-used formats as deprecated"
umherirrender [Fri, 15 Aug 2014 16:31:04 +0000 (18:31 +0200)]
Remove wrong type from @param of IORMTable::getPrefixedFields
Change-Id: I20599b97712ef867629f9e06b137e0c6cb284709
umherirrender [Fri, 15 Aug 2014 16:28:30 +0000 (18:28 +0200)]
Remove wrong null type from @param of Content::fillParserOutput
Change-Id: Iae152214c52c611e8c118d2537e92f551b1c7ab8
jenkins-bot [Fri, 15 Aug 2014 14:33:45 +0000 (14:33 +0000)]
Merge "Use lowercase array in ResourceLoaderStartUpModule.php"
jenkins-bot [Fri, 15 Aug 2014 13:32:49 +0000 (13:32 +0000)]
Merge "jquery.tablesorter: Only look at th's for headers"
umherirrender [Fri, 15 Aug 2014 13:29:28 +0000 (15:29 +0200)]
Use lowercase array in ResourceLoaderStartUpModule.php
Change-Id: Idf28e6d302e3b28c1c5cfb9f8f108dd9a69a092c
Brad Jorsch [Fri, 8 Aug 2014 10:00:22 +0000 (11:00 +0100)]
API: Mark seldom-used formats as deprecated
While it doesn't take a lot to maintain most of these, there is some
effort needed (e.g. wddx was breaking with HHVM). None have much if any
usage that seems likely to be actual code of some sort, and humans
should be able to read the jsonfm format as easily as dbgfm, dumpfm, or
txtfm.
Change-Id: I4e3d2ef59d4306756b289a4be46caef7d359ccef
Brad Jorsch [Thu, 14 Aug 2014 18:15:23 +0000 (14:15 -0400)]
API: Log usage of various deprecated features
This will let us know how aggressively we can finally remove these.
Change-Id: I03fab36e921807e74fbabfa878756af254d89a1b
Brad Jorsch [Fri, 8 Aug 2014 09:37:02 +0000 (10:37 +0100)]
API: Add method for logging feature usage
For example, to determine usage levels of deprecated features.
Change-Id: Ifd640883e46f3e6c8179c63d122c704b046674ca