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

Write new topic on user talk page if user has enabled structured discussion #90

Open
gyan111 opened this issue Dec 12, 2018 · 4 comments

Comments

@gyan111
Copy link

gyan111 commented Dec 12, 2018

If we are trying to created new section on user talk page where user has enabled structured discussion Wikimate unable to create new section.
Code:
$page = $wiki->getPage($userName); $page->setText("Text", 'new');

@Xymph
Copy link
Collaborator

Xymph commented Dec 12, 2018

What is "structured discussion"? Got an example?

@gyan111
Copy link
Author

gyan111 commented Dec 12, 2018

https://www.mediawiki.org/wiki/Structured_Discussions

Example: https://or.wikipedia.org/wiki/User_talk:Jnanaranjan_sahu

Here is a discussion I have started on the talk page:
https://www.mediawiki.org/wiki/Topic:Uq7swz65t02tjz29

It has an API also to post message.

@Xymph
Copy link
Collaborator

Xymph commented Dec 12, 2018

That looks... complicated. ;)
Well, I am busy enough with other (non-Wikimate) projects already and don't need this myself, so I'm afraid I can't spare the time to research and develop support for this. If someone else submits a properly coded and documented PR for it, I may be able to take a look and review that later.

@gyan111
Copy link
Author

gyan111 commented Dec 13, 2018

Thanks for the information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants