Added warning when transcluding an inexistent page.
This commit is contained in:
parent
fef1495165
commit
1d819c137f
2 changed files with 3 additions and 2 deletions
|
@ -401,6 +401,7 @@ namespace ScrewTurn.Wiki {
|
|||
dummy.Append("</div>");
|
||||
sb.Insert(match.Index, dummy.ToString());
|
||||
}
|
||||
else sb.Insert(match.Index, @"<b style=""color: #FF0000;"">FORMATTER ERROR (Transcluded inexistent page or this same page)</b>");
|
||||
}
|
||||
ComputeNoWiki(sb.ToString(), ref noWikiBegin, ref noWikiEnd);
|
||||
match = TransclusionRegex.Match(sb.ToString(), end);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue