Uploads on the wiki #197

Open
opened 2025-11-02 03:13:29 -06:00 by GiteaMirror · 35 comments
Owner

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.

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?* * [Post a bounty on it!](https://www.bountysource.com/issues/40672915-uploads-on-the-wiki?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github) * We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github). <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40672915-uploads-on-the-wiki?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github). </bountysource-plugin>
GiteaMirror added the type/featureissue/confirmed labels 2025-11-02 03:13:29 -06:00
Author
Owner

@bkcsoft commented on GitHub (Jan 6, 2017):

IIRC this was being worked on for the new web-editor. But I could be mistaken

@bkcsoft commented on GitHub (Jan 6, 2017): IIRC this was being worked on for the new web-editor. But I could be mistaken
Author
Owner

@Fastidious commented on GitHub (Jan 8, 2017):

@bkcsoft got a link? I would assume this needs more than a web-editor.

@Fastidious commented on GitHub (Jan 8, 2017): @bkcsoft got a link? I would assume this needs more than a web-editor.
Author
Owner
@bkcsoft commented on GitHub (Jan 9, 2017): https://github.com/gogits/gogs/pull/3443/files#diff-da541ef36e39344f2e12bddd91d363e2R507
Author
Owner

@lunny commented on GitHub (Jan 25, 2017):

Why he close that PR?

@lunny commented on GitHub (Jan 25, 2017): Why he close that PR?
Author
Owner

@lunny commented on GitHub (Jan 26, 2017):

bountysource.com, but there are some bugs.

@lunny commented on GitHub (Jan 26, 2017): bountysource.com, but there are some bugs.
Author
Owner

@onewhaleid commented on GitHub (Feb 14, 2018):

What is the status of this?

@onewhaleid commented on GitHub (Feb 14, 2018): What is the status of this?
Author
Owner

@lunny commented on GitHub (Feb 17, 2018):

Nobody are working on this.

@lunny commented on GitHub (Feb 17, 2018): Nobody are working on this.
Author
Owner

@Fastidious commented on GitHub (Nov 15, 2018):

Bounty posted. Small, but I hope someone claims their cup of coffee!

@Fastidious commented on GitHub (Nov 15, 2018): [Bounty posted](https://www.bountysource.com/issues/40672915-uploads-on-the-wiki). Small, but I hope someone claims their cup of coffee!
Author
Owner

@rlogiacco commented on GitHub (Dec 11, 2018):

I added a beer, hopefully, drank before the coffee 😄

@rlogiacco commented on GitHub (Dec 11, 2018): I added a beer, hopefully, drank before the coffee :smile:
Author
Owner

@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.

@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.
Author
Owner

@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

@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
Author
Owner

@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:

I'd like to try tackling this issue.

Are the uploads supposed to be treated like issue attachments or uploaded
to the wiki repo?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/go-gitea/gitea/issues/574#issuecomment-455893551, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAMLMQZZHwEaZJXps-_v0yEe4Q9EeQ_5ks5vFL_RgaJpZM4LZsse
.

@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: > I'd like to try tackling this issue. > > Are the uploads supposed to be treated like issue attachments or uploaded > to the wiki repo? > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <https://github.com/go-gitea/gitea/issues/574#issuecomment-455893551>, or mute > the thread > <https://github.com/notifications/unsubscribe-auth/AAMLMQZZHwEaZJXps-_v0yEe4Q9EeQ_5ks5vFL_RgaJpZM4LZsse> > . >
Author
Owner

@Fastidious commented on GitHub (Jan 21, 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

Upload to wiki repository, and link it to wiki page, just like it is possible on Gtihub issues, for example.

@Fastidious commented on GitHub (Jan 21, 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](https://github.com/gogs/gogs/issues/2263) Upload to wiki repository, and link it to wiki page, just like it is possible on Gtihub issues, for example.
Author
Owner

@lunny commented on GitHub (Jan 22, 2019):

@rlogiacco issue attachments has been implemented already.

@lunny commented on GitHub (Jan 22, 2019): @rlogiacco issue attachments has been implemented already.
Author
Owner

@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.

@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.
Author
Owner

@lunny commented on GitHub (Jan 23, 2019):

@Fastidious maybe someone could give some UI design ideas? Or just like gitea did on issue comment?

@lunny commented on GitHub (Jan 23, 2019): @Fastidious maybe someone could give some UI design ideas? Or just like gitea did on issue comment?
Author
Owner

@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.

@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.
Author
Owner

@gabrielsimoes commented on GitHub (Jan 23, 2019):

#5814 already allows for manually uploading images to repo.wiki and referencing them using /wiki/raw/*. Once it gets merged, I will work on a UI for that.

@gabrielsimoes commented on GitHub (Jan 23, 2019): #5814 already allows for manually uploading images to `repo.wiki` and referencing them using `/wiki/raw/*`. Once it gets merged, I will work on a UI for that.
Author
Owner

@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?

@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?
Author
Owner

@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?

@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?
Author
Owner

@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.

@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.
Author
Owner

@Fastidious commented on GitHub (Jan 25, 2019):

Should it allow uploads to specific folders inside the wiki repo?

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).

@Fastidious commented on GitHub (Jan 25, 2019): > Should it allow uploads to specific folders inside the wiki repo? 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`).
Author
Owner

@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.

@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.
Author
Owner

@Fastidious commented on GitHub (Feb 7, 2019):

@gabrielsimoes how goes? Let me know if there is something I can do to make this happen!

@Fastidious commented on GitHub (Feb 7, 2019): @gabrielsimoes how goes? Let me know if there is something I can do to make this happen!
Author
Owner

@Cherrg commented on GitHub (Jun 18, 2019):

I have summed up the tasks here https://github.com/go-gitea/gitea/issues/6975#issuecomment-503125546

@Cherrg commented on GitHub (Jun 18, 2019): I have summed up the tasks here https://github.com/go-gitea/gitea/issues/6975#issuecomment-503125546
Author
Owner

@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.

@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.
Author
Owner

@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.

@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.
Author
Owner

@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

wikipage
uploadpage

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...

@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. <details> <summary>Screenshots about file upload</summary> ![wikipage](https://user-images.githubusercontent.com/10095765/87934169-1cdd8580-cac1-11ea-8233-98bce7e6520d.png) ![uploadpage](https://user-images.githubusercontent.com/10095765/87934173-1f3fdf80-cac1-11ea-9713-0332b34b2b56.png) </details> 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...
Author
Owner

@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.

@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.
Author
Owner

@lunny commented on GitHub (Dec 23, 2022):

Currently nobody are working on that PRs

@lunny commented on GitHub (Dec 23, 2022): Currently nobody are working on that PRs
Author
Owner

@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.

@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.
Author
Owner

@Fastidious commented on GitHub (Jun 17, 2024):

Seven years, and it almost feels like yesterday. Time does fly!

@Fastidious commented on GitHub (Jun 17, 2024): Seven years, and it almost feels like yesterday. Time does fly!
Author
Owner

@GlitchedPolygons commented on GitHub (Jun 19, 2024):

for me, this is the one thing that keeps wikis from being useful. Reeally hope this happens at some point.

same. I wish I had the time to do it myself and work on a PR 😞

@GlitchedPolygons commented on GitHub (Jun 19, 2024): > for me, this is the one thing that keeps wikis from being useful. Reeally hope this happens at some point. same. I wish I had the time to do it myself and work on a PR 😞
Author
Owner

@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.

@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.
Author
Owner

@GlitchedPolygons 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.

same 🙁 been using an external wiki ever since

@GlitchedPolygons 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. same 🙁 been using an external wiki ever since
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#197