Commit graph

78369 commits

Author SHA1 Message Date
Umherirrender
e754f6803f Fix return in ParserTestTopLevelSuite::debug
wfDebugLog does not return anything

Change-Id: I85274a85342036b76a72ba82bb7de1d05382cf14
2017-09-09 22:50:23 +02:00
Translation updater bot
bb61c94bc1 Localisation updates from https://translatewiki.net.
Change-Id: I6486b0d6441be32dad0c2404691ce2cd3383f3d2
2017-09-09 21:53:59 +02:00
Kunal Mehta
8e87dd16b8 LocalFile: Fix setting $this->description after CommentStore changes
Bug: T175444
Bug: T175443
Change-Id: I3447a4129300c2c7dc0d585404e7747b6a5e2b77
2017-09-09 19:40:23 +00:00
Volker E
dd2156735a Replace outdated greys with WCAG conformant WikimediaUI palette ones
Replacing outdated greys with WCAG level AA conformant ones from
WikimediaUI color palette.

Bug: T152025
Change-Id: Ide230784be654def9f120d5242d036f7423e65b2
2017-09-09 01:27:16 -07:00
Max Semenik
104d864425 Remove deprecated function wfFixSessionID()
Deprecated since 1.27, no callers anywhere.

Change-Id: I2d1019fdb21fe4a9d0aa767a71eb18739f841dfb
2017-09-08 18:26:11 -07:00
Max Semenik
5fd5f6dbba Deprecate wfUsePHP()
No callers anywhere.

Change-Id: I47256448d313983e3cebd713f7c149e3c3a9ab47
2017-09-08 18:03:09 -07:00
jenkins-bot
78b8d02c70 Merge "registration: Improve error message for invalid "callback" in extension.json" 2017-09-09 00:13:46 +00:00
Umherirrender
ff5222b3a0 registration: Improve error message for invalid "callback" in extension.json
Getting the following error for an invalid callback is not helpful:
Warning: Invalid argument: function: class not found in
/includes/registration/ExtensionRegistry.php on line 335

Change-Id: I4dfc011cb0a5cd06f1836d73e58f407d468e4546
2017-09-09 00:07:07 +00:00
daniel
fdf83070cd Add Title::isValid method
Make the notion of Title objects representing invalid titles explicit.

Bug: T165149
Change-Id: I89aaabdff9614fe63bd1244784a1d677dbc26f9e
2017-09-08 22:56:42 +00:00
jenkins-bot
de6568757b Merge "RCFilters: Remove getValue and use FormOptions" 2017-09-08 21:33:07 +00:00
Matthew Flaschen
91c2f9a6d5 RCFilters: Remove getValue and use FormOptions
Ensure the default is boolean, then FormOptions will
do the rest for us.

Bug: T174725
Change-Id: I92f2f77e1225f536a38f592578012855b948050c
2017-09-08 21:26:20 +00:00
Translation updater bot
dfe554b0f5 Localisation updates from https://translatewiki.net.
Change-Id: I80104ab312390512e35c648847ec49f179e6a046
2017-09-08 23:13:33 +02:00
jenkins-bot
df0c0f52e3 Merge "WLFilters: Respect default values" 2017-09-08 17:31:27 +00:00
jenkins-bot
5ae8ee5c1b Merge "postEdit: Move MonoBook style to separate file" 2017-09-08 15:54:24 +00:00
Brad Jorsch
26e705da8d Fix typo
Followup to Ic3a434c0

Change-Id: Ie57ab2dab2f9ae801de49e8e3998ec5a56a4541e
2017-09-08 10:25:02 -04:00
Stephane Bisson
5e12ab58be WLFilters: Respect default values
Followup to I3e48a9f2d9b70f0b9f6d7c6329db9c8e8001ee49
Reported in T174725#3590145

Comparing current value and active value with
different representation ("1" !== true) leads to
not applying filters that are ON by default.

Bug: T174725
Change-Id: If083610c0294756589adfc32a59388cc7422ad5d
2017-09-08 10:01:00 -04:00
Fomafix
dbc51d4a94 postEdit: Move MonoBook style to separate file
This avoids loading the MonoBook specific style on other skins.

The !important is not necessary because the skin sepecific styles are
at the end of the file and have a higher priority.

Change-Id: I4ba6c8f63b0082ac82260b20202d31d85328aa40
2017-09-08 11:47:05 +02:00
Volker E
052abe72c8 Add border-radius to align to WikimediaUI Style Guide
Adding `border-radius` in order to align to WikimediaUI Style Guide
and be more harmonious.

Change-Id: I4bda42c03a5dbf35866df4413cdb43233334912a
2017-09-07 21:27:58 -07:00
Kunal Mehta
7495d5e816 Actually delete extensions/ArticleCreationWorkflow
Change-Id: Ia1dfd909b9a0d3a91be3dc6108ba1f2e749f7c31
2017-09-07 18:18:36 -07:00
Kunal Mehta
3815a7e3ce Revert "Creating new WMF 1.30.0-wmf.17 branch"
This reverts commit 579f1bb119.

Change-Id: I59e97e578d4c7e46f4aecc330fc14047a40c3495
2017-09-07 18:03:28 -07:00
Chad Horohoe
434ebdf9a5 Update git submodules
* Update extensions/AbuseFilter from branch 'wmf/1.30.0-wmf.17'
  - Avoid CommentStore errors by selecting correct set of columns
    
    Change-Id: I7d83a45fbf86dc0144d50e8b6258b97f1b0c7188
2017-09-08 00:36:32 +00:00
MaxSem
ca7466e065 Merge "ApiQueryLinks: Remove index forcing" 2017-09-07 22:49:38 +00:00
jenkins-bot
2d545a6e6d Merge "Bump ACW" 2017-09-07 22:37:20 +00:00
Max Semenik
ea418d2687 Bump ACW
Change-Id: I3c88a2242f7fc738da2f952dca0f5e4639959aa9
2017-09-07 15:30:11 -07:00
jenkins-bot
259e37a505 Merge "Branch ArticleCreationWorkflow" into wmf/1.30.0-wmf.17 2017-09-07 21:23:14 +00:00
Brad Jorsch
14e55e80a7 ApiQueryRecentChanges: Fetch comment fields if rctoken is used
When the deprecated rctoken parameter is used, the module calls
RecentChange::newFromRow(), which now requires that the comment fields
be present.

Bug: T175307
Change-Id: Ida025f419e43809c34fff386f1a1ee8881393b80
(cherry picked from commit 5ec0132821)
2017-09-07 21:11:39 +00:00
Brad Jorsch
5ec0132821 ApiQueryRecentChanges: Fetch comment fields if rctoken is used
When the deprecated rctoken parameter is used, the module calls
RecentChange::newFromRow(), which now requires that the comment fields
be present.

Bug: T175307
Change-Id: Ida025f419e43809c34fff386f1a1ee8881393b80
2017-09-07 16:58:57 -04:00
Max Semenik
adf008f74d Branch ArticleCreationWorkflow
Bug: T175302
Change-Id: Ic3f277a7e8727a188ed4a8bb046928592d137598
2017-09-07 13:41:20 -07:00
Translation updater bot
def2d4b733 Localisation updates from https://translatewiki.net.
Change-Id: If7c3b4e60e84dac723997bd6e2f97d23b861847a
2017-09-07 22:00:49 +02:00
jdlrobson
e3c9da4f6a Update git submodules
* Update extensions/MobileFrontend from branch 'wmf/1.30.0-wmf.17'
  - Do not use deprecated fallback handling for History/Contributions
    
    The Contributions page extends the History page so this change
    also fixes the warnings there.
    
    Bug: T175161
    Change-Id: Ia79d6e72c185fb3ffd47d62a0dc5342b31382294
2017-09-07 19:03:43 +00:00
jenkins-bot
c66360d167 Merge "Move OrderedStreamingForkController class from CirrusSearch to core." 2017-09-07 18:27:49 +00:00
Stanislav Malyshev
c82d30d19c Move OrderedStreamingForkController class from CirrusSearch to core.
This class may be useful for scripts outside CirrusSearch.

Change-Id: I1ed993a3b0b64d828ae5caba6c4b540b77b2f6f5
2017-09-07 10:27:43 -07:00
jenkins-bot
f0bef2cf69 Merge "exception: Support message normalisation for structured logging" 2017-09-07 17:08:33 +00:00
jenkins-bot
ca01c9ff7f Merge "Title: Make getOtherPage() check canHaveTalkPage()" 2017-09-07 09:38:24 +00:00
Kunal Mehta
1f53b6ee6a Title: Make getOtherPage() check canHaveTalkPage()
Practically this doesn't make any difference, but once it's possible for
namespaces to not have talk pages, this function would have returned an
invalid Title.

Bug: T165149
Change-Id: I940433c22193d406d8b4a6cab0e6ad37e88e62c6
2017-09-06 19:52:34 -07:00
jenkins-bot
28adb7c4fa Merge "ContribsPager: Batch page existence lookup for IP range contributions" 2017-09-07 02:23:06 +00:00
Kunal Mehta
92c3b2404e Document DB_SLAVE as deprecated
Change-Id: I50c127b7857b6dbccfd09014d72a130071870fab
2017-09-06 18:09:42 -07:00
Kunal Mehta
c994e92d99 ContribsPager: Batch page existence lookup for IP range contributions
When looking up contributions for a range of IP addresses, include the
IP's talk page in page existence lookup batch so it doesn't get looked
up individually.

Change-Id: I5151c10569a92805f79b59f68f9c57c451dc4597
2017-09-06 17:08:29 -07:00
Kunal Mehta
325e6a1b9d ContribsPager: Don't call non-static function statically
Change-Id: Ic0753e96009f65f1599c9952784c52034b4ec096
2017-09-06 17:07:20 -07:00
Erik Bernhardson
695b0bd1cc Update git submodules
* Update extensions/WikimediaEvents from branch 'wmf/1.30.0-wmf.17'
  - Encode human search relevance survey into html output
    
    Moves the search relevance configuration from javascript into php
    configuration so it can be run on a larger number of pages without
    exploding the size of javascript delivered to everyone with all
    that config.
    
    The downside of this approach is that because the config is cached
    into the page html any updates have to work their way through varnish
    caching. For the initial test this should be fine as we can purge the
    relevant pages over some small time period. In the future when we are
    doing larger scale collection we just have to keep in mind that
    configuration changes take around 7 days to propogate.
    
    Bug: T174387
    Change-Id: I7ae522155e67610d25b5857d7b3918559bce8bc7
    (cherry picked from commit e722fe1a9b0d41c3597f9f9326e7fc6f0e1cd9c6)
2017-09-06 23:05:18 +00:00
jenkins-bot
d3edceead6 Merge "RCFilters: Live Update: download less data" 2017-09-06 21:10:08 +00:00
jenkins-bot
e6e76da9de Merge "Sync up with Parsoid parserTests.txt" 2017-09-06 21:00:31 +00:00
jenkins-bot
d19826aa35 Merge "Align "What's this" vertically" 2017-09-06 20:56:48 +00:00
C. Scott Ananian
c808d0aefa Sync up with Parsoid parserTests.txt
This now aligns with Parsoid commit 3648950432dd65a7cb4a1f80184e72f301a9ca57

Change-Id: I6ec86f7296eb51683b53dbbf0d26f5a87b84e6c7
2017-09-06 16:34:16 -04:00
Translation updater bot
7cce4ab1c5 Localisation updates from https://translatewiki.net.
Change-Id: I2aaed9c1c21b38c46c8ef3981ec629aab2af2027
2017-09-06 22:12:31 +02:00
jenkins-bot
7bbebf6ed0 Merge "Making numerous fields unsigned to match their target referenced column" 2017-09-06 19:37:29 +00:00
jenkins-bot
13e59687c8 Merge "Remove outdated comment" 2017-09-06 18:42:46 +00:00
Reedy
f4022fe876 Making numerous fields unsigned to match their target referenced column
Bug: T157227
Change-Id: Ic11822d6c893103adcc99a3e188a592f13c968b8
2017-09-06 19:34:09 +01:00
Brad Jorsch
f548099aaa Update git submodules
* Update extensions/Flow from branch 'wmf/1.30.0-wmf.17'
  - Handle new fields for RecentChange object attributes
    
    See core change Ic3a434c0.
    
    Bug: T166732
    Change-Id: I284b5aae6979cd97ab53241c00a84077afd1e95d
    (cherry picked from commit 088142f6f0e6e92fc6f1c92c4861216b769c740e)
2017-09-06 16:48:39 +00:00
Stephane Bisson
0725cbe9a7 RCFilters: Live Update: download less data
Make ChangesListSpecialPage respect action=render
to exclude the MW chrome (header, logo, sidebar, etc).

Introduce peek=1 in ChangesListSpecialPage to skip
the form and changes list rendering and return
200 when there is new data and 304 (not modified)
where there isn't.

Together, they reduce the page size from 49.9k to 275b on polling
and eliminate most HTTP 404 console errors.

Bug: T173613
Change-Id: I0aec878ae80e22814b196b26e944db8c78a5f91a
2017-09-06 11:34:13 -04:00