Go to file
Ammarpad 0a677f4675 fix ::getTruncatedSectionTitle() return type
This method can return false if getParsedSectionTitle() returns false

Both Language::embedBidi and Language::truncateForVisual return
non-string primitives unchanged if they're passed to them as first
argument.

Ideally the Language methods arguments should be string-typed but
I am not sure how easy that change would be now, so better to
document the possibility here.

Change-Id: I7e2856862d6508ecd1aa57ad99b92942bc4d7bed
2024-10-24 22:46:00 +00:00
.phan Use HookHandlers for UserMerge hook 2023-08-16 05:30:19 +00:00
i18n Localisation updates from https://translatewiki.net. 2024-10-21 09:20:01 +02:00
images Remove all traces of cross-wiki beta feature 2019-04-17 22:18:13 -07:00
includes fix ::getTruncatedSectionTitle() return type 2024-10-24 22:46:00 +00:00
maintenance Use namespaced classes 2024-10-20 00:55:03 +02:00
modules Merge "Fix improper @private documentation in .js code" 2024-10-08 11:23:15 +00:00
scripts Use namespaced classes 2024-10-20 00:55:03 +02:00
sql Drop schema updates from MW 1.33 and 1.34 2023-12-22 01:56:23 +00:00
tests Use namespaced classes 2024-10-20 00:55:03 +02:00
.eslintignore eslint: Use .eslintignore 2022-05-09 14:00:02 +01:00
.eslintrc.json eslint: remove redundant ruleset wikimedia/jsdoc 2024-05-15 17:31:36 +00:00
.gitignore Add DS_Store to gitignore 2021-07-13 13:58:44 -05:00
.gitreview Whoops, track not trace 2016-10-24 17:02:28 -07:00
.mailmap Update Legoktm's mailmap entry 2021-04-11 19:15:52 -07:00
.phpcs.xml tests: Resolve phpunit filename deprecation errors 2023-08-12 21:07:15 +02:00
.stylelintrc.json stylelint: Enable selector-pseudo-element-colon-notation 2023-03-30 00:24:47 +02:00
.svgo.config.js build: Update SVGO to v3.0.2 & re-crush icons 2023-06-14 19:12:11 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-03 01:46:10 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 44.0.0 2024-08-11 07:37:09 +00:00
COPYING Add COPYING 2014-01-24 16:00:24 -08:00
Echo.alias.php Add aliases for Simplified & Traditional Chinese 2024-01-07 16:55:25 +08:00
extension.json tests: Namespace the PHP classes 2024-10-03 20:30:06 +00:00
Gruntfile.js eslint: Use .eslintignore 2022-05-09 14:00:02 +01:00
jsdoc.json build: Update jsdoc-wmf-theme to 1.1.0 2024-06-26 11:31:52 +01:00
package-lock.json build: Updating micromatch to 4.0.8 2024-08-25 00:45:50 +00:00
package.json build: Update jsdoc-wmf-theme to 1.1.0 2024-06-26 11:31:52 +01:00
quibble.yaml build: Add quibble.yaml and enable early warning bot feedback 2023-03-31 11:42:44 +02:00
README.md Replace jsduck with jsdoc 2024-04-30 15:29:06 +01:00
RELEASE_NOTES BREAKING CHANGE: Use ISO 8601 for 'ts' in cross-wiki summary. 2016-07-27 17:00:05 -04:00
ServiceWiring.php Merge "Inject service RevisionStore into RevisionLocalCache" 2024-03-18 09:06:16 +00:00

The Echo extension provides an in-wiki notification system that can be used by other extensions.