wiki.techinc.nl/includes
C. Scott Ananian 0935e47a72 Remove most uses of deprecated Language::truncate()
The Language::truncate() function was split into
Language::truncateForVisual() (which measures characters) and
Language::truncateForDatabase() (which measures bytes) in 1.31, but
the patch which soft-deprecated Language::truncate() didn't actually
remove all the uses in the codebase.  Replace most of those old uses
now, which should actually improve the situation for
non-latin-alphabet users who were getting unfairly squeezed in a
number of places.

Bug: T197492
Change-Id: I2291c69d9df17c1a9e4ab1b7d4cbc73bc51d3ebb
2018-07-09 13:36:27 -04:00
..
actions Use \u{00A0} instead of   or   2018-06-24 01:20:13 +00:00
api Localisation updates from https://translatewiki.net. 2018-07-07 22:08:00 +02:00
auth Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
cache Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
changes Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +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 Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +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 Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +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 Merge "Web installer: Correctly escape U+00A0 NO-BREAK SPACE" 2018-07-09 04:26:42 +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 Merge "Avoid deprecated IDatabase::getWikiId() reference" 2018-07-07 23:07:45 +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 Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
mail Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
media Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
objectcache Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
page Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
pager Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
parser Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +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 Avoid duplicate IDs on Special:Preferences 2018-07-05 20:38:09 +02: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 Merge "Allow ResourceLoaderImage modules without data URIs" 2018-07-09 14:24:36 +00:00
revisiondelete Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
search Remove most uses of deprecated Language::truncate() 2018-07-09 13:36:27 -04: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 Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
skins Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
sparql Replace recently introduced mediawiki/at-ease calls 2018-04-18 14:11:13 +00:00
specialpage Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
specials Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
Storage Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +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 Convert SearchResultSet to typical iteration 2018-06-11 13:35:41 -07: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 Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +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 Remove most uses of deprecated Language::truncate() 2018-07-09 13:36:27 -04:00
CommentStoreComment.php
ConfiguredReadOnlyMode.php
ContentSecurityPolicy.php ContentSecurityPolicy: Add trailing & to report urls 2018-05-22 22:20:43 +00:00
DefaultSettings.php Merge "Introduce new schema flags and use them in RevisionStore." 2018-07-06 17:53:44 +00: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 Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +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 Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
HeaderCallback.php
HistoryBlob.php
Hooks.php Hooks: remove some unnecessary code 2018-05-26 23:39:07 -07:00
Html.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +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 Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +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 Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +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 Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +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 Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
TemplatesOnThisPageFormatter.php
Title.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
TitleArray.php
TitleArrayFromResult.php
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
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