Commit graph

56774 commits

Author SHA1 Message Date
C. Scott Ananian
fb125de072 Allow HTML5 <rtc> tag (ruby support for East Asian typography).
We currently allow <ruby>, <rt>, <rb>, and <rp> but not the W3C HTML5
<rtc> element.  Fix that.

(Note that <rb> and <rtc> are new additions to HTML5 which currently
appear in the W3C but not the WHATWG version of the HTML5 spec.
Support for these has already been merged in gecko and webkit and
the editor plans to update the WHATWG spec.)

Bug: 67042
Change-Id: I8c0e65d782b6d23057a9723b87323b28e8bf8852
2014-07-02 18:45:14 -04:00
jenkins-bot
b4ed05d6a2 Merge "Don't use rclimit preference on Special:Search" 2014-07-02 22:18:04 +00:00
jenkins-bot
b326ce054a Merge "Reword security reminder at the top of the release notes" 2014-07-02 22:01:17 +00:00
jenkins-bot
e1318c96aa Merge "chunky_png Ruby gem is not used" 2014-07-02 21:08:03 +00:00
withoutaname
84af329769 Reword security reminder at the top of the release notes
Change-Id: Ia33f6eb9b2188c8a1624fc06c3830cf916f24264
2014-07-02 12:49:21 -07:00
Translation updater bot
9770ea26e0 Localisation updates from https://translatewiki.net.
Change-Id: Ib189d947865ccc4b15cb617ed5db6045250e3106
2014-07-02 19:34:42 +00:00
jenkins-bot
5862bd9b13 Merge "Fixed EmptyPass error message" 2014-07-02 18:50:43 +00:00
jenkins-bot
03d9137558 Merge "De-duplicate pages in replaceInternal" 2014-07-02 18:28:15 +00:00
James D. Forrester
66a7abfd97 Update OOjs UI to v0.1.0-pre (432a76f7d4)
New changes:
ebfa365 Generate RTL stylesheets with CSSJanus
da83ad2 Set tabindex on button <div> instead of <a>
e2a6bb1 Add tabindex=0 and role=button to tool links
432a76f Run node-svgo to crush all SVGs whilst retaining readibility

Change-Id: Ieb775472b05acf42aada190a49f9f768ddcd5084
2014-07-02 09:20:54 -07:00
Cmcmahon
7cf1051458 QA: need login tags for Jenkins build
Change-Id: I6663c6f6f59d692a9825ff8b462b30e1b2214ae0
2014-07-02 08:37:32 -07:00
jenkins-bot
af58c12759 Merge "Make the URL input on Special:LinkSearch ltr by default" 2014-07-02 14:07:28 +00:00
jenkins-bot
5141b5753b Merge "Workaround image magick issue with greyscale xcf files" 2014-07-02 13:58:28 +00:00
Željko Filipin
72e4ca7f83 chunky_png Ruby gem is not used
Also fixed the order of gems in env.rb and updated Ruby gems in
Gemfile.lock.

Change-Id: I1ff294a50f37373bfdd3d04404c498e94b6f79ba
2014-07-02 15:55:58 +02:00
Željko Filipin
5f6bcfa4c6 Fixed EmptyPass error message
mediawiki_api Ruby gem needs user password, but it is only set if the
scenario has @login Cucumber tag.

The entire error message: EmptyPass (MediawikiApi::LoginError)

For the entire stack trace see

1:
https://integration.wikimedia.org/ci/view/BrowserTests/job/browsertests-
Core-en.wikipedia.beta.wmflabs.org-linux-firefox-sauce/14/consoleFull

Change-Id: Ib5c297d9bfc1ca953d3aec27208fb99143fec011
2014-07-02 15:50:58 +02:00
Max Semenik
467f4affd1 New hook, AfterParserFetchFileAndTitle
It is needed for PageImages to collect information about galleries, improving results
for Commons mainspace.

Bug: 66510
Change-Id: I3136d648ef2c1841767db0ab33855cd168e3de3e
2014-07-01 17:40:11 -07:00
jenkins-bot
460213619e Merge "SpecialSearch: Fix pagination" 2014-07-02 00:04:55 +00:00
jenkins-bot
0752827b84 Merge "Database: Generalise SQL before writing to debug log" 2014-07-01 21:38:39 +00:00
Translation updater bot
044bd1d893 Localisation updates from https://translatewiki.net.
Change-Id: I39205dcbe72128c4d2978282309d208f059395fd
2014-07-01 20:21:26 +00:00
Brad Jorsch
bb3e01947f Properly count actions in Special:ActiveUsers
The cache of active users maintained by Special:ActiveUsers filters out
certain actions, but the displayed action count does not. Fix this.

Change-Id: Ifb9035a08328587c43c46520c5062602b9b9c6f5
2014-07-01 15:55:43 -04:00
Timo Tijhof
cbeda77bd3 Database: Generalise SQL before writing to debug log
The log often contains stuff like the following, where the trimmed
snippet can span many many lines:

* DatabaseBase::query: Writes done: INSERT IGNORE INTO `msg_resource`
   (mr_lang,mr_resource,mr_blob,mr_timestamp) VALUES ('۶?2x?ptt?`0<snip>?`0??O?')
* DatabaseBase::query: Writes done: REPLACE INTO `objectcache`
   (keyname,value,exptime) VALUES ('۶?2x?ptt?`0<snip>?`0??O ?`???`0??O ?`???`0?')

Bug: 67382
Change-Id: I76ca042f166fed56d86df15f788702384d48064c
2014-07-01 21:38:53 +02:00
Chad Horohoe
82afee57ef SpecialSearch: Fix pagination
This basically reverts f4357b6 but fixes it while we're here. Requesting
one extra result causes extra load and weird queries against the search
backend...all to be thrown away. Plus it's showing "Results 1-21 of N"
when we're only showing 20 which is a regression.

All search backends implement getTotalHits() so use that count instead
to figure out if we're on the last page.

Change-Id: Ib38b1e124bea7133f48209ef8af1b1e26b4dba75
2014-07-01 12:38:22 -07:00
jenkins-bot
1da24f74e9 Merge "API: Fix queries for list=allusers&auactiveusers" 2014-07-01 19:14:54 +00:00
jenkins-bot
b57240065d Merge "vector/jquery.ui.core.css: Update rule for .ui-helper-hidden-accessible" 2014-07-01 19:03:25 +00:00
rillke
9be3db69e4 vector/jquery.ui.core.css: Update rule for .ui-helper-hidden-accessible
A Blink rendering bug causes dialogs to vanish in Chrome and Opera Next
with current CSS (bug 67243).

The file resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css
(from the default jquery.ui theme, 'smoothness') was used as a template.

Upstream commits:
* https://github.com/jquery/jquery-ui/commit/a9d854967f0
* https://github.com/jquery/jquery-ui/commit/48e0aa0fd27

Bug: 67243
Change-Id: Ib099282484bb29f5d33208be843686bf3ca11366
2014-07-01 18:58:41 +00:00
jenkins-bot
65290251c2 Merge "API: Fix setnotificationtimestamp with no pages given" 2014-07-01 17:44:34 +00:00
jenkins-bot
3d222e07c6 Merge "ApiOptionsTest: Simplify hook restoration" 2014-07-01 17:26:52 +00:00
jenkins-bot
f447183075 Merge "UserTest: Cover User::isIP and User::isValidUserName better" 2014-07-01 17:24:26 +00:00
Kartik Mistry
3e50955269 Fixed typo
unkown -> unknown

Change-Id: Ibbe73853258fd476d4e6f1b28dce27a20233f58f
2014-07-01 17:00:04 +00:00
Timo Tijhof
820bb47490 ApiOptionsTest: Simplify hook restoration
Change-Id: I2afc35b45caf9ddfd34fb0bba0839987b7fb2ed4
2014-07-01 18:32:05 +02:00
Timo Tijhof
2e3b1076c0 UserTest: Cover User::isIP and User::isValidUserName better
Change-Id: I4663c37871492c1415152b2af0fda4f6de4f212f
2014-07-01 18:31:07 +02:00
Brad Jorsch
1552e7db72 API: Fix setnotificationtimestamp with no pages given
When newerthanrevid or torevid is used and no pages are given, do not
throw a fatal PHP error.

When no pages are given in other modes, do not return a database error.

Bug: 48071
Change-Id: I5abcdf0fa20486f1198d1cc111461b3088a311df
2014-07-01 11:31:03 -04:00
jenkins-bot
7234b48772 Merge "Removes 'languageshtml' property in mediawiki API's 'parse' action" 2014-07-01 15:00:45 +00:00
paladox
2345c23199 mediawiki.searchSuggest: Enable for iPhone and iPod touch
* This removes iPhone and iPod touch from browser blacklist.
* Similar to f64a3c26c6 in WikiEditor.
* it requires iOS 6 or later to work.

Change-Id: I46913bb6d360d6b0994b0585c0064f16f1ed460b
2014-07-01 14:04:23 +00:00
Rohan
f1b0316570 Removes 'languageshtml' property in mediawiki API's 'parse' action
Bug: 67149
Change-Id: Ib1dfa0d04380839bbe474cbb5c0a9b6af09b8371
2014-07-01 19:28:39 +05:30
jenkins-bot
fc3869f0a1 Merge "Setup.php: Move hacky skin requires higher up" 2014-07-01 13:53:22 +00:00
jenkins-bot
9c00b728cc Merge "Function type hints for LinkHolderArray.php" 2014-07-01 13:53:18 +00:00
Bartosz Dziewoński
f7939a856b Setup.php: Move hacky skin requires higher up
Some of the setup code in some of the configurations apparently depends
on all extensions and skins being already required by the point
Setup.php is being loaded. We ran into issues with LocalisationCache.

Bug: 67318
Change-Id: Idde13c2e835a9969593a4716a62b392d4c1388d6
2014-07-01 15:39:46 +02:00
jenkins-bot
d434013a98 Merge "Improve Database related documentation a bit" 2014-07-01 11:20:08 +00:00
jenkins-bot
e3e8659cfc Merge "Make the global objects documentation consistent in Setup.php" 2014-07-01 11:18:05 +00:00
jenkins-bot
da7df94b4c Merge "Documentation improvements in ChangeTags.php" 2014-07-01 11:16:22 +00:00
jenkins-bot
1c0b4745ef Merge "Don't use isset() to check for null" 2014-07-01 11:16:07 +00:00
Alexandre Emsenhuber
cae5da1ca3 Improve Database related documentation a bit
- $wgDBport is also for MSSQL
- "type" key of $wgDBservers is not only "mysql" and "postgres"
- Note that $wgDBssl, $wgDBcompress and $wgDebugDumpSql only
  work in certain cases and mention how to emulate them otherwise

Change-Id: Id863da8c87308d06e0070877ac0af26d03be4faf
2014-07-01 11:15:20 +00:00
Reedy
f88c69da80 De-duplicate pages in replaceInternal
Change-Id: If534308040201f0c4f9d315fae508c7dd3f53ee9
2014-07-01 01:44:04 +01:00
Reedy
aa63fb9810 Function type hints for LinkHolderArray.php
Change-Id: I5e429baab774a790b3558732f9c87637adfbe4ce
2014-07-01 01:40:19 +01:00
Aaron Schulz
8d6c724ade Improved DB handling in LCStoreDB
* Only do the DB inserts in finishWrite(). Previously this would
  COMMIT there but would spread out queries throughout the set()
  calls. This pushes all the contention down to the last step.

Change-Id: Ia8afb79a8328c18a7d8a386bcd15a5074007d52e
2014-06-30 17:16:42 -07:00
jenkins-bot
e84a6dfd9e Merge "mediawiki.feedback: Don't use deprecated calling convention for mw.Api#newSection" 2014-06-30 22:02:22 +00:00
Bartosz Dziewoński
fc80e1f5e9 mediawiki.feedback: Don't use deprecated calling convention for mw.Api#newSection
Change-Id: I82e69a19f1d4416d456521c1233d13a349fe457e
2014-06-30 23:43:00 +02:00
umherirrender
4bc8a7740b Add SpecialPagesWithProp::prefixSearchSubpages
This shows the existing props as subpages on search suggestion

Change-Id: I3d35474bcf840a6feede8079642d83074874c6f3
2014-06-30 21:17:11 +00:00
Translation updater bot
e477dfb86e Merge "Localisation updates from https://translatewiki.net." 2014-06-30 20:40:58 +00:00
Translation updater bot
f039b8a6c1 Localisation updates from https://translatewiki.net.
Change-Id: I77bfdae2686c736fbd1b9bd44cfc690d9e4bad13
2014-06-30 20:36:36 +00:00