[MediaWiki-l] (Extension:Translate) Mark a page from translation with a bot

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[MediaWiki-l] (Extension:Translate) Mark a page from translation with a bot

Sebastian Trueg
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
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] (Extension:Translate) Mark a page from translation with a bot

John
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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] (Extension:Translate) Mark a page from translation with a bot

Sebastian Trueg
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 <[hidden email]
> <mailto:[hidden email]>> 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
>

--
Sebastian Trueg
Managing Director
TrueGeeX UG (haftungsbeschränkt)
[hidden email]
http://www.linkedin.com/in/trueg
Mobile: 0049 1762 3244 664

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] (Extension:Translate) Mark a page from translation with a bot

Niklas Laxström
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
Reply | Threaded
Open this post in threaded view
|

Re: [MediaWiki-l] (Extension:Translate) Mark a page from translation with a bot

Sebastian Trueg
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
>

--
Sebastian Trueg
Managing Director
TrueGeeX UG (haftungsbeschränkt)
[hidden email]
http://www.linkedin.com/in/trueg
Mobile: 0049 1762 3244 664

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l