Commit graph

77025 commits

Author SHA1 Message Date
jenkins-bot
d3db94de76 Merge "Replace Linker::link() with LinkRenderer in special pages" 2017-06-20 21:07:22 +00:00
jenkins-bot
adb7034442 Merge "Replace a Linker::link() call in InfoAction.php" 2017-06-20 21:05:16 +00:00
jenkins-bot
3cecf7e6f1 Merge "ApiSandbox: Indicate when login is suppressed" 2017-06-20 21:02:30 +00:00
jenkins-bot
5e2d9e1de9 Merge "API: Add the ability to flag parameter values as deprecated" 2017-06-20 20:59:17 +00:00
Matěj Suchánek
f44275ec1f Replace Linker::link() with LinkRenderer in special pages
Bug: T149346
Change-Id: I2735750803dc1b2e36be3989caaabbf3232b2923
2017-06-20 20:44:04 +00:00
Translation updater bot
bb1f4e8e74 Localisation updates from https://translatewiki.net.
Change-Id: I1d2050c1a5d2cadf8f8e152037f7b80530612dcd
2017-06-20 22:06:45 +02:00
Brad Jorsch
06802684e0 ApiSandbox: Indicate when login is suppressed
ApiMain will add a header to indicate that lacksSameOriginSecurity()
forced the request to be processed as if logged out, and ApiSandbox will
detect this header to display a helpful message on the results page.

Bug: T165797
Change-Id: I56390b31563c75d83cf0a8ffb1b8e4f3283895f0
2017-06-20 12:03:39 -04:00
Brad Jorsch
e2c949677e API: Add the ability to flag parameter values as deprecated
This has a number of implications:
* A deprecation warning is automatically generated if the value is used.
* action=paraminfo can list it in a machine-readable manner.
* It is automatically flagged in the help when message-per-value mode is
  used.
* In values lists in the help, it's specially marked (currently
  strike-through).
* ApiSandbox will mark it in the widgets (currently strike-through).

Deprecation of submodules is not automatically detected here, that's
left for a later patch.

Bug: T123931
Change-Id: Idad6377063e457f9352a99df5c7cc15b1563579e
2017-06-20 11:41:26 -04:00
jenkins-bot
4d94cc1432 Merge "API: Split description messages into summary + additional text" 2017-06-20 15:34:10 +00:00
jenkins-bot
926e15cbea Merge "mw.action.edit: Restore modifier keys for accesskey in tooltip for summary field" 2017-06-20 15:32:27 +00:00
jenkins-bot
36e6785f8f Merge "mw.action.edit: Fix byte limit for the edit summary field" 2017-06-19 22:01:42 +00:00
Bartosz Dziewoński
0269ae0fe5 mw.action.edit: Restore modifier keys for accesskey in tooltip for summary field
.updateTooltipAccessKeys() is called automatically after the page
loads (from mediawiki.page.ready), but infusing the field blows away
these changes.

This is a poor workaround, the same issue will appear if e.g. the
buttons are infused. The functionality provided by jquery.accessKeyLabel
should be an OOjs UI feature, or we should somehow call it automatically
after infusing widgets.

Bug: T168042
Change-Id: I2b166be34b8394c296fbc7326570cd732284888f
2017-06-19 20:09:16 +00:00
Bartosz Dziewoński
e9e47c36a4 mw.action.edit: Fix byte limit for the edit summary field
In OOUI mode, the `.byteLimit( 255 )` call must be after
the edit summary widget is infused. Otherwise, infusing
"reverts" the 'maxlength' attribute of the input field
back to the original value of 200, as set by the PHP code.
(The byte limit was still applied, but in most cases the
'maxlength' applied first.)

Bug: T168194
Change-Id: If0117a7af5bb6975c8355b42fdbc8501c6a02919
2017-06-19 20:09:08 +00:00
Translation updater bot
bd94612571 Localisation updates from https://translatewiki.net.
Change-Id: Ic1bbc174355e07f099f0e2e0b501f5315b9de4d2
2017-06-19 22:06:49 +02:00
jenkins-bot
7bb26739ec Merge "Add a message to localize strings like "2×" and use it in enhanced RC" 2017-06-19 18:50:35 +00:00
jenkins-bot
5604684b44 Merge "Remove "@author Umherirrender" annotations" 2017-06-19 09:28:20 +00:00
jenkins-bot
37be8b0d8b Merge "Add missing dependencies to module 'mediawiki.api'" 2017-06-19 08:37:55 +00:00
jenkins-bot
178bada116 Merge "API: Have generator=random set a non-continuation value" 2017-06-19 07:07:56 +00:00
jenkins-bot
60cdd1f8c4 Merge "API: Deprecate diff and parse parameters in ApiQueryRevisionsBase" 2017-06-19 07:00:52 +00:00
Translation updater bot
b3f26ebbaa Localisation updates from https://translatewiki.net.
Change-Id: Ibbb3740e051fd168201f4664cd57417ea70716da
2017-06-18 21:56:20 +02:00
jenkins-bot
447ba02601 Merge "Improve documentation for wfParseUrl" 2017-06-18 19:18:39 +00:00
Gergő Tisza
dc01555a3f Improve documentation for wfParseUrl
Change-Id: I84ef76d2e3b026ed38e02a82245b559324950ede
2017-06-18 13:33:34 +02:00
Translation updater bot
ef91b0b7f3 Localisation updates from https://translatewiki.net.
Change-Id: I90ecf094ef908fc82a2cb1442fd7aa72405950f9
2017-06-17 21:54:33 +02:00
Matěj Suchánek
a3cdd0a4fc Replace a Linker::link() call in InfoAction.php
Bug: T149346
Change-Id: I41906d4d24468467e1c0740d748fe96ea2dab484
2017-06-17 21:37:04 +02:00
jenkins-bot
d4f51b7881 Merge "build: Remove Travis CI allow_failure for Postgres" 2017-06-16 22:20:49 +00:00
Translation updater bot
84c53dd9a7 Localisation updates from https://translatewiki.net.
Change-Id: Ib20d54b3faab8a606f60a8e1e03d74e826ef385e
2017-06-16 22:02:53 +02:00
jenkins-bot
b038ae68db Merge "adding data-attribute to sister-search sidebar results." 2017-06-16 19:39:36 +00:00
jenkins-bot
dad2306a78 Merge "Hide Pig Latin language entirely if $wgUsePigLatinVariant is false" 2017-06-16 19:12:01 +00:00
Jan Drewniak
48e15a4af5 adding data-attribute to sister-search sidebar results.
Adding source identifier (iwprefix) data-attribute
to interwiki search sidebar results.

Change-Id: I9e11a368fe4f5d79d81503fb4db1cc1649723839
2017-06-16 21:04:01 +02:00
Bartosz Dziewoński
c5b1097290 Hide Pig Latin language entirely if $wgUsePigLatinVariant is false
Previously, even if $wgUsePigLatinVariant was false, the language
would show up on Special:Preferences (and some other places) as
'en-x-piglatin - Igpay Atinlay'.

Follow-up to d8375bee24.

Change-Id: I08faacabca87c04299c7b535be8df1770e0a37ac
2017-06-16 20:43:28 +02:00
Brad Jorsch
f389d14b38 API: Deprecate diff and parse parameters in ApiQueryRevisionsBase
The 'rvdifftotext', 'rvdifftotextpst', 'rvdiffto', 'rvexpandtemplates',
'rvgeneratexml', 'rvparse', and 'rvprop=parsetree' parameters to
prop=revisions are deprecated, as are the similarly named parameters to
prop=deletedrevisions, list=allrevisions, and list=alldeletedrevisions.

Use action=compare, action=parse, or action=expandtemplates instead.

Bug: T164106
Change-Id: I6deaf550a4b96f0d35488bea7bfd6637d6d1c36a
2017-06-16 12:01:44 -04:00
jenkins-bot
bc28fc4c48 Merge "Fix call to makeContent in SpecialChangeContentModel" 2017-06-16 14:37:49 +00:00
jenkins-bot
4d3bc3e331 Merge "Add namespace names for Atikamekw (atj)" 2017-06-16 10:47:03 +00:00
jenkins-bot
ceb1eb3e1c Merge "RCFilters: Always replaceState the URL" 2017-06-15 21:27:07 +00:00
jenkins-bot
ddf3d27b10 Merge "Make DatabasePostgres::serverIsReadOnly() check default_transaction_read_only" 2017-06-15 21:04:22 +00:00
Amire80
5f4434ef28 Add namespace names for Atikamekw (atj)
Bug: T167714
Change-Id: I5e98c80a8365707d73ed7e259466ab57cca7261b
2017-06-15 23:55:13 +03:00
Timo Tijhof
1ca6f7a4b1 build: Remove Travis CI allow_failure for Postgres
Now passing!

Follows-up 7399a3ec01.

Bug: T75174
Change-Id: I9cdd0aefa955f2bd91945969f6066ab67cda0d5f
2017-06-15 21:31:14 +01:00
Timo Tijhof
d18df9bf58 mediawiki.storage: Document 'null' return from get()
Follows-up 7daab75414. Forgot to document the full return scope
of HTML Storage#get, which is 'string or null'.

We may want to consider changing the 'false' return to 'null', so
that the concept of "localStorage disabled" is entirely hidden
behind the regular return values (null in case of #get).

Change-Id: I6bed62457d2e64831ec8241e16f7e8c85c6531a4
2017-06-15 21:25:45 +01:00
L10n-bot
92a563c783 Merge "Localisation updates from https://translatewiki.net." 2017-06-15 19:58:25 +00:00
jenkins-bot
cc2a0190e7 Merge "RCFilters: Add edit tags drop down" 2017-06-15 19:58:10 +00:00
Translation updater bot
75705ad4da Localisation updates from https://translatewiki.net.
Change-Id: If38ca86942d9591ab9f86f8584de5ad0d136a27f
2017-06-15 21:58:08 +02:00
Moriel Schottlender
7725c75586 RCFilters: Add edit tags drop down
Fetches the tags from the wiki and displays them as additional
filters for RCFilters.

Bug: T159942
Bug: T161650
Bug: T164130
Change-Id: I7bfa99cd5aeb34b6c7de74c15aac158ee40eac2f
2017-06-15 19:33:34 +00:00
jenkins-bot
78dc9ac0fa Merge "Set flush mode in DatabasePostgres::reportQueryError()" 2017-06-15 18:14:02 +00:00
Brad Jorsch
45093c330f API: Split description messages into summary + additional text
To fix T123930, it would be very handy to have the summary for each
module without any of the additional explanatory text.

Bug: T166411
Change-Id: I778bab2b87971875aed4c804341ad59c1c6e021f
2017-06-15 13:46:55 -04:00
jenkins-bot
9e0dda42fe Merge "Add media type based filtering to Special:NewFiles" 2017-06-15 17:28:35 +00:00
jenkins-bot
d18cf170d5 Merge "Allow filtering on newbies in Special:NewFiles" 2017-06-15 17:25:41 +00:00
jenkins-bot
3cb14f56bd Merge "Show dimensions in TraditionalImageGallery" 2017-06-15 17:16:13 +00:00
jenkins-bot
a66d17af3c Merge "Add | to error message about invalid change tag characters" 2017-06-15 16:22:37 +00:00
daniel
b5d5c12552 Fix call to makeContent in SpecialChangeContentModel
ContentHandler::makeContent expects serialized content as the first
parameter, not native data.

Change-Id: Ibf1825a191d10b4dd8b9a5cee95b02b2b91f3d92
2017-06-15 17:56:10 +02:00
Fomafix
ae236ccd33 Add missing dependencies to module 'mediawiki.api'
Change-Id: I62f6e75d840d07a4ae6676fa88c6b655aa575bba
2017-06-15 15:54:04 +02:00