Chad Horohoe [Wed, 27 Aug 2014 23:17:02 +0000 (16:17 -0700)]
Remove SpecialSearchNoResults and call SpecialSearchResults always
The former hook is only used by one extension which uses the
same code path for both hooks meaning no fix is necessary. Makes
it possible for extensions to actually provide results when none
were found.
Change-Id: Ia4d56b2a1a7531529dbde8a011a33a4482c04932
jenkins-bot [Wed, 27 Aug 2014 22:50:07 +0000 (22:50 +0000)]
Merge "Revert "Remove useless $out parameter from SkinTemplate::prepareQuickTemplate()""
Bartosz Dziewoński [Wed, 27 Aug 2014 22:42:16 +0000 (22:42 +0000)]
Revert "Remove useless $out parameter from SkinTemplate::prepareQuickTemplate()"
This reverts commit
404939b9c272bd12a62bb47f7ca452368b7f20ca.
Lacked sufficient deprecation process (no notice, no one checked
existing skins), resulting in a fatal in at least one skin (BlueSky).
Change-Id: Id009f6ac05ebcb3cd1f739b1b46e810ddacf29af
jenkins-bot [Wed, 27 Aug 2014 22:42:12 +0000 (22:42 +0000)]
Merge "Indicate the actual version of HHVM in use"
jenkins-bot [Wed, 27 Aug 2014 21:25:24 +0000 (21:25 +0000)]
Merge "API: Organize classes"
jenkins-bot [Wed, 27 Aug 2014 21:00:02 +0000 (21:00 +0000)]
Merge "mediawiki.debug: Fix crash in browsers without Function#bind"
Brad Jorsch [Wed, 27 Aug 2014 19:41:05 +0000 (15:41 -0400)]
API: Organize classes
* Group methods in ApiBase by function
* ApiBase::validateLimit and ApiBase::validateTimestamp are now
protected; there are no callers in any extensions in Gerrit
* Group methods in ApiQueryBase by function
* Move ApiFormatFeedWrapper out of ApiFormatBase.php
* Deprecate some methods in ApiQueryBase that seem useless and are
unused in core or any extensions in Gerrit
Change-Id: I32092f13906b6826d2137401724c21ccefa6f670
Brad Jorsch [Wed, 27 Aug 2014 19:41:05 +0000 (15:41 -0400)]
API: Internal cleanup
* Separate client-visible and internal release notes, because there are
a lot of both and will be more coming up
* Correct errors in release notes
* Add detail on token changes to release notes
* List deprecated API classes and methods in release notes
* Add missing @deprecated on ApiFormat* classes
Change-Id: I577f3c8b9182f1625470c8bc52d3bdfe5d623d81
jenkins-bot [Wed, 27 Aug 2014 20:05:33 +0000 (20:05 +0000)]
Merge "Add missing @return and @param to doc blocks"
umherirrender [Mon, 25 Aug 2014 16:50:35 +0000 (18:50 +0200)]
Add missing @return and @param to doc blocks
Change-Id: I9d99ba1968ed8f97624d957754c8847dfe1b41da
Erik Bernhardson [Mon, 25 Aug 2014 23:59:29 +0000 (16:59 -0700)]
mediawiki.debug: Fix crash in browsers without Function#bind
PhantomJS has a partial ECMAScript 5 implementation but it does
not include Function.prototype.bind. Detect that and error gracefully
instead of erroring out in the middle of a phantomjs qunit run.
Change-Id: Ic06e08490e8f297fda479c4adaf9b2d8735f63ad
Translation updater bot [Wed, 27 Aug 2014 19:09:49 +0000 (21:09 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I1655cbe475ee5f49cb7ee3e8fc16557c6498c8c0
jenkins-bot [Wed, 27 Aug 2014 18:43:05 +0000 (18:43 +0000)]
Merge "Fixed spacing"
umherirrender [Mon, 25 Aug 2014 17:16:36 +0000 (19:16 +0200)]
Fixed spacing
- Added space after reserved words: function, foreach, if
- Combined 'else if' into elseif
- Added braces to one-line statements
- Added spaces after comma, before parentheses
Change-Id: Ie5bbf680d6fbe0f0872dab2700c16b1394906a72
Cmcmahon [Wed, 27 Aug 2014 15:28:14 +0000 (08:28 -0700)]
QA: update to fix deprecated API token call
Change-Id: Ie62cbcd40556c54444fdf1825dbb3ddebea5afde
jenkins-bot [Wed, 27 Aug 2014 14:21:50 +0000 (14:21 +0000)]
Merge "Fix up php syntax that accidentally became part of a string literal"
jenkins-bot [Wed, 27 Aug 2014 13:43:34 +0000 (13:43 +0000)]
Merge "The static declaration must come after the visibility declaration"
Timo Tijhof [Wed, 27 Aug 2014 13:39:31 +0000 (15:39 +0200)]
Fix up php syntax that accidentally became part of a string literal
Follows-up
d15f1cc5e1d6db78.
Previous output:
> 474 pages in the MediaWiki namespace ' .
> 'override messages.
> 4 pages are equal to the default message ' .
> '(+ 0 talk pages).
Change-Id: I6104f716f7dc32d638a2f5a7c37c3a507efad7dd
Florian [Fri, 1 Aug 2014 13:55:16 +0000 (15:55 +0200)]
SpecialRunJobs: Use Config instead of global
Remove use of global and use Config object submitted as a new second
paremeter to SpecialRunJobs::getQuerySignature.
Bug: 69187
Change-Id: Idfd48e36275651c8ee1d926355fc32a7ba84883a
jenkins-bot [Tue, 26 Aug 2014 21:45:39 +0000 (21:45 +0000)]
Merge "Don't send rel=canonical to variant-neutral page"
Tim Starling [Fri, 15 Aug 2014 08:08:46 +0000 (09:08 +0100)]
Don't send rel=canonical to variant-neutral page
This has been the subject of multiple complaints from Google, it
apparently prevents them from properly indexing the variant-specific
pages. Instead, send the variant-independent link as rel=alternate
hreflang=x-default, which is recommended by Google as the preferred way
of specifying "auto-redirecting homepages" in this help page:
https://support.google.com/webmasters/answer/189077?hl=en
Send rel=alternate links unconditionally, since that is also recommended
by that help page: "each language page must identify all language
versions, including itself".
Remove $wgCanonicalLanguageLinks since it would be rather pointless and
poorly named if it only controlled rel=alternate links.
Bug: 52429
Change-Id: Ic75717f6e4ac1f73aa600c2e1bdb9c60e607edb4
umherirrender [Mon, 25 Aug 2014 16:25:39 +0000 (18:25 +0200)]
The static declaration must come after the visibility declaration
Change-Id: I50b7f39d527f5590373192a684ec07949988ec23
Alexandre Emsenhuber [Tue, 26 Aug 2014 21:02:16 +0000 (23:02 +0200)]
Use Config instead of globals in CategoryViewer.php
Change-Id: If33619694f1cf298b356a1761e454e274fe6aa5c
jenkins-bot [Tue, 26 Aug 2014 20:08:45 +0000 (20:08 +0000)]
Merge "Add a few PHPUnit tests for HTMLAutoCompleteSelectField"
Translation updater bot [Tue, 26 Aug 2014 19:57:41 +0000 (19:57 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Tue, 26 Aug 2014 19:55:05 +0000 (19:55 +0000)]
Merge "Add a test for mixed /*@noflip*/ and /*@embed*/ CSS annotations"
Ori Livneh [Tue, 26 Aug 2014 19:31:26 +0000 (12:31 -0700)]
Add a few PHPUnit tests for HTMLAutoCompleteSelectField
They're nothing especially sophisticated or exhaustive, but why not.
Change-Id: If89e8328080aa97e27fcc32f3bd4d777692f2fd1
Translation updater bot [Tue, 26 Aug 2014 19:31:36 +0000 (21:31 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I5af2f6d356f24a0a9a37f0f6b98d2c0870216a7b
Brad Jorsch [Fri, 27 Jun 2014 20:16:59 +0000 (16:16 -0400)]
Add HTMLAutoCompleteSelectField
This is much like the one OAuth has in
Special:OAuthConsumerRegistration/propose, except it stores the
autocompletion options in a data property rather than a global and uses
jquery.suggestions rather than jquery.ui.autocomplete.
Change-Id: I42473cea75f3706cc0125167f9191275ca6cb3b0
jenkins-bot [Tue, 26 Aug 2014 19:09:21 +0000 (19:09 +0000)]
Merge "API: Overhaul token handling"
Brad Jorsch [Fri, 8 Aug 2014 16:56:07 +0000 (17:56 +0100)]
API: Overhaul token handling
The current token handling is a mess. This simplifies things greatly:
* *All* tokens are obtained from action=query&meta=tokens, rather than
being spread over action=tokens, action=query&prop=info,
action=query&prop=revisions, action=query&prop=recentchanges, and
action=query&prop=users. All these old methods are deprecated.
* Similarly, there is only one hook to register new token types. All old
hooks are deprecated.
* All tokens are cacheable.
* Most token types are dropped in favor of a 'csrf' token. They already
were returning the same token anyway.
* All token-using modules will document the required token type in a
standard manner in action=help and are documented in machine-readable
fashion in action=paraminfo.
Note this will require updates to all extensions using tokens.
Change-Id: I2793a3f2dd64a4bebb0b4d065e09af1e9f63fb89
Santhosh Thottingal [Tue, 26 Aug 2014 04:09:17 +0000 (09:39 +0530)]
Support nesting of expressions in parameters of explicit plural forms
Bug: 69993
Change-Id: I15c167f245ba0842fc77fb4e03e380c40784ee1b
Timo Tijhof [Tue, 26 Aug 2014 16:41:26 +0000 (18:41 +0200)]
mw.toolbar: Don't mask the error of button.onClick being invalid
Follows-up
7359b97354b49faa4c1.
Minor clean up:
* Add missing line break.
* Add missing description for addButtons().
Change-Id: Ie33b900f1d116044e1aa2d31a23a2128786b7a49
Brad Jorsch [Tue, 26 Aug 2014 15:20:00 +0000 (11:20 -0400)]
Handle multiple ownerDocuments for args in Preprocessor_DOM
As long as Preprocessor_DOM::newPartNodeArray returns nodes with
different roots when called multiple times, PPFrame_DOM::newChild should
be prepared to receive such.
Bug: 70046
Change-Id: Ie048d8dbd3042f19d934ff0dd8d32b4c46f9f952
jenkins-bot [Tue, 26 Aug 2014 15:31:45 +0000 (15:31 +0000)]
Merge "Allow custom event handlers for the click event of toolbar buttons"
jenkins-bot [Tue, 26 Aug 2014 15:06:27 +0000 (15:06 +0000)]
Merge "Delete feed.css"
Bartosz Dziewoński [Tue, 26 Aug 2014 14:50:16 +0000 (16:50 +0200)]
Delete feed.css
It was a stylesheet loaded with our RSS and Atom feeds, intended to make
them legible when shown in a regular browser. Browsers these days tend
to have their own UI for feeds (for example IE 11 and Firefox 31), and
these that don't pretty-print the XML, which means the stylesheet
provides very little added value.
Per discussion on I6268d663.
Bug: 69277
Change-Id: I2ce9650c01f8f245707f5e88ee46520c5e598ce4
jenkins-bot [Tue, 26 Aug 2014 14:56:27 +0000 (14:56 +0000)]
Merge "AjaxDispatcher: Use Config instead of globals"
jenkins-bot [Tue, 26 Aug 2014 13:54:14 +0000 (13:54 +0000)]
Merge "Improve GlobalVarConfigTest"
Timo Tijhof [Mon, 25 Aug 2014 11:43:41 +0000 (13:43 +0200)]
phpcs: Pass ResourceLoader.php
There was only one warning left.
> 1184 | WARNING | Line exceeds 100 characters; contains 107 characters
> | | (Generic.Files.LineLength.TooLong)
Change-Id: I99c729e02dac6aaf13a05568fd04e7bb5ad7bcb5
jenkins-bot [Tue, 26 Aug 2014 10:56:46 +0000 (10:56 +0000)]
Merge "includes/htmlform/: Use Config instead of globals"
Kunal Mehta [Tue, 26 Aug 2014 02:14:41 +0000 (19:14 -0700)]
AjaxDispatcher: Use Config instead of globals
Also removed a usage of $wgUser, and converted
AjaxResponse to use Config.
Change-Id: Ia9a1e17da26908b81f7f9691445ff75db2fdefb1
rillke [Sun, 25 May 2014 11:23:09 +0000 (13:23 +0200)]
Add "chemical" major MIME type to the image tables
The American Chemical Society suggested a new major MIME type for files
containing chemical data in 1998: http://dx.doi.org/10.1021/ci9803233
This suggestion got widely adopted and is now a de-facto-standard despite
not registered with IANA.
Applying this patch will allow us to continue with extension MolHandler
and PDBHandler.
http://fab.wmflabs.org/T352
- Fixes bug 66412 by creating a logic that will prevent running unneeded
updates.
Bug: 66412
Change-Id: Ic45dc1bce796a0406ed8a84e6274df1c4bda4967
umherirrender [Mon, 25 Aug 2014 17:35:36 +0000 (19:35 +0200)]
Add missing '()' to some release notes
All other remove of deprecated functions ends with (), so add the () to
the two missing one.
Change-Id: I72959fe64d31e5e61e8e6edc58b3370e8b569dd1
jenkins-bot [Mon, 25 Aug 2014 17:32:12 +0000 (17:32 +0000)]
Merge "startup: Blacklist Opera < 12"
jenkins-bot [Mon, 25 Aug 2014 17:21:45 +0000 (17:21 +0000)]
Merge "Remove wrong @return from doc blocks"
Bartosz Dziewoński [Mon, 25 Aug 2014 15:40:51 +0000 (17:40 +0200)]
No space within the ?: operator
This style is a lot more common in our code.
Change-Id: I7f2fb3716c24c4a95a4c6c4a732b0226c315f242
umherirrender [Sun, 24 Aug 2014 09:26:41 +0000 (11:26 +0200)]
Remove wrong @return from doc blocks
These functions actually does not return anything, so the @return is
wrong here. '@return void' is ignored.
Change-Id: I11495ee05b943c16c1c4715d617c8b50de22276c
Timo Tijhof [Sun, 24 Aug 2014 13:57:31 +0000 (15:57 +0200)]
startup: Blacklist Opera < 12
jQuery hasn't supported Opera < 12 for several releases now, and
our own support matrix and development practices also consider
Opera 11 and below being Grade C (there are known problems in
Opera 8 and 10, such as missing features and implementation bugs).
Update the blacklist to reflect Opera < 12 being Grade C.
https://www.mediawiki.org/wiki/Compatibility#Browser_support_matrix
Change-Id: Ia2764a49c5d1fad73bd4eb52748269407231700e
jenkins-bot [Mon, 25 Aug 2014 11:44:59 +0000 (11:44 +0000)]
Merge "MessageBlobStore: Use Config instead of globals"
jenkins-bot [Mon, 25 Aug 2014 11:39:09 +0000 (11:39 +0000)]
Merge "Turn MessageBlobStore into a singleton instead of static functions"
Kunal Mehta [Sat, 23 Aug 2014 07:58:07 +0000 (00:58 -0700)]
MessageBlobStore: Use Config instead of globals
Change-Id: I458cc74bac1bff8edab6ad537a3a999ede5706ed
Kunal Mehta [Sat, 23 Aug 2014 07:55:32 +0000 (00:55 -0700)]
Turn MessageBlobStore into a singleton instead of static functions
For easier testability and other things. There are no uses
of this class in any extensions in gerrit.
Change-Id: I606de4259239e128ed7e0477fc98b84c647430c4
jenkins-bot [Mon, 25 Aug 2014 09:51:15 +0000 (09:51 +0000)]
Merge "Add some @see to doc blocks"
jenkins-bot [Mon, 25 Aug 2014 09:48:14 +0000 (09:48 +0000)]
Merge "Do not return anything on __construct"
jenkins-bot [Mon, 25 Aug 2014 09:47:39 +0000 (09:47 +0000)]
Merge "Add missing @return to function docs"
jenkins-bot [Mon, 25 Aug 2014 09:46:47 +0000 (09:46 +0000)]
Merge "Remove double @return from User::isAllowedAny"
jenkins-bot [Mon, 25 Aug 2014 06:20:30 +0000 (06:20 +0000)]
Merge "Remove useNew (no longer any effect) from qqq messages"
jenkins-bot [Mon, 25 Aug 2014 05:25:07 +0000 (05:25 +0000)]
Merge "Deprecate $wgDeferredUpdateList"
Matthew Flaschen [Mon, 25 Aug 2014 04:00:35 +0000 (00:00 -0400)]
Remove useNew (no longer any effect) from qqq messages
Change-Id: I6b09efe28db2d61d55d1a79a801207f3e371777f
Kunal Mehta [Sun, 24 Aug 2014 22:09:01 +0000 (15:09 -0700)]
Update findHooks.php and move MonoBook hook out of docs/hooks.txt
Added includes/skins/ to the list of directories and removed
the skins that were moved out of core.
The MonoBook hook is moved to skins/MonoBook in Ieb85b4bed.
Change-Id: Ie8ad1eb694575b8e1485177e2d14f2a9dcab179d
helderwiki [Sat, 23 Aug 2014 19:12:21 +0000 (16:12 -0300)]
Allow custom event handlers for the click event of toolbar buttons
Example:
mw.toolbar.addButton( {
imageFile: '//upload.wikimedia.org/wikipedia/commons/a/a9/Button_tournesol.png',
onClick: function(){ alert( 'MediaWiki!' ); }
} );
Change-Id: I615960f689a0f8d35a12879efebc0afda8eef7b1
umherirrender [Sun, 24 Aug 2014 09:29:45 +0000 (11:29 +0200)]
Do not return anything on __construct
Change-Id: I47f67ed17112af832b19f7e7538cae3e0b8354ef
umherirrender [Sun, 24 Aug 2014 09:19:32 +0000 (11:19 +0200)]
Add some @see to doc blocks
This avoids repeating the @params for the functions
Change-Id: Ie1f4488a0a7aa30ab128b9ea7ff6f3af12a88884
umherirrender [Sun, 24 Aug 2014 09:05:16 +0000 (11:05 +0200)]
Remove double @return from User::isAllowedAny
And fix the @param for the varargs
Change-Id: Idb9b3037bb6cbb41e01432a278695d6a29008edd
Kunal Mehta [Sun, 24 Aug 2014 05:41:26 +0000 (22:41 -0700)]
Deprecate $wgDeferredUpdateList
Callers should instead use DeferredUpdates::addUpdate. The
function is superior because it is able to enforce type-hinting
rather than throwing a fatal error. Also it's not a global :)
The only extension still using the global is FlaggedRevs,
for which I've submitted I1a7c6540b2.
Change-Id: Ic59c90c0d0131039295bd785280dc70ebde6e40f
Kunal Mehta [Sun, 24 Aug 2014 05:09:15 +0000 (22:09 -0700)]
includes/htmlform/: Use Config instead of globals
Change-Id: Ibc798f3ee22dec0a77bab39611d490c09b3cb764
jenkins-bot [Sun, 24 Aug 2014 04:39:47 +0000 (04:39 +0000)]
Merge "Apply csshelpclass to vform help"
Matthew Flaschen [Sun, 24 Aug 2014 01:12:26 +0000 (21:12 -0400)]
Fix regression: Allow HTML as checkbox label in HTMLCheckField
Follow-up to
aa15d5287d898b624a30a70d14e495899f7d251e
Change-Id: Ie9a6b3f017912d0f3493da09a267cf32852392af
Bryan Davis [Sat, 23 Aug 2014 22:10:17 +0000 (16:10 -0600)]
Apply csshelpclass to vform help
Ensure that a form field which sets 'csshelpclass' and is rendered as
a vform receives expected styling.
Change-Id: Ibe082e07fe846334bd4dc257c9c0df8db23a1957
umherirrender [Sat, 23 Aug 2014 20:34:25 +0000 (22:34 +0200)]
Add missing @return to function docs
Change-Id: I45b9d02f94ecc58372268ec5e6a0b572a0b7e2a9
Kunal Mehta [Sat, 23 Aug 2014 21:11:43 +0000 (14:11 -0700)]
Improve GlobalVarConfigTest
Should bring includes/config to 100% coverage :D
Change-Id: I929448b7a306fb1efb8b523d16305a7666f78fd0
jenkins-bot [Sat, 23 Aug 2014 20:21:44 +0000 (20:21 +0000)]
Merge "Use config instead of globals for OutputPage"
Translation updater bot [Sat, 23 Aug 2014 20:08:25 +0000 (20:08 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Sat, 23 Aug 2014 19:59:49 +0000 (19:59 +0000)]
Merge "OutputPage: addParserOutput*() family doesn't need to take a reference"
Bartosz Dziewoński [Sat, 23 Aug 2014 16:20:51 +0000 (18:20 +0200)]
OutputPage: addParserOutput*() family doesn't need to take a reference
We never assign to the variable, only call some (mutating) methods on
the object. With PHP 5 we don't need to pass this by reference.
The functions that evolved into this family were originally added in
r12337, back then we probably still ran on PHP 4 or something.
Change-Id: Ib4ab141ca6d803f9df0351b1f65c7e9955c37d57
jenkins-bot [Sat, 23 Aug 2014 19:46:57 +0000 (19:46 +0000)]
Merge "Be consistent about 'TablePager' CSS class usage"
jenkins-bot [Sat, 23 Aug 2014 19:45:51 +0000 (19:45 +0000)]
Merge "Split includes/Pager.php"
jenkins-bot [Sat, 23 Aug 2014 19:45:19 +0000 (19:45 +0000)]
Merge "Remove unused styles for .imagelist"
Translation updater bot [Sat, 23 Aug 2014 19:12:41 +0000 (21:12 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I0d1cdf104964c0923cfea01e3c7e18838ed47046
Bartosz Dziewoński [Sat, 23 Aug 2014 13:00:07 +0000 (15:00 +0200)]
Be consistent about 'TablePager' CSS class usage
* Do not use it when not actually using the TablePager
* Always use it when actually using the TablePager
* Use parent::getTableClass() rather than hardcoding it every time
* Place it before other classes to allow overriding
Change-Id: I042b65be64e2c2fa6c68a7bb972a7a2ea7f55b4e
Bartosz Dziewoński [Sat, 23 Aug 2014 12:25:02 +0000 (14:25 +0200)]
Split includes/Pager.php
Change-Id: I67fcffca4e3de081a895deb1a285a5545940ece9
Bartosz Dziewoński [Sat, 23 Aug 2014 11:56:47 +0000 (13:56 +0200)]
Remove unused styles for .imagelist
Added in r16083 for Special:ImageList, which has been renamed to
Special:ListFiles in r45357, with class names being changed in the PHP
code without adjusting the CSS.
It seems no one has missed these styles over the years, so let's just
delete them.
Change-Id: I1f7775b3c7733cbfdd3f404527063e973fb80ec7
jenkins-bot [Sat, 23 Aug 2014 11:20:23 +0000 (11:20 +0000)]
Merge "Add more tests for GlobalVarConfig"
jenkins-bot [Sat, 23 Aug 2014 10:40:41 +0000 (10:40 +0000)]
Merge "Add a test for ApiFormatNone"
umherirrender [Sat, 23 Aug 2014 08:52:41 +0000 (10:52 +0200)]
Use config instead of globals for OutputPage
Change-Id: I5e0ebc173631d1d1052de7ccee4ef839c7c1767f
Kunal Mehta [Sat, 23 Aug 2014 06:32:37 +0000 (23:32 -0700)]
Mark ConfigFactory::destroyDefaultInstance() with @codeCoverageIgnore
Change-Id: Icd4a5724aefab58dad1af07874ef7ee415922ead
Kunal Mehta [Sat, 23 Aug 2014 06:27:51 +0000 (23:27 -0700)]
Add a test for ApiFormatNone
Because lolz.
Change-Id: I9c472131746a722737300b7d2d2291c70f80bb2e
jenkins-bot [Sat, 23 Aug 2014 00:43:07 +0000 (00:43 +0000)]
Merge "ResourceLoaderFileModule: Do not separately cache .less files"
Bartosz Dziewoński [Wed, 20 Aug 2014 17:39:36 +0000 (19:39 +0200)]
Fix documentation for $wgResourceLoaderLESSVars
* These aren't string values, but LESS code snippets. This rarely
matters, but it matters very much when it does.
* Changes to the values do not actually trigger cache invalidation.
Hashed contents are only used for "second-level" cache keys and do
not make it possible to invalidate module cache.
Change-Id: I373dfedac1e43db4d0aa709384eee7f7e7f1808c
jenkins-bot [Fri, 22 Aug 2014 23:53:13 +0000 (23:53 +0000)]
Merge "Use config instead of globals for ImageGallery"
jenkins-bot [Fri, 22 Aug 2014 23:42:39 +0000 (23:42 +0000)]
Merge "Use getConfig for ChangesList"
jenkins-bot [Fri, 22 Aug 2014 23:32:33 +0000 (23:32 +0000)]
Merge "Fix name of SpecialListFilesTest > ImageListPagerTest"
jenkins-bot [Fri, 22 Aug 2014 23:32:30 +0000 (23:32 +0000)]
Merge "Remove unused private var and fix phpdoc"
jenkins-bot [Fri, 22 Aug 2014 23:30:34 +0000 (23:30 +0000)]
Merge "Rename variable in RequestContext, $t => $title"
jenkins-bot [Fri, 22 Aug 2014 23:21:08 +0000 (23:21 +0000)]
Merge "tests: avoid sql queries in TitleTest"
jenkins-bot [Fri, 22 Aug 2014 23:20:36 +0000 (23:20 +0000)]
Merge "Change @return to start with type"
Antoine Musso [Thu, 21 Aug 2014 19:54:51 +0000 (21:54 +0200)]
tests: avoid sql queries in TitleTest
testIsAlwaysKnown was invoked on an interwiki link. To have the test
pass, we used addDBData() to inject the interwiki in the database. This
end up being execute on each test when it is only needed for a single
assertion.
Instead of creating a Title, use Title::makeTitle() to populate the
interwiki, thus letting us avoid the database hits.
Random timing: 1.20s -> 150ms.
Change-Id: I63a4e7b9af5eacb7dc1de4b33b8e631e6c3f1fa6
jenkins-bot [Fri, 22 Aug 2014 23:10:37 +0000 (23:10 +0000)]
Merge "Rename variable in Title: $parser -> $titleParser"
jenkins-bot [Fri, 22 Aug 2014 22:16:10 +0000 (22:16 +0000)]
Merge "Pass config to ResourceLoader from OutputPage"