lhc/web/wiklou.git
10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 11 Apr 2014 19:45:14 +0000 (19:45 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Idaec9e5cc1c68c224d2a6f05834be4eabd88b4ae

10 years agoMerge "IEFixes: Remove relativeforfloats() as it doesn't work"
jenkins-bot [Fri, 11 Apr 2014 19:28:07 +0000 (19:28 +0000)]
Merge "IEFixes: Remove relativeforfloats() as it doesn't work"

10 years agoMerge "IEFixes: Clean up duplicate variables"
jenkins-bot [Fri, 11 Apr 2014 19:20:18 +0000 (19:20 +0000)]
Merge "IEFixes: Clean up duplicate variables"

10 years agoMerge "Revert font stack to be just sans-serif"
Bartosz Dziewoński [Fri, 11 Apr 2014 18:41:50 +0000 (18:41 +0000)]
Merge "Revert font stack to be just sans-serif"

10 years agoIEFixes: Remove relativeforfloats() as it doesn't work
Timo Tijhof [Thu, 10 Apr 2014 18:44:59 +0000 (11:44 -0700)]
IEFixes: Remove relativeforfloats() as it doesn't work

This is intended for IE6 where there is supposedly a bug with elements
that have inline 'style="float: left/right;"' which would
need position:relative as fix-up.

Aside from that bug being questionable, the way it was implemented
doesn't actually work in IE6 (or any version of IE for that matter).

The CSSOM property for 'float' is 'Node.style.cssFloat', and in
old versions of IE (including IE6) it was 'Node.style.styleFloat',
but it was never 'Node.style.float'.

Confirmed in browserstack with Windows XP/IE6, an element like
<div style="float: left;"></div> has .cssFloat, .float does not
exist and this code does nothing.

When testing I used style['float'] to ensure this isn't just broken
because of reserved words in property names (though it doesn't matter
because .float actually works fine in ES3 engines).

Fun fact: Regardless of the spec, Chrome actually implements
'Node.style.float' as well (only Chrome though; IE and Firefox
don't). So though this is only loaded in IE6 (where it doesn't
work), if this is loaded in Chrome, it actually works.

We could find out what this bug is and provide a working patch
(if needed), but since this is legacy code and we're not actively
in the habit of providing more fixes for IE6, and since this is
and has been broken for years, removing it seems a sensible move.

Follows-up 28cca60.

Change-Id: I7d4b4bcb81b4bdaeab40bcbbb34dff0aa51f2e22

10 years agoIEFixes: Clean up duplicate variables
Timo Tijhof [Thu, 10 Apr 2014 18:40:00 +0000 (11:40 -0700)]
IEFixes: Clean up duplicate variables

Declare the global ones as global, and assign them as implicit
globals instead of having both a local variable *and* a window
property. hasClass and expandedURLs are local variable only.

Follows-up 28cca60fcf493409d9dfd.

Change-Id: I81436c218eedf7c1930703c181a58adb2e5f44b0

10 years agoAPI: Make more continuations unique
Brad Jorsch [Tue, 24 Dec 2013 20:26:47 +0000 (15:26 -0500)]
API: Make more continuations unique

API queries must be completely ordered for proper behavior; otherwise
you may get into a situation where a query returns the same continuation
value that was provided. Various modules that have been using timestamps
in/as their continuation parameter can easily run into this problem.

Normally we'd have to add additional fields to the relevant indexes to
be able to make this work without having filesorting queries (which
MySQL really doesn't do well, it fetches all matching rows and only
applies the limit after[1]). But InnoDB has a "feature" where it
effectively appends the table's primary key to all other indexes,[2]
which makes these queries be properly indexed in that situation.
Apparently we're ok with this, since Icc43b62f was merged depending on
this feature.

Also, this change fixes some MySQLisms and other oddities done to
ApiQueryRecentChanges in Icc43b62f.

 [1]: https://dev.mysql.com/doc/refman/5.5/en/limit-optimization.html
 [2]: https://dev.mysql.com/doc/refman/5.5/en/innodb-table-and-index.html

Bug: 24782
Change-Id: I4c9f8c0c2bfd831755d4fa20a18f93fef1effd28

10 years agoMerge "Moved "Date format" user preference to "Appearance" tab"
Bartosz Dziewoński [Fri, 11 Apr 2014 13:10:10 +0000 (13:10 +0000)]
Merge "Moved "Date format" user preference to "Appearance" tab"

10 years agoMoved "Date format" user preference to "Appearance" tab
Tony Thomas [Thu, 10 Apr 2014 18:41:01 +0000 (00:11 +0530)]
Moved "Date format" user preference to "Appearance" tab

This user preference affects the appearance of the site,
so this feels like a natural fit

Bug: 63582
Change-Id: Ib97b1b39723f1835b7f6086ff1418ab5de13a7a1

10 years agoFix typo in comment
Siebrand Mazeland [Thu, 10 Apr 2014 21:27:27 +0000 (23:27 +0200)]
Fix typo in comment

Change-Id: I18447c07a783f7d68b89b08cf74eed6149f88670

10 years agoMerge "Clarify the "Watchlist-details" message"
Siebrand [Fri, 11 Apr 2014 06:09:39 +0000 (06:09 +0000)]
Merge "Clarify the "Watchlist-details" message"

10 years agoRemoved $wgMaxBacklinksInvalidate
Aaron Schulz [Wed, 9 Apr 2014 00:26:37 +0000 (17:26 -0700)]
Removed $wgMaxBacklinksInvalidate

This was a quick hack, introduced in I4fadded0e, that was later made
redundant by $wgJobBackoffThrottling.

Change-Id: Iddc5f6cfd6554ad9b6e54b8ce1b4805af809c7c8

10 years agoClarify the "Watchlist-details" message
Aditya Sastry [Thu, 10 Apr 2014 22:01:59 +0000 (03:31 +0530)]
Clarify the "Watchlist-details" message

Bug: 53098
Change-Id: I74afadb81e15e6a495b784f0a9c95630ae09abd2

10 years agojquery.suggestions: Debounce calls to $.suggestions.special
Bartosz Dziewoński [Wed, 9 Apr 2014 12:07:49 +0000 (14:07 +0200)]
jquery.suggestions: Debounce calls to $.suggestions.special

The custom calls used there can be comparatively expensive and it
might not be a good idea to redo them on every keystroke.

Bug: 59172
Change-Id: I0cdf53eec798a714825c94d80f100b5cf5841f5d

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 10 Apr 2014 22:01:50 +0000 (22:01 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie834afa64574bfbecc97a9e706370b807a9f2f50

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 10 Apr 2014 21:43:43 +0000 (21:43 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Iae58b6b9c27350d9fe472304b06ac6eae8d88dea

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 10 Apr 2014 20:25:38 +0000 (20:25 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Iab0abcc67f667d807a01d6c5864c1b5c4343ee74

10 years agoMerge "Update tests/frontend devDependencies"
jenkins-bot [Thu, 10 Apr 2014 19:49:53 +0000 (19:49 +0000)]
Merge "Update tests/frontend devDependencies"

10 years agoMerge "Remove trailing spaces from some language files"
jenkins-bot [Thu, 10 Apr 2014 19:27:48 +0000 (19:27 +0000)]
Merge "Remove trailing spaces from some language files"

10 years agoUpdate tests/frontend devDependencies
Timo Tijhof [Thu, 10 Apr 2014 19:04:56 +0000 (12:04 -0700)]
Update tests/frontend devDependencies

* grunt-contrib-jshint: v0.8.0 to v0.9.2
  - https://github.com/gruntjs/grunt-contrib-jshint/blob/v0.9.2/CHANGELOG
  - Minor changes and bug fixes
  - Lastest version is v0.10.0, but that embeds jshint v2.5.0
    which we don't want to use yet.

* grunt-contrib-watch: v0.5.3 to v0.6.1 (latest)
  - https://github.com/gruntjs/grunt-contrib-watch/blob/v0.6.1/CHANGELOG
  - Minor changes and bug fixes

* grunt-jscs-checker: v0.4.0 to v0.4.1 (latest)
  - https://github.com/gustavohenke/grunt-jscs-checker/compare/0.4.0...0.4.1
  - Minor changes

Change-Id: I68e9057f8e353e2c3ac8b889977de07597211c54

10 years agoMerge "mediawiki.api: Use FormData for POST requests when supported"
jenkins-bot [Thu, 10 Apr 2014 19:19:01 +0000 (19:19 +0000)]
Merge "mediawiki.api: Use FormData for POST requests when supported"

10 years agoRemove trailing spaces from some language files
umherirrender [Thu, 10 Apr 2014 19:02:25 +0000 (21:02 +0200)]
Remove trailing spaces from some language files

Change-Id: I61d015a9a6f1b8487130393f1c104bc39363a3d1

10 years agoMerge "Document new param of Title::countRevisionsBetween"
jenkins-bot [Thu, 10 Apr 2014 18:57:05 +0000 (18:57 +0000)]
Merge "Document new param of Title::countRevisionsBetween"

10 years agoExclude external RC entries (e.g. Wikidata) from Special:ActiveUsers
Brian Wolff [Thu, 10 Apr 2014 19:31:55 +0000 (16:31 -0300)]
Exclude external RC entries (e.g. Wikidata) from Special:ActiveUsers

People usually want to know who the active users are on the local
wiki, not who edited something on Wikidata.

Note, this changes the query to no longer use a covering index
when joining against the recentchanges table when displaying
the page.

Bug: 63769
Change-Id: I919123f396d0901822108a4675593a2ff5b7307f

10 years agoMerge "Fixes for messages quoting each other and punctuation"
jenkins-bot [Thu, 10 Apr 2014 18:23:48 +0000 (18:23 +0000)]
Merge "Fixes for messages quoting each other and punctuation"

10 years agoDocument new param of Title::countRevisionsBetween
umherirrender [Thu, 10 Apr 2014 17:58:34 +0000 (19:58 +0200)]
Document new param of Title::countRevisionsBetween

Follow-Up: Ie51a491ff5d22c2d84934e83d4b3f690c9dbd595
Change-Id: I61483f50512027559c4c3b63c49602b8aea755fd

10 years agoMerge "mediawiki.special: Remove HTML backwards-compatibility styles"
jenkins-bot [Thu, 10 Apr 2014 16:53:46 +0000 (16:53 +0000)]
Merge "mediawiki.special: Remove HTML backwards-compatibility styles"

10 years agoMerge "Follow-up: If985b16c – Vector external link change release notes"
jenkins-bot [Thu, 10 Apr 2014 15:54:20 +0000 (15:54 +0000)]
Merge "Follow-up: If985b16c – Vector external link change release notes"

10 years agoMerge "mediawiki.jqueryMsg: Don't throw parse errors in the user's face"
Bartosz Dziewoński [Thu, 10 Apr 2014 15:54:02 +0000 (15:54 +0000)]
Merge "mediawiki.jqueryMsg: Don't throw parse errors in the user's face"

10 years agoFollow-up: If985b16c – Vector external link change release notes
jrobson [Tue, 8 Apr 2014 15:59:32 +0000 (08:59 -0700)]
Follow-up: If985b16c – Vector external link change release notes

Also strengthen the CSS selector and remove a FIXME that it fixed.

Bug: 54604
Change-Id: I84765c536ade4087d8d3d9753966a443e49b2c38

10 years agoMerge "Remove translations of ignored 'helppage' message"
jenkins-bot [Thu, 10 Apr 2014 15:31:24 +0000 (15:31 +0000)]
Merge "Remove translations of ignored 'helppage' message"

10 years agoMerge "Remove zh-[cn|tw] in favour of zh-han[s|t]"
jenkins-bot [Thu, 10 Apr 2014 14:49:40 +0000 (14:49 +0000)]
Merge "Remove zh-[cn|tw] in favour of zh-han[s|t]"

10 years agoMerge "Restore text for "Other" reason on Special:Block reason list"
jenkins-bot [Thu, 10 Apr 2014 14:37:29 +0000 (14:37 +0000)]
Merge "Restore text for "Other" reason on Special:Block reason list"

10 years agoRemove translations of ignored 'helppage' message
Federico Leva [Thu, 10 Apr 2014 14:14:27 +0000 (16:14 +0200)]
Remove translations of ignored 'helppage' message

Change-Id: I4c8aa73b5874f3d5c476cecc1453cb92c8a16c28

10 years agoFixes for messages quoting each other and punctuation
Siebrand Mazeland [Thu, 10 Apr 2014 12:05:09 +0000 (14:05 +0200)]
Fixes for messages quoting each other and punctuation

Use {{int:}} to refer to the localised label.

Change-Id: Ifbc42e993a7c0d3922eedb8aad6401c1c17a4f24

10 years agoMerge "Remove unused key img-auth-bad-query-string"
Siebrand Mazeland [Thu, 10 Apr 2014 11:54:02 +0000 (11:54 +0000)]
Merge "Remove unused key img-auth-bad-query-string"

10 years agoMerge "Remove unused key upload-unknown-size"
Siebrand Mazeland [Thu, 10 Apr 2014 11:53:39 +0000 (11:53 +0000)]
Merge "Remove unused key upload-unknown-size"

10 years agoMerge "Remove unused key uploadfromurl-queued"
Siebrand Mazeland [Thu, 10 Apr 2014 11:53:19 +0000 (11:53 +0000)]
Merge "Remove unused key uploadfromurl-queued"

10 years agoMerge "Remove unused key usermailererror"
Siebrand Mazeland [Thu, 10 Apr 2014 11:52:39 +0000 (11:52 +0000)]
Merge "Remove unused key usermailererror"

10 years agoMerge "Remove unused key filehist-missing"
Siebrand Mazeland [Thu, 10 Apr 2014 11:52:16 +0000 (11:52 +0000)]
Merge "Remove unused key filehist-missing"

10 years agoMerge "Remove unused key importnotext"
jenkins-bot [Thu, 10 Apr 2014 11:05:07 +0000 (11:05 +0000)]
Merge "Remove unused key importnotext"

10 years agoMerge "Place parenthesis outsoude of code tag"
jenkins-bot [Thu, 10 Apr 2014 10:37:37 +0000 (10:37 +0000)]
Merge "Place parenthesis outsoude of code tag"

10 years agoMerge "Remove unused key usernamehasherror"
jenkins-bot [Thu, 10 Apr 2014 10:37:35 +0000 (10:37 +0000)]
Merge "Remove unused key usernamehasherror"

10 years agoMerge "Remove unused key nowikiemailtitle"
jenkins-bot [Thu, 10 Apr 2014 10:37:33 +0000 (10:37 +0000)]
Merge "Remove unused key nowikiemailtitle"

10 years agoMerge "Remove unused key uploadedfiles"
jenkins-bot [Thu, 10 Apr 2014 10:33:00 +0000 (10:33 +0000)]
Merge "Remove unused key uploadedfiles"

10 years agoMerge "Update documentation for used message keys in Special:Emailuser"
jenkins-bot [Thu, 10 Apr 2014 10:32:58 +0000 (10:32 +0000)]
Merge "Update documentation for used message keys in Special:Emailuser"

10 years agoRemove unused key importnotext
Siebrand Mazeland [Thu, 10 Apr 2014 07:55:27 +0000 (09:55 +0200)]
Remove unused key importnotext

Change-Id: I86883a3246aec6e1daf2558928694de5219529ab

10 years agoRemove zh-[cn|tw] in favour of zh-han[s|t]
Siebrand Mazeland [Thu, 10 Apr 2014 10:32:36 +0000 (12:32 +0200)]
Remove zh-[cn|tw] in favour of zh-han[s|t]

Change-Id: I9a9f7d53a82e800c719109332bced016e5b2a4cd

10 years agoMerge "Remove unused key importhistoryconflict"
jenkins-bot [Thu, 10 Apr 2014 10:28:22 +0000 (10:28 +0000)]
Merge "Remove unused key importhistoryconflict"

10 years agoMerge "Remove unused key exblank"
jenkins-bot [Thu, 10 Apr 2014 10:26:52 +0000 (10:26 +0000)]
Merge "Remove unused key exblank"

10 years agoMerge "Remove unused key enotif_mailer"
jenkins-bot [Thu, 10 Apr 2014 10:26:49 +0000 (10:26 +0000)]
Merge "Remove unused key enotif_mailer"

10 years agoRemove unused key usermailererror
Siebrand Mazeland [Thu, 10 Apr 2014 07:33:32 +0000 (09:33 +0200)]
Remove unused key usermailererror

It's used in the ContactPage extension. The message will be moved there.

Change-Id: I2defcab51b4bd492fc58a3b259e96b7dde8aa82f

10 years agoRemove unused key filehist-missing
Siebrand Mazeland [Thu, 10 Apr 2014 07:30:34 +0000 (09:30 +0200)]
Remove unused key filehist-missing

Change-Id: Id6e81115f55ab9d1b798c4a2bfae391b460e6f27

10 years agoRemove unused key img-auth-bad-query-string
Siebrand Mazeland [Thu, 10 Apr 2014 07:26:29 +0000 (09:26 +0200)]
Remove unused key img-auth-bad-query-string

Change-Id: Ic5313575a833eb7c61ee24e89c366d72f532885a

10 years agoRemove unused key upload-unknown-size
Siebrand Mazeland [Thu, 10 Apr 2014 07:24:17 +0000 (09:24 +0200)]
Remove unused key upload-unknown-size

Change-Id: I8106329abc21a3f14043eb205e9d1e8dc13015c0

10 years agoPlace parenthesis outsoude of code tag
Siebrand Mazeland [Thu, 10 Apr 2014 10:01:26 +0000 (12:01 +0200)]
Place parenthesis outsoude of code tag

Spotted by Orlodrim and reported at
https://translatewiki.net/wiki/Thread:Support/MediaWiki:Post-expand-template-argument-category-desc/en

Change-Id: Ie4921b517447ab8398a231088ab15191818a3f47

10 years agoMerge "Remove unused key uploadlog"
jenkins-bot [Thu, 10 Apr 2014 10:15:11 +0000 (10:15 +0000)]
Merge "Remove unused key uploadlog"

10 years agoRemove unused key usernamehasherror
Siebrand Mazeland [Thu, 10 Apr 2014 07:08:04 +0000 (09:08 +0200)]
Remove unused key usernamehasherror

Change-Id: I239c3ba63bdb191dfa08d49bf176b5d64029aea4

10 years agoRemove unused key nowikiemailtitle
Siebrand Mazeland [Thu, 10 Apr 2014 07:42:13 +0000 (09:42 +0200)]
Remove unused key nowikiemailtitle

Change-Id: I371429d0d73ee08536ff61083ba67ed3fd2c8548

10 years agoUpdate documentation for used message keys in Special:Emailuser
Siebrand Mazeland [Thu, 10 Apr 2014 08:05:35 +0000 (10:05 +0200)]
Update documentation for used message keys in Special:Emailuser

These had been tucked away uncomfortably :(.

Change-Id: I1b387751722d944de8a50d31ce14595c80f65f54

10 years agoRemove unused key importhistoryconflict
Siebrand Mazeland [Thu, 10 Apr 2014 07:57:22 +0000 (09:57 +0200)]
Remove unused key importhistoryconflict

Change-Id: I50b0554bf3125e63e9d7de94d0ddcc553d19c3de

10 years agoRemove unused key exblank
Siebrand Mazeland [Thu, 10 Apr 2014 07:51:43 +0000 (09:51 +0200)]
Remove unused key exblank

Change-Id: Idcb503108529ece3b38eca26e1b05b6efd4be3e8

10 years agoRemove unused key enotif_mailer
Siebrand Mazeland [Thu, 10 Apr 2014 07:49:10 +0000 (09:49 +0200)]
Remove unused key enotif_mailer

Change-Id: Idcc1ad8e3326f4ca9b8ab495afcc2a680be0a00e

10 years agoMerge "jshint: Enable 'es3' option"
jenkins-bot [Thu, 10 Apr 2014 07:40:34 +0000 (07:40 +0000)]
Merge "jshint: Enable 'es3' option"

10 years agoRemove unused key uploadfromurl-queued
Siebrand Mazeland [Thu, 10 Apr 2014 07:20:03 +0000 (09:20 +0200)]
Remove unused key uploadfromurl-queued

Change-Id: I5aa740cb0a2e44b6d2cdba31103a0b088fccd257

10 years agoRemove unused key uploadedfiles
Siebrand Mazeland [Thu, 10 Apr 2014 07:15:11 +0000 (09:15 +0200)]
Remove unused key uploadedfiles

Change-Id: I5b1b4b5a706c2670b855d2b514bdf9ebd90c10b0

10 years agoRemove unused key uploadlog
Siebrand Mazeland [Thu, 10 Apr 2014 07:12:27 +0000 (09:12 +0200)]
Remove unused key uploadlog

Change-Id: I8319e9dce2a58e6e9ddf6f37ac35088e58d64662

10 years agoMerge "Special:ListGroupRights: Add per-namespace restrictions and rights"
jenkins-bot [Thu, 10 Apr 2014 06:59:25 +0000 (06:59 +0000)]
Merge "Special:ListGroupRights: Add per-namespace restrictions and rights"

10 years agoAvoid making a derivative request to Special:RunJobs when the job queue is empty
Aaron Schulz [Tue, 8 Apr 2014 16:34:49 +0000 (09:34 -0700)]
Avoid making a derivative request to Special:RunJobs when the job queue is empty

Checking that the job queue is nonempty is cheap, and when the result is
negative (that is, when the queue is actually empty), it spares from having to
launch a derivative request to Special:RunJobs for job processing. The
derivative request is not cheap, because processing it requires having an
additional full instance of the application. This patch adds the check.

Bug: 60210
Change-Id: Icb95c35f4a8a3c9d4b5aff97fdfabf596d05940a

10 years agomediawiki.special: Remove HTML backwards-compatibility styles
Bartosz Dziewoński [Tue, 4 Mar 2014 20:32:19 +0000 (21:32 +0100)]
mediawiki.special: Remove HTML backwards-compatibility styles

Follow-up to b8f02ce4.

Change-Id: Ica0c3f17a4291c43103cebd4b1089a782be37801

10 years agoUpdate OOjs UI to v0.1.0-pre (ac6848398c)
James D. Forrester [Thu, 10 Apr 2014 00:58:22 +0000 (17:58 -0700)]
Update OOjs UI to v0.1.0-pre (ac6848398c)

New changes:
dbfade7 Localisation updates from https://translatewiki.net.
b541846 Remove grey background from disabled MenuToolgrop in apex
1367d62 Localisation updates from https://translatewiki.net.
0e4427d Make field labels appear disabled in sync with the field
ac68483 Get rid of useless comments for classes

Change-Id: I39e37060df2b52749b93b3918564691bf1725edb

10 years agoMerge "Typography Refresh - Apply line-height to correct ID"
jenkins-bot [Thu, 10 Apr 2014 00:22:45 +0000 (00:22 +0000)]
Merge "Typography Refresh - Apply line-height to correct ID"

10 years agoTypography Refresh - Apply line-height to correct ID
Erwin Dokter [Wed, 9 Apr 2014 15:33:12 +0000 (15:33 +0000)]
Typography Refresh - Apply line-height to correct ID

The 1.6 line-height (@content-line-height set in variables.less) in
the Typography Refresh has been applied to div#content, which is in
turn overridden by the 1.5em line-height of #bodyContent
(set in common.less).

Fix: Remove line-height rule for div#content and set
line-height for #bodyContent to @content-line-height.

Bug: 63731
Change-Id: I16e6d6cea6f283bf79a6bf29c19b9700dda222f8

10 years agojshint: Enable 'es3' option
Timo Tijhof [Mon, 3 Mar 2014 19:03:27 +0000 (20:03 +0100)]
jshint: Enable 'es3' option

Syntax new in ES5 not supported in older browsers using ES3.

* Trailing comma's in object and array literals.
* References to properties with protected names.

Disabled for some test files.

Change-Id: I24a0d1677f887097065fab874fea15f3855a4f34

10 years agomediawiki.jqueryMsg: Don't throw parse errors in the user's face
Bartosz Dziewoński [Thu, 13 Feb 2014 23:55:39 +0000 (00:55 +0100)]
mediawiki.jqueryMsg: Don't throw parse errors in the user's face

Log them to the console instead, displaying unparsed text.

Added tests for this behavior.

Change-Id: I8290387e1e85ad68f0198c6c8e4cd5e4c74832d3

10 years agoMerge "Disabling profiling in the debug toolbar for ProfilerSimple (for now)"
jenkins-bot [Wed, 9 Apr 2014 22:00:05 +0000 (22:00 +0000)]
Merge "Disabling profiling in the debug toolbar for ProfilerSimple (for now)"

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Wed, 9 Apr 2014 20:12:43 +0000 (20:12 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 9 Apr 2014 20:05:35 +0000 (20:05 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ice2ddcc177f59a28c01c558f969e87850142252c

10 years agoRestore text for "Other" reason on Special:Block reason list
umherirrender [Wed, 9 Apr 2014 19:19:34 +0000 (21:19 +0200)]
Restore text for "Other" reason on Special:Block reason list

There was only a empty item for that at the end of the drop down:
<option value="other" selected=""></option>

Follow-Up: If4175332405d26c7ff2e8fbe100bcad61762ce6f
Change-Id: If808c51c62b5c25a58ec6188784da5a676f60993

10 years agoMerge "Added $wgRunJobsAsync to allow running jobs the old way"
jenkins-bot [Wed, 9 Apr 2014 19:33:36 +0000 (19:33 +0000)]
Merge "Added $wgRunJobsAsync to allow running jobs the old way"

10 years agoSpecial:ListGroupRights: Add per-namespace restrictions and rights
Alex Monk [Sun, 23 Dec 2012 16:39:21 +0000 (16:39 +0000)]
Special:ListGroupRights: Add per-namespace restrictions and rights

Bug: 43282
Change-Id: Ibe9deeedb8fef24627b2cda73823d70c4d8a768d

10 years agoAdded $wgRunJobsAsync to allow running jobs the old way
Jesús Martínez Novo [Mon, 7 Apr 2014 21:13:25 +0000 (23:13 +0200)]
Added $wgRunJobsAsync to allow running jobs the old way

Adding a new global variable (DefaultSettings.php) named $wgRunJobsAsync, that
defaults to true, to allow installations to force the old synchronous job
execution on page requests instead of the new asynchonous one.

The asynchronous job queue execution was added in 1.22, executing a new shell
script, and it caused major problems for third party installations with restricted
environments or limited system resources, and also because a lot of bugs that went
unnoticed because WMF wikis do not use the on-request job queue.

In 1.23 it was changed to use a new internal HTTP request to a MediaWiki entry point
to perform the request, While some of the bugs were solved, it could still have
performance problems for opening a new process and loading a lot of MediaWiki PHP
objects on it, just to perform a request to see if there are pending jobs and execute
them (it doesn't check if there are jobs to execute). While this may improve speed
on single page requests, because it does not block the execution of the current page,
it has't been thoroughly tested on third party installations. And what is more
important, now there's no way to revert back to the old way of handling those jobs,
as it was done in 1.22 (setting $wgPhpCli = false). This means, in case of major
bugs on the job queue execution due to the new request, there's no way to fix it
other than editing MediaWiki PHP files directly, or completely disable the
on-request job queue handling (some hosts can't set up a cron job for that)

This situation makes it critical to have a safe way to revert to the old job queue
handling, at least until testing that the current implementation doesn't break a lot
of installations.

Bug: 61387
Change-Id: I892a3608228ec0a1c63268fb6180ec679c315980

10 years agoMerge "Update OOjs UI to v0.1.0-pre (70932872ba)"
jenkins-bot [Wed, 9 Apr 2014 18:21:25 +0000 (18:21 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (70932872ba)"

10 years agoFix Webinstaller after file move
Fomafix [Wed, 9 Apr 2014 10:38:53 +0000 (10:38 +0000)]
Fix Webinstaller after file move

Follow-Up to Id5ead1453412e763bdb3763084e43694517088fd

Change-Id: I335e4c08bbafd136c3a8734c9b077a62cb9d989d

10 years agoAvoid using raw sql in LinksUpdate.php
umherirrender [Tue, 8 Apr 2014 18:56:02 +0000 (20:56 +0200)]
Avoid using raw sql in LinksUpdate.php

Now the IN-List is created by the database abstraction layer.

Change-Id: I5f4ed9213d04ae3eeef07c995e6ca91c0ee717b8

10 years agoAvoid using raw sql in LocalFile.php
umherirrender [Wed, 9 Apr 2014 15:35:20 +0000 (17:35 +0200)]
Avoid using raw sql in LocalFile.php

Now the IN-List is created by the database abstraction layer.

Change-Id: I08d309eb4aad830ad6141cbfbe16447eb2674f52

10 years agoMerge "Fix documentation for mw.Title#getName()"
Bartosz Dziewoński [Wed, 9 Apr 2014 11:10:06 +0000 (11:10 +0000)]
Merge "Fix documentation for mw.Title#getName()"

10 years agoMerge "resourceloader: Add unit test to ensure absence of illegal dependencies"
Bartosz Dziewoński [Wed, 9 Apr 2014 11:09:43 +0000 (11:09 +0000)]
Merge "resourceloader: Add unit test to ensure absence of illegal dependencies"

10 years agoMerge "Split CLDRPluralRuleEvaluator file"
jenkins-bot [Wed, 9 Apr 2014 11:01:52 +0000 (11:01 +0000)]
Merge "Split CLDRPluralRuleEvaluator file"

10 years agoMerge "zhtable: Add zh2Hant rule 箱里 => 箱裡"
jenkins-bot [Wed, 9 Apr 2014 10:44:26 +0000 (10:44 +0000)]
Merge "zhtable: Add zh2Hant rule 箱里 => 箱裡"

10 years agoMerge "Fix "@param null $param" documentations"
jenkins-bot [Wed, 9 Apr 2014 10:43:22 +0000 (10:43 +0000)]
Merge "Fix "@param null $param" documentations"

10 years agoFix "@param null $param" documentations
Thiemo Mättig [Wed, 9 Apr 2014 10:33:55 +0000 (12:33 +0200)]
Fix "@param null $param" documentations

... and very few other documentation details that are closely connected
to these mistakes.

Change-Id: I5b2691948e196124c77f0cc04d0ed5a7167cac25

10 years agoMerge "Move ConverterRule class to its own file"
jenkins-bot [Wed, 9 Apr 2014 10:29:21 +0000 (10:29 +0000)]
Merge "Move ConverterRule class to its own file"

10 years agoWrap more magic words in <code> for consistency
Raimond Spekking [Wed, 9 Apr 2014 09:58:16 +0000 (11:58 +0200)]
Wrap more magic words in <code> for consistency

Change-Id: I57f964326c7c6e2c932c3a5d11d5a0b61874ebb9

10 years agozhtable: Add zh2Hant rule 箱里 => 箱裡
Liangent [Wed, 9 Apr 2014 08:45:27 +0000 (08:45 +0000)]
zhtable: Add zh2Hant rule 箱里 => 箱裡

Change-Id: Iab42af3a6246174263a1aa752912349a76cdb6a8

10 years agoFix documentation for mw.Title#getName()
Gergő Tisza [Wed, 9 Apr 2014 08:06:33 +0000 (08:06 +0000)]
Fix documentation for mw.Title#getName()

Delete the remark which incorrectly stated that the result of
getName() is transformed by #text.

Change-Id: I7d06d9beee73e113f7c18d5284d94201d7d896a1

10 years agoresourceloader: Add unit test to ensure absence of illegal dependencies
Timo Tijhof [Fri, 28 Mar 2014 00:58:03 +0000 (17:58 -0700)]
resourceloader: Add unit test to ensure absence of illegal dependencies

Loading these can cause side-effects and is just redundant in
general.

Change-Id: Ic8b4ed45d4d42172a456cc5eaf314c41e4e6fd18

10 years agoSplit CLDRPluralRuleEvaluator file
addshore [Tue, 8 Apr 2014 22:50:31 +0000 (23:50 +0100)]
Split CLDRPluralRuleEvaluator file

Change-Id: Iec9a939e3f28a600c841b89a2849f65d41763a62

10 years agoUpdate OOjs UI to v0.1.0-pre (70932872ba)
James D. Forrester [Tue, 8 Apr 2014 19:42:35 +0000 (12:42 -0700)]
Update OOjs UI to v0.1.0-pre (70932872ba)

New changes:
7093287 Don't assume selection is of an item, sometimes it's null

Change-Id: I908a8e723060a6e9155532d944e3d098e1468a2f

10 years agoMove ConverterRule class to its own file
addshore [Tue, 8 Apr 2014 22:39:55 +0000 (23:39 +0100)]
Move ConverterRule class to its own file

Change-Id: I0d743625e32f903ecd13f3c1f5aaeabdaca70f9d