1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-04 13:44:26 +08:00

Merge pull request #26378 from wooster0/typos

Fix wiki link path inconsistencies
This commit is contained in:
Bartłomiej Dach
2024-01-04 08:12:04 +01:00
committed by GitHub
Unverified
3 changed files with 4 additions and 4 deletions
@@ -275,7 +275,7 @@ Phasellus eu nunc nec ligula semper fringilla. Aliquam magna neque, placerat sed
AddStep("set content", () =>
{
markdownContainer.Text = @"
This is a paragraph containing `inline code` synatax.
This is a paragraph containing `inline code` syntax.
Oh wow I do love the `WikiMarkdownContainer`, it is very cool!
This is a line before the fenced code block:
+1 -1
View File
@@ -17,7 +17,7 @@ namespace osu.Game.Overlays.Wiki
{
public partial class WikiHeader : BreadcrumbControlOverlayHeader
{
private const string index_path = "Main_Page";
private const string index_path = "Main_page";
public static LocalisableString IndexPageString => LayoutStrings.HeaderHelpIndex;
+2 -2
View File
@@ -19,7 +19,7 @@ namespace osu.Game.Overlays
{
public partial class WikiOverlay : OnlineOverlay<WikiHeader>
{
private const string index_path = @"main_page";
private const string index_path = "Main_page";
public string CurrentPath => path.Value;
@@ -161,7 +161,7 @@ namespace osu.Game.Overlays
path.Value = "error";
LoadDisplay(articlePage = new WikiArticlePage($@"{api.WebsiteRootUrl}/wiki/",
$"Something went wrong when trying to fetch page \"{originalPath}\".\n\n[Return to the main page](Main_Page)."));
$"Something went wrong when trying to fetch page \"{originalPath}\".\n\n[Return to the main page](Main_page)."));
}
private void showParentPage()