Go to file
Erik Bernhardson 8da75c3a50 Detect signature using Title class
Currently echo attempts to find a signature by looking for a series of
strings starting with what it thinks are the current aliases of NS_USER
and NS_USER_TALK.  This has shown to be error prone, see the linked bug
for how a change to ru.wikipedia.org/wiki/Mediawiki:Signature broke
mention notifications.

Patch switches things arround to pull wikilinks out of the text and run
them through the Title class.  The results of this parsing are checked
for NS_USER and NS_USER_TALK, giving a much stronger guarantee of finding
translated namespaces.

Bug: 71353
Change-Id: Ib0d0f4e068339d2fd28761087c05f5a1acb3c1fc
2014-09-30 19:06:16 -07:00
api Add profiling to Echo notification API 2014-08-27 17:26:58 -07:00
controller wfDebugLog exception if thrown during formatting 2014-09-11 11:37:25 -07:00
db_patches Add TargetPage model and mapper to notifications 2014-08-13 00:48:07 +00:00
formatters Add emailsubject as a distribution type 2014-09-12 20:32:27 +00:00
i18n Localisation updates from https://translatewiki.net. 2014-09-22 21:44:27 +02:00
includes Detect signature using Title class 2014-09-30 19:06:16 -07:00
jobs Hygiene: Move master/slave code to MWEchoDbFactory 2014-08-22 14:01:57 -07:00
maintenance Delete invalid records from echo_target_page 2014-08-19 11:34:01 -07:00
model Merge "Fallback to master lookup for title when lookup in slave fails" 2014-08-27 22:52:35 +00:00
modules Remove use of deprecated "hover" pseudo-event 2014-09-19 03:02:43 +10:00
scripts Add ability to run QUnit tests 2014-08-01 15:55:22 -07:00
special Auto mark notification as read if it doesn't have target page 2014-08-15 00:11:57 +00:00
tests Detect signature using Title class 2014-09-30 19:06:16 -07:00
.gitignore QA: committing Gemfile.lock 2014-08-14 08:52:30 -07:00
.gitreview
.jshintignore Add ability to run QUnit tests 2014-08-01 15:55:22 -07:00
.jshintrc
COPYING
Echo.alias.php Localisation updates from https://translatewiki.net. 2014-08-09 19:54:35 +02:00
Echo.i18n.php Update i18n shim 2014-04-22 13:18:45 +00:00
Echo.php Mark notifications as read if they fail rendering 2014-09-08 14:22:10 -07:00
echo.sql Add TargetPage model and mapper to notifications 2014-08-13 00:48:07 +00:00
Gemfile Directory reshuffle, add dev tools 2014-08-01 22:38:41 +00:00
Hooks.php Merge "There is no welcome notification" 2014-09-02 07:34:24 +00:00
Makefile Hygiene: Dont run jshint against .less files 2014-09-05 16:45:34 -07:00
Notifier.php Fix Echo breaking 2014-08-08 21:35:58 +01:00
package.json Directory reshuffle, add dev tools 2014-08-01 22:38:41 +00:00
Resources.php Hygiene: Alter how initialisation of the overlay works 2014-09-12 22:49:51 +00:00