Go to file
Thiemo Kreuz 0c7bd7dbc8 Wrap unknown \A escape sequence in single quotes
In double quoted strings PHP tries to understand all kinds of escape
sequences, but \A is not one of them. Such sequences are left untouched,
including the backslash.

In single quoted strings, there are no escape sequences. All are left
untouched, which is what we want in case of a regular expression.

TL;DR: The resulting string is the same in both cases. I'm touching this
because my IDE shows a warning about the unknown \A escape sequence.
It must be either turned into "\\A" or '\A'.

Change-Id: Ie1e84c67c344faf77bc86a0b28dc82d31c3a7dbe
2018-09-25 18:05:40 +02: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. 2018-09-24 09:18:00 +02:00
images Unify BetaFeatures SVG screenshot markup 2017-12-19 09:01:12 -08:00
includes Wrap unknown \A escape sequence in single quotes 2018-09-25 18:05:40 +02:00
maintenance Split long lines over 140 chars 2018-08-25 12:51:14 +02:00
modules Merge "Replace deprecated 'advanced' by renamed to 'settings' icon" 2018-09-12 16:45:29 +00:00
scripts Remove obsolete scripts/generatecss.php 2018-09-09 17:07:26 -07:00
tests Add @group Database to unit test 2018-09-14 22:29:34 +02:00
.eslintrc.json build: Update linters 2018-09-11 23:46:52 +01:00
.gitignore Remove Ruby browser tests 2017-12-20 12:29:01 +01:00
.gitreview Whoops, track not trace 2016-10-24 17:02:28 -07:00
.mailmap Add Kunal, Moriel, Jon to credits; add mailmap file 2015-12-15 16:30:19 -08:00
.phpcs.xml Fix phpunit @group annotation 2018-09-09 20:41:59 +02:00
.stylelintrc.json build: Update linters 2018-02-04 21:23:28 +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: Make pass phan-taint-check 1.5.0 2018-09-14 02:04:03 +00:00
COPYING Add COPYING 2014-01-24 16:00:24 -08:00
Echo.alias.php Add special page alias for Serbian in latin variant 2018-08-15 15:49:16 +02:00
echo.sql Merge "Add a primary key to the echo_notification table" 2016-11-23 18:35:53 +00:00
extension.json Rename ApiCrossWikiBase -> ApiCrossWiki and make it a trait 2018-08-29 18:03:16 -07:00
Gruntfile.js build: Extend 'svgmin' options and move to 'minify' task 2018-05-29 10:26:22 -07: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 Remove obsolete scripts/generatecss.php 2018-09-09 17:07:26 -07:00
package.json build: Update linters 2018-09-11 23:46:52 +01:00
RELEASE_NOTES BREAKING CHANGE: Use ISO 8601 for 'ts' in cross-wiki summary. 2016-07-27 17:00:05 -04:00