jenkins-bot [Tue, 18 Mar 2014 07:48:28 +0000 (07:48 +0000)]
Merge "Change date and decimal separators for Uzbek (uz)"
madurangasiriwardena [Thu, 13 Mar 2014 18:12:38 +0000 (23:42 +0530)]
Change date and decimal separators for Uzbek (uz)
Change the date format dd mm to dd-mm and adding space instead
of commas for 3-digit grouping, decimal comma instead of
decimal point.
Bug: 46453
Change-Id: I1318b18f10a1b048c3574013a52775d5309f8abc
jenkins-bot [Mon, 17 Mar 2014 23:38:01 +0000 (23:38 +0000)]
Merge "Refactor password validity checking"
Translation updater bot [Mon, 17 Mar 2014 21:11:15 +0000 (21:11 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I91e14444039b2b1345602a8c3291794ab3beafd1
jenkins-bot [Mon, 17 Mar 2014 09:34:02 +0000 (09:34 +0000)]
Merge "Cleanup a bunch of tests and add todos"
jenkins-bot [Sun, 16 Mar 2014 21:51:01 +0000 (21:51 +0000)]
Merge "mediawiki.api: Use Promise.then instead of manual Deferred wrap"
Timo Tijhof [Wed, 5 Mar 2014 13:25:29 +0000 (14:25 +0100)]
mediawiki.api: Use Promise.then instead of manual Deferred wrap
This is exactly what Promise.then is built for.
As a nice bonus, this way the fail/reject handler is transferred
automatically, and we don't need to call resolve() manually
since the return value from then(Function done) is the resolved
value (or another promise).
Minor clean up:
* category: Fix type documentation (primitive string instead of String object).
* category: Use simple boolean check to assert value is no longer false.
* Use String() cast instead of explicitly calling .toString.
* parse: Fix bug where in theory the deferred would never be resolved if
the condition evaluated to false.
* watch: Add missing @static.
* watch: Simplify params/$.extend logic.
Change-Id: Iedbc70b2573c4f6b0d9e133c6f31e8f0b19c6f5e
jenkins-bot [Sun, 16 Mar 2014 21:03:19 +0000 (21:03 +0000)]
Merge "New 'profileerror' log group for profiling errors"
jenkins-bot [Sun, 16 Mar 2014 17:54:39 +0000 (17:54 +0000)]
Merge "Move variable definitions near to where they are used"
jenkins-bot [Sun, 16 Mar 2014 11:41:29 +0000 (11:41 +0000)]
Merge "Renamed /job to /jobqueue"
umherirrender [Sat, 15 Mar 2014 11:32:44 +0000 (12:32 +0100)]
Rename some local vars to start with a lowercase letter
Change-Id: I6e5975ed7351c1439eda19afaba5120c6afa50f1
umherirrender [Sat, 15 Mar 2014 19:57:00 +0000 (20:57 +0100)]
Fix spacing between two functions
Added and removed some new lines to have one new line between two
functions
Change-Id: I1ccfbd575dd26b160396ef3d3e2e079f5cdbe196
umherirrender [Sat, 15 Mar 2014 20:13:54 +0000 (21:13 +0100)]
Fix formatting of some php docs
php docs of functions should have newline in it and not in one line.
Change-Id: If4a29aefb46a7f73d75593814e597fdb792d5470
Alexandre Emsenhuber [Sat, 15 Mar 2014 20:43:39 +0000 (21:43 +0100)]
New 'profileerror' log group for profiling errors
Easier to catch them than if they are in the default debug log.
Added Profiler::debugGroup() as wrapper to wfDebugLog(), as
there already is Profiler::debug() for wfDebug(), so that
there won't be a fatal error if the error happens before the
inclusion of GlobalFunctions.php and converted other calls
to wfDebugLog() to use it.
Change-Id: Ie8481a2e13a94efa0248dd5a36b6b1a22811817e
Translation updater bot [Sat, 15 Mar 2014 20:07:15 +0000 (20:07 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: If66ddc1478b986417b08bd6d84cf441ea7f4526c
jenkins-bot [Sat, 15 Mar 2014 18:48:34 +0000 (18:48 +0000)]
Merge "Reapplying r45820 to support the NewSignupPage extension."
jenkins-bot [Sat, 15 Mar 2014 13:42:31 +0000 (13:42 +0000)]
Merge "Use "elseif" instead of "else if" in PHP"
jenkins-bot [Sat, 15 Mar 2014 13:42:15 +0000 (13:42 +0000)]
Merge "Put the "else" (or "elseif") on the same line as the previous closing brace"
Alexandre Emsenhuber [Sat, 15 Mar 2014 13:34:52 +0000 (14:34 +0100)]
Move variable definitions near to where they are used
In LoadBalancer::reuseConnection(), if the condition
"$serverIndex === null || $refCount === null" is met,
then those variables will not be used. So only define
them when they will readlly be used.
Change-Id: Ifbd4131f40d3babe733b8723d0d29d39890bb309
Alex Monk [Fri, 7 Mar 2014 23:54:49 +0000 (23:54 +0000)]
Mention possibility of $revision being null in PageContentSaveComplete
Lead to a fatal in WMF production, see I40c1412d
Change-Id: I39e05210e77f3dc0a1fcd995201a9c1ec9bc99f3
umherirrender [Sat, 15 Mar 2014 11:24:03 +0000 (12:24 +0100)]
Fix variable name of param doc in RCCacheEntryFactory
Change-Id: I8039ab9ea117ba351061da71a92409e320d8eb84
Kartik Mistry [Sat, 15 Mar 2014 12:59:40 +0000 (18:29 +0530)]
Fixed typo: available
Change-Id: If4e28cf04699084ed325835d5ebe1c5900002040
Alexandre Emsenhuber [Sat, 15 Mar 2014 12:59:15 +0000 (13:59 +0100)]
Use "elseif" instead of "else if" in PHP
Per https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#C_borrowings
Change-Id: I5e3a301c2f3c5ec6b965500c43d16022b8b82e59
Alexandre Emsenhuber [Fri, 14 Mar 2014 21:09:47 +0000 (22:09 +0100)]
Put the "else" (or "elseif") on the same line as the previous closing brace
Per https://www.mediawiki.org/wiki/Manual:Coding_conventions#Indenting_and_alignment
Change-Id: I208981db0a866524156bad18cb687f010afeac2c
Kartik Mistry [Sat, 15 Mar 2014 08:59:41 +0000 (14:29 +0530)]
Use Tab instead of Space as per PHP codesniffer
Change-Id: Iea84018c3dee45d5f062b41b1337af40e3de2fcf
csteipp [Wed, 12 Mar 2014 01:47:29 +0000 (18:47 -0700)]
Refactor password validity checking
Refactor the password checks to return a status object, so the function
can handle the entire error message, or return multiple error messages.
This patchset aims to keep the functionality identical. A followup
patchset can further improve the functionality. E.g., although
getPasswordValidity stated it could return an array of messages, it
never did so except from the hook, so most callers expect and handle a
single string.
Change-Id: I87644486f5572dc067ebdbacd01fb39c67e5612a
jenkins-bot [Fri, 14 Mar 2014 23:02:34 +0000 (23:02 +0000)]
Merge "Split revdelete-text on Special:RevisionDelete for each type"
jenkins-bot [Fri, 14 Mar 2014 22:48:22 +0000 (22:48 +0000)]
Merge "Execute LocalFilePurgeThumbnails hook before purging thumbnails"
jenkins-bot [Fri, 14 Mar 2014 22:43:25 +0000 (22:43 +0000)]
Merge "Make MySQLi work with non-standard port"
jenkins-bot [Fri, 14 Mar 2014 22:38:21 +0000 (22:38 +0000)]
Merge "Correct the destination of checkLastModified debug messages"
Alexandre Emsenhuber [Thu, 6 Feb 2014 19:19:09 +0000 (20:19 +0100)]
Correct the destination of checkLastModified debug messages
- OutputPage: if $wgCachePages is set to false, then it can be shown
back to the user
- AjaxResponder: don't send back to the user (for consistency with the
other calls to wfDebug(), and this can't be displayed to the user)
Change-Id: I17794016cfaef65ee3df3b82ceb8cb3a32ac7c67
jenkins-bot [Fri, 14 Mar 2014 22:25:12 +0000 (22:25 +0000)]
Merge "Use preloadFileStat() to speed up syncFileBackend"
jenkins-bot [Fri, 14 Mar 2014 22:18:27 +0000 (22:18 +0000)]
Merge "Add two new debug log groups"
Aaron Schulz [Fri, 14 Mar 2014 20:42:04 +0000 (13:42 -0700)]
Renamed /job to /jobqueue
Change-Id: I4c8a2b42140630838867c77a70d45ba14b5d95e2
Aaron Schulz [Fri, 14 Mar 2014 20:20:48 +0000 (13:20 -0700)]
Use preloadFileStat() to speed up syncFileBackend
Change-Id: Idd8e67090d7d5e7b6952fb46012981309475b902
addshore [Fri, 14 Mar 2014 18:13:06 +0000 (19:13 +0100)]
Remove assignment in conditon in phpunit.php
Change-Id: I817af3cf5344d9ffe2a66048f6d32835712ba11c
C. Scott Ananian [Fri, 14 Mar 2014 17:41:04 +0000 (13:41 -0400)]
Sync up with Parsoid parserTests.
This now aligns with Parsoid commit
d6ebbd78101c6191e213e46838582d00f37c3bbb
Change-Id: I4fd04ac2bf4cd7a4fc195ad615e9940f4ddb29a5
addshore [Fri, 14 Mar 2014 13:43:09 +0000 (14:43 +0100)]
Remove phpunit compatability function calls
phpunit.php now requires we run tests with
3.7.0+ so we no longer need these safety
calls
Change-Id: I15d215630fe4d8ab71fc97883dde2eed13d03678
jenkins-bot [Fri, 14 Mar 2014 10:11:48 +0000 (10:11 +0000)]
Merge "Prevent "Log in" being used in two different contexts"
Ori Livneh [Fri, 14 Mar 2014 02:06:07 +0000 (19:06 -0700)]
Emit $wgSearchType as JavaScript config variable
Allows for the search interface to be customzied for the particular
search-engine used, and allows collecting client-side performance measurements
that specify which search engine was used.
Change-Id: Ibeda834e9d5dbaf1d7e40c2dacbc60feb2cc4bba
jenkins-bot [Fri, 14 Mar 2014 01:10:09 +0000 (01:10 +0000)]
Merge "Fix minor typo in parser tests error message."
James D. Forrester [Fri, 14 Mar 2014 00:11:17 +0000 (17:11 -0700)]
Update OOjs UI to v0.1.0-pre (
ac0cc69508)
New changes:
5c41645 Localisation updates from https://translatewiki.net.
c4651d5 readme: Use <br/> instead of <br> to satisfy gitblit's Markdown parser
5345806 Make it possible to configure LabeledElement to not use autoEllipsis
ac0cc69 Use boolean instead of bool in LabeledElement docs
Change-Id: I0e8bf836035402bc893c4dc58cb9d5441b7bd330
jenkins-bot [Thu, 13 Mar 2014 23:20:34 +0000 (23:20 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (
46ccd5b3a7)"
jenkins-bot [Thu, 13 Mar 2014 22:59:54 +0000 (22:59 +0000)]
Merge "Add prebodyhtml template variable"
jrobson [Sat, 8 Mar 2014 01:14:01 +0000 (17:14 -0800)]
Add prebodyhtml template variable
Allows the VectorBeta BetaFeature to add HTML underneath the heading
Change-Id: I6d9326d9e84a92b01dee2a29028208ef3f875767
jenkins-bot [Thu, 13 Mar 2014 22:41:32 +0000 (22:41 +0000)]
Merge "Changing URLs of mediawiki.org in scripts to the SSL-based website"
Ladsgroup [Thu, 13 Mar 2014 22:23:56 +0000 (22:23 +0000)]
Changing URLs of mediawiki.org in scripts to the SSL-based website
http://www.mediawiki.org --> https://www.mediawiki.org
Part 3
Change-Id: Ica633881b1744fa2854f4b012b79dbf5a7e5e7e2
jenkins-bot [Thu, 13 Mar 2014 22:25:01 +0000 (22:25 +0000)]
Merge "Adjust default interwiki result text"
C. Scott Ananian [Thu, 13 Mar 2014 21:36:07 +0000 (17:36 -0400)]
Fix minor typo in parser tests error message.
This was introduced in Ie4e68960ca7c352af495ebb59ba83488935a44c4.
Change-Id: I45352dd3dfd26acdcda147d8aa07be6f0d60698f
jenkins-bot [Thu, 13 Mar 2014 21:04:10 +0000 (21:04 +0000)]
Merge "Allow more-descriptive section names for parserTests"
jenkins-bot [Thu, 13 Mar 2014 20:05:00 +0000 (20:05 +0000)]
Merge "Vector: Make animation LESS component"
jenkins-bot [Thu, 13 Mar 2014 19:00:54 +0000 (19:00 +0000)]
Merge "Adjust magic bolding in api help to only match lines inside *"
Chad Horohoe [Thu, 13 Mar 2014 18:13:00 +0000 (11:13 -0700)]
Adjust default interwiki result text
'Results from $1' sounds nicer than '$1 results' for sites that
haven't set the custom text.
Change-Id: I810c8e0503dde238ea8813b7cecb1a1dec927d3e
jenkins-bot [Thu, 13 Mar 2014 18:00:19 +0000 (18:00 +0000)]
Merge "Title and redirect snippets don't have a parameter anymore"
umherirrender [Thu, 13 Mar 2014 17:55:40 +0000 (18:55 +0100)]
Adjust magic bolding in api help to only match lines inside *
list=logevents&leaction has param values with *, which gets bold, when
there was two of them in the same line.
Bug: 61834
Change-Id: Idace9afd4f3a2dce9be539b209a02fa318df8f45
Chad Horohoe [Thu, 13 Mar 2014 16:54:08 +0000 (09:54 -0700)]
Title and redirect snippets don't have a parameter anymore
Change-Id: I5aae8caf14a5dd569042069fe64bc30736734cd8
Translation updater bot [Thu, 13 Mar 2014 15:29:06 +0000 (15:29 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I603eeeed9980a1190075cb54092edefdaf3c2ed5
Alexandre Emsenhuber [Thu, 13 Mar 2014 09:34:41 +0000 (10:34 +0100)]
Remove request_with_session/request_without_session from showCacheStats.php
Fix for I0ed1e87574 (
42fcd43).
Since request_with_session/request_without_session were removed in the
mentionned commit, the maintenance/showCacheStats.php refuses to show
the other statistics.
Change-Id: I955cc537f8bc9116f759af5a5c3005aa7d60c83b
Prod [Thu, 13 Mar 2014 02:05:51 +0000 (22:05 -0400)]
Execute LocalFilePurgeThumbnails hook before purging thumbnails
bug: 62273
Change-Id: I08ae902debb36039d2c0be829eec07a109e70a24
Chad Horohoe [Thu, 13 Mar 2014 01:27:58 +0000 (18:27 -0700)]
Remove $wgTitle from all maintenance scripts
Shouldn't be needed and aren't for any core operations. If any
extension relies on these $wgTitles being set in maintenance
environments those extensions are broken and should be fixed.
Change-Id: Ie02a5042ab96e155d783d56d5340dd0da8e3d55c
James D. Forrester [Thu, 13 Mar 2014 00:44:23 +0000 (17:44 -0700)]
Update OOjs UI to v0.1.0-pre (
46ccd5b3a7)
New changes:
9247e3a Localisation updates from https://translatewiki.net.
0a078dc Localisation updates from https://translatewiki.net.
3027b13 readme: Fix broken Markdown list syntax
d7ab327 Update oojs to v1.0.8
4dd7320 Drop file "OO.ui" file prefix
7c607c2 Localisation updates from https://translatewiki.net.
46ccd5b Make dialogs a little taller
Change-Id: I51caa22711fd10ff464b895e90a69292cbf003f8
Ladsgroup [Wed, 12 Mar 2014 22:30:35 +0000 (22:30 +0000)]
Changing URLs of mediawiki.org in scripts to the SSL-based website
http://www.mediawiki.org --> https://www.mediawiki.org
Part 2
Change-Id: I3be61fe3dfb502cc20180486eb1a8016eac151df
jenkins-bot [Wed, 12 Mar 2014 21:59:43 +0000 (21:59 +0000)]
Merge "Add --regenerate-all option"
jenkins-bot [Wed, 12 Mar 2014 21:39:57 +0000 (21:39 +0000)]
Merge "Set a title for the context during import on the cli"
jenkins-bot [Wed, 12 Mar 2014 19:33:07 +0000 (19:33 +0000)]
Merge "HTMLForm: Support 'url' type"
jenkins-bot [Wed, 12 Mar 2014 19:33:00 +0000 (19:33 +0000)]
Merge "API: Handle exceptions from ApiBeforeMain hook in a user-friendly manner"
jenkins-bot [Wed, 12 Mar 2014 19:32:40 +0000 (19:32 +0000)]
Merge "HTMLForm: Regularize punctuation in messages"
Brad Jorsch [Thu, 6 Mar 2014 14:37:26 +0000 (09:37 -0500)]
API: Handle exceptions from ApiBeforeMain hook in a user-friendly manner
The immediate impetus behind this change is this series of events:
1. CirrusSearch hooks ApiBeforeMain to handle some setup that requires
the User object.
2. So User is loaded from the session.
3. OAuth checks the headers as part of loading User.
4. OAuth sees that the headers are invalid, and since it was called from
the API it throws a UsageException, expecting the API to catch it and
return an appropriate response to the client.
5. But nothing does so, leading to an unhelpful "Internal Error" page
being returned to the client.
We can do better than that.
Bug: 62312
Change-Id: Ib5735661eec6ebe57eaa69c67b399e703cc90fc4
umherirrender [Wed, 12 Mar 2014 19:09:01 +0000 (20:09 +0100)]
Split revdelete-text on Special:RevisionDelete for each type
This allows specific text for each type.
Types here are: text, file and log
Change-Id: Icb24dfb483f940e90215ecc01f5765185963c7ed
Brad Jorsch [Fri, 28 Feb 2014 21:42:27 +0000 (16:42 -0500)]
HTMLForm: Support 'url' type
SecurePoll will have a field that's a url, so we may as well use the
correct HTML5 input type for it.
Change-Id: Id3ddd8f2efdff08c8a188089d321d143ce5ef9c9
Brad Jorsch [Wed, 12 Mar 2014 19:04:19 +0000 (15:04 -0400)]
HTMLForm: Regularize punctuation in messages
To make Siebrand happy.
Change-Id: I0f622e4cdd2e6d8b33eb1ff38f0d78f8eec5bce3
jenkins-bot [Wed, 12 Mar 2014 18:48:37 +0000 (18:48 +0000)]
Merge "Fix spacing in SpecialRevisiondelete.php"
umherirrender [Wed, 12 Mar 2014 18:41:50 +0000 (19:41 +0100)]
Fix spacing in SpecialRevisiondelete.php
Change-Id: I5ae28e7e7b937ad4b60b919c87858e373ce85757
jenkins-bot [Wed, 12 Mar 2014 18:34:25 +0000 (18:34 +0000)]
Merge "Fix CodeSniffer and warnings in includes/db"
Siebrand Mazeland [Wed, 12 Mar 2014 17:25:15 +0000 (18:25 +0100)]
Fix CodeSniffer and warnings in includes/db
Follow-up with a slightly wider scope to
e611604d10897f.
Change-Id: I9bb5ef0ceef0cd7a9c044e675b953db6d3b35407
Siebrand Mazeland [Wed, 12 Mar 2014 18:12:10 +0000 (19:12 +0100)]
Prevent "Log in" being used in two different contexts
Spotted by Lloffiwr and reported at
https://translatewiki.net/wiki/Thread:Support/MediaWiki:Pt-login/en
Change-Id: Ibfbe4abfbb29860c05ebaac83e2220f373940a59
jenkins-bot [Wed, 12 Mar 2014 17:22:17 +0000 (17:22 +0000)]
Merge "Fix CodeSniffer errors and warnings in changes tests"
jenkins-bot [Wed, 12 Mar 2014 17:12:50 +0000 (17:12 +0000)]
Merge "Fix IGNORE option for sqlite update"
Siebrand Mazeland [Wed, 12 Mar 2014 17:08:40 +0000 (18:08 +0100)]
Fix CodeSniffer errors and warnings in changes tests
Follow-up to
1c6b7c74859e7.
Change-Id: Ib42621a03a43487d94ff1cb755544823a8adda9c
Jdlrobson [Wed, 12 Mar 2014 16:59:20 +0000 (16:59 +0000)]
Merge "Add BaseTemplateAfterPortlet hook to add html after portlets"
jenkins-bot [Wed, 12 Mar 2014 16:40:28 +0000 (16:40 +0000)]
Merge "Add RCCacheEntryBuilder, split from EnhancedChangesList and cleaned up"
aude [Wed, 12 Mar 2014 12:25:20 +0000 (13:25 +0100)]
Fix IGNORE option for sqlite update
this fixes the issue of the normalized sqlite
IGNORE option being discarded and ignored in
DatabaseBase::makeUpdateOptions.
Change-Id: I01579dee0f939a56c086d13683a60f4400014f62
Arlo Breault [Thu, 10 Oct 2013 23:10:15 +0000 (16:10 -0700)]
Allow more-descriptive section names for parserTests
This patch allows `!!wikitext` (for `!!input`) and `!!html` (for
`!!result`). This is more in line with what those sections actually
contain and closer to the semantics of how they are used.
The old names are accepted as aliases to accomodate parser tests to
provide a migration path for extensions and other users of the
parser tests framework.
In addition to `!!html`, this patch also accepts `!!html/*` and the
more-specific `!!html/php`. This allows tests to include a number
of different "outputs" for a given wikitext input, for example
`!!html/parsoid` and `!!html/php`.
Co-authored-by: C. Scott Ananian <cscott@cscott.net>
Co-authored-by: Arlo Breault <abreault@wikimedia.org>
Change-Id: Ie4e68960ca7c352af495ebb59ba83488935a44c4
aude [Mon, 16 Dec 2013 17:26:30 +0000 (18:26 +0100)]
Add BaseTemplateAfterPortlet hook to add html after portlets
Allows extensions to move away from using (or abusing) the
SkinTemplateOutputPageBeforeExec hook to add things in places
such as after the list of language links.
Also explicitly check that $template->data['language_urls'] is not false.
Extensions can set it to an empty array to have the language links
header be displayed.
Bug: 57094
Change-Id: I099fb2ff48e02a2e3564a484aea906263e40bb53
jenkins-bot [Wed, 12 Mar 2014 13:02:09 +0000 (13:02 +0000)]
Merge "mediawiki.api.watch: Don't use deprecated 'title' parameter"
Timo Tijhof [Mon, 10 Mar 2014 19:14:30 +0000 (20:14 +0100)]
mediawiki.api.watch: Don't use deprecated 'title' parameter
* Instead handle it client side, and not as a deprecated feature.
* Rename 'page' parameter to 'pages'.
* Add unit tests.
Change-Id: I81ec4282aedd91e3f0bb2ed0d6dd34e437b54f5d
jenkins-bot [Wed, 12 Mar 2014 12:53:40 +0000 (12:53 +0000)]
Merge "Fix CodeSniffer errors and warnings"
This, that and the other [Fri, 14 Feb 2014 06:34:35 +0000 (17:34 +1100)]
Add $wgLocalInterwikis to handle multiple local prefixes
This is akin to $wgSkipSkin/$wgSkipSkins. It is quite plausible for a wiki
to have more than one self prefix (e.g. enwiki has w: en: wikipedia: and
maybe others).
Some recent changes code seems to use $wgLocalInterwiki for quite unclear
purposes:
- I removed the line using $wgLocalInterwiki from the RecentChange
class, as the 'lang' field of $mExtra is not used anywhere in core code.
Extensions may use it, but it would seem more appropriate for them to
use something like $wgDBname (or indeed to consult $wgLocalInterwikis
directly) if they need to identify a particular wiki.
- In the IRC formatter, the first prefix in the array is used (if set).
Appropriate documentation is added to DefaultSettings.php.
Related to bug 954 comment 3.
Bug: 954
Bug: 955
Change-Id: I9dbb566385b464402c5e78510b95dd2ffb4d9489
jenkins-bot [Wed, 12 Mar 2014 12:01:52 +0000 (12:01 +0000)]
Merge "Fix some omitted colons in Spanish magic word l10n"
Siebrand Mazeland [Wed, 12 Mar 2014 11:50:43 +0000 (12:50 +0100)]
Fix CodeSniffer errors and warnings
For the files touched in I06ee0f01d8 as logged at
https://integration.wikimedia.org/ci/job/mediawiki-core-phpcs-strict-HEAD/7798/console
Change-Id: I811884f7a5ada4d0551552d0a2c2775d6b17b59f
Nathan [Wed, 12 Mar 2014 11:41:10 +0000 (07:41 -0400)]
Add --regenerate-all option
Bug: 62565
Change-Id: I98e052120c4f64d6a11f8363fa17de9c69656183
Bartosz Dziewoński [Sun, 2 Feb 2014 16:30:44 +0000 (17:30 +0100)]
ChangesListSpecialPage: Separate all functionality for generating feeds
I should have done it at the beginning instead of trying to
extract it from recent changes.
Same for SpecialRecentChanges and SpecialRecentChangesLinked
(subclasses).
Created a new API module for it: ApiFeedRecentChanges.
It's somewhat un-API-like and hackish, but all feed modules are.
Old URLs redirect to new ones, so this should be fully
backwards-compatible assuming sane feed reader clients.
Change-Id: I06ee0f01d896bc66545a1800b24693ce7524e433
jenkins-bot [Wed, 12 Mar 2014 11:26:51 +0000 (11:26 +0000)]
Merge "Partly revert
28b4dd5f for zh and zh-cn/hk/mo/sg/tw messages"
aude [Tue, 26 Nov 2013 11:56:17 +0000 (12:56 +0100)]
Add RCCacheEntryBuilder, split from EnhancedChangesList and cleaned up
This makes it more feasible for Wikibase, Flow, etc. to support
enhanced changes format, and allow better support for the rc_source
column in the future.
Change-Id: I873f6b86007000a94337f0c963df4bf8fec5b715
jenkins-bot [Wed, 12 Mar 2014 09:22:10 +0000 (09:22 +0000)]
Merge "tests: Add unit tests for ResourceLoaderStartupModule"
jenkins-bot [Wed, 12 Mar 2014 05:05:51 +0000 (05:05 +0000)]
Merge "qunit: Disable sinonjs-ie as it breaks the clock sandbox"
jenkins-bot [Wed, 12 Mar 2014 04:57:58 +0000 (04:57 +0000)]
Merge "Check validity and availability of usernames during signup via AJAX"
jenkins-bot [Tue, 11 Mar 2014 23:56:54 +0000 (23:56 +0000)]
Merge "Include all of /resources/mediawiki/* in jsduck index"
jenkins-bot [Tue, 11 Mar 2014 23:13:23 +0000 (23:13 +0000)]
Merge "resourceloader: Pass jQuery twice to 'implements' module wrapper"
Ori Livneh [Mon, 23 Sep 2013 01:20:25 +0000 (18:20 -0700)]
resourceloader: Pass jQuery twice to 'implements' module wrapper
This must be done in two parts. A follow-up change will update the wrapper
signature in ResourceLoader::makeLoaderImplementScript to bind the
arguments to '$' and 'jQuery'.
Because almost all event-handling and DOM interaction is mediated by
jQuery, ResourceLoader could provide a per-module breakdown of the work
performed on each page view by passing each module a copy of the jQuery
object that wraps certain functions (like jQuery.fn.on) in module-aware
profiling code. I expect that profiling would only be enabled on a small
fraction of requests. The effect on ordinary page-views would be a
possible small speed-up as a result of jQuery look-ups resolving in
module (rather than global) scope, but I expect the difference to be
neglible and it is not a part of my motivation.
Because ResourceLoader must bind both '$' and 'jQuery' to module scope,
we pass jQuery twice. A separate commit will update the wrapper function's
signature in ResourceLoader::makeLoaderImplementScript. This has to happen
separately to ensure that no module binds jQuery to undefined due to
being loaded by an out-of-sync version of mediawiki.js.
Change-Id: I0c9edac359ceb16fc273de1e51ea70322f18353e