WikiFunctions.Variables.GetEditURL C# (CSharp) Method

GetEditURL() public static method

returns full URL to the edit page of the input title, depends on project settings
public static GetEditURL ( string title ) : string
title string
return string
        public static string GetEditURL(string title)
        {
            return (NonPrettifiedURL(title) + "&action=edit");
        }

Usage Example

Example #1
0
 /// <summary>
 /// Opens the specified articles edit page
 /// </summary>
 public static void EditArticleInBrowser(string title)
 {
     OpenURLInBrowser(Variables.GetEditURL(title));
 }