Matthew Flaschen [Thu, 18 Sep 2014 05:20:24 +0000 (01:20 -0400)]
Change MediaWiki UI to use skinStyles so skins can customize
Bug: 70351
Change-Id: I5d5725dba7e8e65b8fe3f5213b5e50d8dfeba755
Legoktm [Thu, 18 Sep 2014 03:01:28 +0000 (03:01 +0000)]
Merge "Revert buggy MediaWiki UI change and dependent changes"
jenkins-bot [Thu, 18 Sep 2014 02:27:56 +0000 (02:27 +0000)]
Merge "Don't break existing expiry time of "infinity" when modifying protection"
James D. Forrester [Thu, 18 Sep 2014 01:30:19 +0000 (18:30 -0700)]
Update OOjs UI to v0.1.0-pre (
ec785c2c64)
New changes:
09e9d2c Fix documentation lies about dialog labels
ec785c2 Followup
6c862e8: position before AND after showing in TextInputMenuWidget
Change-Id: Ia1c9aa039503f0f18ac1da7748e7f87bfcdf7092
Kunal Mehta [Wed, 17 Sep 2014 22:16:29 +0000 (15:16 -0700)]
Document that MediaWiki also supports HHVM
Change-Id: Ibbca89d3e31dcfba6c150f7fb930c8b9a6eac341
jenkins-bot [Wed, 17 Sep 2014 23:33:55 +0000 (23:33 +0000)]
Merge "Followup
1cf5a6e: use $wgResourceBasePath to refer to resources/assets, not $wgScriptPath"
Roan Kattouw [Wed, 17 Sep 2014 23:12:53 +0000 (16:12 -0700)]
Followup
1cf5a6e: use $wgResourceBasePath to refer to resources/assets, not $wgScriptPath
Bonus: actually make $wgResourceBasePath default to $wgScriptPath, rather than
special-casing it in ResourceLoaderFileModule.
Change-Id: I608435cef00d3e77a5bbdb0a0122d3e7e1a4eb78
jenkins-bot [Wed, 17 Sep 2014 23:10:19 +0000 (23:10 +0000)]
Merge "inputs.less: Use .mw-ui-input-inline for type="number""
jenkins-bot [Wed, 17 Sep 2014 23:02:35 +0000 (23:02 +0000)]
Merge "Move assets/ to resources/assets/"
Matthew Flaschen [Wed, 17 Sep 2014 20:13:27 +0000 (16:13 -0400)]
Revert buggy MediaWiki UI change and dependent changes
Reverts:
*
c0ec2d64c0ea79e840072627407aeb16131e0f88
** mw-ui-button: Revamp the LESS to be simpler, and improve cross-browser support
[This breaks buttons in IE6-8 which previously were styled correctly and without problems.
This commit lacked rationale]
Unfortunately, this also means reverting these two commits which were
based off this one:
*
b8a15fb6282cd329faf7fee359edcb530061b949
** Override vector anchor hover and visited styles on mw-ui-button
*
645ba9f1d229fa50572ec58d3932059281b84aac
** Remove mw-ui-button min sizing for inline mode
Change-Id: If5e55916795060fb3baadb75f997446527cbc27d
jenkins-bot [Wed, 17 Sep 2014 22:02:15 +0000 (22:02 +0000)]
Merge "PHPUnit: Add Database tags"
jenkins-bot [Wed, 17 Sep 2014 21:04:59 +0000 (21:04 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (
24ac83a472)"
jenkins-bot [Wed, 17 Sep 2014 20:43:08 +0000 (20:43 +0000)]
Merge "Doc typo fixes"
Prateek Saxena [Wed, 17 Sep 2014 18:45:27 +0000 (11:45 -0700)]
inputs.less: Use .mw-ui-input-inline for type="number"
Bug: 70404
Change-Id: If7a44e681392937c01886e035bc88b8add37b969
Translation updater bot [Wed, 17 Sep 2014 20:24:33 +0000 (22:24 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I275d3d733d628994e348ad6357bb263e51146133
Bartosz Dziewoński [Wed, 17 Sep 2014 19:39:03 +0000 (21:39 +0200)]
Move assets/ to resources/assets/
While it's "semantically" incorrect (these files are not
ResourceLoader resources), putting them in that subdirectory is a lot
less hassle than introducing a new toplevel directory.
Follow-up to
2b4b9a3f. Discussion that resulted in the toplevel
assets/ took place on I6268d663 (now abandoned).
Change-Id: Iedbfd802457fe35803899e3479540177760ec30b
Aaron Schulz [Wed, 17 Sep 2014 18:30:07 +0000 (11:30 -0700)]
Doc typo fixes
Change-Id: I41286754185dbd1d23f409dfb60eb0fe9d4aa5f5
James D. Forrester [Wed, 17 Sep 2014 18:23:53 +0000 (11:23 -0700)]
Update OOjs UI to v0.1.0-pre (
24ac83a472)
New changes:
91a7fab build: Bump miscellaneous devDependencies to latest
18c32c5 Localisation updates from https://translatewiki.net.
283e2a1 When updating the ideal size while not clipping, set that size
6c862e8 Update width of TextInputMenuWidget before fitting labels, not after
Change-Id: If825e0ec0e294b2569c98b5340be436ba896eceb
Shahyar [Wed, 17 Sep 2014 05:11:27 +0000 (01:11 -0400)]
Remove mw-ui-button min sizing for inline mode
Change-Id: I47ac148cbbdf8042677601cd6ef4e33a6627d648
Shahyar [Wed, 17 Sep 2014 05:05:13 +0000 (01:05 -0400)]
Override vector anchor hover and visited styles on mw-ui-button
Also adds anchors to mw-ui-button living style guide
Change-Id: I1adb4004da9924a06956a10b89ccd02d188e5a11
jenkins-bot [Wed, 17 Sep 2014 17:29:22 +0000 (17:29 +0000)]
Merge "Array to string conversion in TransformationalImageHandler.php:167"
jenkins-bot [Wed, 17 Sep 2014 17:20:25 +0000 (17:20 +0000)]
Merge "Undefined $scaler in TransformationalImageHandler::rotate()"
jenkins-bot [Wed, 17 Sep 2014 17:11:29 +0000 (17:11 +0000)]
Merge "Add TitleExists hook"
Reedy [Wed, 17 Sep 2014 16:01:23 +0000 (17:01 +0100)]
Undefined $scaler in TransformationalImageHandler::rotate()
Bug: 70903
Change-Id: I25899d9a3435150c97bc94d80004fc19d38b3638
Reedy [Wed, 17 Sep 2014 15:55:42 +0000 (16:55 +0100)]
Array to string conversion in TransformationalImageHandler.php:167
Bug: 70902
Change-Id: Ia5e0949fc18275955dd1d320f8d538e3f2a7855b
Brad Jorsch [Tue, 16 Sep 2014 18:04:16 +0000 (14:04 -0400)]
Update wfMessage doc
The Message class constructor has long supported passing an array of
keys for fallback messages, and wfMessage passes the $keys parameter
through unchanged.
And since this is already in use in core, we may as well document it.
Change-Id: I8f7f9ade87e855300650b2e7e31b9303daa96ac5
Shahyar [Wed, 30 Jul 2014 16:51:24 +0000 (12:51 -0400)]
mw-ui-button: Revamp the LESS to be simpler, and improve cross-browser support
Uses a slightly modified iteration of the button design
Drops mw-ui-primary
Change-Id: Ia6deef500ada2cf33c96ce70909592764df39901
jenkins-bot [Wed, 17 Sep 2014 01:51:20 +0000 (01:51 +0000)]
Merge "Replaced more trx DIY with startAtomic()"
jenkins-bot [Wed, 17 Sep 2014 01:50:20 +0000 (01:50 +0000)]
Merge "i18n: replace "login" by "log in""
Jeff Janes [Fri, 15 Aug 2014 21:11:26 +0000 (14:11 -0700)]
PHPUnit: Add Database tags
Several unit tests access the database, but did not declare
themselves in the Database @group. This causes
"make databaseless" to fail needlessly. Add the
missing tags.
tests/phpunit/includes/LinkerTest.php
tests/phpunit/includes/actions/ActionTest.php
tests/phpunit/includes/specials/ImageListPagerTest.php
tests/phpunit/includes/specials/SpecialMIMESearchTest.php
tests/phpunit/includes/title/MediaWikiPageLinkRendererTest.php
Other than ActionTest.php, these also are problematic in 1.23
Change-Id: I7c1c957e2194c13e48b7ba68d7529e5d89901875
jenkins-bot [Wed, 17 Sep 2014 01:12:36 +0000 (01:12 +0000)]
Merge "Correct button colours of preference page when $wgUseMediaWikiUIEverywhere is enabled"
shirayuki [Wed, 17 Sep 2014 00:53:42 +0000 (09:53 +0900)]
i18n: replace "login" by "log in"
Spotted by Fito
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Prefsnologintext2/es
Change-Id: I87d2d4d7f6d5863f91e1072a6a1bb6f201371b6d
jenkins-bot [Wed, 17 Sep 2014 00:28:18 +0000 (00:28 +0000)]
Merge "Made the DB profiler use startAtomic()"
Aaron Schulz [Wed, 17 Sep 2014 00:26:10 +0000 (17:26 -0700)]
Replaced more trx DIY with startAtomic()
Change-Id: I76662aa438ed8aa294f8ec5973c9a51fd8b7cdbf
Aaron Schulz [Wed, 17 Sep 2014 00:20:23 +0000 (17:20 -0700)]
Made the DB profiler use startAtomic()
Change-Id: I6eadd071c16781b320d0c8c518e6184a4c38d874
Aaron Schulz [Wed, 17 Sep 2014 00:18:21 +0000 (17:18 -0700)]
Removed redundant begin/commit calls
Change-Id: I33b496c5c57451eec24080a5b769020979fb51f0
jdlrobson [Mon, 1 Sep 2014 19:36:06 +0000 (20:36 +0100)]
Correct button colours of preference page when $wgUseMediaWikiUIEverywhere is enabled
* Apply mw-ui-destructive to Special:Preferences/Reset
when $wgUseMediaWikiUIEverywhere is enabled
Introduces HTMLForm->setSubmitDestructive()
Bug: 65317
Change-Id: I1d6691dce3e7dab662bda9a718e16c5caee6c041
jenkins-bot [Tue, 16 Sep 2014 23:07:56 +0000 (23:07 +0000)]
Merge "Improve/rename Parser::replaceUnusualEscapes"
jenkins-bot [Tue, 16 Sep 2014 23:00:58 +0000 (23:00 +0000)]
Merge "Made SiteSQLStore use startAtomic() instead of DIY"
Brad Jorsch [Sat, 21 Dec 2013 02:14:48 +0000 (21:14 -0500)]
Improve/rename Parser::replaceUnusualEscapes
The previous implementation would unescape '&', '=', '+', and '%'. The
first three will break the URL when unescaped in the query string, and
the last will break when unescaped anywhere.
The code is now changed to treat the path, query, and fragment parts of
the URL separately when unescaping. We also escape any unsafe characters
and ensure all percent-encodings use uppercase hexits.
And since the old name is no longer accurate,
Parser::replaceUnusualEscapes is deprecated in favor of
Parser::normalizeLinkUrl.
Bug: 57909
Change-Id: I77dc308d0d016c395ad737c08cf10a7711e25bbd
jenkins-bot [Tue, 16 Sep 2014 22:58:47 +0000 (22:58 +0000)]
Merge "MovePage::move(): Return a Status object"
Aaron Schulz [Fri, 12 Sep 2014 22:58:40 +0000 (15:58 -0700)]
Made SiteSQLStore use startAtomic() instead of DIY
Change-Id: I3f47675646d772b4718086e2715e243da3a16bab
jenkins-bot [Tue, 16 Sep 2014 22:51:37 +0000 (22:51 +0000)]
Merge "Start moving page move logic out of Title"
Brian Wolff [Wed, 5 Jun 2013 16:14:27 +0000 (13:14 -0300)]
Make generating Parser test class names more robust
This includes the extension name, and it also does much
more stringent validation. In the (now rather unlikely)
event of a duplicate name, it will append a number.
This is important, as it is very confusing when this bug strikes.
There exists extensions like CharRangeSpan which will trigger this bug.
Bug: 42174
Change-Id: Idf14b4cbdb8ec103340d48855e0361acf707b101
Brian Wolff [Sun, 27 Jul 2014 23:23:55 +0000 (20:23 -0300)]
Make GetLocalFileCopy pool counter call from tiff be generic
I was to make PagedTiffHandler subclass TransformationalImageHandler.
The biggest thing that's different is the pool counter call.
However, given that a file is just as expensive in terms of
network bandwidth regardless of its type, seems to make sense
to make this check generic.
Change-Id: I7e4a4769edaa4742803df407b9c719c54fb77de3
jenkins-bot [Tue, 16 Sep 2014 19:06:09 +0000 (19:06 +0000)]
Merge "Use 0x for hexadecimal prefix"
csteipp [Tue, 16 Sep 2014 18:51:07 +0000 (11:51 -0700)]
Use 0x for hexadecimal prefix
0X is a legal hex prefix, but tools like pfff and my syntax highlighter
prefer the more common 0x.
Change-Id: I38bba068f9a97566b0df9fb0a2fe72d25519a21b
jenkins-bot [Tue, 16 Sep 2014 17:43:45 +0000 (17:43 +0000)]
Merge "Save pages content in the default format of their content type"
jenkins-bot [Tue, 16 Sep 2014 17:42:11 +0000 (17:42 +0000)]
Merge "When cloning TextContent, include model"
Translation updater bot [Tue, 16 Sep 2014 17:24:41 +0000 (19:24 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I4885e74d38770b40d2b3eebfb66cb4a5a3eaf8d4
Bartosz Dziewoński [Tue, 16 Sep 2014 14:46:19 +0000 (16:46 +0200)]
ResourceLoaderEditToolbarModule: Fix PHP Strict Standards warning
PHP Strict Standards: Declaration of ResourceLoaderEditToolbarModule::getLessCompiler()
should be compatible with ResourceLoaderFileModule::getLessCompiler(ResourceLoaderContext $context = NULL)
in …/includes/resourceloader/ResourceLoaderEditToolbarModule.php on line 0
Change-Id: I6b2de82028a81db7c65eb22f2535fbe4fa70cc91
jenkins-bot [Tue, 16 Sep 2014 13:16:19 +0000 (13:16 +0000)]
Merge "Using ULS in Special:PageLanguage"
jenkins-bot [Tue, 16 Sep 2014 13:10:50 +0000 (13:10 +0000)]
Merge "i18n: improve "tog-hide*" messages"
jenkins-bot [Tue, 16 Sep 2014 12:51:21 +0000 (12:51 +0000)]
Merge "Revamp classic edit toolbar not to hardcode paths in HTML"
jenkins-bot [Tue, 16 Sep 2014 08:27:49 +0000 (08:27 +0000)]
Merge "Split BitmapHandler into two classes."
Yuri Astrakhan [Tue, 16 Sep 2014 06:58:36 +0000 (02:58 -0400)]
When cloning TextContent, include model
The model id should be preserved when cloning values
on save.
Change-Id: I397d36af30cf1401023b761e8c41f0dc83e76c12
Yuri Astrakhan [Tue, 16 Sep 2014 01:03:22 +0000 (21:03 -0400)]
Updated mediawiki dict
Change-Id: Ia8eb4213fbc83be27de88a62d1c9c332f17b6579
jenkins-bot [Tue, 16 Sep 2014 00:10:13 +0000 (00:10 +0000)]
Merge "Improve hidden field validation"
Jackmcbarn [Mon, 15 Sep 2014 22:46:25 +0000 (18:46 -0400)]
Add TitleExists hook
Bug: 70495
Change-Id: I4f9a04d09ff8c4bdda678a591aea7f1153cb0a40
Roan Kattouw [Mon, 15 Sep 2014 22:18:40 +0000 (15:18 -0700)]
Update OOjs UI to v0.1.0-pre (
49b64bdba7)
New changes:
c82b429 Work around position: fixed; bug in Safari
9e1432e Split out isPending, pushPending, popPending, etc. into PendingElement
Change-Id: Ifd213123adfc9c96de2f16379c8ed3d706c210f8
Translation updater bot [Mon, 15 Sep 2014 22:08:46 +0000 (00:08 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Iaa9c20fe36b527c5ede84daa50abdda48a71d957
jenkins-bot [Mon, 15 Sep 2014 21:00:40 +0000 (21:00 +0000)]
Merge "Readd word-separator between edithelp link and newwindow hint"
jenkins-bot [Mon, 15 Sep 2014 19:47:04 +0000 (19:47 +0000)]
Merge "Better false positive detection for Special:Wantedfiles"
jenkins-bot [Mon, 15 Sep 2014 19:47:01 +0000 (19:47 +0000)]
Merge "Allow WantedQueryPage subclasses to override the existence check"
Florianschmidtwelzow [Wed, 10 Sep 2014 19:48:31 +0000 (21:48 +0200)]
Declare visibility of functions explicitly
Be consistent in entire class.
Change-Id: I7266bf9d232f1dc1be32105ad566f13be2a2bee4
umherirrender [Mon, 15 Sep 2014 18:59:21 +0000 (20:59 +0200)]
Readd word-separator between edithelp link and newwindow hint
Was removed on I47db5eab4569514d039261d11b6dedb0eeae17b5
Change-Id: I34e10fb4d43384b9170d238629128ab46976f6b2
jenkins-bot [Mon, 15 Sep 2014 18:13:39 +0000 (18:13 +0000)]
Merge "Make sure processResponsiveImages checks for valid thumb object"
jenkins-bot [Mon, 15 Sep 2014 17:36:12 +0000 (17:36 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (
073f37e258)"
Tpt [Tue, 26 Aug 2014 07:22:26 +0000 (09:22 +0200)]
Save pages content in the default format of their content type
Useful in order to be sure that only the default format is saved in the database (allow to implement optional formats useful for APIs but not used in the storage)
Change-Id: Ia703319aefc8d56c377cd7766dc5985c5c3c27c1
Rohan [Sun, 14 Sep 2014 11:12:38 +0000 (16:42 +0530)]
Supress email validation on cancellation in SpecialChangeEmail
Bug: 70676
Change-Id: Ic5246ea0ebfdff633092e2f99a179f31bd3eaa71
jenkins-bot [Mon, 15 Sep 2014 15:59:54 +0000 (15:59 +0000)]
Merge "ApiQuerySiteinfo: Use proper localised skin display names if available"
jenkins-bot [Mon, 15 Sep 2014 15:24:41 +0000 (15:24 +0000)]
Merge "API: Add timestamp of block to blockinfo"
James D. Forrester [Mon, 15 Sep 2014 15:00:27 +0000 (08:00 -0700)]
Update OOjs UI to v0.1.0-pre (
073f37e258)
New changes:
073f37e Improve FieldLayout help popup appearance
Change-Id: I6f201a99f40a8504a4c42d8f2220a3a7319a6025
Bartosz Dziewoński [Fri, 29 Aug 2014 19:51:56 +0000 (21:51 +0200)]
ApiQuerySiteinfo: Use proper localised skin display names if available
Based on the code in Preferences::generateSkinOptions(). This should
probably be turned into a helper method one day…
Bug: 48953
Change-Id: Ib85a783bd19de8a59e7b81a4203a05b786e67772
Yuri Astrakhan [Mon, 15 Sep 2014 08:17:29 +0000 (04:17 -0400)]
CSS/JSON/JavaScript ContentHandler refactoring
* All content handlers that deal with code/data tend to have
English as their page language & pageview language, so moved common
code to the abstract CodeContentHandler class.
* Renamed JSONContent & JSONContentHandler into JsonContent*
Change-Id: I46819a0572ef5becc211d0d82471ff7102edaa3c
jenkins-bot [Mon, 15 Sep 2014 03:13:39 +0000 (03:13 +0000)]
Merge "Prevent "Notice: Undefined index" in ApiQuerySiteinfo"
jenkins-bot [Mon, 15 Sep 2014 03:00:28 +0000 (03:00 +0000)]
Merge "Don't list nonexistent groups as addable or removable"
Jackmcbarn [Mon, 15 Sep 2014 01:52:21 +0000 (21:52 -0400)]
Don't list nonexistent groups as addable or removable
You can't add or remove a group that doesn't exist, so don't claim that
it's possible on Special:ListGroupRights or the API.
Change-Id: I02d3f00142ca1cb0cdcbf30e79fecb3c96e96405
Marius Hoch [Mon, 15 Sep 2014 02:33:16 +0000 (04:33 +0200)]
Prevent "Notice: Undefined index" in ApiQuerySiteinfo
$row['iw_trans'] wont be set if $wgInterwikiCache is used.
Change-Id: Iea1041b9c699667c251442ed7f4c95e3ba550e7c
Kunal Mehta [Mon, 15 Sep 2014 02:31:38 +0000 (19:31 -0700)]
MovePage::move(): Return a Status object
Change-Id: I17e6f6d36ae2052bd09d21eb94546d94bda9bce9
Kunal Mehta [Mon, 15 Sep 2014 02:16:22 +0000 (19:16 -0700)]
Start moving page move logic out of Title
This moves most of the Title::moveTo() function into a new MovePage
class, and the entirety of the Title::moveToInternal() function.
No actual code was changed except for requiring a User object in
function arguments instead of relying up on $wgUser, and changes
to "$this" as necessary.
Change-Id: I5479fa8f3920a51ddf789d55edae7dd0d9b24382
Marius Hoch [Mon, 15 Sep 2014 01:52:31 +0000 (03:52 +0200)]
Prevent "Notice: Undefined index" in wfDiff
Change-Id: I4cc7d10021a114a2035dd2d9274c2340242800cb
jenkins-bot [Mon, 15 Sep 2014 01:28:45 +0000 (01:28 +0000)]
Merge "Mark ParserOutput of MessageContent as varying by userlanguage"
jenkins-bot [Mon, 15 Sep 2014 01:28:38 +0000 (01:28 +0000)]
Merge "Make image/vnd.microsoft.icon be an alias for image/x-icon mime type."
Brian Wolff [Sat, 14 Dec 2013 08:53:21 +0000 (01:53 -0700)]
Mark ParserOutput of MessageContent as varying by userlanguage
Hopefully this will stop cache pollution when a MessageContent
ends up in parser cache. MessageContent objects just do
wfMessage()->parse(), which uses user language.
Bug: 41065
Change-Id: I75e8256a61b828cb9fc93227eb517a34ac6b9d15
Bartosz Dziewoński [Sat, 6 Sep 2014 15:17:20 +0000 (17:17 +0200)]
Update categorylinks.cl_type when moving a page
cl_type might need to be changed if the page was moved between
special-cased namespaces (Category ↔ File ↔ (other)).
Also update cl_collation, which also might have changed in the
meantime.
Bug: 69740
Change-Id: I46032a8ba04d77005731c02680f77a8808974087
jenkins-bot [Sun, 14 Sep 2014 23:56:34 +0000 (23:56 +0000)]
Merge "Fix double output of mimesearch-summary"
Brian Wolff [Mon, 9 Jun 2014 05:27:04 +0000 (02:27 -0300)]
Fix double output of mimesearch-summary
The execute method was calling a outputHeader(), and then calling
it's parent implementation which was also calling outputHeader()
causing double output.
Refactor class to use $this->getPageHeader() to output menus
before result list, as that appears to be what that method is
for.
Change-Id: Ic0a79cb73136e636f96e33859dadb384eca38255
Translation updater bot [Sun, 14 Sep 2014 23:17:09 +0000 (01:17 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I0d9118c2c9329361474b41519114484344cae73d
Derk-Jan Hartman [Mon, 31 Mar 2014 21:17:20 +0000 (23:17 +0200)]
API: Add timestamp of block to blockinfo
This change affects list=allusers, list=users
and meta=userinfo.
Note: This change also add block expiry to meta=userinfo.
Unlike this field in other modules, it formats the timestamp
properly, instead of just dumping db contents.
Resurrecting from abandoned change Ifdeac5c5f547
Bug: 63326
Change-Id: I4b3e55fe2d07271e1ded89d36d0b98de0e643177
Brian Wolff [Sat, 19 Jul 2014 15:06:48 +0000 (12:06 -0300)]
Better false positive detection for Special:Wantedfiles
Previously the page crossed out entries based on Title::isKnown.
This could potentially catch pages which are valid file redirects,
which shouldn't be crossed out.
This shouldn't affect anything performance wise, as the previous
Title::isKnown check would call wfFindFile anyways.
Change-Id: Ia9eac8f5618181c631a5b2b1c461b12a90f2dde7
Brian Wolff [Sat, 19 Jul 2014 14:51:26 +0000 (11:51 -0300)]
Allow WantedQueryPage subclasses to override the existence check
Some pages are still "wanted" even if the page exists. For
example, consider a page in the file namespace that exists but
doesn't have a corresponding file, in the context of
special:wantedfiles.
Change-Id: Ie40f2baea22b3564e7f06c4fa21bc1efdc0e4d54
Brian Wolff [Wed, 9 Jul 2014 20:03:31 +0000 (17:03 -0300)]
Split BitmapHandler into two classes.
BitmapHandler has a lot of generic-ish functionality that could
be re-usable by extension classes (Such as how it organizes
$scalerParams array, or various image magick escaping methods).
However it's combined with a lot of very format specific things,
such as the shell-out call to image magick.
Try to separate out the more generic stuff into
TransformationalImageHandler. In order to do this, I also made
canRotate, autoRotateEnabled, and getScalerType non-static. No
extensions in our repo appeared to be using these methods, and they
don't really make sense to be static (imo).
In particular, I think code duplication can be reduced in
PagedTiffHandler by extending this new class. See comments
on I1b9a77a4a56eeb65.
Change-Id: Id3a8b25a598942572cb5791a95e86054d7784961
Brian Wolff [Thu, 14 Aug 2014 20:24:50 +0000 (17:24 -0300)]
Make sure processResponsiveImages checks for valid thumb object
If the thumbnail is an error (or worse yet, if the MediaHandler
returns false, like TMH does in certain circumstances), we
should not add responsive thumbnail links.
Change-Id: I2aafbd07e8435ce2d1b4cb32e49e98cb5f6c00ab
jenkins-bot [Sun, 14 Sep 2014 19:31:00 +0000 (19:31 +0000)]
Merge "MediaWikiTestCase: Enforce children call parent::tearDown"
Marius Hoch [Sun, 14 Sep 2014 19:07:14 +0000 (21:07 +0200)]
MediaWikiTestCase: Enforce children call parent::tearDown
Can't be implemented as a test case because that's not being
run before MediaWikiTestCase::tearDown.
Also there's no parent destructor, so no need to call one.
Also fixed BagOStuffTest.
Change-Id: Ifd8659b6c8a748c6716099f8822e2c50ab51bda7
Kunal Mehta [Sat, 13 Sep 2014 03:25:19 +0000 (20:25 -0700)]
Add MailAddress::newFromUser()
And tests!
Change-Id: I5214c50855f6bc756f6d748e435ae2124b2264c1
Kunal Mehta [Sat, 13 Sep 2014 02:31:06 +0000 (19:31 -0700)]
Add tests for MailAddress
Change-Id: Ia192919322743854096aceb24be0fcf9b1aa32b4
Kunal Mehta [Sat, 13 Sep 2014 02:01:22 +0000 (19:01 -0700)]
Split UserMailer.php into includes/mail/
Change-Id: Ic435bbdbb690028a5d34e8176522fcf4aa44fa92
Rohan [Tue, 29 Jul 2014 12:38:29 +0000 (18:08 +0530)]
Fix Special:Listusers i18n issues
* Changed hard coded brackets to use message 'brackets'
* Changed hard coded space to use message 'word-separator'
Bug: 39845
Change-Id: If117e8f1b2436ed1d259add92fc8f6925403afc3