Hector A Escobedo [Tue, 19 Nov 2013 16:05:41 +0000 (11:05 -0500)]
shared.css: Start vectorizing common icons
This is in response to bug 35345.
I am working under the MediaWiki Google Code-In project,
and this is my first commit. I have some experience
with CSS and vector images, so it seems like a good
place to start. This is for the following task:
https://google-melange.appspot.com/gci/task/view/google/gci2013/
5795046364282880
Only the Atom feed icon has been vectorized so far,
but I plan on adding more subsequently. Preliminary
testing shows that this approach works fine on Firefox.
Changed so that older browsers use the old PNG image,
while newer ones that support gradients use the SVG.
Bug: 35345
Change-Id: I842690df6934f4f14807dfc8d20ec2c0b0007df6
jenkins-bot [Mon, 18 Nov 2013 23:17:51 +0000 (23:17 +0000)]
Merge "Put status handling in EditPage into private function"
jenkins-bot [Mon, 18 Nov 2013 22:52:46 +0000 (22:52 +0000)]
Merge "mediawiki.ui: Add right padding to .agora-field-styling()"
aude [Mon, 18 Nov 2013 21:24:59 +0000 (22:24 +0100)]
Put status handling in EditPage into private function
This bit of code is isolated enough to be separated from
attemptSave and be put into a private function.
Change-Id: I84c532358ee32fec959039c62798e4de0702f14a
jenkins-bot [Mon, 18 Nov 2013 21:10:38 +0000 (21:10 +0000)]
Merge "Remove unused global in ForeignAPIRepo"
umherirrender [Mon, 18 Nov 2013 20:49:28 +0000 (21:49 +0100)]
Remove unused global in ForeignAPIRepo
Follow-Up: I6849107a3af773687a31155b23a2d7b4d7a60645
Change-Id: I45d405a4dca9b7928f740fcd231e95c599310689
Raimond Spekking [Mon, 18 Nov 2013 20:46:48 +0000 (20:46 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Mon, 18 Nov 2013 20:36:33 +0000 (20:36 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I3615ad83da760c512799749618a35cb2e366ba41
jenkins-bot [Mon, 18 Nov 2013 20:33:37 +0000 (20:33 +0000)]
Merge "Format email addresses more consistently"
Siebrand Mazeland [Sat, 16 Nov 2013 21:22:12 +0000 (22:22 +0100)]
Format email addresses more consistently
Change-Id: I1dbced804ff1e0bf8e162570c17cc537d318872f
Siebrand Mazeland [Sun, 17 Nov 2013 20:42:23 +0000 (21:42 +0100)]
Update LinkCache::addGoodLinkObj param defaults to int
Update the defaults for $revision and $model from bool to int, making it
consistent with the documented input. Also update docs and line length.
Change "inval( $x )" to preferred "(int) $x" while changing the method.
Change-Id: Ic19a408aa7c50fb03e2c3aca8df3fa7cedc2420b
jenkins-bot [Mon, 18 Nov 2013 19:23:36 +0000 (19:23 +0000)]
Merge "Add WikiFilePage::getForeignCategories() method"
jenkins-bot [Mon, 18 Nov 2013 19:18:41 +0000 (19:18 +0000)]
Merge "Tweaked WikiPage::clear() comment a bit"
tgr [Wed, 13 Nov 2013 12:35:25 +0000 (12:35 +0000)]
Add WikiFilePage::getForeignCategories() method
Unlike getCategories(), this will return the categories
on the wiki where the file is hosted (so it should work with Commons).
Bug: 56598
Change-Id: Ice972f023c676b5857707ccf58ee108585a7f021
jenkins-bot [Mon, 18 Nov 2013 19:06:45 +0000 (19:06 +0000)]
Merge "Enable module storage for 0.05% of visitors w/storage-capable browsers"
Aaron Schulz [Sun, 17 Nov 2013 19:40:42 +0000 (11:40 -0800)]
Tweaked WikiPage::clear() comment a bit
Change-Id: I9ec27b575de5547d1ab0569c4c2cdd1307f8307a
jenkins-bot [Mon, 18 Nov 2013 18:58:22 +0000 (18:58 +0000)]
Merge "Declare visibility on class properties of LCStore* classes"
jenkins-bot [Mon, 18 Nov 2013 18:56:27 +0000 (18:56 +0000)]
Merge "Declare visibility on class properties of LocalisationCache"
jenkins-bot [Mon, 18 Nov 2013 18:54:25 +0000 (18:54 +0000)]
Merge "Remove underscore from classes LCStore_*"
jenkins-bot [Mon, 18 Nov 2013 18:46:48 +0000 (18:46 +0000)]
Merge "Set visibility on class properties for *Dependency classes"
jenkins-bot [Mon, 18 Nov 2013 18:45:10 +0000 (18:45 +0000)]
Merge "Declare visibility for class properties of LocalisationCacheBulkLoad"
jenkins-bot [Mon, 18 Nov 2013 18:43:16 +0000 (18:43 +0000)]
Merge "Remove underscore from class LocalisationCache_BulkLoad"
jenkins-bot [Mon, 18 Nov 2013 18:41:27 +0000 (18:41 +0000)]
Merge "Break long lines in includes/cache/"
jenkins-bot [Mon, 18 Nov 2013 18:39:29 +0000 (18:39 +0000)]
Merge "Update formatting"
jenkins-bot [Mon, 18 Nov 2013 18:37:37 +0000 (18:37 +0000)]
Merge "Remove unused local variables"
jenkins-bot [Mon, 18 Nov 2013 18:30:05 +0000 (18:30 +0000)]
Merge "Set visibility for class properties of DependencyWrapper"
jenkins-bot [Mon, 18 Nov 2013 18:28:22 +0000 (18:28 +0000)]
Merge "Address errors and warnings in CodeSniffer in api/"
jenkins-bot [Mon, 18 Nov 2013 18:24:27 +0000 (18:24 +0000)]
Merge "Update indentation"
jenkins-bot [Mon, 18 Nov 2013 18:22:25 +0000 (18:22 +0000)]
Merge "Address CodeSniffer comments in ApiBase.php"
jenkins-bot [Mon, 18 Nov 2013 16:56:17 +0000 (16:56 +0000)]
Merge "Allow null to be passed to User::setNewPassword()"
Aaron Schulz [Sun, 17 Nov 2013 22:04:04 +0000 (14:04 -0800)]
Added fail-over support to JobQueueAggregatorRedis using "redisServers" option
* Also cleaned up various bits of documentation errors and cruft
Change-Id: Icccae5329941e4311fef02b6137a6b90f39f9046
Alexandre Emsenhuber [Mon, 18 Nov 2013 15:04:09 +0000 (16:04 +0100)]
Allow null to be passed to User::setNewPassword()
This allows the temporary password to be cleared. This methods now
behaves the same as User::setInternalPassword() with that value.
Bug: 57075
Change-Id: I2c446864c7eb591dcb64e5971bc9989950715d15
jenkins-bot [Mon, 18 Nov 2013 15:01:48 +0000 (15:01 +0000)]
Merge "Add show=unpatrolled to the recentchanges API"
jenkins-bot [Mon, 18 Nov 2013 10:30:40 +0000 (10:30 +0000)]
Merge "Relicense jquery.placeholder.js to MIT"
Translation updater bot [Sun, 17 Nov 2013 20:28:06 +0000 (20:28 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I5a74c20de10a3203ff81d453de6c739a8a476081
Timo Tijhof [Fri, 25 Oct 2013 10:11:08 +0000 (12:11 +0200)]
Add show=unpatrolled to the recentchanges API
Adding it only in the API because SpecialRecentChanges only shows
"Hide patrolled edits" option if rcpatrol is enabled.
show=!patrolled returns results that include changes that can't
be patrolled which technically correct (they aren't correct)
but probably not what you're looking for when looking for
unpatrolled changes.
Change-Id: I356a8625c7126b90aa7e7a23efe3bef7d448b502
Siebrand Mazeland [Mon, 18 Nov 2013 04:25:43 +0000 (05:25 +0100)]
Set visibility on class properties for *Dependency classes
Set visibility to private for properties that are not referenced outside
of the class itself, and when the class is not currently being subclassed.
Change-Id: I427c6de5a0a29b43cff755db0eb8a750db620173
Siebrand Mazeland [Mon, 18 Nov 2013 04:14:24 +0000 (05:14 +0100)]
Set visibility for class properties of DependencyWrapper
Set to private. No subclassing and no uses outside of the class in core or
extensions.
Change-Id: If195d02b8ce853242312de7fb4bc7dc1cbe94365
Siebrand Mazeland [Sun, 17 Nov 2013 22:18:01 +0000 (23:18 +0100)]
Declare visibility on class properties of LCStore* classes
No direct references found in core or extensions outside of the classes
themselves. None of these are subclassed, so set all of them to private.
Change-Id: Id599c0830c1e6d3679c7ae55147f4444f8252987
Siebrand Mazeland [Sat, 16 Nov 2013 21:19:42 +0000 (22:19 +0100)]
Add/update/remove incomplete/incorrect documentation
Change-Id: I3c2c7f61d9a579ad794ce7b564ccc8a7cfb9b6fc
Siebrand Mazeland [Sun, 17 Nov 2013 21:49:03 +0000 (22:49 +0100)]
Declare visibility on class properties of LocalisationCache
Mark all private, except the one that's being used in subclass. Checked
core and extension for direct uses. None found.
Change-Id: If73d65ca094ff56deb19d3b6f3ef99892654726d
Siebrand Mazeland [Sat, 16 Nov 2013 21:15:17 +0000 (22:15 +0100)]
Update docs to reduce inconsistent type compatibility in api/
Change-Id: Iaf97aeb514ddb2176491c3820fe891be8e989939
jenkins-bot [Sun, 17 Nov 2013 21:36:08 +0000 (21:36 +0000)]
Merge "Add ar_id and el_id sequences for PostgreSQL"
Siebrand Mazeland [Sun, 17 Nov 2013 21:09:31 +0000 (22:09 +0100)]
Remove underscore from classes LCStore_*
iPart of program to remove underscores from class names. Checked core and
600+ extensions for occurrences. All uses are in core, and are updated in
this change.
Change-Id: I432dc249d22053728013ae7d0d56c3c398021c5e
Siebrand Mazeland [Sun, 17 Nov 2013 21:03:53 +0000 (22:03 +0100)]
Declare visibility for class properties of LocalisationCacheBulkLoad
Mark all as private. Not referenced elsewhere in core or extensions.
Change-Id: Ibe0e854f39261053e5147138309c3a4b1944e5fe
Siebrand Mazeland [Sun, 17 Nov 2013 20:59:43 +0000 (21:59 +0100)]
Remove underscore from class LocalisationCache_BulkLoad
Part of program to remove underscores from class names. Checked core and
600+ extensions for occurrences. All uses are in core, and are updated in
this change.
Change-Id: Ib157c3cf209677718ff184552cf872b1d3f4e969
Siebrand Mazeland [Sun, 17 Nov 2013 20:49:59 +0000 (21:49 +0100)]
Break long lines in includes/cache/
Change-Id: I23a6f46f89b3cdcaf2a3b982dc63e779eed5840d
Siebrand Mazeland [Sun, 17 Nov 2013 20:36:27 +0000 (21:36 +0100)]
Update formatting
Change-Id: I9aa56cbe0989d6f302ee0f47c4a6154101f73e90
Siebrand Mazeland [Sat, 16 Nov 2013 21:11:49 +0000 (22:11 +0100)]
Update some documentation in CacheTime and ParserCache
Change-Id: I31be0d4639f2a7189e15b622b34595564fad2a3d
Siebrand Mazeland [Sun, 17 Nov 2013 19:25:44 +0000 (20:25 +0100)]
Update indentation in ApiUserrights::execute()
The previous formatting was inconsistent.
Change-Id: I22d7cba00cd39df7069b47f78ca130e3e031ceb4
Siebrand Mazeland [Sun, 17 Nov 2013 19:22:39 +0000 (20:22 +0100)]
Simplify ApiUserRights::getUrUser()
Remove unneeded else and local variable assignment.
Change-Id: I166d811b220e925be11da5c49b6fe55f0d8e71c8
Siebrand Mazeland [Sun, 17 Nov 2013 19:04:13 +0000 (20:04 +0100)]
Update documentation for ApiDelete::deleteFile()
WikiPage was no longer valid given the current type hint. Added
types and documentation where missing.
Change-Id: Ie0a3a8fff3ad496b723958133867df48a695d3b7
jenkins-bot [Sun, 17 Nov 2013 19:38:40 +0000 (19:38 +0000)]
Merge "Add function to clear mPreparedEdit, to use in cases of mutable content"
aude [Sun, 17 Nov 2013 09:32:15 +0000 (10:32 +0100)]
Add function to clear mPreparedEdit, to use in cases of mutable content
In Wikibase, EntityContent is mutable and needs to clear
prepared edit before performing a save.
Follow-up to I2c34baa
Change-Id: I770bf2dc960c0a67a9b8315b7cdf24f3b89b6480
jenkins-bot [Sun, 17 Nov 2013 19:25:12 +0000 (19:25 +0000)]
Merge "Removed excess profile calls"
Siebrand Mazeland [Sun, 17 Nov 2013 18:33:14 +0000 (19:33 +0100)]
Fix inconsistent line break
Change-Id: I42098f3bdbf470bd9de1d29ad64005dfd6f7e134
Siebrand Mazeland [Sat, 16 Nov 2013 21:01:42 +0000 (22:01 +0100)]
Remove unused local variables
Change-Id: I4162d45e68d65347108f94b3d80bc146f3393c1b
Siebrand Mazeland [Sat, 16 Nov 2013 19:09:17 +0000 (20:09 +0100)]
Address errors and warnings in CodeSniffer in api/
Change-Id: I06de371393d50eada33154626874b106d814642b
Siebrand Mazeland [Sat, 16 Nov 2013 21:04:00 +0000 (22:04 +0100)]
Update indentation
Change-Id: Id0ff1d21362aa8984529ecde39304c7aedf589c1
Siebrand Mazeland [Sat, 16 Nov 2013 20:58:44 +0000 (21:58 +0100)]
Address CodeSniffer comments in ApiBase.php
Change-Id: Ifd8567dcccf51a16f0dc7459a3bbe9e21e928d91
Aaron Schulz [Sun, 17 Nov 2013 07:44:41 +0000 (23:44 -0800)]
Removed excess profile calls
Change-Id: Idd57e8d7fff56c62a66c7fcaf4627b9096f0c363
Aaron Schulz [Fri, 15 Nov 2013 07:23:36 +0000 (23:23 -0800)]
Changed use of tag_summary to use change_tag with GROUP_CONCAT()
* Added buildGroupConcatField() method to the DB classes
bug: 53577
Change-Id: I976f297653880e66af429ba9b622a954fefcc512
jenkins-bot [Sat, 16 Nov 2013 22:58:18 +0000 (22:58 +0000)]
Merge "Fix incorrect parameter order for dieUsage()"
jenkins-bot [Sat, 16 Nov 2013 22:56:13 +0000 (22:56 +0000)]
Merge "Add documentation for DerivativeRequest::__construct"
jenkins-bot [Sat, 16 Nov 2013 22:44:55 +0000 (22:44 +0000)]
Merge "Remove useless method overriding"
Alex Monk [Sun, 19 May 2013 16:29:34 +0000 (17:29 +0100)]
Set title to Special:Revisiondelete on action=revisiondelete
Bug: 48616
Change-Id: Idb85c797dbe349e956d21b5cde6a59d89dab4fd2
jenkins-bot [Sat, 16 Nov 2013 21:24:25 +0000 (21:24 +0000)]
Merge "Call setRelevantTitle during revision delete"
Brian Wolff [Sat, 16 Nov 2013 21:12:47 +0000 (21:12 +0000)]
Merge "Show correct link color on cached result of Special:DeadendPages"
jenkins-bot [Sat, 16 Nov 2013 21:02:31 +0000 (21:02 +0000)]
Merge "ContentHandler: TextContent::diff should compare to given object, not itself"
Brian Wolff [Sat, 16 Nov 2013 20:51:45 +0000 (16:51 -0400)]
Call setRelevantTitle during revision delete
This will make the header tabs be for the page being deleted,
like it is for Special:MovePage and friends.
Change-Id: I52d848ef0763f6691cec9192794e8e7e9d933ed2
Alex Monk [Sat, 16 Nov 2013 18:53:30 +0000 (18:53 +0000)]
ContentHandler: TextContent::diff should compare to given object, not itself
Not sure this is actually used anywhere which might be why this has gone unnoticed.
Also fix the method's docs.
Change-Id: Ifa7a684fe98774cae546b385b09a950cfa7eff32
umherirrender [Sat, 16 Nov 2013 20:27:54 +0000 (21:27 +0100)]
Show correct link color on cached result of Special:DeadendPages
Reaching this by doing a LinkBatch and than using
Linker::link instead of Linker::linkKnown.
This adds also the stub color to the link.
Bug: 56912
Change-Id: I516f95302546ccdf8d0fdc7101c2ff72daa5f2fb
Siebrand Mazeland [Sat, 16 Nov 2013 20:12:12 +0000 (21:12 +0100)]
Fix incorrect parameter order for dieUsage()
Change-Id: Ib163c40d728bacbd16e7c4beaae0c80e79855686
Siebrand Mazeland [Sat, 16 Nov 2013 20:02:28 +0000 (21:02 +0100)]
Add documentation for DerivativeRequest::__construct
Change-Id: I20e62d07b6a069b3c2b5b0cb67736ded294bcfb2
jenkins-bot [Sat, 16 Nov 2013 20:03:33 +0000 (20:03 +0000)]
Merge "Logic optimization for wfExpandUrl()"
jenkins-bot [Sat, 16 Nov 2013 19:59:03 +0000 (19:59 +0000)]
Merge "Remove unused exception in SpecialPage::getTitleFor and add tests"
Yuri Astrakhan [Sat, 16 Nov 2013 19:55:08 +0000 (14:55 -0500)]
Logic optimization for wfExpandUrl()
removed redundant checks of the same variable, making the code
slightly more efficient
Change-Id: Ice4d3c45e80ca1214e2c36444baf0ce87b15a59b
aude [Sat, 16 Nov 2013 14:24:02 +0000 (15:24 +0100)]
Remove unused exception in SpecialPage::getTitleFor and add tests
The way the existing code was, it seems the exception condition
was never hit, as one could enter a bogus special page title in
SpecialPage::getTitleFor and it returns a Title object anyway.
Some tests are also added for SpecialPage::getTitleFor(),
although more refactoring my be required to truly unit test this,
vs. indirectly testing other stuff via static methods.
Change-Id: I6e427d047a2f8e58677eb65b50866f767078c255
Siebrand Mazeland [Sat, 16 Nov 2013 19:01:55 +0000 (20:01 +0100)]
Remove useless method overriding
Parent is:
public function __construct( $mainModule, $moduleName, $modulePrefix = '' )
Spotted by CodeSniffer
Change-Id: I71fdcc59584562e5287c43be337934a0ad4975b4
Elliott Eggleston [Tue, 17 Sep 2013 00:53:22 +0000 (20:53 -0400)]
LinkSearch: use default protocol if unsupported
Default $protocol to http:// if part of link up to
colon or double-slash isn't in $wgUrlProtocols.
Also simplify elseif condition above - $protocol is
always blank there since neither if block above it
is executed.
Bug: 33029
Change-Id: I66d2c592998c750fe3da937b228fe1387fcd344c
Brian Wolff [Sat, 16 Nov 2013 17:56:27 +0000 (17:56 +0000)]
Merge "Add continue editing link also to js and css pages"
Brian Wolff [Sat, 16 Nov 2013 17:25:39 +0000 (17:25 +0000)]
Merge "Avoid empty batch in ListredirectsPage::preprocessResults"
umherirrender [Sat, 16 Nov 2013 17:17:36 +0000 (18:17 +0100)]
Avoid empty batch in ListredirectsPage::preprocessResults
Change-Id: Iaf371cdb1c0628a42996537d966165a0d7f92ad7
jenkins-bot [Sat, 16 Nov 2013 17:15:40 +0000 (17:15 +0000)]
Merge "SkinTemplate: Add $this as a parameter to PersonalUrls hook"
jenkins-bot [Sat, 16 Nov 2013 17:14:08 +0000 (17:14 +0000)]
Merge "Use the native set_charset() method if available instead of SET NAMES"
jenkins-bot [Sat, 16 Nov 2013 15:08:11 +0000 (15:08 +0000)]
Merge "Fix covers tag in GlobalTest"
aude [Sat, 16 Nov 2013 15:01:24 +0000 (16:01 +0100)]
Fix covers tag in GlobalTest
Change-Id: Ia9e6f539e9b70e82c3fc0b352585650aa3ec5d7a
umherirrender [Fri, 20 Sep 2013 17:16:52 +0000 (19:16 +0200)]
Add continue editing link also to js and css pages
Wrap link in a span with class
Change-Id: I3cbbf9c2ae23672c0939261f2675273f5923e5f9
Bartosz Dziewoński [Sat, 16 Nov 2013 12:36:24 +0000 (13:36 +0100)]
SkinTemplate: Add $this as a parameter to PersonalUrls hook
Change-Id: I1116fd64ea0beac148ee75ea4ec050741fc2c3b7
jenkins-bot [Sat, 16 Nov 2013 12:28:02 +0000 (12:28 +0000)]
Merge "Links to mediawiki.org in messages should use HTTPS"
umherirrender [Sat, 16 Nov 2013 11:28:48 +0000 (12:28 +0100)]
Fix function doc of ContentHandler::getLocalizedName
The funcion is about model, so the return value is also about model.
Change-Id: I18325eb33525a334a2a6db15f4381c627845c711
jenkins-bot [Sat, 16 Nov 2013 12:13:36 +0000 (12:13 +0000)]
Merge "Split mocks/media/MockBitmaphandler file"
jenkins-bot [Sat, 16 Nov 2013 12:10:27 +0000 (12:10 +0000)]
Merge "Prevent space before ellipsis when truncating"
addshore [Fri, 15 Nov 2013 22:48:36 +0000 (23:48 +0100)]
Split mocks/media/MockBitmaphandler file
Change-Id: Idc231e8fd1f1ad1e4173e7c0bddfbec4efaad96b
jenkins-bot [Sat, 16 Nov 2013 12:01:41 +0000 (12:01 +0000)]
Merge "Add used message keys to ContentHandler::getLocalizedName"
jenkins-bot [Sat, 16 Nov 2013 11:56:58 +0000 (11:56 +0000)]
Merge "Deprecate addButton and insertTags in mediawiki.action.edit"
umherirrender [Sat, 16 Nov 2013 11:37:25 +0000 (12:37 +0100)]
Add used message keys to ContentHandler::getLocalizedName
Change-Id: Ide072627e87c94da5a180d8d00aa38683af44f4e
umherirrender [Fri, 8 Nov 2013 17:08:05 +0000 (18:08 +0100)]
Remove SQL patches for old table 'validate'
The table has been unused and dropped since 1.8,
so there is no need to keep the patches for the updater.
See https://www.mediawiki.org/wiki/Manual:Validate_table
Change-Id: Iaadf1115ff6e6cba986c5402320da78ba3c2a8f4
This, that and the other [Sat, 9 Nov 2013 10:22:57 +0000 (21:22 +1100)]
Clean up some old readme files and remove references to SVN
docs/README: Updated links, got rid of 2008 date at top of file
docs/maintenance.txt: Updated link
extensions/README: Some cleanup, added link to new git.wikimedia.org
includes/DefaultSettings.php: SVN -> Git for udpprofile
includes/profiler/ProfilerSimpleUDP.php: ditto
languages/MessagesRo.php: removed link to mime.types on SVN from the
mimesearch-summary message. This file seems to have been deleted from the
modern-day Git repository
maintenance/postgres/mediawiki_mysql2postgres.pl: removed SVN magic words
That takes care of most of the remaining references to SVN etc.
Bug: 38714
Change-Id: I261921df4b4c0545658d6d38c5f3c1f9dfa63ad1
umherirrender [Sat, 16 Nov 2013 10:18:12 +0000 (11:18 +0100)]
Fix typo in comment in mediawiki.action.edit
Change-Id: I0dd9840b908956f8093fe02353f6775602fd44bb