Go to file
Bartosz Dziewoński f534e78cde Fix reply links sometimes not working after visiting action=edit&section=new with new topic tool enabled
getPageData() had an optimization where, when it was called with
isNewTopic=true, it would skip querying 'linterrors' and
'transcludedfrom' data and return fake empty responses.

The issue is that they were cached, and then returned when it was
called with isNewTopic=false later.

Remove this optimization, as we make those queries anyway on init.

Change-Id: I1990b16f574c1aec385bd0fa46a9f39c6c2c1df2
2022-05-12 03:38:31 +02:00
.phan Merge "Update DiscussionTools phan configuration to match new Parsoid DOM alias config" 2022-01-20 23:34:25 +00:00
i18n Localisation updates from https://translatewiki.net. 2022-05-11 08:11:31 +02:00
images Compress emptystate.svg with svgo 2021-10-04 12:56:20 +01:00
includes Merge "Replace Action::getActionName by IContextSource::getActionName" 2022-04-20 00:15:27 +00:00
maintenance Defensive use of dynamic paths in maintenance script 2020-02-20 19:51:07 +01:00
modules Fix reply links sometimes not working after visiting action=edit&section=new with new topic tool enabled 2022-05-12 03:38:31 +02:00
sql Automatic topic subscriptions (on any edit) 2021-11-15 22:45:42 +01:00
tests Merge "Remove data-mw-comment-name attribute from subscribe links" 2022-03-29 21:01:25 +00:00
.eslintignore Fix linting on i18n key order 2021-10-07 17:37:51 +01:00
.eslintrc.json build: Updating ansi-regex to 5.0.1 2021-10-09 07:08:30 +00:00
.gitignore Remove extra blank line from .gitignore file 2020-08-31 15:24:56 +01:00
.gitreview Add .gitreview 2019-10-09 21:18:34 +00:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 32.0.0 2020-10-29 10:53:01 +00:00
.stylelintrc.json build: Update stylelint-config-wikimedia to 0.13.0 2022-05-04 23:25:06 +01:00
CODE_OF_CONDUCT.md build: Updating npm dependencies 2020-01-09 06:43:15 +00:00
composer.json Various code quality tweaks 2022-02-19 19:36:52 +01:00
COPYING Add required files for an extension 2019-10-10 19:42:56 +01:00
DiscussionTools.alias.php Translate Special:TopicSubscriptions to Czech 2021-11-22 16:23:41 +01:00
extension.json Remove limit on the number of topic subscriptions per user 2022-04-14 17:52:23 +00:00
Gruntfile.js eslint: Lint root folder with server rules 2021-10-07 17:37:52 +01:00
package-lock.json build: Update stylelint-config-wikimedia to 0.13.0 2022-05-04 23:25:06 +01:00
package.json build: Update stylelint-config-wikimedia to 0.13.0 2022-05-04 23:25:06 +01:00