Go to file
Bartosz Dziewoński 807afd1ec0 Save the reply directly to the transcluded page
* When we discover the comment comes from a transcluded page, follow
  the transclusion to find the source page. We follow transclusions
  recursively, up to an arbitrary limit of 10.
* In the reply widget, display the title of the page where we will
  save the reply, to avoid users confused why their edit won't show up
  in the history. In the wikitext workflow this is done by redirecting
  the user to the edited page at the end, but it seems less surprising
  to stay on the current page.
* After saving the reply, we must purge the current page, otherwise
  the new content will not be immediately visible on it.

Bug: T247535
Change-Id: I1c6631aa65a2fce6c1c2f0dd4a8c7aa6389caf94
2020-03-24 22:29:42 +00:00
i18n Save the reply directly to the transcluded page 2020-03-24 22:29:42 +00:00
images Add beta feature preference 2020-02-21 15:20:48 +00:00
includes controller: Make edit summary use the wiki's content language 2020-03-14 14:17:29 +01:00
maintenance Defensive use of dynamic paths in maintenance script 2020-02-20 19:51:07 +01:00
modules Save the reply directly to the transcluded page 2020-03-24 22:29:42 +00:00
tests parser: Make #getTranscludedFrom return page title in text form 2020-03-24 22:29:35 +00:00
.eslintrc.json build: Updating npm dependencies 2020-01-09 06:43:15 +00:00
.gitignore Add .gitignore file 2019-10-10 21:21:00 +01:00
.gitreview Add .gitreview 2019-10-09 21:18:34 +00:00
.phpcs.xml build: Add missing .phpcs.xml and make pass 2020-01-13 20:48:11 +01:00
.stylelintrc.json build: Updating mediawiki/mediawiki-codesniffer to 29.0.0 2020-01-14 04:55:38 +00:00
CODE_OF_CONDUCT.md build: Updating npm dependencies 2020-01-09 06:43:15 +00:00
composer.json build: Updating mediawiki/minus-x to 1.0.0 2020-01-29 03:41:40 +00:00
COPYING Add required files for an extension 2019-10-10 19:42:56 +01:00
extension.json Save the reply directly to the transcluded page 2020-03-24 22:29:42 +00:00
Gruntfile.js build: Updating npm dependencies 2020-01-09 06:43:15 +00:00
package-lock.json build: Updating npm dependencies 2020-03-20 22:13:16 +00:00
package.json build: Updating minimist to 1.2.5 2020-03-18 07:03:16 +00:00