wiki.techinc.nl/includes
Bartosz Dziewoński f32446684a GitInfo: Fix Phan warning on Windows
On my Windows machine, I was getting the following Phan warning:

includes\utils\GitInfo.php:159 UnusedPluginSuppression
  Plugin BuiltinSuppressionPlugin suppresses issue
  PhanPluginDuplicateArrayKey on this line but this
  suppression is unused or suppressed elsewhere

Indeed, this isn't a PhanPluginDuplicateArrayKey issue on Windows,
since DIRECTORY_SEPARATOR is `\`; but it is a legitimate warning
on other systems where DIRECTORY_SEPARATOR is `/`.

Refactor the code slightly so as to not create an array with
potentially duplicate keys.

Change-Id: I4be38aa9fefde26d58139d74a85359961229baec
2024-04-05 23:12:02 +02:00
..
actions Add explicit parentheses around mixed boolean operator 2024-03-23 01:58:59 +01:00
api Localisation updates from https://translatewiki.net. 2024-04-01 09:05:18 +02:00
auth Add explicit parentheses around mixed boolean operator 2024-03-23 01:58:59 +01:00
block Merge "Use explicit value checks where "0" is valid input" 2024-03-30 21:45:32 +00:00
cache Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
Category Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
changes Merge "RecentChange: Avoid duplicate patrol log entry after patrol conflict" 2024-03-02 18:03:23 +00:00
changetags Rename dropdown-related methods to avoid random camel-case 2024-03-09 02:31:33 +01:00
collation
CommentFormatter SECURITY: Ensure CommentParser link processing does not lead to XSS 2024-03-28 22:51:59 +00:00
CommentStore Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
composer Update Apache config syntax in .htaccess files 2024-03-23 23:36:31 -04:00
config Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
content Merge "HtmlOutputRendererHelper: fall back to page language" 2024-03-13 15:57:24 +00:00
context Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
dao
db rdbms: Use AS_RAW for config validation output 2024-02-16 15:59:59 +11:00
debug debug: Add MW class as helper for eval.php and shell.php 2024-03-13 19:07:27 -07:00
deferred Drop old class_aliases for before MW 1.39 that were missed 2024-03-20 12:10:42 +00:00
diff Always show patrol link regardless of whether in diff-only mode 2024-02-22 16:10:37 -08:00
edit Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
editpage Merge "Use explicit value checks where "0" is valid input" 2024-03-30 21:45:32 +00:00
exception Namespace includes/context 2024-02-08 11:07:01 -05:00
export Update name & email for bvibber 2024-02-08 17:02:16 -08:00
ExternalLinks Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
externalstore externalstore: Pass Query object when initializing tables 2024-03-29 22:40:44 +00:00
Feed Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
filebackend build: Upgrade mediawiki/mediawiki-phan-config from 0.13.0 to 0.14.0 manually 2024-02-10 02:22:41 +00:00
filerepo Type hint IReadableDatabase on IConnectionProvider::getReplicaDatabase 2024-03-16 16:02:11 +00:00
gallery Move Parser to Mediawiki\Parser namespace 2024-02-16 09:18:38 -05:00
historyblob
Hook Fix misplaced EditFilterHook return value documentation 2024-02-22 09:49:01 +11:00
HookContainer SpecialPrefixIndex: Allow extensible filters 2024-02-18 16:43:43 +05:30
Html Avoid deprecated Xml::checkLabel 2024-03-26 01:07:31 +00:00
htmlform Merge "CodexHTMLForm: Make form submit button container a div" 2024-04-02 02:44:31 +00:00
http build: Resolve MediaWikiNoEmptyIfDefined suppression 2024-02-14 21:47:18 +01:00
import Update name & email for bvibber 2024-02-08 17:02:16 -08:00
installer Localisation updates from https://translatewiki.net. 2024-04-01 09:05:18 +02:00
interwiki
jobqueue Fix use of ReplaceQueryBuilder::rows 2024-04-01 23:57:03 +02:00
json
language Add explicit parentheses around mixed boolean operator 2024-03-23 01:58:59 +01:00
languages [Languages] Add Ibibio (ibb) 2024-02-19 15:32:22 +00:00
libs rdbms: Introduce RawSQLExpression for edge cases 2024-04-02 20:04:58 +02:00
linkeddata Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
linker Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
logging Merge "logging: Add LogFormatterFactory" 2024-04-02 19:07:28 +00:00
mail Merge "Replace trivial UrlUtils use with parse_url()" 2024-02-13 14:25:57 +00:00
Maintenance Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
media mime: Improve docs, add ingroup tags to class doc blocks 2024-03-13 12:46:08 -07:00
Message Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
Navigation Namespace Message, move to appropriate directory 2024-02-14 15:10:36 -05:00
objectcache objectcache: Restore default keyspace for LocalServerCache service 2024-03-28 19:47:44 +01:00
Output Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
OutputTransform Merge "HandleSectionLinks: Remove old debug logging for resolved bug" 2024-03-12 18:34:28 +00:00
page Move away from DBAccessObjectUtils::getDBOptions in more places 2024-03-25 14:45:43 +01:00
pager Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
ParamValidator/TypeDef
parser Improve error localization in REST handlers 2024-04-02 16:49:40 +00:00
password Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
Permissions Namespace includes/cache 2024-02-20 10:28:03 -05:00
poolcounter Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
preferences [i18n] Add missing localizations for linterror-* 2024-03-29 18:14:43 -04:00
profiler Use typed properties in SectionProfileCallback 2024-04-01 00:38:23 +00:00
rcfeed Add explicit parentheses around mixed boolean operator 2024-03-23 01:58:59 +01:00
registration Use typed properties in MissingExtensionException 2024-04-01 16:34:56 +00:00
RenameUser
Request WebRequest: detectServer appends default ports that should be omitted 2024-03-28 11:03:28 +00:00
ResourceLoader Merge "ResourceLoader: Create window.QUnit as undefined in production" 2024-03-26 19:14:56 +00:00
Rest Improve error localization in REST handlers 2024-04-02 16:49:40 +00:00
Revision Fix some spelling errors 2024-03-18 20:58:11 +11:00
revisiondelete Type hint IReadableDatabase in RevisionListBase 2024-03-14 00:10:37 +01:00
revisionlist Type hint IReadableDatabase in RevisionListBase 2024-03-14 00:10:37 +01:00
search Fix use of ReplaceQueryBuilder::rows 2024-04-01 23:57:03 +02:00
session Add explicit parentheses around mixed boolean operator 2024-03-23 01:58:59 +01:00
Settings build: Upgrade mediawiki/mediawiki-phan-config from 0.13.0 to 0.14.0 manually 2024-02-10 02:22:41 +00:00
shell
site Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
SiteStats Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
skins Add explicit parentheses around mixed boolean operator 2024-03-23 01:58:59 +01:00
sparql
specialpage SpecialPage: Drop listed() and setListed(), deprecated in 1.35 2024-03-28 12:44:24 +00:00
specials Merge "ResourceLoader: Inline logError and simplify mw.trackError further" 2024-04-02 18:13:21 +00:00
Status Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
Storage Merge "rdbms: Remove more usages of DBAccessObjectUtils::getDBOptions()" 2024-02-27 14:14:12 +00:00
StubObject Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
templates
tidy Merge "HtmlHelper: Fix entity encoding when $html5format = false" 2024-02-15 03:30:11 +00:00
title Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
upload Switch Special:Upload to use async upload-by-url 2024-03-28 11:01:46 +01:00
user user: Minor clean up of PasswordReset isEnabled/isAllowed 2024-03-29 02:56:28 +00:00
utils GitInfo: Fix Phan warning on Windows 2024-04-05 23:12:02 +02:00
watcheditem Add explicit parentheses around mixed boolean operator 2024-03-23 01:58:59 +01:00
watchlist
widget
WikiMap Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
xml Rename dropdown-related methods to avoid random camel-case 2024-03-09 02:31:33 +01:00
.htaccess Update Apache config syntax in .htaccess files 2024-03-23 23:36:31 -04:00
AutoLoader.php
BootstrapHelperFunctions.php
config-schema.php Merge "Switch Special:Upload to use async upload-by-url" 2024-03-28 15:22:13 +00:00
DefaultSettings.php
Defines.php
DevelopmentSettings.php
EntryPointEnvironment.php
GlobalFunctions.php Hard-deprecate wfGetDB(), deprecated in 1.39 2024-03-25 16:28:23 +00:00
MainConfigNames.php Merge "Switch Special:Upload to use async upload-by-url" 2024-03-28 15:22:13 +00:00
MainConfigSchema.php MainConfigSchema: Consistently mark unstable flags as @unstable 2024-03-29 18:07:41 -07:00
MediaWiki.php Namespace includes/context 2024-02-08 11:07:01 -05:00
MediaWikiEntryPoint.php ResourceLoader: Follow-up creation of ResourceLoaderEntryPoint 2024-02-22 22:30:39 +00:00
MediaWikiServices.php logging: Add LogFormatterFactory 2024-03-30 11:37:38 +01:00
PHPVersionCheck.php
ServiceWiring.php logging: Add LogFormatterFactory 2024-03-30 11:37:38 +01:00
Setup.php Replace trivial UrlUtils use with parse_url() 2024-02-13 13:06:51 +00:00
SetupDynamicConfig.php logging: Inject services into PageLangLogFormatter 2024-03-28 01:32:02 +00:00
WebStart.php Namespace includes/context 2024-02-08 11:07:01 -05:00