wiki.techinc.nl/includes/content
Derick Alangi 21e2d71560 Replace some uses of deprecated wfFindFile() and wfLocalFile()
These global functions were deprecated in 1.34 and services made
available to replace them. See services below;

* wfFindFile() - MediaWikiServices::getInstance()->getRepoGroup()->findFile()
* wfLocalFind() - MediaWikiServices::getInstance()->getRepoGroup()->getLocalRepo()->newFile()

NOTES:

* wfFindFile() and wfLocalFind() usages in tests have been ignored
  in this change per @Timo's comments about state of objects.

* includes/upload/UploadBase.php also maintained for now as it causes
  some failures I don't fully understand, will investigate and handle
  it in a follow up patch.

* Also, includes/MovePage.php

Change-Id: I9437494de003f40fbe591321da7b42d16bb732d6
2019-06-11 13:26:37 +00:00
..
AbstractContent.php Deprecate Content::getNativeData, add TextContent::getText 2019-01-16 11:57:50 -08:00
CodeContentHandler.php
Content.php Deprecate Content::getNativeData, add TextContent::getText 2019-01-16 11:57:50 -08:00
ContentHandler.php Deprecate $wgWikiDiff2MovedParagraphDetectionCutoff 2019-05-22 15:42:20 +02:00
CssContent.php Remove all $wgParser use from core 2019-04-17 15:16:50 +03:00
CssContentHandler.php
FileContentHandler.php Replace some uses of deprecated wfFindFile() and wfLocalFile() 2019-06-11 13:26:37 +00:00
JavaScriptContent.php Remove all $wgParser use from core 2019-04-17 15:16:50 +03:00
JavaScriptContentHandler.php
JsonContent.php JsonContent: Add missing prefix to selector 2019-04-15 02:49:47 +00:00
JsonContentHandler.php
MessageContent.php Deprecate Content::getNativeData, add TextContent::getText 2019-01-16 11:57:50 -08:00
TextContent.php Remove all $wgParser use from core 2019-04-17 15:16:50 +03:00
TextContentHandler.php Deprecate Content::getNativeData, add TextContent::getText 2019-01-16 11:57:50 -08:00
WikitextContent.php Remove all $wgParser use from core 2019-04-17 15:16:50 +03:00
WikitextContentHandler.php Deprecate Content::getNativeData, add TextContent::getText 2019-01-16 11:57:50 -08:00
WikiTextStructure.php Replace strlen() calls with strict string comparisons 2019-03-28 12:32:39 +01:00