Kunal Mehta [Mon, 29 Dec 2014 20:16:59 +0000 (12:16 -0800)]
Expose installed external libraries on Special:Version
Change-Id: Ic767a06ccfd938fbe519333bbd683f6116aaa262
Kunal Mehta [Mon, 8 Dec 2014 20:08:52 +0000 (12:08 -0800)]
Add checkComposerLockUpToDate.php script
Checks whether your composer.lock file is up to date
with the current composer.json file.
Bug: T77388
Change-Id: I528d63172c238cf1ea9bc02e8eb39b93225865de
jenkins-bot [Mon, 29 Dec 2014 22:22:19 +0000 (22:22 +0000)]
Merge "Apply time adjust on merge log"
jenkins-bot [Mon, 29 Dec 2014 22:04:16 +0000 (22:04 +0000)]
Merge "Allow querying for multiple MIME types in the allimages API"
Ricordisamoa [Mon, 29 Dec 2014 10:53:37 +0000 (11:53 +0100)]
Allow querying for multiple MIME types in the allimages API
The 'aimime' parameter can now be a pipe-separated list of
MIME types. Also tweaked the English apihelp and added an
example for the new functionality.
Bug: T78690
Change-Id: I775ecae53c81eccb0a898081715d48589b53af15
jenkins-bot [Mon, 29 Dec 2014 20:47:46 +0000 (20:47 +0000)]
Merge "Fix warning on Special:ListGroupRights for group with invalid group page"
Niklas Laxström [Sat, 6 Dec 2014 10:27:04 +0000 (11:27 +0100)]
Escape word-separator in LogFormatter
Change-Id: I9428f5ff5b95d09932b3588f0118d6992a384390
Brad Jorsch [Mon, 29 Dec 2014 18:57:40 +0000 (13:57 -0500)]
API: Clean up uncaught exception backtrace output
The existing response seems to be designed to look good with
format=xmlfm, which doesn't make much sense now that format=jsonfm is
the default.
Change-Id: Ic3993aaf7e401d6233bbbe4522e77004099e3c40
Niklas Laxström [Sat, 6 Dec 2014 11:16:16 +0000 (12:16 +0100)]
Fix escaping of specialList and clarify comments
Change-Id: I4bead5f5f310dd35e8dfee738f35a070e7bf869f
jenkins-bot [Mon, 29 Dec 2014 18:28:28 +0000 (18:28 +0000)]
Merge "Include log id in api error response"
umherirrender [Mon, 29 Dec 2014 18:24:20 +0000 (19:24 +0100)]
Fix warning on Special:ListGroupRights for group with invalid group page
Avoids
Notice: Linker::link: Requires $target to be a Title object. [Called
from SpecialListGroupRights::execute in
\includes\specials\SpecialListgrouprights.php at line 97]
Change-Id: Ie90ea33b0f57861985a296380e4ee7296dac79af
Niklas Laxström [Sat, 6 Dec 2014 11:02:14 +0000 (12:02 +0100)]
Remove over/underescaping detected in Special:UserRights
Bug: T31340
Change-Id: I99823cd56e0a6f501101cb85be832d2925ce9779
Amir E. Aharoni [Sun, 28 Dec 2014 20:16:05 +0000 (22:16 +0200)]
Shorten lines to pass phpcs test
Change-Id: I5588e1f16f1a23d77160cd180058bd2000a93ab6
jenkins-bot [Sun, 28 Dec 2014 20:12:47 +0000 (20:12 +0000)]
Merge "Parser: Add <bdi> to the whitelist for TOC links"
Translation updater bot [Sun, 28 Dec 2014 19:42:39 +0000 (20:42 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I82520452e4635c34348089fdf7cc605b32d95881
umherirrender [Sun, 28 Dec 2014 19:36:00 +0000 (20:36 +0100)]
Apply time adjust on merge log
The merge log params contains a revision timestamp in UTC, this needs
time adjust in case of users with a timezone in the settings.
Change-Id: I1612a33307667fa767e80a6061c013ea0f10b0a6
jenkins-bot [Sun, 28 Dec 2014 15:43:14 +0000 (15:43 +0000)]
Merge "Use a more generic DB Error wording"
jenkins-bot [Sun, 28 Dec 2014 15:29:43 +0000 (15:29 +0000)]
Merge "Sort languages by code in Language::fetchLanguageNamesUncached"
Marius Hoch [Sun, 28 Dec 2014 11:51:12 +0000 (12:51 +0100)]
Sort languages by code in Language::fetchLanguageNamesUncached
This is being used in API output in ApiQuerySiteinfo so having
it sorted is nicer.
Bug: T85406
Change-Id: I796112187d17337a1cc12d6752839263b53f40e1
Florianschmidtwelzow [Mon, 1 Dec 2014 06:29:36 +0000 (07:29 +0100)]
Use a more generic DB Error wording
Not everytime there is a problem to _contact_ the database server (e.g. a false server),
sometimes (e.g. a false password or username) it's a problem of the user credentials
or that the database does not exist. So use a more generic wording, just saying,
that the database could not be accessed.
Bug: T76317
Change-Id: I502d5894acb855ac51c6f45ea91e5446b4b3aeb3
umherirrender [Sat, 27 Dec 2014 21:16:29 +0000 (22:16 +0100)]
Include log id in api error response
For internal api error it is helpful for reporting when having the log
id under the exception was logged in the exception log.
Also use the redacted trace in the api error response instead of the
normal one to avoid leakage of function values if exception details are shown.
Change-Id: I7d917e532da1b1c7979a6599425f07d2f4f35aed
Derk-Jan Hartman [Sun, 2 Nov 2014 17:19:56 +0000 (18:19 +0100)]
Parser: Add <bdi> to the whitelist for TOC links
Bug: 72884
Change-Id: Id5aa9a4eb32fb185881141e55de700ae36f806c5
Translation updater bot [Sat, 27 Dec 2014 17:11:13 +0000 (18:11 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I4731cb83ad392d361cd9bfca154aa27a8278d9c1
Aaron Schulz [Thu, 18 Dec 2014 01:47:44 +0000 (17:47 -0800)]
Cleanup DatabaseBase::query implicit transaction code
* Add DatabaseBase::isTransactableQuery() for checking whether a query could
benefit from being executed in a transaction.
Change-Id: Ie5b116bc726b47c68459e6525a1bb43b96bd9f30
Translation updater bot [Thu, 25 Dec 2014 21:11:41 +0000 (22:11 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I1ab91507623ac4c465066d73cc74658b35c8b534
jenkins-bot [Thu, 25 Dec 2014 15:22:36 +0000 (15:22 +0000)]
Merge "Add and use Title::getOtherPage()"
jenkins-bot [Thu, 25 Dec 2014 05:53:44 +0000 (05:53 +0000)]
Merge "Remove meaningless default action name"
Thiemo Mättig [Mon, 15 Dec 2014 16:45:30 +0000 (17:45 +0100)]
SpecialPage::execute doesn't return anything
Change-Id: I6f413a633b71739592aae8c8b2db61ad4abc2a79
Reedy [Wed, 24 Dec 2014 12:25:01 +0000 (12:25 +0000)]
Add use statement for type used in MWLoggerMonologSamplingHandler::setFormatter()
Change-Id: I02629711eccfecdab77c5e6d80833806d48d07cf
Reedy [Wed, 24 Dec 2014 13:49:20 +0000 (13:49 +0000)]
Add lots of @throws
Change-Id: I09d0c13070f966fcf23d2638d8fc1328279a5995
jenkins-bot [Wed, 24 Dec 2014 12:42:57 +0000 (12:42 +0000)]
Merge "Change to unix eol style"
Reedy [Wed, 24 Dec 2014 12:32:33 +0000 (12:32 +0000)]
Change to unix eol style
Change-Id: I0a5f91ccdbeed28ce41614ba8721944de876056d
jenkins-bot [Wed, 24 Dec 2014 12:13:16 +0000 (12:13 +0000)]
Merge "mediawiki.feedback.js: Trim whitespace from message and subject"
Vivek Ghaisas [Wed, 24 Dec 2014 11:20:47 +0000 (14:20 +0300)]
mediawiki.feedback.js: Trim whitespace from message and subject
Remove leading and trailing whitespace from submitted feedback message
and subject.
Bug: T35192
Change-Id: Ie260e3b1b15092ea49dc7b8a1a06e0094a0178a3
jenkins-bot [Wed, 24 Dec 2014 11:28:21 +0000 (11:28 +0000)]
Merge "Consolidate mobile and desktop designs for login form"
jenkins-bot [Tue, 23 Dec 2014 21:50:39 +0000 (21:50 +0000)]
Merge "hygiene: small special:search refactor"
jdlrobson [Mon, 22 Dec 2014 23:53:39 +0000 (15:53 -0800)]
Consolidate mobile and desktop designs for login form
* Stop sign up button from being a button
* Move password reset to bottom of form
Bug: T85189
Change-Id: I175e9f515d962f9078845f25f9b96079819444c6
Translation updater bot [Tue, 23 Dec 2014 20:23:02 +0000 (20:23 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Tue, 23 Dec 2014 20:20:57 +0000 (20:20 +0000)]
Merge "Improve testing for ApiFormatBase subclasses"
Translation updater bot [Tue, 23 Dec 2014 20:12:07 +0000 (21:12 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I6178a460bc1f147ee26ecbe135182a7fd7c64ad9
Brad Jorsch [Wed, 17 Dec 2014 21:48:03 +0000 (16:48 -0500)]
Improve testing for ApiFormatBase subclasses
I7b37295e is going to be changing around how ApiResult works,
which is going to need corresponding changes in the formatters. So it
would probably be a good idea to have a decent starting point to catch
any breakage. The non-backwards-compatible changes to ApiFormatTestBase
shouldn't be a concern, as no extensions in Gerrit reference this class
or any /ApiFormat.*Test/ class.
This also fixes two small bugs in ApiFormatWddx (null handling and
spacing for non-fm slow path) discovered during testing, and works
around some HHVM wddx extension bugs.
Bug: T85236
Change-Id: I9cdf896e7070ed51e42625d61609ad9ef91cd567
jenkins-bot [Tue, 23 Dec 2014 19:05:02 +0000 (19:05 +0000)]
Merge "monolog: MWLoggerMonologSamplingHandler"
Namit [Wed, 17 Dec 2014 06:01:04 +0000 (11:31 +0530)]
Special:Search Don't autofocus search bar unless it is empty
This interferes with scrolling through the results using the arrow keys.The user would first
have to defocus the text box by clicking outside it or pressing Tab.
Bug: T78637
Change-Id: Ic88e70c8e2308797b39c707984d77405369ae46c
Niklas Laxström [Tue, 23 Dec 2014 09:50:42 +0000 (10:50 +0100)]
Add @since to classes and interface in title
Follow-up to
154bcdc63f
Change-Id: I0c1dc41d29cc3b3c1938ed6df6bb11cc1b4a8e8f
Niklas Laxström [Sat, 6 Dec 2014 10:15:58 +0000 (11:15 +0100)]
Escaped lastmodifiedat and laggedslavemode
Change-Id: Ibcc1b49946bc91e12756eb3866448159493c61f4
jenkins-bot [Tue, 23 Dec 2014 11:49:25 +0000 (11:49 +0000)]
Merge "Use getHtmlCode() instead of getCode() to set the lang attribute"
jenkins-bot [Tue, 23 Dec 2014 11:48:16 +0000 (11:48 +0000)]
Merge "Escape message 'word-separator' on Special:FileDuplicateSearch"
jenkins-bot [Mon, 22 Dec 2014 21:54:45 +0000 (21:54 +0000)]
Merge "API: Allow for documenting individual values of 'prop' parameters"
Brad Jorsch [Fri, 7 Nov 2014 23:57:14 +0000 (18:57 -0500)]
API: Allow for documenting individual values of 'prop' parameters
There are cases where the list of values for a 'prop' parameter may be
manipulated by a subclass or by a hook function of some sort. Rather
than requiring the subclass/hook to completely replace a monolithic i18n
message, let's add the possibility of separate messages for each value
in the list.
Bug: T77930
Change-Id: I0bb061c62ebeef125062460e26306c88390f7b31
Brad Jorsch [Mon, 22 Dec 2014 21:17:46 +0000 (16:17 -0500)]
API: Add page properties to action=expandtemplates output
This allows for retrieving properties set by double-brace magic words
such as {{DEFAULTSORT:}}.
Bug: T78737
Change-Id: I971d233e4bed52a363144aa69c304e5672257a73
Translation updater bot [Mon, 22 Dec 2014 21:23:17 +0000 (22:23 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I1c089ee2bcee316ce087dd492d808e02f50bbab3
jenkins-bot [Mon, 22 Dec 2014 19:26:20 +0000 (19:26 +0000)]
Merge "Moved "nowait:" key code to PoolCounter in core"
Florianschmidtwelzow [Mon, 22 Dec 2014 15:39:52 +0000 (16:39 +0100)]
Really allow Extensions to make a new gallery format
Adjust GalleryGetModes call to fit Hooks::run() signature.
Follow up: I33462a8b52502ed76aeb163b66e3704c8618ba23
Change-Id: I916dade31d6d67de4bb82582cc71585e83fec1c9
Aaron Schulz [Fri, 19 Dec 2014 23:27:59 +0000 (15:27 -0800)]
Moved "nowait:" key code to PoolCounter in core
Change-Id: I5286e6c6052289e1107314a04d72703b44a8fbc6
Florianschmidtwelzow [Mon, 22 Dec 2014 18:25:58 +0000 (19:25 +0100)]
Fix NS invert on SpecialNewPages
Follow up: I5c03dc543b910aab27a26a5a223341be50893cf3
Bug: T85145
Change-Id: Ia5cec6db48c3e900ebb07169015e55a2fb72b792
C. Scott Ananian [Fri, 16 May 2014 00:35:59 +0000 (17:35 -0700)]
Don't allow embedded newlines in magic links, but do allow
This continues the work started in T67278 to make magic link parsing
more consistent with wiki text parsing in general, and closes two
long-standing bugs.
Bug: T30950
Bug: T31025
Change-Id: I71f8b337543163569c64bbfdec154eb9b69d7264
Translation updater bot [Sun, 21 Dec 2014 16:02:52 +0000 (17:02 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I27b0e2b659c880905f9bc6988d0c41f84616b480
Bryan Davis [Sat, 20 Dec 2014 19:05:29 +0000 (12:05 -0700)]
Fix AutoloadGenerator to work on MediaWiki-Vagrant (again)
The patch set from I5d502b5 re-introduced the use of realpath() within
AutoloadGenerator::readFile() as part of a set of changes to ensure that
path separators are normalized across Unix and Windows systems. As noted
previously in I4623b3d, the use of realpath() in this function will
cause fatal exceptions to be thrown when a file such as
LocalSettings.php is a symlink to a file outside to $IP.
This patch separates the path normalization functionality from
realpath() expansion and uses only the path normalization component
within AutoloadGenerator::readFile(). It also introduces a cautionary
comment in AutoloadGenerator::readFile() that will hopefully keep
realpath() from being reintroduced there.
Change-Id: I4923dfa8370a7bd6077f42ff4c437d7293fdad66
umherirrender [Sat, 20 Dec 2014 21:36:43 +0000 (22:36 +0100)]
Escape message 'word-separator' on Special:FileDuplicateSearch
Change-Id: Ib00cbca264d5723434e5db476293364267a13a85
Bryan Davis [Sat, 20 Dec 2014 21:15:59 +0000 (14:15 -0700)]
monolog: MWLoggerMonologSamplingHandler
Introduce the MWLoggerMonologSamplingHandler which can
be used to probabilistically sample the log event stream.
Bug: T85067
Change-Id: Icd14fc8c44ca9eef0f3f5cc4f1d1d8b68d517f07
jenkins-bot [Sat, 20 Dec 2014 21:26:21 +0000 (21:26 +0000)]
Merge "Fix redirect page for RTL"
Niklas Laxström [Sat, 6 Dec 2014 09:52:47 +0000 (10:52 +0100)]
Escape retrievedfrom message in the skin
Change-Id: Ifd696ecd93c76e56cb21b3f2645367beeeeb5ba0
Translation updater bot [Sat, 20 Dec 2014 20:45:39 +0000 (21:45 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ic37ef1c92e555d471595a05c2d4b0d7b520d3e0c
Ebrahim Byagowi [Sat, 20 Dec 2014 19:47:00 +0000 (19:47 +0000)]
Fix redirect page for RTL
Change-Id: Ic101356245247c745daa2f58428de22b08be5289
jenkins-bot [Sat, 20 Dec 2014 10:10:59 +0000 (10:10 +0000)]
Merge "Remove unneeded fields from query in Special:ListUsers"
jenkins-bot [Sat, 20 Dec 2014 10:02:47 +0000 (10:02 +0000)]
Merge "Ensure integer compare in Special:WantedCategories"
umherirrender [Fri, 7 Nov 2014 16:35:20 +0000 (17:35 +0100)]
Remove unneeded fields from query in Special:ListUsers
Since r72864 the fields numgroup and singlegroups are unused.
Change-Id: Ifc2f6c77ec54a9c9e72c4a7a4b8a9c8f9f90013a
jenkins-bot [Sat, 20 Dec 2014 09:42:35 +0000 (09:42 +0000)]
Merge "Add batch lookup for user groups on Special:ListUsers"
umherirrender [Fri, 7 Nov 2014 16:28:56 +0000 (17:28 +0100)]
Add batch lookup for user groups on Special:ListUsers
At the moment for each user on the list a new user object is created and
than the getGroups method is called, which fully init the user object,
which is done in 3 queries (user table, user_properties and
user_groups).
Removed the user object with one query for all the userids and cache the
result.
Also added the group page to the LinkBatch, because now the necessary
pages can be determined easily.
Change-Id: I4a945f83ad28edf5cc040139943cf743cb3d133c
jenkins-bot [Sat, 20 Dec 2014 02:04:17 +0000 (02:04 +0000)]
Merge "jquery.tipsy: Unbreak the 'live' option for now"
Bartosz Dziewoński [Sat, 20 Dec 2014 00:17:17 +0000 (01:17 +0100)]
jquery.tipsy: Unbreak the 'live' option for now
It used jQuery.fn.live, which stopped existing when we removed jQuery
Migrate (
c393f874). This patch basically reimplements it.
Both .context and .selector properties used here are deprecated and
will be removed in the future, so we should come up with a better
solution at some point (or intentionally disallow using this option,
rather than breaking it by accident). For now, re-added the tracking
and logging, like what jQuery Migrate provided.
https://api.jquery.com/context/
https://api.jquery.com/selector/
Bug: T69989
Change-Id: Ib1a908dc60ca23c354fb05484d9b00cf54a05ebe
jenkins-bot [Sat, 20 Dec 2014 01:27:18 +0000 (01:27 +0000)]
Merge "Hide file links in action=info's 'Number of redirects to this page'"
Ricordisamoa [Wed, 10 Dec 2014 01:29:14 +0000 (01:29 +0000)]
Hide file links in action=info's 'Number of redirects to this page'
Special:WhatLinksHere gets now passed hideimages=1
if the concerned page is in the File namespace.
A bit of history:
the 'hideimages' parameter has been added to Special:WhatLinksHere
with commit
06ad0d25 (r34267), then removed with commit
cdc7e22d
(r34277), and finally added back with
725cb284 (r34320).
Change-Id: I0f358e52c38bb525cee8085ca206118ee276889d
jenkins-bot [Sat, 20 Dec 2014 00:26:36 +0000 (00:26 +0000)]
Merge "Update jQuery from v1.11.1 to v1.11.2"
jenkins-bot [Sat, 20 Dec 2014 00:13:29 +0000 (00:13 +0000)]
Merge "Fix error in docs of VirtualRESTServiceClient and MultiHttpClient"
jenkins-bot [Sat, 20 Dec 2014 00:06:14 +0000 (00:06 +0000)]
Merge "EditPage: Optimise loading of mediawiki.toolbar module"
Timo Tijhof [Fri, 19 Dec 2014 04:39:33 +0000 (04:39 +0000)]
EditPage: Optimise loading of mediawiki.toolbar module
Follows-up
b3830611c4.
Unlike getEditToolbar(), which only runs if the user preference
is enabled, the loading of mediawiki.action.edit is unconditional.
As mediawiki.toolbar has already been separated from mediawiki.action.edit,
it's easy to load it conditionally instead of via a dependency
(mediawiki.action.edit doesn't depend on it for anything else).
Also:
* Remove odd 'false' values passed to User::getOption(). These
options are part of MediaWiki core and always exist. The default
value 'false' was ignored.
* Remove redundant closure. The domready callback already provides
a closure and 'mw' is not used here (similar to jquery.mw-jump).
Change-Id: Ib2f4633b328cf8090df43b8d286cfcd77f95c5ea
Brad Jorsch [Fri, 19 Dec 2014 22:06:38 +0000 (17:06 -0500)]
Reject out-of-range output when converting to TS_MW
TS_MW is a 14-character string "YYYYMMDDHHIISS", and thus cannot
represent timestamps earlier than
00000101000000 or later than
99991231235959.
MWTimestamp should throw an exception if asked to represent out-of-range
times in this format, rather than returning invalid values that are
likely to be truncated by the database.
Bug: T51580
Change-Id: I744e446356f3ed9193dfaaaec5dc81c611dab4a3
Alex Monk [Fri, 19 Dec 2014 21:49:57 +0000 (21:49 +0000)]
Fix error in docs of VirtualRESTServiceClient and MultiHttpClient
err -> error
Change-Id: I758c026599367b282150a513b09d6f6c837a3a80
paladox [Fri, 19 Dec 2014 20:28:44 +0000 (15:28 -0500)]
Update jQuery from v1.11.1 to v1.11.2
Source
* https://code.jquery.com/jquery-1.11.2.js
Release notes
* http://blog.jquery.com/2014/12/18/jquery-1-11-2-and-2-1-3-released-safari-fail-safe-edition/
Change-Id: Ic972e272be9deea6b44b2375fa31ac128e452dac
Translation updater bot [Fri, 19 Dec 2014 21:04:20 +0000 (22:04 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Id19350a7d65938614fba54f5eefb6a0051027626
C. Scott Ananian [Fri, 19 Dec 2014 20:28:44 +0000 (15:28 -0500)]
Sync up with Parsoid parserTests.
This now aligns with Parsoid commit
2711026e89948a99f85182228563fdab8e2dfad3
Change-Id: I7e1e562273d2cdd5a4199971a975c2e674a519e9
Alex Monk [Fri, 19 Dec 2014 20:06:44 +0000 (20:06 +0000)]
Fix VirtualRESTServiceClient::run
runMulti returns an array of response arrays, not request arrays.
Change-Id: I1d57ff24c43c033d533630c23fe3e1e85b448013
Timo Tijhof [Fri, 19 Dec 2014 18:49:25 +0000 (18:49 +0000)]
mediawiki.notification: Use link syntax for URL in documentation
The url was rendered as plain text instead of a clickable link.
https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.Notification_
Change-Id: Ic7bd0e3765a53f5e4072124333d02417b7e47940
jenkins-bot [Fri, 19 Dec 2014 18:29:39 +0000 (18:29 +0000)]
Merge "maintenance: Don't copy the Apex styles when importing OOjs UI"
jenkins-bot [Fri, 19 Dec 2014 18:25:04 +0000 (18:25 +0000)]
Merge "Don't create Language objects during ResourceLoader tests"
James D. Forrester [Fri, 5 Dec 2014 22:13:03 +0000 (14:13 -0800)]
maintenance: Don't copy the Apex styles when importing OOjs UI
Also remove the existing ones.
Change-Id: I60450f5ce3d8e5b1136f9ffa3557aaf3687ca814
Kunal Mehta [Mon, 15 Dec 2014 17:38:11 +0000 (09:38 -0800)]
SpecialImport: Don't access $this->getConfig() in the constructor
The context is only set later on, so call it in the main
execute() function.
Bug: T73376
Change-Id: I34229877df6a8960756565f7df1d680aa8951cba
jenkins-bot [Fri, 19 Dec 2014 17:14:12 +0000 (17:14 +0000)]
Merge "Use more pretty output in ResourceLoader debug mode for arrays"
Legoktm [Fri, 19 Dec 2014 16:59:27 +0000 (16:59 +0000)]
Merge "Make HTMLForm::formatErrors non-static to can parse message in context"
umherirrender [Fri, 19 Dec 2014 16:55:46 +0000 (17:55 +0100)]
Use more pretty output in ResourceLoader debug mode for arrays
Effected:
- mw.language.data
- mw.language.names
- mw.config.set
- mw.user.options.set for defaults
- mw.toolbar
Change-Id: I8a9e718ab15f0b3f80e12b817295c6843a570d46
This, that and the other [Tue, 9 Dec 2014 00:05:29 +0000 (11:05 +1100)]
Make the autoload generator use forward slashes on all OSs
It was previously using the platform-specific directory separator, meaning
that we got backslashes on Windows and forward slashes on other OSs.
Bug: T77004
Change-Id: I5d502b54fddd55272e63d4a2a14b6d5de541263a
Kevin Israel [Sun, 24 Aug 2014 06:52:38 +0000 (02:52 -0400)]
Change case of class names to match declarations
Found by running tests under a version of PHP patched to report
case mismatches as E_STRICT errors.
User classes:
* MIMEsearchPage
* MostlinkedTemplatesPage
* SpecialBookSources
* UnwatchedpagesPage
Internal classes:
* DOMXPath
* stdClass
* XMLReader
Did not change:
* testautoLoadedcamlCLASS
* testautoloadedserializedclass
Change-Id: Idc8caa82cd6adb7bab44b142af2b02e15f0a89ee
umherirrender [Sat, 13 Dec 2014 11:08:45 +0000 (12:08 +0100)]
Make HTMLForm::formatErrors non-static to can parse message in context
One call in core already called it non-static
Avoid:
[GlobalTitleFail] MessageCache::parse called by
Message::toString/Message::parseText/MessageCache::parse with no title
set
Change-Id: Ic91e715177c0a4578825640a31ec68ecba3176e0
Kevin Israel [Mon, 15 Dec 2014 07:42:34 +0000 (02:42 -0500)]
tables.sql: Improve description of old_flags
* Changed the name of the 'utf8' flag to 'utf-8', as that is what
Revision stores. (This was already corrected in the mediawiki.org
manual page by RichF.) Noted that 'utf8' was, however, mistakenly
used in an old version of recompressTracked.php.
* Added 'external' to the list of flags. This was already added
to the manual page (by GreenReaper) yet not here. Copied the
description from there and added a couple of clarifications.
Change-Id: If15b49a28d7d4b0397481d21e30d877298fc7955
aude [Tue, 2 Dec 2014 22:50:58 +0000 (17:50 -0500)]
Add documentation for SiteListFileCache
Change-Id: I6c5b7fdfbbd6a4e6d67bd0f4aff539ce4d97cfda
Timo Tijhof [Tue, 18 Nov 2014 13:57:28 +0000 (14:57 +0100)]
autoloader: Remove incorrect documentation comment
Follows-up I8b1bdb84a969. This is not generated by that script,
the autoload.php file is, but that one has a similar comment
in it already.
Change-Id: Icb44f3dab356820f1e3aa5ba56949219af1b5719
Jackmcbarn [Fri, 6 Jun 2014 19:56:19 +0000 (15:56 -0400)]
Re-emit unknown tags from #tag
When #tag is given a tag that it doesn't recognize, re-emit it as a
regular tag instead of giving an error. This allows for it to be used with
transparent tags and HTML tags.
Change-Id: I0ceee8a4fdaf2d3142054a108f445ff06597c31a
Aaron Schulz [Fri, 19 Dec 2014 01:28:34 +0000 (17:28 -0800)]
Fixed comment typo and other docs tweaks
Change-Id: I0368561611071f0e4722661e7f7c146618f3364a
Kunal Mehta [Fri, 19 Dec 2014 00:52:28 +0000 (16:52 -0800)]
Don't create Language objects during ResourceLoader tests
Mock calls to ResourceLoaderContext::getDirection(), which creates
Language objects to get the directionality of a language.
Change-Id: Ibe6da3013e658aa7cf596c1da2f8ca1314b7cdd3