Fixed #409: deleted pages are not displayed in RSS when category is specified (categories of a deleted page are unknown).
This commit is contained in:
parent
90c0be4082
commit
5cb2898572
2 changed files with 5 additions and 2 deletions
|
@ -278,6 +278,9 @@ namespace ScrewTurn.Wiki {
|
|||
// Check namespace
|
||||
if(p != null && NameTools.GetNamespace(p.FullName) != currentNamespace) continue;
|
||||
|
||||
// Skip deleted pages as their category binding is unknown
|
||||
if(p == null && useCat) continue;
|
||||
|
||||
// Write the item element
|
||||
rss.WriteStartElement("item");
|
||||
rss.WriteStartElement("title");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue