/// <summary> /// Gets the # of Backups that are kept in the specified wiki. Older backups are deleted after Page editing. /// </summary> /// <param name="wiki">The wiki.</param> /// <remarks>-1 indicates that no backups are deleted.</remarks> public static int GetKeptBackupNumber(string wiki) { return(SettingsTools.GetInt(GetProvider(wiki).GetSetting("KeptBackupNumber"), -1)); }
/// <summary> /// Gets the max number of recent changes to log for the given wiki. /// </summary> /// <param name="wiki">The wiki.</param> public static int GetMaxRecentChanges(string wiki) { return(SettingsTools.GetInt(GetProvider(wiki).GetSetting("MaxRecentChanges"), 100)); }
/// <summary> /// Gets the number of items displayed in pages/users lists for the given wiki. /// </summary> /// <param name="wiki">The wiki.</param> public static int GetListSize(string wiki) { return(SettingsTools.GetInt(GetProvider(wiki).GetSetting("ListSize"), 50)); }