Merge "Fix parsing links to subpages in user signatures"

This commit is contained in:
jenkins-bot 2019-10-30 15:37:00 +00:00 committed by Gerrit Code Review
commit 663643d6fd
3 changed files with 9 additions and 6 deletions

View file

@ -500,6 +500,9 @@ function findSignature( timestampNode ) {
mwTitle.getNamespaceId() === mw.config.get( 'wgNamespaceIds' ).user_talk
) {
username = mwTitle.getMainText();
if ( username.indexOf( '/' ) !== -1 ) {
return false;
}
} else if (
mwTitle.getNamespaceId() === mw.config.get( 'wgNamespaceIds' ).special &&
mwTitle.getMainText().split( '/' )[ 0 ] === data.specialContributionsName

View file

@ -4894,7 +4894,7 @@
],
"replies": [
{
"author": "Goldenshimmer/C",
"author": "Goldenshimmer",
"level": 1,
"range": [
"0/542/0",
@ -6560,7 +6560,7 @@
],
"replies": [
{
"author": "Filelakeshoe/kocour",
"author": "Filelakeshoe",
"level": 1,
"range": [
"0/774/0",
@ -6598,7 +6598,7 @@
],
"replies": [
{
"author": "Filelakeshoe/kocour",
"author": "Filelakeshoe",
"level": 3,
"range": [
"0/781/0/10/0/0",

View file

@ -4893,7 +4893,7 @@
],
"replies": [
{
"author": "Goldenshimmer/C",
"author": "Goldenshimmer",
"level": 1,
"range": [
"65/2/0",
@ -6559,7 +6559,7 @@
],
"replies": [
{
"author": "Filelakeshoe/kocour",
"author": "Filelakeshoe",
"level": 1,
"range": [
"91/2/0",
@ -6597,7 +6597,7 @@
],
"replies": [
{
"author": "Filelakeshoe/kocour",
"author": "Filelakeshoe",
"level": 3,
"range": [
"91/12/0/10/0/0",