lhc/web/wiklou.git
10 years agoRemoved trailing whitespace from ParserCache.php
tonythomas01 [Mon, 30 Dec 2013 20:14:32 +0000 (01:44 +0530)]
Removed trailing whitespace from ParserCache.php

Follow up from Change I705a056665.

Change-Id: I31bdede4347b1d55be113e8ba7c44f3683c2ab46

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 30 Dec 2013 19:59:53 +0000 (19:59 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I822d3da8b027b6ff507c1b9a838e679522bf3a5b

10 years agoMerge "Removed const ParserCache::try116cache"
jenkins-bot [Mon, 30 Dec 2013 19:13:13 +0000 (19:13 +0000)]
Merge "Removed const ParserCache::try116cache"

10 years agoRemoved const ParserCache::try116cache
tonythomas01 [Mon, 30 Dec 2013 18:54:29 +0000 (00:24 +0530)]
Removed const ParserCache::try116cache

Version 1.16 is long ago and there seems no need to keep the const
ParserCache::try116cache in core.
Removed the if(self:: try116cache) block

Bug: 59127
Change-Id: I705a056665441f81516a4dbb6fe317a44da91d43

10 years agoRevert "Update type hint for CreditsAction::getAuthor()"
Reedy [Mon, 30 Dec 2013 18:11:07 +0000 (18:11 +0000)]
Revert "Update type hint for CreditsAction::getAuthor()"

This reverts commit 8a9a1eff3e117a4f0572c88285f64472213dd962.

Change-Id: I689645c812b1a28821a3d6854bc7737fc677e29e

10 years agoMerge "Fix typo - fuction -> function"
jenkins-bot [Mon, 30 Dec 2013 18:10:27 +0000 (18:10 +0000)]
Merge "Fix typo - fuction -> function"

10 years agoUpdate type hint for CreditsAction::getAuthor()
Siebrand Mazeland [Mon, 30 Dec 2013 15:41:36 +0000 (16:41 +0100)]
Update type hint for CreditsAction::getAuthor()

This function calls $page->getUserText() and $page->getTimestamp(). These
functions are not specified in the interface Page (which actually specifies
nothing at all). Page is only implemented by WikiPage and Article. Article
does not implement getUserText() and getTimestamp(). WikiPage does.
CreditsAction::getAuthor() cannot ever be given an Article, because that
would cause a fatal error "call to undefined method".

Change-Id: I0ba29622b7307845345ce645cb63b53614aaf2ab

10 years agoFix typo - fuction -> function
umherirrender [Mon, 30 Dec 2013 17:48:11 +0000 (18:48 +0100)]
Fix typo - fuction -> function

Change-Id: I5a82849af85296b324d460ed21d9a547c391d341

10 years agoMerge "API: Include variant name in meta=siteinfo"
jenkins-bot [Mon, 30 Dec 2013 17:46:49 +0000 (17:46 +0000)]
Merge "API: Include variant name in meta=siteinfo"

10 years agoMerge "Show a warning on page deletion if a page is linked to"
jenkins-bot [Mon, 30 Dec 2013 17:18:19 +0000 (17:18 +0000)]
Merge "Show a warning on page deletion if a page is linked to"

10 years agoMerge "Fixed locking in JobQueueAggregatorRedis"
jenkins-bot [Mon, 30 Dec 2013 16:46:21 +0000 (16:46 +0000)]
Merge "Fixed locking in JobQueueAggregatorRedis"

10 years agoRemove @todo that has since been done
grunny [Mon, 30 Dec 2013 13:16:52 +0000 (23:16 +1000)]
Remove @todo that has since been done

This todo note was done a few days after it was added in
commit e5aa994d2eb36e0d0b5d63290e419df3a2cdf5cd.

Change-Id: Iea1674fc28cca68f02b15d9a6513dd3e62fbc395

10 years agoRemove ProfilerSimple::getCpuTime
Ori Livneh [Sun, 29 Dec 2013 10:13:12 +0000 (02:13 -0800)]
Remove ProfilerSimple::getCpuTime

Deprecated in 1.20, in change I12d1bcb43. I couldn't find any callers.

Change-Id: Ia5a6e02ae3a4bd749c9c7ee9fb32f708b0a3b513

10 years agoShow a warning on page deletion if a page is linked to
Amir E. Aharoni [Thu, 23 May 2013 23:22:17 +0000 (02:22 +0300)]
Show a warning on page deletion if a page is linked to

Developed at Hackathon TLV 2013. Based on Ronen Gilead-Raz and Vladimir
Krapp's patch.

Bug: 35485
Change-Id: I623235736aa735232d6a727702d764538b0b65e7

10 years agoMerge "Declare visibility for class properties in DatabaseOracle.php"
jenkins-bot [Mon, 30 Dec 2013 00:01:38 +0000 (00:01 +0000)]
Merge "Declare visibility for class properties in DatabaseOracle.php"

10 years agoFixed locking in JobQueueAggregatorRedis
Aaron Schulz [Sun, 29 Dec 2013 21:44:33 +0000 (13:44 -0800)]
Fixed locking in JobQueueAggregatorRedis

* The old code would still bump the lock TTL on failure,
  so if processes kept trying to acquire it and the one
  that had it crashed, nothing would ever do anything.

Change-Id: If3fe7b75364204f399fb4caf8bd39204ab51b353

10 years agoMerge "Fixed backwards JobQueueFederated::doIsEmpty() method"
jenkins-bot [Sun, 29 Dec 2013 22:31:52 +0000 (22:31 +0000)]
Merge "Fixed backwards JobQueueFederated::doIsEmpty() method"

10 years agoFixed backwards JobQueueFederated::doIsEmpty() method
Aaron Schulz [Sun, 29 Dec 2013 22:22:22 +0000 (14:22 -0800)]
Fixed backwards JobQueueFederated::doIsEmpty() method

Change-Id: I6b7dfb76621e9b6407829de7faf86495325512c8

10 years agoFix more concatenation errors
Brad Jorsch [Sun, 29 Dec 2013 20:08:46 +0000 (15:08 -0500)]
Fix more concatenation errors

Errors were introduced in I763f79c6 and Id5fd7180.

Change-Id: Ieb5189636eb3df54290aaf998834988c81099eb3

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sun, 29 Dec 2013 19:37:29 +0000 (19:37 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoMerge "Update documentation for ApiQueryWatchlist::parseRCType()"
jenkins-bot [Sun, 29 Dec 2013 19:32:31 +0000 (19:32 +0000)]
Merge "Update documentation for ApiQueryWatchlist::parseRCType()"

10 years agoMerge "Declare visibility for class properties in DatabaseMssql"
jenkins-bot [Sun, 29 Dec 2013 19:30:35 +0000 (19:30 +0000)]
Merge "Declare visibility for class properties in DatabaseMssql"

10 years agoMerge "Declare visibility for class properties in DatabaseUtility.php"
jenkins-bot [Sun, 29 Dec 2013 19:28:48 +0000 (19:28 +0000)]
Merge "Declare visibility for class properties in DatabaseUtility.php"

10 years agoMerge "Update documentation for QueryPage::execute()"
jenkins-bot [Sun, 29 Dec 2013 19:25:19 +0000 (19:25 +0000)]
Merge "Update documentation for QueryPage::execute()"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 29 Dec 2013 19:04:26 +0000 (19:04 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie5a14015e8dd20feecfac6962a80c7758a291442

10 years agoMerge "mediawiki.action.edit.collapsibleFooter.js use $.cookie()"
jenkins-bot [Sun, 29 Dec 2013 18:35:46 +0000 (18:35 +0000)]
Merge "mediawiki.action.edit.collapsibleFooter.js use $.cookie()"

10 years agoMerge "Fix string concatenation in api documentation"
jenkins-bot [Sun, 29 Dec 2013 17:55:58 +0000 (17:55 +0000)]
Merge "Fix string concatenation in api documentation"

10 years agoFix string concatenation in api documentation
aude [Sun, 29 Dec 2013 17:40:14 +0000 (18:40 +0100)]
Fix string concatenation in api documentation

Change-Id: I4f94172a5e4ad43dd88c21e01148fd94783aca54

10 years agomediawiki.action.edit.collapsibleFooter.js use $.cookie()
Fomafix [Sun, 29 Dec 2013 16:54:01 +0000 (16:54 +0000)]
mediawiki.action.edit.collapsibleFooter.js use $.cookie()

Change-Id: I3e2950c905f35b533e01c20d800b83d18e199d28

10 years agoFixed silly regression with $job not being set in runJobs.php
Aaron Schulz [Sun, 29 Dec 2013 00:07:25 +0000 (16:07 -0800)]
Fixed silly regression with $job not being set in runJobs.php

Change-Id: I2dae31574e5822b7b76bf1b04aba0063bed17944

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 28 Dec 2013 19:17:26 +0000 (19:17 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie022679c51c951e3779c6d090b66c7876adef33c

10 years agoUpdate #firstHeading on livepreview to show {{DISPLAYTITLE:...}}
Fomafix [Sat, 28 Dec 2013 13:47:00 +0000 (13:47 +0000)]
Update #firstHeading on livepreview to show {{DISPLAYTITLE:...}}

Bug: 59015
Change-Id: I17f240cce92f1b98a226d5c2e2b3e82e15ceb616

10 years agoMerge "Type cast formatted time"
jenkins-bot [Sat, 28 Dec 2013 12:02:37 +0000 (12:02 +0000)]
Merge "Type cast formatted time"

10 years agoMerge "Throw exception when ArchivedFile::getUser() has unkown type"
jenkins-bot [Sat, 28 Dec 2013 10:58:57 +0000 (10:58 +0000)]
Merge "Throw exception when ArchivedFile::getUser() has unkown type"

10 years agoMerge "Update documentation for WebInstaller_DBConnect::execute()"
MarkAHershberger [Sat, 28 Dec 2013 10:00:15 +0000 (10:00 +0000)]
Merge "Update documentation for WebInstaller_DBConnect::execute()"

10 years agoMerge "Update documentation related to newFromRow and formatRow"
jenkins-bot [Sat, 28 Dec 2013 00:47:51 +0000 (00:47 +0000)]
Merge "Update documentation related to newFromRow and formatRow"

10 years agoFix error introduced in Change Ieae80c63e391cfb1af61841a6badd51b87d00cfe
Skizzerz [Fri, 27 Dec 2013 23:51:24 +0000 (17:51 -0600)]
Fix error introduced in Change Ieae80c63e391cfb1af61841a6badd51b87d00cfe

The {{NAMESPACE}} magic word is broken by the above commit, since it uses
the function name "mwnamespace" in order to not conflict with the PHP 5.3
namespace keyword.

Change-Id: I807c9b89c101db289c0ec47593c18b0d1dc2260b

10 years agoMerge "Replace use of deprecated SpecialPageFactory::getGroup()"
jenkins-bot [Fri, 27 Dec 2013 23:07:55 +0000 (23:07 +0000)]
Merge "Replace use of deprecated SpecialPageFactory::getGroup()"

10 years agoMerge "Add SVG versions of enhanced recent changes collapse/show arrows"
jenkins-bot [Fri, 27 Dec 2013 22:38:54 +0000 (22:38 +0000)]
Merge "Add SVG versions of enhanced recent changes collapse/show arrows"

10 years agoAdd SVG versions of enhanced recent changes collapse/show arrows
m4tx [Fri, 27 Dec 2013 11:43:17 +0000 (12:43 +0100)]
Add SVG versions of enhanced recent changes collapse/show arrows

Bug: 35344
Change-Id: I1fcc255691048cb8929a68096e1e0e56e934f020

10 years agomw.loader.store: Detect malformed function stringification
Bartosz Dziewoński [Fri, 27 Dec 2013 22:03:13 +0000 (23:03 +0100)]
mw.loader.store: Detect malformed function stringification

See the bug for details.

This seems to happen somewhat consistently on Opera 12, let's
try to work around the browser bug before we blacklist it.

Includes some console logging.

Bug: 57567
Change-Id: Ifd7b203fb0ca61e4a749e6b0fc031e62121cc45a

10 years agoMerge "Make MediaWiki:Redirectpagesub accept all wikitext."
jenkins-bot [Fri, 27 Dec 2013 21:58:59 +0000 (21:58 +0000)]
Merge "Make MediaWiki:Redirectpagesub accept all wikitext."

10 years agoOptimize all SVGs
Bartosz Dziewoński [Fri, 27 Dec 2013 02:40:53 +0000 (03:40 +0100)]
Optimize all SVGs

Passed with svgo 0.4.2 <https://github.com/svg/svgo>, then prepended
'<?xml version="1.0" ?>' prolog back to each file since svgo sees
it fit to remove it and that breaks just about everything.

Skipped the ones in tests/, there's some weird stuff here and they
didn't shrink much when I tried anyway.

Total file size reduced from ~90 KB to ~30 KB, size of some icons was
reduced by 90%.

Change-Id: If05ee0e0ffeadcf5b21e2620cdfeef218e4c0c5d

10 years agoMerge "Remove deprecated methods from Revision, SkinTemplate, and WikiPage"
jenkins-bot [Fri, 27 Dec 2013 21:41:20 +0000 (21:41 +0000)]
Merge "Remove deprecated methods from Revision, SkinTemplate, and WikiPage"

10 years agoMerge "Revert "Add .gitignore to the /skins directory""
jenkins-bot [Fri, 27 Dec 2013 21:28:54 +0000 (21:28 +0000)]
Merge "Revert "Add .gitignore to the /skins directory""

10 years agoAPI: Include variant name in meta=siteinfo
Brad Jorsch [Fri, 27 Dec 2013 21:25:34 +0000 (16:25 -0500)]
API: Include variant name in meta=siteinfo

For languages with variants, we're already returning the list of variant
codes in meta=siteinfo&siprop=general. Clients may have use for the
variant's human-readable name too, and we can easily add it to the
datastructure.

Change-Id: I6c7ebf43a699a0b2346cb0fdeef6487217992f5c

10 years agoRevert "Add .gitignore to the /skins directory"
Bartosz Dziewoński [Fri, 27 Dec 2013 21:23:20 +0000 (21:23 +0000)]
Revert "Add .gitignore to the /skins directory"

New skin files (images etc.) seem to be matches by these
rules. I'm going to revert this for now since it's annoying,
feel free to resubmit a .gitignore that works.

This reverts commit d21381021658079720ce1a9aa9f0e989d8dd358e.

Change-Id: I77655ea4ba3ddb5941e1e423ad766be20479247f

10 years agoBreak some long lines
Chad Horohoe [Fri, 27 Dec 2013 21:01:17 +0000 (16:01 -0500)]
Break some long lines

Change-Id: I8c3919c04a3fc468191750af51b8be3f952f464e

10 years agoReduce insane amount of code duplication and long lines
Chad Horohoe [Fri, 27 Dec 2013 20:57:50 +0000 (15:57 -0500)]
Reduce insane amount of code duplication and long lines

Change-Id: Ieae80c63e391cfb1af61841a6badd51b87d00cfe

10 years agoMerge "Remove last remainig use in core of Title::escapeFullURL()"
jenkins-bot [Fri, 27 Dec 2013 20:29:11 +0000 (20:29 +0000)]
Merge "Remove last remainig use in core of Title::escapeFullURL()"

10 years agoMerge "Release notes for removed and renamed classes"
jenkins-bot [Fri, 27 Dec 2013 20:25:07 +0000 (20:25 +0000)]
Merge "Release notes for removed and renamed classes"

10 years agoRelease notes for removed and renamed classes
Siebrand Mazeland [Fri, 27 Dec 2013 16:05:37 +0000 (17:05 +0100)]
Release notes for removed and renamed classes

Change-Id: I65de588860575d22125c05b71bf4817388234ef1

10 years agoMerge "Use Title::isWatchable in ApiWatch"
jenkins-bot [Fri, 27 Dec 2013 19:42:15 +0000 (19:42 +0000)]
Merge "Use Title::isWatchable in ApiWatch"

10 years agoRemove deprecated methods from Revision, SkinTemplate, and WikiPage
Siebrand Mazeland [Fri, 27 Dec 2013 16:20:51 +0000 (17:20 +0100)]
Remove deprecated methods from Revision, SkinTemplate, and WikiPage

No uses found in core of Gerrit extensions.

- Revision::revText() (deprecated in 1.17)
- SkinTemplate::jstext() (deprecated in 1.21)
- WikiPage::quickEdit() (deprecated in 1.18)
- WikiPage::useParserCache() (deprecated in 1.18)
- WikiPage::viewUpdates() (deprecated in 1.18)

Change-Id: I9eee23ea3ce381b6b8373da899287bcaea4cead4

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 27 Dec 2013 18:24:52 +0000 (18:24 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie7840763fc088ca06b0704749ab31ccedd0b8aec

10 years agoMerge "Remove unused local variables"
jenkins-bot [Fri, 27 Dec 2013 18:03:28 +0000 (18:03 +0000)]
Merge "Remove unused local variables"

10 years agoMerge "Add missing return value for DatabaseBase::open() overrides"
jenkins-bot [Fri, 27 Dec 2013 18:01:25 +0000 (18:01 +0000)]
Merge "Add missing return value for DatabaseBase::open() overrides"

10 years agoUse Title::isWatchable in ApiWatch
umherirrender [Fri, 27 Dec 2013 18:01:02 +0000 (19:01 +0100)]
Use Title::isWatchable in ApiWatch

Same checks, but same method as in SpecialEditWatchlist

Change-Id: Ic03fc159df9e6322fd0f2d73de4e69b34065d5bb

10 years agoUpdate documentation for ApiQueryWatchlist::parseRCType()
Siebrand Mazeland [Fri, 27 Dec 2013 16:58:05 +0000 (17:58 +0100)]
Update documentation for ApiQueryWatchlist::parseRCType()

Change-Id: I41be0aafd86f49e4b36fa91147dc41ebdeb8779c

10 years agoAdd missing return value for DatabaseBase::open() overrides
Siebrand Mazeland [Fri, 27 Dec 2013 16:59:39 +0000 (17:59 +0100)]
Add missing return value for DatabaseBase::open() overrides

Change-Id: Ifcd9e6fb36a5f8f53ad38a60719267d69c86c17e

10 years agoThrow exception when ArchivedFile::getUser() has unkown type
Siebrand Mazeland [Fri, 27 Dec 2013 17:00:39 +0000 (18:00 +0100)]
Throw exception when ArchivedFile::getUser() has unkown type

Change-Id: I95117c5cc73d187c8c7b859b67ad6655d196d91e

10 years agoUpdate documentation for WebInstaller_DBConnect::execute()
Siebrand Mazeland [Fri, 27 Dec 2013 17:01:34 +0000 (18:01 +0100)]
Update documentation for WebInstaller_DBConnect::execute()

Change-Id: I7f700daf8c1dbf0903159a1b750612b09f0e8e25

10 years agoAdd release notes for I9c9f5bb8af
Siebrand Mazeland [Fri, 27 Dec 2013 17:04:22 +0000 (18:04 +0100)]
Add release notes for I9c9f5bb8af

Change-Id: I65d334446de8d02d8bb5fb744c2e6d0202f2360c

10 years agoUpdate documentation for QueryPage::execute()
Siebrand Mazeland [Fri, 27 Dec 2013 16:57:19 +0000 (17:57 +0100)]
Update documentation for QueryPage::execute()

Change-Id: I3f3ff6a8730daccfa093e6f8a7faeffb057472ba

10 years agoMerge "Remove deprecated SpecialRevisionDelete::extractBitField()"
jenkins-bot [Fri, 27 Dec 2013 16:45:30 +0000 (16:45 +0000)]
Merge "Remove deprecated SpecialRevisionDelete::extractBitField()"

10 years agoMerge "Remove unreachable statement"
jenkins-bot [Fri, 27 Dec 2013 16:40:33 +0000 (16:40 +0000)]
Merge "Remove unreachable statement"

10 years agoRemove unreachable statement
Siebrand Mazeland [Fri, 27 Dec 2013 16:34:55 +0000 (17:34 +0100)]
Remove unreachable statement

Change-Id: I537d189e802c6201a4c9a1a5f17ca172836ec5b3

10 years agoType cast formatted time
Siebrand Mazeland [Fri, 27 Dec 2013 16:26:06 +0000 (17:26 +0100)]
Type cast formatted time

Static code analyser warned for possible incorrect string concatenation
operator. Now it's clear what type we're dealing with.

Change-Id: Ic9f19479379ec2c6f4cb087ade44235fb110318c

10 years agoRemove Exif::makeFormattedData and Exif::getFormattedData
Siebrand Mazeland [Fri, 27 Dec 2013 15:56:23 +0000 (16:56 +0100)]
Remove Exif::makeFormattedData and Exif::getFormattedData

Both unused in core and Gerrit extensions.
Deprecated since MediaWiki 1.18.

Change-Id: I59e9bb5a368ffcbae1634395c0062fea0e754972

10 years agoMerge "Remove long deprecated methods from Linker"
jenkins-bot [Fri, 27 Dec 2013 15:52:46 +0000 (15:52 +0000)]
Merge "Remove long deprecated methods from Linker"

10 years agoMerge "Moved ScopedCallback to /libs"
jenkins-bot [Fri, 27 Dec 2013 15:46:01 +0000 (15:46 +0000)]
Merge "Moved ScopedCallback to /libs"

10 years agoMerge "Remove hints to fixed bug 54044"
jenkins-bot [Fri, 27 Dec 2013 15:41:27 +0000 (15:41 +0000)]
Merge "Remove hints to fixed bug 54044"

10 years agoRemove deprecated SpecialRevisionDelete::extractBitField()
Siebrand Mazeland [Fri, 27 Dec 2013 15:11:45 +0000 (16:11 +0100)]
Remove deprecated SpecialRevisionDelete::extractBitField()

Replaced only usage in core and extensions with
RevisionDeleter::extractBitField().

Change-Id: I9c9f5bb8af32ce39824b6bf816066fec04211533

10 years agoRemove long deprecated methods from Linker
Siebrand Mazeland [Fri, 27 Dec 2013 15:08:27 +0000 (16:08 +0100)]
Remove long deprecated methods from Linker

- Linker::makeBrokenLink() (deprecated in 1.16)
- Linker::makeBrokenLinkObj() (deprecated in 1.16)
- Linker::makeColouredLinkObj() (deprecated in 1.16)
- Linker::makeSizeLinkObj() (deprecated in 1.17)

Change-Id: I230096cbf964cdff980f33f76790a524d318408d

10 years agoReplace use of deprecated SpecialPageFactory::getGroup()
Siebrand Mazeland [Fri, 27 Dec 2013 15:02:42 +0000 (16:02 +0100)]
Replace use of deprecated SpecialPageFactory::getGroup()

Change-Id: I2d98c0ebe2fccbb844cc1997b17061a100a4495d

10 years agoRemove last remainig use in core of Title::escapeFullURL()
Siebrand Mazeland [Fri, 27 Dec 2013 14:01:26 +0000 (15:01 +0100)]
Remove last remainig use in core of Title::escapeFullURL()

This was deprecated in MediaWiki 1.19.

Change-Id: I21a46a35e449b81d5999420add91d7664fcf5f1d

10 years agoUpdate documentation related to newFromRow and formatRow
Siebrand Mazeland [Fri, 27 Dec 2013 12:56:52 +0000 (13:56 +0100)]
Update documentation related to newFromRow and formatRow

Change-Id: I65e5923c4dc3a63bd9cdbbc5fdcb572ab0cb9cae

10 years agoRemove unused local variables
Siebrand Mazeland [Fri, 27 Dec 2013 00:52:09 +0000 (01:52 +0100)]
Remove unused local variables

Change-Id: I9e5667d3b27c7685004e2f3215ea51176988d3b2

10 years agoRemove hints to fixed bug 54044
umherirrender [Fri, 27 Dec 2013 11:57:26 +0000 (12:57 +0100)]
Remove hints to fixed bug 54044

Change-Id: I119a2ec4114fd7939ef2d74e614b4a8ff8e257ac

10 years agoFixed typo in comment in MediaWikiTestCase
umherirrender [Fri, 27 Dec 2013 11:50:27 +0000 (12:50 +0100)]
Fixed typo in comment in MediaWikiTestCase

Change-Id: I72214f134e0e94195cb56271c5fcb6997245fac6

10 years agoDeclare visibility for class properties in DatabaseMssql
Siebrand Mazeland [Fri, 27 Dec 2013 00:45:19 +0000 (01:45 +0100)]
Declare visibility for class properties in DatabaseMssql

Change-Id: Icf0209a1f1f601a50dbc1e8cf59ca0b8afabd40f

10 years agoDeclare visibility for class properties in DatabaseOracle.php
Siebrand Mazeland [Fri, 27 Dec 2013 00:29:37 +0000 (01:29 +0100)]
Declare visibility for class properties in DatabaseOracle.php

* Remove unused $lastResult and $cursor.
* Rename private $ignore_DUP_VAL_ON_INDEX to $ignoreDupValOnIndex.
* Update/add some documentation.

Change-Id: Ie5d82836fe4907337e50f10cc1654d5ddf08f270

10 years agoDeclare visibility for class properties in DatabaseUtility.php
Siebrand Mazeland [Thu, 26 Dec 2013 23:23:15 +0000 (00:23 +0100)]
Declare visibility for class properties in DatabaseUtility.php

Change-Id: I8143286baec89592e2de894be1755e0e8766ea6f

10 years agoMake MediaWiki:Redirectpagesub accept all wikitext.
Skizzerz [Fri, 27 Dec 2013 04:41:15 +0000 (22:41 -0600)]
Make MediaWiki:Redirectpagesub accept all wikitext.

Redirectpagesub is used as the system message for subheadings on redirect pages.
Currently, it only performs transformations of {{-style constructs whereas it
could be useful to accept a wider range of wikitext. For example, one could change
the message to "Redirect page ([[Special:WhatLinksHere/{{FULLPAGENAME}}|links]])"
so that the subtitle displays a link to Special:WhatLinksHere. Currently that does not work.

The subtitle is already in a block-level <div> so it can already handle additional
block-level elements, thus the inclusion of arbitrary wikitext shouldn't break things (too) badly.

Change-Id: Icbd29d71c325c63dfda80dfcd52ed32358a2f24e

10 years agoMerge "Add SVG versions of link type icons"
jenkins-bot [Fri, 27 Dec 2013 01:47:22 +0000 (01:47 +0000)]
Merge "Add SVG versions of link type icons"

10 years agoAdd SVG versions of link type icons
m4tx [Sat, 30 Nov 2013 16:56:27 +0000 (17:56 +0100)]
Add SVG versions of link type icons

Bug: 35343
Change-Id: Ifb840cb486df7c41a98c577cd8c1845c5a89a4d1

10 years agoDeclare visibility for class property of LoadBalancerSingle
Siebrand Mazeland [Thu, 26 Dec 2013 22:24:18 +0000 (23:24 +0100)]
Declare visibility for class property of LoadBalancerSingle

Change-Id: Ief598ff677f711eefcf37b2cf7915d00e204e431

10 years agoMerge "Deprecate SpecialPage::getTitle"
jenkins-bot [Thu, 26 Dec 2013 22:45:06 +0000 (22:45 +0000)]
Merge "Deprecate SpecialPage::getTitle"

10 years agoMerge "Made Title cache use MapCacheLRU"
jenkins-bot [Thu, 26 Dec 2013 22:24:14 +0000 (22:24 +0000)]
Merge "Made Title cache use MapCacheLRU"

10 years agoRemove underscore from classes LBFactory_*, LoadBalancer_*, LoadMonitor_*
Siebrand Mazeland [Wed, 27 Nov 2013 10:17:06 +0000 (11:17 +0100)]
Remove underscore from classes LBFactory_*, LoadBalancer_*, LoadMonitor_*

Part of program to remove underscores from class names. Checked core and
600+ extensions for occurrences. All uses are in core in core are updated
in this patch.

Patches for extensions:
* https://gerrit.wikimedia.org/r/#/c/96463/ CentralAuth
* https://gerrit.wikimedia.org/r/#/c/96460/ SimpleSecurity
* https://gerrit.wikimedia.org/r/#/c/96459/ WikiBase
* https://gerrit.wikimedia.org/r/#/c/96472/ Wikimedia configuration

Antoine added tests to test the back compatibility.

Change-Id: I507ba00a83bca8375a0215f00891b47e3c7afb9f

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 26 Dec 2013 19:18:09 +0000 (19:18 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia0c0839f6625c878e89d3d29bdec77446b8e77fb

10 years agoMerge "Add missing subjectspace pages to watchlist on update."
jenkins-bot [Thu, 26 Dec 2013 18:42:34 +0000 (18:42 +0000)]
Merge "Add missing subjectspace pages to watchlist on update."

10 years agoMerge "Declare visibility on log class related properties"
jenkins-bot [Thu, 26 Dec 2013 18:40:53 +0000 (18:40 +0000)]
Merge "Declare visibility on log class related properties"

10 years agoMerge "Don't escape HTML title of Special:Contributions for newbies"
jenkins-bot [Thu, 26 Dec 2013 18:39:12 +0000 (18:39 +0000)]
Merge "Don't escape HTML title of Special:Contributions for newbies"

10 years agoMerge "Use a better regular expression to find documented hooks in findHooks.php"
jenkins-bot [Thu, 26 Dec 2013 18:09:24 +0000 (18:09 +0000)]
Merge "Use a better regular expression to find documented hooks in findHooks.php"

10 years agoMerge "Disabled, unticked "Leave redirect" checkbox when redirect impossible"
jenkins-bot [Thu, 26 Dec 2013 15:01:11 +0000 (15:01 +0000)]
Merge "Disabled, unticked "Leave redirect" checkbox when redirect impossible"

10 years agoDisabled, unticked "Leave redirect" checkbox when redirect impossible
Jared [Tue, 24 Dec 2013 08:43:42 +0000 (00:43 -0800)]
Disabled, unticked "Leave redirect" checkbox when redirect impossible

Disabled the "Leave redirect" checkbox on Special:MovePage when redirect
is impossible because of the content model.

Bug: 58017
Change-Id: Ibbc5caace749662d51b9ebd4554234d79b7a887c

10 years agoFix typo in DerivativeContext doc
Kunal Mehta [Thu, 26 Dec 2013 06:56:49 +0000 (22:56 -0800)]
Fix typo in DerivativeContext doc

Change-Id: Ife6395fa7f78cb7b52b78cc60419fd387bd8509c

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 25 Dec 2013 19:57:26 +0000 (19:57 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I1c1d25fe74b69c0c91c69ca98636c99606dcc111

10 years agoUpdated location of zhtable in comment
Liangent [Wed, 25 Dec 2013 15:22:38 +0000 (15:22 +0000)]
Updated location of zhtable in comment

Follow up I239483e6cdf7d412be01ae8bd45978481c5dd518.

Change-Id: Ia909b36ed8b996057ba4e7966cac4d29ee3836f4