wiki.techinc.nl/includes
Brian Wolff 89b21847e1 Start working on phan-taint-check warnings. Fix minor escaping issues.
This fixes 26 of the phan-taint-check warnings on MW core. Some
are outright fixed, others are false positives that were suppressed.

This really only covers some of the easy ones. There are still
314 warnings to go.

Change-Id: I30463bc3a09fd4324d190de8533f51784764dd3a
2018-07-12 03:26:59 +00:00
..
actions Start working on phan-taint-check warnings. Fix minor escaping issues. 2018-07-12 03:26:59 +00:00
api Use $lang->hasVariants() instead of count( $lang->getVariants() ) > 1 2018-07-11 16:13:17 +00:00
auth Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
cache Use Language::equals to compare Language objects 2018-07-10 01:04:03 +00:00
changes Start working on phan-taint-check warnings. Fix minor escaping issues. 2018-07-12 03:26:59 +00:00
changetags Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
clientpool Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
collation Use PHP 7 '??' operator instead of if-then-else 2018-06-12 23:14:18 +02:00
compat Merge "Kill non namespaced ScopedCallback" 2018-06-01 04:35:22 +00:00
composer Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
config
content Remove most uses of deprecated Language::truncate() 2018-07-09 13:36:27 -04:00
context Replace call_user_func_array(), part 1 2018-06-04 23:39:04 -07:00
dao Use PHP 5.6 constant expressions for some bitfield constants 2018-05-30 18:05:18 -07:00
db Merge "Simplify PHP by using ?? and ?:" 2018-07-11 09:09:18 +00:00
debug Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
deferred Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
diff Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
edit [MCR] Factor PageUpdater out of WikiPage 2018-06-14 13:22:13 +00:00
editpage
exception Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
export Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
externalstore Use consistent caching strategy in Revision storage classes 2018-07-05 17:44:24 +02:00
filebackend Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
filerepo Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
gallery Remove most uses of deprecated Language::truncate() 2018-07-09 13:36:27 -04:00
htmlform Merge "Simplify PHP by using ?? and ?:" 2018-07-11 09:09:18 +00:00
http Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
import Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
installer Start working on phan-taint-check warnings. Fix minor escaping issues. 2018-07-12 03:26:59 +00:00
interwiki Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
jobqueue Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
json FormatJson: cleanup after PHP 5.5 support removal 2018-06-09 09:06:02 -04:00
libs rdbms: fix value of ChronologyProtector::POSITION_COOKIE_TTL 2018-07-11 12:40:17 +00:00
linkeddata PageDataRequestHandler: Use getHeader() instead of getAllHeaders() 2018-05-23 06:05:47 +00:00
linker linker: Hard-deprecate LinkBegin and LinkEnd hooks 2018-06-10 12:00:15 -07:00
logging Merge "Simplify PHP by using ?? and ?:" 2018-07-11 09:09:18 +00:00
mail Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
media Start working on phan-taint-check warnings. Fix minor escaping issues. 2018-07-12 03:26:59 +00:00
objectcache Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
page Start working on phan-taint-check warnings. Fix minor escaping issues. 2018-07-12 03:26:59 +00:00
pager Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
parser Start working on phan-taint-check warnings. Fix minor escaping issues. 2018-07-12 03:26:59 +00:00
password Clean up CSPRNG support for PHP7 2018-06-10 00:52:04 +00:00
poolcounter Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
preferences Use $lang->hasVariants() instead of count( $lang->getVariants() ) > 1 2018-07-11 16:13:17 +00:00
profiler Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
rcfeed
registration registration: Catch correct exception type from ObjectCache 2018-06-11 21:09:47 +00:00
resourceloader mediawiki.language: Combine with 'mediawiki.language.data' and 'mediawiki.language.init' 2018-07-10 11:12:45 -07:00
revisiondelete Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
search Merge "Simplify PHP by using ?? and ?:" 2018-07-11 09:09:18 +00:00
services services: Update comment mentioning non-existent method 2018-06-15 13:19:13 +01:00
session Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
shell shell: Note that ::isDisabled() should be called before ::command() 2018-07-02 22:16:03 +00:00
site Merge "Simplify PHP by using ?? and ?:" 2018-07-11 09:09:18 +00:00
skins Use $lang->hasVariants() instead of count( $lang->getVariants() ) > 1 2018-07-11 16:13:17 +00:00
sparql Replace recently introduced mediawiki/at-ease calls 2018-04-18 14:11:13 +00:00
specialpage Merge "Simplify PHP by using ?? and ?:" 2018-07-11 09:09:18 +00:00
specials Start working on phan-taint-check warnings. Fix minor escaping issues. 2018-07-12 03:26:59 +00:00
Storage Merge "In RevisionStore, use DB_MASTER when READ_LATEST is set." 2018-07-11 09:56:15 +00:00
templates RCFilters: Move aggregation of highlight classes to the backend 2018-06-26 17:55:50 -07:00
tidy Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
title Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
upload Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
user Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
utils Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
watcheditem Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
widget UsersMultiselectWidget: Reduce default non-JS rows to 10 2018-07-09 19:35:39 +02:00
.htaccess
ActorMigration.php
AjaxDispatcher.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
AjaxResponse.php PHP: Use short ternary operator (?:) where possible 2018-06-11 11:26:35 +02:00
AuthPlugin.php Use PHP 7 '??' operator instead of if-then-else 2018-06-12 23:14:18 +02:00
AutoLoader.php Improve AutoLoader test coverage 2018-05-26 21:29:36 -07:00
Autopromote.php
Block.php Merge "Simplify PHP by using ?? and ?:" 2018-07-11 09:09:18 +00:00
CategoriesRdf.php
Category.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
CategoryFinder.php
CategoryViewer.php Use \u{00A0} instead of   or   2018-06-24 01:20:13 +00:00
CommentStore.php Merge "Simplify PHP by using ?? and ?:" 2018-07-11 09:09:18 +00:00
CommentStoreComment.php
ConfiguredReadOnlyMode.php
ContentSecurityPolicy.php CSP: Allow an option of disabling nonces 2018-07-10 00:12:32 +00:00
DefaultSettings.php Expand the default watchlist time from 3 to 7 days 2018-07-10 16:08:58 -07:00
Defines.php Introduce new schema flags and use them in RevisionStore. 2018-07-02 17:20:14 +02:00
DeprecatedGlobal.php
DerivativeRequest.php
DevelopmentSettings.php
DummyLinker.php Remove deprecated Linker::getLinkColour() 2018-06-13 01:30:04 -07:00
EditPage.php Merge "Simplify PHP by using ?? and ?:" 2018-07-11 09:09:18 +00:00
EventRelayerGroup.php
FauxRequest.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
Feed.php
FeedUtils.php
FileDeleteForm.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
ForkController.php
FormOptions.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
GitInfo.php GitInfo: Don't try shelling out if it's disabled 2018-06-24 23:55:43 +03:00
GlobalFunctions.php Start working on phan-taint-check warnings. Fix minor escaping issues. 2018-07-12 03:26:59 +00:00
HeaderCallback.php
HistoryBlob.php
Hooks.php Hooks: remove some unnecessary code 2018-05-26 23:39:07 -07:00
Html.php CSP: Allow an option of disabling nonces 2018-07-10 00:12:32 +00:00
Linker.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
LinkFilter.php Make cleanupSpam.php query for http and https 2018-06-03 22:00:11 +00:00
ListToggle.php
MagicWord.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
MagicWordArray.php
MediaWiki.php Use $lang->hasVariants() instead of count( $lang->getVariants() ) > 1 2018-07-11 16:13:17 +00:00
MediaWikiServices.php Merge "Revert "Introduce RevisionStoreFactory & Tests"" 2018-07-05 15:08:36 +00:00
MediaWikiVersionFetcher.php
MergeHistory.php Replace call_user_func_array(), part 2 2018-06-07 20:19:26 -07:00
Message.php Start working on phan-taint-check warnings. Fix minor escaping issues. 2018-07-12 03:26:59 +00:00
MimeMagic.php
MovePage.php MWNamespace: Add getCategoryLinkType() method 2018-06-29 15:37:11 +00:00
MWGrants.php
MWNamespace.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
MWTimestamp.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
NoLocalSettings.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
OrderedStreamingForkController.php
OutputHandler.php Immediately drop wgValidateAllHtml and related code 2018-04-10 10:51:28 -07:00
OutputPage.php CSP: Allow an option of disabling nonces 2018-07-10 00:12:32 +00:00
PageProps.php
PathRouter.php
PHPVersionCheck.php Insert space before compatibility link in PHP version message 2018-05-25 00:27:21 +02:00
Pingback.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
Preferences.php Fix PreferencesForm alias 2018-05-29 21:44:18 +00:00
PrefixSearch.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
ProtectionForm.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
ProxyLookup.php
RawMessage.php
ReadOnlyMode.php
Revision.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
RevisionList.php
ServiceWiring.php Merge "Revert "Introduce RevisionStoreFactory & Tests"" 2018-07-05 15:08:36 +00:00
Setup.php PHP: Use short ternary operator (?:) where possible 2018-06-11 11:26:35 +02:00
SiteConfiguration.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
SiteStats.php
SiteStatsInit.php
Status.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
StreamFile.php
StubObject.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
TemplateParser.php Start working on phan-taint-check warnings. Fix minor escaping issues. 2018-07-12 03:26:59 +00:00
TemplatesOnThisPageFormatter.php
Title.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
TitleArray.php Use IResultWrapper in UserArray and TitleArray 2018-04-06 00:06:35 +02:00
TitleArrayFromResult.php Use IResultWrapper in UserArray and TitleArray 2018-04-06 00:06:35 +02:00
TrackingCategories.php
WebRequest.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
WebRequestUpload.php
WebResponse.php Merge "Disable WebResponse setters for post-send processing" 2018-06-13 13:21:51 +00:00
WebStart.php Merge "Setup: Move mbstring.func_overload from WebStart to Setup" 2018-04-18 16:22:16 +00:00
WikiMap.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
WikiReference.php Simplify PHP by using ?? and ?: 2018-07-10 20:03:17 +00:00
Xml.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
XmlJsCode.php
XmlSelect.php Use PHP 7 '??' operator instead of if-then-else 2018-06-12 23:14:18 +02:00