mirror of
https://github.com/go-gitea/gitea.git
synced 2026-03-22 06:24:14 -05:00
Uploads on the wiki #197
Open
opened 2025-11-02 03:13:29 -06:00 by GiteaMirror
·
35 comments
No Branch/Tag Specified
main
release/v1.25
release/v1.24
release/v1.23
release/v1.22
release/v1.21
release/v1.20
release/v1.19
release/v1.18
release/v1.17
release/v1.16
release/v1.15
release/v1.14
release/v1.13
release/v1.12
release/v1.11
release/v1.10
release/v1.9
release/v1.8
v1.25.3
v1.25.2
v1.25.1
v1.25.0
v1.24.7
v1.25.0-rc0
v1.26.0-dev
v1.24.6
v1.24.5
v1.24.4
v1.24.3
v1.24.2
v1.24.1
v1.24.0
v1.23.8
v1.24.0-rc0
v1.25.0-dev
v1.23.7
v1.23.6
v1.23.5
v1.23.4
v1.23.3
v1.23.2
v1.23.1
v1.23.0
v1.23.0-rc0
v1.24.0-dev
v1.22.6
v1.22.5
v1.22.4
v1.22.3
v1.22.2
v1.22.1
v1.22.0
v1.23.0-dev
v1.22.0-rc1
v1.21.11
v1.22.0-rc0
v1.21.10
v1.21.9
v1.21.8
v1.21.7
v1.21.6
v1.21.5
v1.21.4
v1.21.3
v1.21.2
v1.20.6
v1.21.1
v1.21.0
v1.21.0-rc2
v1.21.0-rc1
v1.20.5
v1.22.0-dev
v1.21.0-rc0
v1.20.4
v1.20.3
v1.20.2
v1.20.1
v1.20.0
v1.19.4
v1.21.0-dev
v1.20.0-rc2
v1.20.0-rc1
v1.20.0-rc0
v1.19.3
v1.19.2
v1.19.1
v1.19.0
v1.19.0-rc1
v1.20.0-dev
v1.19.0-rc0
v1.18.5
v1.18.4
v1.18.3
v1.18.2
v1.18.1
v1.18.0
v1.17.4
v1.18.0-rc1
v1.19.0-dev
v1.18.0-rc0
v1.17.3
v1.17.2
v1.17.1
v1.17.0
v1.17.0-rc2
v1.16.9
v1.17.0-rc1
v1.18.0-dev
v1.16.8
v1.16.7
v1.16.6
v1.16.5
v1.16.4
v1.16.3
v1.16.2
v1.16.1
v1.16.0
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.2
v1.3.1
v1.3.0
v1.3.0-rc2
v1.3.0-rc1
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.2.0-rc3
v1.2.0-rc2
v1.1.4
v1.2.0-rc1
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.2
v1.0.1
v1.0.0
v0.9.99
Labels
Clear labels
$20
$250
$50
$500
backport/done
💎 Bounty
docs-update-needed
good first issue
hacktoberfest
issue/bounty
issue/confirmed
issue/critical
issue/duplicate
issue/needs-feedback
issue/not-a-bug
issue/regression
issue/stale
issue/workaround
lgtm/need 2
modifies/api
modifies/translation
outdated/backport/v1.18
outdated/theme/markdown
outdated/theme/timetracker
performance/bigrepo
performance/cpu
performance/memory
performance/speed
pr/breaking
proposal/accepted
proposal/rejected
pr/wip
pull-request
reviewed/wontfix
💰 Rewarded
skip-changelog
status/blocked
topic/accessibility
topic/api
topic/authentication
topic/build
topic/code-linting
topic/commit-signing
topic/content-rendering
topic/deployment
topic/distribution
topic/federation
topic/gitea-actions
topic/issues
topic/lfs
topic/mobile
topic/moderation
topic/packages
topic/pr
topic/projects
topic/repo
topic/repo-migration
topic/security
topic/theme
topic/ui
topic/ui-interaction
topic/ux
topic/webhooks
topic/wiki
type/bug
type/deprecation
type/docs
type/enhancement
type/feature
type/miscellaneous
type/proposal
type/question
type/refactoring
type/summary
type/testing
type/upstream
Mirrored from GitHub Pull Request
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/gitea#197
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Fastidious on GitHub (Jan 3, 2017).
While we can upload files on issues, we can't on the wiki. Could this be implemented?
Want to back this issue?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
@bkcsoft commented on GitHub (Jan 6, 2017):
IIRC this was being worked on for the new web-editor. But I could be mistaken
@Fastidious commented on GitHub (Jan 8, 2017):
@bkcsoft got a link? I would assume this needs more than a web-editor.
@bkcsoft commented on GitHub (Jan 9, 2017):
https://github.com/gogits/gogs/pull/3443/files#diff-da541ef36e39344f2e12bddd91d363e2R507
@lunny commented on GitHub (Jan 25, 2017):
Why he close that PR?
@lunny commented on GitHub (Jan 26, 2017):
bountysource.com, but there are some bugs.
@onewhaleid commented on GitHub (Feb 14, 2018):
What is the status of this?
@lunny commented on GitHub (Feb 17, 2018):
Nobody are working on this.
@Fastidious commented on GitHub (Nov 15, 2018):
Bounty posted. Small, but I hope someone claims their cup of coffee!
@rlogiacco commented on GitHub (Dec 11, 2018):
I added a beer, hopefully, drank before the coffee 😄
@nextlogic-ono commented on GitHub (Dec 18, 2018):
Linking to Gogs' issue. Hopefully someone on either side can get it done.
https://github.com/gogs/gogs/issues/2263
Added to the bounty.
@gabrielsimoes commented on GitHub (Jan 20, 2019):
I'd like to try tackling this issue.
Are the uploads supposed to be treated like issue attachments or uploaded to the wiki repo?
EDIT: more info on the two options at gogs/gogs#2263
@rlogiacco commented on GitHub (Jan 20, 2019):
I believe both: some of us (me) are looking for wiki uploads, others for
issue attachments
Il giorno dom 20 gen 2019 alle 20:13 Gabriel Silva Simões <
notifications@github.com> ha scritto:
@Fastidious commented on GitHub (Jan 21, 2019):
Upload to wiki repository, and link it to wiki page, just like it is possible on Gtihub issues, for example.
@lunny commented on GitHub (Jan 22, 2019):
@rlogiacco issue attachments has been implemented already.
@Fastidious commented on GitHub (Jan 22, 2019):
@lunny he wasn’t referring to issues attachments directly. He was asking how should uploads be implemented on wiki.
@lunny commented on GitHub (Jan 23, 2019):
@Fastidious maybe someone could give some UI design ideas? Or just like gitea did on issue comment?
@nextlogic-ono commented on GitHub (Jan 23, 2019):
I don't see a problem using the same UI as the issues. Maybe add an icon in the toolbar for file uploads.
@gabrielsimoes commented on GitHub (Jan 23, 2019):
#5814 already allows for manually uploading images to
repo.wikiand referencing them using/wiki/raw/*. Once it gets merged, I will work on a UI for that.@gabrielsimoes commented on GitHub (Jan 25, 2019):
I need some input: should users be allowed to upload files to folders inside the wiki repo? Or only to the root folder?
@Fastidious commented on GitHub (Jan 25, 2019):
@gabrielsimoes for neatness, and organisational purposes, I prefer to upload to directories within the wiki repository. But why not just allow uploads to the wiki repository, without imposing location restrictions?
@gabrielsimoes commented on GitHub (Jan 25, 2019):
Uploading to directories by cloning the wiki repo has always been allowed. The only problem was that /wiki/raw/ had a bug restraining it from serving the files.
I'm currently implementing the UI interface for uploading files to the wiki. Should it allow uploads to specific folders inside the wiki repo? If so, implementing it would involve expanding some of the internal repo code to wiki repos.
@Fastidious commented on GitHub (Jan 25, 2019):
Since this is to upload files, and use them on the web interface, would using a set directory to hold all uploads be a good idea then? Similar to how issues does it (i.e.,
/attachments/088cd773-c443-4e46-98f3-6f7f32d678b5).@techknowlogick commented on GitHub (Jan 25, 2019):
As wiki is a repo, I think we should do exactly how we do file uploads on the standard repos, in that it adds a binary file to the underlying git repo. I would like to avoid putting them on server, as that would separate the file from the wiki itself (plus migrations/clones wouldn't include the file). I think LFS would be a good place to put the files, however not all servers have LFS enable, and so that is why I ended up thinking directly in the root of the repo as the place to put them. Please let me know if you need clarification on the wall of text I just wrote.
@Fastidious commented on GitHub (Feb 7, 2019):
@gabrielsimoes how goes? Let me know if there is something I can do to make this happen!
@Cherrg commented on GitHub (Jun 18, 2019):
I have summed up the tasks here https://github.com/go-gitea/gitea/issues/6975#issuecomment-503125546
@Fastidious commented on GitHub (Jan 27, 2020):
We passed the three years mark on this one 🤧. As a reminder, there is a $150 bounty on it.
@nextlogic-ono commented on GitHub (May 30, 2020):
Anyone?
I've doubled the bounty to $300.
If no one would take it, I'll withdraw by the end of the year.
@BLumia commented on GitHub (Jul 20, 2020):
Since I also need this feature so I'm trying to implement this feature. Here are some progress I made and current implementation can be seen at #12279.
Screenshots about file upload
The current state should just works but I still get some issue not have been solved since I'm not so familiar with the gitea codebase. So it's not ready to merge/use right now. Also since I can only try to work on this feature on my free time, so I probably still need some time to get the feature implemented properly...
@ivptr commented on GitHub (Dec 22, 2022):
I found two pull requests for this issue: https://github.com/go-gitea/gitea/pull/6024 and https://github.com/go-gitea/gitea/pull/12279
@lunny any chance to check them out? Thanks.
@lunny commented on GitHub (Dec 23, 2022):
Currently nobody are working on that PRs
@brtwrst commented on GitHub (May 30, 2024):
for me, this is the one thing that keeps wikis from being useful. Reeally hope this happens at some point.
@Fastidious commented on GitHub (Jun 17, 2024):
Seven years, and it almost feels like yesterday. Time does fly!
@GlitchedPolygons commented on GitHub (Jun 19, 2024):
same. I wish I had the time to do it myself and work on a PR 😞
@nhh commented on GitHub (Sep 4, 2025):
I dont really use the wiki due to this limitation. I NEED to easily copy paste images to the wiki like in issues.
@GlitchedPolygons commented on GitHub (Sep 4, 2025):
same 🙁 been using an external wiki ever since