Go to file
Ammarpad ad99faef19 Handle hidden revision in more places
Instead of checking section->exists() everywhere we have to call
getTruncatedSectionTitle(), override the method inside
PlaintextEchoPresentationModelSection class to make it always
return string for our case.

Call to getTruncatedSectionTitle() in the following classes now use
the method override:

* RemovedTopicPresentationModel
* SubscribedNewCommentPresentationModel
* AddedTopicPresentationModel

The call to getTruncatedSectionTitle() in CommentThanksPresentationModel
does not need nor use the override.

Bug: T378261
Change-Id: Ibe985da5c1a79c5a1853d9c4896f8769cce6ddfd
2024-11-02 22:15:34 +01:00
.phan Comment thanking 2024-05-28 17:47:09 +02:00
i18n Localisation updates from https://translatewiki.net. 2024-11-01 08:35:30 +01:00
images Compress emptystate.svg with svgo 2021-10-04 12:56:20 +01:00
includes Handle hidden revision in more places 2024-11-02 22:15:34 +01:00
maintenance Use namespaced classes 2024-10-19 23:39:18 +02:00
modules Do not embed the "You have been subscribed" popup image 2024-10-11 22:35:48 +02:00
sql Store permalink data, implement Special:FindComment/GoToComment 2022-08-11 01:19:47 +02:00
tests Use namespaced classes 2024-10-19 23:39:18 +02:00
.eslintignore ESLint: Autofix no-var rule 2024-05-24 16:49:36 +01:00
.eslintrc.json Don't enforce alphabetical order in i18n files 2022-08-12 13:29:39 +03:00
.gitignore Remove extra blank line from .gitignore file 2020-08-31 15:24:56 +01:00
.gitreview .gitreview: Remove defaultrebase/defaultbranch 2023-09-09 21:37:34 +00:00
.phpcs.xml build: Rewrite exclude rule Generic.CodeAnalysis.AssignmentInCondition 2024-09-01 02:19:03 +00:00
.stylelintrc.json Move "Return to comment" below sticky header when present 2022-09-25 13:28:12 +01:00
.svgo.config.mjs build: Provide SVGO for crunching SVG files 2024-10-10 18:17:01 -04:00
CODE_OF_CONDUCT.md build: Updating npm dependencies 2020-01-09 06:43:15 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 2024-11-02 06:55:33 +00:00
COPYING Add required files for an extension 2019-10-10 19:42:56 +01:00
DiscussionTools.alias.php Add Simplified Chinese special page aliases 2024-06-30 14:22:24 +08:00
DiscussionTools.magic.php Add Simplified Chinese magic word aliases 2024-06-30 15:12:42 +08:00
extension.json Show confirmation prompt if trying to submit a new topic without a title 2024-08-06 09:44:27 -05:00
Gruntfile.js Setup grunt-tyops and fix 2024-03-27 14:01:18 +00:00
package-lock.json build: Provide SVGO for crunching SVG files 2024-10-10 18:17:01 -04:00
package.json build: Provide SVGO for crunching SVG files 2024-10-10 18:17:01 -04:00
typos.json Setup grunt-tyops and fix 2024-03-27 14:01:18 +00:00