Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression in Automatic Issue/PR Referencing in Wiki Pages after Upgrading to 1.21.2 #28526

Closed
loncardom opened this issue Dec 19, 2023 · 1 comment · Fixed by #28556
Closed
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/bug
Milestone

Comments

@loncardom
Copy link

Description

After upgrading from Gitea version 1.20.5 to 1.21.2, I encountered an issue with the automatic issue and pull request referencing feature in Wiki pages. Previously, in version 1.20.5, this functionality was operating as expected. However, since the update to 1.21.2, the feature appears to be non-functional.

I was able to reproduce this issue on a test repository: https://try.gitea.io/loncardom/test/wiki/Home.

This leads me to two questions:

  1. Was this capability in Wiki pages an unintended feature in 1.20.5?
  2. Is this change in functionality from version 1.20.5 to 1.21.2 a bug, or was it an intentional removal of the feature?

It's worth noting that the official documentation does not explicitly mention Wiki pages in the context of automatic linking, yet this feature was operational in the earlier version (1.20.5).

Gitea is awesome btw.
Thanks

Gitea Version

1.21.2

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Running Gitea through docker, though this issue is reproducible on try.gitea.io

Database

None

@wxiaoguang
Copy link
Contributor

A regression of

Before, the wiki content also renders #1 as an issue link.

image

@wxiaoguang wxiaoguang added the issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented label Dec 19, 2023
@lunny lunny added this to the 1.21.3 milestone Dec 19, 2023
lunny pushed a commit that referenced this issue Dec 20, 2023
Fix #28526, regression of 
* #26365

(although the author of #26365 has recent activities, but there is no
response for the regression, so I proposed this quick fix and keep the
fix simple to make it easier to backport to 1.21)
GiteaBot pushed a commit to GiteaBot/gitea that referenced this issue Dec 20, 2023
Fix go-gitea#28526, regression of 
* go-gitea#26365

(although the author of go-gitea#26365 has recent activities, but there is no
response for the regression, so I proposed this quick fix and keep the
fix simple to make it easier to backport to 1.21)
wxiaoguang added a commit that referenced this issue Dec 20, 2023
Backport #28556 by wxiaoguang

Fix #28526, regression of 
* #26365

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
fuxiaohei pushed a commit to fuxiaohei/gitea that referenced this issue Jan 17, 2024
Fix go-gitea#28526, regression of 
* go-gitea#26365

(although the author of go-gitea#26365 has recent activities, but there is no
response for the regression, so I proposed this quick fix and keep the
fix simple to make it easier to backport to 1.21)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2024
silverwind pushed a commit to silverwind/gitea that referenced this issue Feb 20, 2024
Fix go-gitea#28526, regression of 
* go-gitea#26365

(although the author of go-gitea#26365 has recent activities, but there is no
response for the regression, so I proposed this quick fix and keep the
fix simple to make it easier to backport to 1.21)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants