Skip to content

Commit

Permalink
Change ContentSectionInfo.Index to string type.
Browse files Browse the repository at this point in the history
Titles in transcluded templates may have an index of "T-1", "T-2", etc.
  • Loading branch information
CXuesong committed Jul 12, 2017
1 parent 57a6725 commit 8e1ab82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WikiClientLibrary/Sites/ParsedContentInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public class ContentSectionInfo
/// especially when the heading is included in a template.
/// </remarks>
[JsonProperty]
public int? Index { get; private set; }
public string Index { get; private set; }

/// <summary>
/// Heading text.
Expand Down

0 comments on commit 8e1ab82

Please sign in to comment.