Hi everyone,
I need to have my bot mark a page for translation. AFAICS the only way to mark a page for translation is Special:PageTranslate.
Is there another way? Can I have my bot call the Special Page? If so how do I go about creating a session with the bot? Or do I need to create my own extension which exposes the feature as an API call?
Thanks in advance. Regards, Sebastian
Let's take a step back, what are you trying to do? and why?
On Wed, Nov 18, 2020 at 6:32 AM Sebastian Trueg trueg@truegeex.de wrote:
Hi everyone,
I need to have my bot mark a page for translation. AFAICS the only way to mark a page for translation is Special:PageTranslate.
Is there another way? Can I have my bot call the Special Page? If so how do I go about creating a session with the bot? Or do I need to create my own extension which exposes the feature as an API call?
Thanks in advance. Regards, Sebastian
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
All right, let me give you some context:
My wiki has a namespace which consists of only semantic-mediawiki powered automatically generated pages. These pages do not have any "real content" but only SMW properties.
The actual rendering is done by templates. These templates are also generated by a bot based on a git repo and contain translatable passages.
Whenever the bot updates the templates I want it to also mark the latest revision for translation.
Hope this helps to understand where I am coming from.
Regards, Sebastian
On 18.11.20 12:39, John wrote:
Let's take a step back, what are you trying to do? and why?
On Wed, Nov 18, 2020 at 6:32 AM Sebastian Trueg <trueg@truegeex.de mailto:trueg@truegeex.de> wrote:
Hi everyone, I need to have my bot mark a page for translation. AFAICS the only way to mark a page for translation is Special:PageTranslate. Is there another way? Can I have my bot call the Special Page? If so how do I go about creating a session with the bot? Or do I need to create my own extension which exposes the feature as an API call? Thanks in advance. Regards, Sebastian _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
The relevant tasks are https://phabricator.wikimedia.org/T235397 and https://phabricator.wikimedia.org/T252096. Feel free to subscribe and leave a comment to help us understand how wanted these features are.
-Niklas
Ok, will do. In the meantime I simply wrote my own extension exposing the functionality.
On 18.11.20 16:54, Niklas Laxström wrote:
The relevant tasks are https://phabricator.wikimedia.org/T235397 and https://phabricator.wikimedia.org/T252096. Feel free to subscribe and leave a comment to help us understand how wanted these features are.
-Niklas
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org