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

Move posts from one community to another. #2345

Open
Tealk opened this issue Jul 1, 2022 · 9 comments
Open

Move posts from one community to another. #2345

Tealk opened this issue Jul 1, 2022 · 9 comments
Labels
area: moderation enhancement New feature or request

Comments

@Tealk
Copy link

Tealk commented Jul 1, 2022

For front end issues, use lemmy-ui

Is your proposal related to a problem?

There are a lot of posts from topic xy and that's why you create a community for topic xy; it would be handy if you could then move the posts.

Describe the solution you'd like

Move topics from one community to another.

Describe alternatives you've considered

I have re-posted posts, but that only makes sense if you have written them yourself, otherwise the creator is lost.

Additional context

nothing

@Tealk Tealk added the enhancement New feature or request label Jul 1, 2022
@dessalines
Copy link
Member

dessalines commented Jul 6, 2022

What's wrong with the cross-post button? The creator isn't lost, it both links to the original post, and you will be seen as the post creator.

"Moving a post" DB-wise would essentially be crossposting anyway: since posts are attached to communities, we'd create a new post, then delete the original.

@Tealk
Copy link
Author

Tealk commented Jul 8, 2022

cross-post is rather copy than move

@sam365724
Copy link
Contributor

sam365724 commented Aug 27, 2022

This is an important functionality for mod's, it helps communities to stay focussed and clean when user post into wrong communities.

@dessalines
Copy link
Member

I don't see much value in this since you can just use the cross-post button, and all the original content gets copied, while preserving the original post. Moving rather than copying posts could get pretty complicated with mods, federated communities, etc. If the only reason to add this is to preserve the original creator, then we could add that to the cross-post blurb that gets copied over with text posts.

@sam365724
Copy link
Contributor

Is crosspost implemented yet? I can't seem to find that button.

@dessalines
Copy link
Member

This button:

IMG_20220829_143724

@Nutomic
Copy link
Member

Nutomic commented Aug 30, 2022

I agree that this is an important feature, mainly on instances that are limited to a couple of fixed, theme-specific communities such as feddit.it. It doesnt matter much on an instance like lemmy.ml, where anyone can create communities, and in practice there are few rules on what can be posted where.

Crosspost doesnt really solve the problem, because if the original community should be clean without offtopic posts, then the original post would have to be deleted, and all the comments (and votes) would disappear with it.

Implementing this seems difficult though. Not only would things have to be rewritten in the local database, this action would also have to be federated to other instances. And then there might be cases where a topic needs to be moved from a community on instance alpha to a community on beta, which seems very complicated.

So I think this would be a worthwile feature to have, but much too complicated to implement now, when there are so many other features which are easier to implement and will have a higher impact.

@sam365724
Copy link
Contributor

If you need to do it, you can use this SQL query - it's straight forward, the ids at the end are one or multiple posts...

UPDATE post set community_id=24 where id IN (89, 84, 65);

@dessalines dessalines changed the title Move topics from one community to another. Move posts from one community to another. Oct 18, 2023
@dessalines
Copy link
Member

Every time we use the phrase "moving", we should remember that it really means "rewriting history". Moving a post from one community to another would entail copying and re-creating all the comments, votes, and re-federating them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: moderation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants