Skip to content

Commit

Permalink
Fixed dangling properties in SearchGenerator.
Browse files Browse the repository at this point in the history
  • Loading branch information
CXuesong committed Aug 12, 2018
1 parent f4421e2 commit b1e0abe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions WikiClientLibrary/Generators/SearchGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ public override IEnumerable<KeyValuePair<string, object>> EnumListParameters()
{"srnamespace", NamespaceIds == null ? "*" : MediaWikiHelper.JoinValues(NamespaceIds)},
{"srwhat", MatchingField},
{"srlimit", PaginationSize},
{"srinterwiki", IncludesInterwiki},
{"srbackend", BackendName}
};
// Include redirect pages in the search. From 1.23 onwards, redirects are always included. (Removed in 1.23)
if (Site.SiteInfo.Version < new Version(1, 23))
Expand Down

0 comments on commit b1e0abe

Please sign in to comment.