Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed prop=info, so that it doesn't retrieve unnecessary parameters

  • Loading branch information...
commit 103f31ed06de08c2042d0cf1f4d786432e94d9df 1 parent 68a6d8e
@svick authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  LinqToWiki.Core/Expressions/PageExpressionParser.cs
View
3  LinqToWiki.Core/Expressions/PageExpressionParser.cs
@@ -78,6 +78,9 @@ protected override Expression VisitMember(MemberExpression node)
{
var memberName = node.Member.Name;
+ if (memberName == "info")
+ return m_pageDataGetInfoCall;
+
if (!m_parameters.ContainsKey(memberName))
m_parameters.Add(memberName, new PropQueryParameters(memberName));
Please sign in to comment.
Something went wrong with that request. Please try again.