lhc/web/wiklou.git
10 years agoMerge "Tweaked WikiPage::clear() comment a bit"
jenkins-bot [Mon, 18 Nov 2013 19:18:41 +0000 (19:18 +0000)]
Merge "Tweaked WikiPage::clear() comment a bit"

10 years agoMerge "Enable module storage for 0.05% of visitors w/storage-capable browsers"
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"

10 years agoTweaked WikiPage::clear() comment a bit
Aaron Schulz [Sun, 17 Nov 2013 19:40:42 +0000 (11:40 -0800)]
Tweaked WikiPage::clear() comment a bit

Change-Id: I9ec27b575de5547d1ab0569c4c2cdd1307f8307a

10 years agoMerge "Declare visibility on class properties of LCStore* classes"
jenkins-bot [Mon, 18 Nov 2013 18:58:22 +0000 (18:58 +0000)]
Merge "Declare visibility on class properties of LCStore* classes"

10 years agoMerge "Declare visibility on class properties of LocalisationCache"
jenkins-bot [Mon, 18 Nov 2013 18:56:27 +0000 (18:56 +0000)]
Merge "Declare visibility on class properties of LocalisationCache"

10 years agoMerge "Remove underscore from classes LCStore_*"
jenkins-bot [Mon, 18 Nov 2013 18:54:25 +0000 (18:54 +0000)]
Merge "Remove underscore from classes LCStore_*"

10 years agoMerge "Set visibility on class properties for *Dependency classes"
jenkins-bot [Mon, 18 Nov 2013 18:46:48 +0000 (18:46 +0000)]
Merge "Set visibility on class properties for *Dependency classes"

10 years agoMerge "Declare visibility for class properties of LocalisationCacheBulkLoad"
jenkins-bot [Mon, 18 Nov 2013 18:45:10 +0000 (18:45 +0000)]
Merge "Declare visibility for class properties of LocalisationCacheBulkLoad"

10 years agoMerge "Remove underscore from class LocalisationCache_BulkLoad"
jenkins-bot [Mon, 18 Nov 2013 18:43:16 +0000 (18:43 +0000)]
Merge "Remove underscore from class LocalisationCache_BulkLoad"

10 years agoMerge "Break long lines in includes/cache/"
jenkins-bot [Mon, 18 Nov 2013 18:41:27 +0000 (18:41 +0000)]
Merge "Break long lines in includes/cache/"

10 years agoMerge "Update formatting"
jenkins-bot [Mon, 18 Nov 2013 18:39:29 +0000 (18:39 +0000)]
Merge "Update formatting"

10 years agoMerge "Remove unused local variables"
jenkins-bot [Mon, 18 Nov 2013 18:37:37 +0000 (18:37 +0000)]
Merge "Remove unused local variables"

10 years agoMerge "Set visibility for class properties of DependencyWrapper"
jenkins-bot [Mon, 18 Nov 2013 18:30:05 +0000 (18:30 +0000)]
Merge "Set visibility for class properties of DependencyWrapper"

10 years agoMerge "Address errors and warnings in CodeSniffer in api/"
jenkins-bot [Mon, 18 Nov 2013 18:28:22 +0000 (18:28 +0000)]
Merge "Address errors and warnings in CodeSniffer in api/"

10 years agoMerge "Update indentation"
jenkins-bot [Mon, 18 Nov 2013 18:24:27 +0000 (18:24 +0000)]
Merge "Update indentation"

10 years agoMerge "Address CodeSniffer comments in ApiBase.php"
jenkins-bot [Mon, 18 Nov 2013 18:22:25 +0000 (18:22 +0000)]
Merge "Address CodeSniffer comments in ApiBase.php"

10 years agoMerge "Allow null to be passed to User::setNewPassword()"
jenkins-bot [Mon, 18 Nov 2013 16:56:17 +0000 (16:56 +0000)]
Merge "Allow null to be passed to User::setNewPassword()"

10 years agoAdded fail-over support to JobQueueAggregatorRedis using "redisServers" option
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

10 years agoAllow null to be passed to User::setNewPassword()
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

10 years agoMerge "Add show=unpatrolled to the recentchanges API"
jenkins-bot [Mon, 18 Nov 2013 15:01:48 +0000 (15:01 +0000)]
Merge "Add show=unpatrolled to the recentchanges API"

10 years agoMerge "Relicense jquery.placeholder.js to MIT"
jenkins-bot [Mon, 18 Nov 2013 10:30:40 +0000 (10:30 +0000)]
Merge "Relicense jquery.placeholder.js to MIT"

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 17 Nov 2013 20:28:06 +0000 (20:28 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I5a74c20de10a3203ff81d453de6c739a8a476081

10 years agoAdd show=unpatrolled to the recentchanges API
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

10 years agoSet visibility on class properties for *Dependency classes
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

10 years agoSet visibility for class properties of DependencyWrapper
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

10 years agoDeclare visibility on class properties of LCStore* classes
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

10 years agoAdd/update/remove incomplete/incorrect documentation
Siebrand Mazeland [Sat, 16 Nov 2013 21:19:42 +0000 (22:19 +0100)]
Add/update/remove incomplete/incorrect documentation

Change-Id: I3c2c7f61d9a579ad794ce7b564ccc8a7cfb9b6fc

10 years agoDeclare visibility on class properties of LocalisationCache
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

10 years agoUpdate docs to reduce inconsistent type compatibility in api/
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

10 years agoMerge "Add ar_id and el_id sequences for PostgreSQL"
jenkins-bot [Sun, 17 Nov 2013 21:36:08 +0000 (21:36 +0000)]
Merge "Add ar_id and el_id sequences for PostgreSQL"

10 years agoRemove underscore from classes LCStore_*
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

10 years agoDeclare visibility for class properties of LocalisationCacheBulkLoad
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

10 years agoRemove underscore from class LocalisationCache_BulkLoad
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

10 years agoBreak long lines in includes/cache/
Siebrand Mazeland [Sun, 17 Nov 2013 20:49:59 +0000 (21:49 +0100)]
Break long lines in includes/cache/

Change-Id: I23a6f46f89b3cdcaf2a3b982dc63e779eed5840d

10 years agoUpdate formatting
Siebrand Mazeland [Sun, 17 Nov 2013 20:36:27 +0000 (21:36 +0100)]
Update formatting

Change-Id: I9aa56cbe0989d6f302ee0f47c4a6154101f73e90

10 years agoUpdate some documentation in CacheTime and ParserCache
Siebrand Mazeland [Sat, 16 Nov 2013 21:11:49 +0000 (22:11 +0100)]
Update some documentation in CacheTime and ParserCache

Change-Id: I31be0d4639f2a7189e15b622b34595564fad2a3d

10 years agoUpdate indentation in ApiUserrights::execute()
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

10 years agoSimplify ApiUserRights::getUrUser()
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

10 years agoUpdate documentation for ApiDelete::deleteFile()
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

10 years agoMerge "Add function to clear mPreparedEdit, to use in cases of mutable content"
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"

10 years agoAdd 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

10 years agoMerge "Removed excess profile calls"
jenkins-bot [Sun, 17 Nov 2013 19:25:12 +0000 (19:25 +0000)]
Merge "Removed excess profile calls"

10 years agoFix inconsistent line break
Siebrand Mazeland [Sun, 17 Nov 2013 18:33:14 +0000 (19:33 +0100)]
Fix inconsistent line break

Change-Id: I42098f3bdbf470bd9de1d29ad64005dfd6f7e134

10 years agoRemove unused local variables
Siebrand Mazeland [Sat, 16 Nov 2013 21:01:42 +0000 (22:01 +0100)]
Remove unused local variables

Change-Id: I4162d45e68d65347108f94b3d80bc146f3393c1b

10 years agoAddress errors and warnings in CodeSniffer in api/
Siebrand Mazeland [Sat, 16 Nov 2013 19:09:17 +0000 (20:09 +0100)]
Address errors and warnings in CodeSniffer in api/

Change-Id: I06de371393d50eada33154626874b106d814642b

10 years agoUpdate indentation
Siebrand Mazeland [Sat, 16 Nov 2013 21:04:00 +0000 (22:04 +0100)]
Update indentation

Change-Id: Id0ff1d21362aa8984529ecde39304c7aedf589c1

10 years agoAddress CodeSniffer comments in ApiBase.php
Siebrand Mazeland [Sat, 16 Nov 2013 20:58:44 +0000 (21:58 +0100)]
Address CodeSniffer comments in ApiBase.php

Change-Id: Ifd8567dcccf51a16f0dc7459a3bbe9e21e928d91

10 years agoRemoved excess profile calls
Aaron Schulz [Sun, 17 Nov 2013 07:44:41 +0000 (23:44 -0800)]
Removed excess profile calls

Change-Id: Idd57e8d7fff56c62a66c7fcaf4627b9096f0c363

10 years agoChanged use of tag_summary to use change_tag with GROUP_CONCAT()
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

10 years agoMerge "Fix incorrect parameter order for dieUsage()"
jenkins-bot [Sat, 16 Nov 2013 22:58:18 +0000 (22:58 +0000)]
Merge "Fix incorrect parameter order for dieUsage()"

10 years agoMerge "Add documentation for DerivativeRequest::__construct"
jenkins-bot [Sat, 16 Nov 2013 22:56:13 +0000 (22:56 +0000)]
Merge "Add documentation for DerivativeRequest::__construct"

10 years agoMerge "Remove useless method overriding"
jenkins-bot [Sat, 16 Nov 2013 22:44:55 +0000 (22:44 +0000)]
Merge "Remove useless method overriding"

10 years agoSet title to Special:Revisiondelete on action=revisiondelete
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

10 years agoMerge "Call setRelevantTitle during revision delete"
jenkins-bot [Sat, 16 Nov 2013 21:24:25 +0000 (21:24 +0000)]
Merge "Call setRelevantTitle during revision delete"

10 years agoMerge "Show correct link color on cached result of Special:DeadendPages"
Brian Wolff [Sat, 16 Nov 2013 21:12:47 +0000 (21:12 +0000)]
Merge "Show correct link color on cached result of Special:DeadendPages"

10 years agoMerge "ContentHandler: TextContent::diff should compare to given object, not itself"
jenkins-bot [Sat, 16 Nov 2013 21:02:31 +0000 (21:02 +0000)]
Merge "ContentHandler: TextContent::diff should compare to given object, not itself"

10 years agoCall setRelevantTitle during revision delete
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

10 years agoContentHandler: TextContent::diff should compare to given object, not itself
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

10 years agoShow correct link color on cached result of Special:DeadendPages
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

10 years agoFix incorrect parameter order for dieUsage()
Siebrand Mazeland [Sat, 16 Nov 2013 20:12:12 +0000 (21:12 +0100)]
Fix incorrect parameter order for dieUsage()

Change-Id: Ib163c40d728bacbd16e7c4beaae0c80e79855686

10 years agoAdd documentation for DerivativeRequest::__construct
Siebrand Mazeland [Sat, 16 Nov 2013 20:02:28 +0000 (21:02 +0100)]
Add documentation for DerivativeRequest::__construct

Change-Id: I20e62d07b6a069b3c2b5b0cb67736ded294bcfb2

10 years agoMerge "Logic optimization for wfExpandUrl()"
jenkins-bot [Sat, 16 Nov 2013 20:03:33 +0000 (20:03 +0000)]
Merge "Logic optimization for wfExpandUrl()"

10 years agoMerge "Remove unused exception in SpecialPage::getTitleFor and add tests"
jenkins-bot [Sat, 16 Nov 2013 19:59:03 +0000 (19:59 +0000)]
Merge "Remove unused exception in SpecialPage::getTitleFor and add tests"

10 years agoLogic optimization for wfExpandUrl()
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

10 years agoRemove unused exception in SpecialPage::getTitleFor and add tests
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

10 years agoRemove useless method overriding
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

10 years agoLinkSearch: use default protocol if unsupported
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

10 years agoMerge "Add continue editing link also to js and css pages"
Brian Wolff [Sat, 16 Nov 2013 17:56:27 +0000 (17:56 +0000)]
Merge "Add continue editing link also to js and css pages"

10 years agoMerge "Avoid empty batch in ListredirectsPage::preprocessResults"
Brian Wolff [Sat, 16 Nov 2013 17:25:39 +0000 (17:25 +0000)]
Merge "Avoid empty batch in ListredirectsPage::preprocessResults"

10 years agoAvoid 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

10 years agoMerge "SkinTemplate: Add $this as a parameter to PersonalUrls hook"
jenkins-bot [Sat, 16 Nov 2013 17:15:40 +0000 (17:15 +0000)]
Merge "SkinTemplate: Add $this as a parameter to PersonalUrls hook"

10 years agoMerge "Use the native set_charset() method if available instead of SET NAMES"
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"

10 years agoMerge "Fix covers tag in GlobalTest"
jenkins-bot [Sat, 16 Nov 2013 15:08:11 +0000 (15:08 +0000)]
Merge "Fix covers tag in GlobalTest"

10 years agoFix covers tag in GlobalTest
aude [Sat, 16 Nov 2013 15:01:24 +0000 (16:01 +0100)]
Fix covers tag in GlobalTest

Change-Id: Ia9e6f539e9b70e82c3fc0b352585650aa3ec5d7a

10 years agoAdd continue editing link also to js and css pages
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

10 years agoSkinTemplate: Add $this as a parameter to PersonalUrls hook
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

10 years agoMerge "Links to mediawiki.org in messages should use HTTPS"
jenkins-bot [Sat, 16 Nov 2013 12:28:02 +0000 (12:28 +0000)]
Merge "Links to mediawiki.org in messages should use HTTPS"

10 years agoFix function doc of ContentHandler::getLocalizedName
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

10 years agoMerge "Split mocks/media/MockBitmaphandler file"
jenkins-bot [Sat, 16 Nov 2013 12:13:36 +0000 (12:13 +0000)]
Merge "Split mocks/media/MockBitmaphandler file"

10 years agoMerge "Prevent space before ellipsis when truncating"
jenkins-bot [Sat, 16 Nov 2013 12:10:27 +0000 (12:10 +0000)]
Merge "Prevent space before ellipsis when truncating"

10 years agoSplit mocks/media/MockBitmaphandler file
addshore [Fri, 15 Nov 2013 22:48:36 +0000 (23:48 +0100)]
Split mocks/media/MockBitmaphandler file

Change-Id: Idc231e8fd1f1ad1e4173e7c0bddfbec4efaad96b

10 years agoMerge "Add used message keys to ContentHandler::getLocalizedName"
jenkins-bot [Sat, 16 Nov 2013 12:01:41 +0000 (12:01 +0000)]
Merge "Add used message keys to ContentHandler::getLocalizedName"

10 years agoMerge "Deprecate addButton and insertTags in mediawiki.action.edit"
jenkins-bot [Sat, 16 Nov 2013 11:56:58 +0000 (11:56 +0000)]
Merge "Deprecate addButton and insertTags in mediawiki.action.edit"

10 years agoAdd used message keys to ContentHandler::getLocalizedName
umherirrender [Sat, 16 Nov 2013 11:37:25 +0000 (12:37 +0100)]
Add used message keys to ContentHandler::getLocalizedName

Change-Id: Ide072627e87c94da5a180d8d00aa38683af44f4e

10 years agoRemove SQL patches for old table 'validate'
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

10 years agoClean up some old readme files and remove references to SVN
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

10 years agoFix typo in comment in mediawiki.action.edit
umherirrender [Sat, 16 Nov 2013 10:18:12 +0000 (11:18 +0100)]
Fix typo in comment in mediawiki.action.edit

Change-Id: I0dd9840b908956f8093fe02353f6775602fd44bb

10 years agoDeprecate addButton and insertTags in mediawiki.action.edit
umherirrender [Sat, 16 Nov 2013 09:45:46 +0000 (10:45 +0100)]
Deprecate addButton and insertTags in mediawiki.action.edit

In wikibits many global functions marked as deprecated,
does this also in mediawiki.action.edit.

Change-Id: I64fcb41bc7812ac1aebc75f4f866b4b07fb7dc8e

10 years agoUse the native set_charset() method if available instead of SET NAMES
Alexandre Emsenhuber [Fri, 15 Nov 2013 22:21:40 +0000 (23:21 +0100)]
Use the native set_charset() method if available instead of SET NAMES

According to the PHP manual, it is the recommended way to set the charset.

- mysql extension has it for MySQL >= 5.0.7
- mysqli extension has it for MySQL >= 5.0.6
or if using mysqlnd.

Change-Id: I8cd2f97fcad4b045c6f99ff894254847b13c6878

10 years agoRelicense jquery.placeholder.js to MIT
Bartosz Dziewoński [Sat, 16 Nov 2013 01:08:22 +0000 (02:08 +0100)]
Relicense jquery.placeholder.js to MIT

I would like to relicense this code to make it possible to merge it
into https://github.com/mathiasbynens/jquery-placeholder , which is
another placeholder library implementing some features we're missing
and missing some features we have.

Older versions of this file will naturally still be licenseable under
the GPL v2 license.

The following people touched this file, and I have asked them all for
approval. I have also traced the ancestry before the file appears in
this repository and removed authors of reverted patches.

* Trevor Parscal
* Timo Tijhof
* Roan Kattouw
* Marius Hoch
* rillke

Bug: 47057
Change-Id: Ic04291cecb20cc03d48565cf5586da849eb8e962

10 years agoMerge "Revert "Remove unsupported and mostly non-functional Mssql support""
jenkins-bot [Sat, 16 Nov 2013 02:11:30 +0000 (02:11 +0000)]
Merge "Revert "Remove unsupported and mostly non-functional Mssql support""

10 years agoMerge "Call method with the same name it's defined with"
Brian Wolff [Sat, 16 Nov 2013 02:08:20 +0000 (02:08 +0000)]
Merge "Call method with the same name it's defined with"

10 years agoRevert "Remove unsupported and mostly non-functional Mssql support"
MarkAHershberger [Sat, 16 Nov 2013 02:06:01 +0000 (02:06 +0000)]
Revert "Remove unsupported and mostly non-functional Mssql support"

This reverts commit 5e1efc3144d4af3a907d3c79f1ea6b8975ddf453.

This sort of thing needs to be discussed.  Please do not self-approve changes like this.

Change-Id: I9eb9ea315d90584b7fe95db43a6759884f9506b5

10 years agoMerge "Use 'Original file' instead of 'Full resolution' for original file link"
jenkins-bot [Sat, 16 Nov 2013 02:02:35 +0000 (02:02 +0000)]
Merge "Use 'Original file' instead of 'Full resolution' for original file link"

10 years agoUse 'Original file' instead of 'Full resolution' for original file link
Bartosz Dziewoński [Sat, 16 Nov 2013 01:27:23 +0000 (02:27 +0100)]
Use 'Original file' instead of 'Full resolution' for original file link

"Full resolution" only makes sense for images; we also support other
formats, e.g. PDF files.

Bug: 53017
Change-Id: Ib85202a45bfe399a7c03c255de8ec15658ebca1b

10 years agoCall method with the same name it's defined with
Bartosz Dziewoński [Sat, 16 Nov 2013 00:08:07 +0000 (01:08 +0100)]
Call method with the same name it's defined with

Stupid case-insensitivity.

Change-Id: I4b4fc97e4670708a9cfc2ff0f4618fd0cc560251

10 years agoDon't even mention $wgTitle
Chad Horohoe [Sat, 16 Nov 2013 00:06:48 +0000 (16:06 -0800)]
Don't even mention $wgTitle

Change-Id: Icdef53a498505945d03fb60fe53251b3bea2bee0

10 years agoMerge "Avoid extra parsing in prepareContentForEdit()"
jenkins-bot [Fri, 15 Nov 2013 23:32:57 +0000 (23:32 +0000)]
Merge "Avoid extra parsing in prepareContentForEdit()"

10 years agoMerge "Remove recentchanges.rc_cur_time from sql statements"
jenkins-bot [Fri, 15 Nov 2013 23:22:25 +0000 (23:22 +0000)]
Merge "Remove recentchanges.rc_cur_time from sql statements"

10 years agoLinks to mediawiki.org in messages should use HTTPS
Bartosz Dziewoński [Fri, 15 Nov 2013 21:01:23 +0000 (22:01 +0100)]
Links to mediawiki.org in messages should use HTTPS

Find: (https?:)?//(www\.)?mediawiki.org
Replace with: https://www.mediawiki.org

Bug: 54835
Change-Id: Ic107486d46c87a11281f09f016a675ea9e11bbb1