mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-23 18:38:18 +00:00
Merge "Fix parsing links to subpages in user signatures"
This commit is contained in:
commit
663643d6fd
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue