Go to file
WMDE-Fisch d6f011aa1a Fix mentions failing editing empty pages
For the used diff engines an empty/new page is equivalent
to an empty line. When adding content that includes an
empty line the content will be split into two parts. The
interpreted diff will then consist of one addition, one
copied line and another addition.

Is the ping in the first addition and the signature in the
second addition the DiscussionParser does not send mentions.

The patch introduces a special case when interpreting diffs
if content is added to empty content. This will also skip
execution off diff engines since the interpretation is trivial.

Bug: T155998
Change-Id: Id5e44bc3245940c1f77c80f036db637756542552
2017-02-10 14:39:13 +00:00
db_patches Merge "Add a primary key to the echo_notification table" 2016-11-23 18:35:53 +00:00
i18n Localisation updates from https://translatewiki.net. 2017-02-06 22:31:12 +01:00
images Update beta feature screenshots to use proper layout and colours 2016-10-12 16:01:43 -07:00
includes Fix mentions failing editing empty pages 2017-02-10 14:39:13 +00:00
maintenance Fix generation of sample 'reverted' notifications 2016-12-21 12:29:04 -05:00
modules Remove calls to debouncedUpdateThemeClasses 2017-01-20 10:48:32 -05:00
scripts build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
tests Fix mentions failing editing empty pages 2017-02-10 14:39:13 +00:00
.eslintrc.json build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
.gitignore Expand .gitignore for more editors 2016-11-13 12:56:00 +01:00
.gitreview Whoops, track not trace 2016-10-24 17:02:28 -07:00
.mailmap
.rubocop.yml
.stylelintrc build: Extend stylelint to further rules 2016-10-05 14:52:29 -07:00
composer.json build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
COPYING
Echo.alias.php Echo.alias for Bengali (bn) 2016-11-30 16:52:36 +00:00
Echo.php Fix wgMessagesDirs in php entry point 2017-01-06 13:28:49 +00:00
echo.sql Merge "Add a primary key to the echo_notification table" 2016-11-23 18:35:53 +00:00
extension.json Split API messages to a separate file 2016-12-16 15:27:03 +00:00
Gemfile Browser tests: update to mw-selenium 1.7.2 and https 2016-08-11 15:47:42 -04:00
Gemfile.lock Browser tests: update to mw-selenium 1.7.2 and https 2016-08-11 15:47:42 -04:00
Gruntfile.js build: Re-use MessageDirs in banana conf 2017-01-23 14:26:17 +00:00
Hooks.php Fix typos and incomplete PHPDoc tags 2016-12-28 12:57:26 +01:00
jsduck.external.js jsduck: Remove custom @source tag 2016-09-21 00:51:46 +01:00
jsduck.json Add JSDuck support and fix errors 2016-05-11 14:07:12 -07:00
jsduck_custom_tags.rb jsduck: Remove custom @source tag 2016-09-21 00:51:46 +01:00
Makefile
package.json build: Replace jscs/jshint with eslint 2016-11-23 15:25:59 -08:00
phpcs.xml Remove forced -p (progress) flag from phpcs.xml 2016-04-26 14:21:28 -07:00
Rakefile Migration of browsertests* Jenkins jobs to selenium* jobs 2016-04-25 17:54:45 +02:00
RELEASE_NOTES BREAKING CHANGE: Use ISO 8601 for 'ts' in cross-wiki summary. 2016-07-27 17:00:05 -04:00