TLDR: I don't think the system messages for IRC are just for IRC. So I hope to
change it.
Hi,
I am an extension developer and I am recently developing an extension[1] that
provides a custom RCFeedEngine and an RCFeedFormatter. The purpose of the
extension is to stream the recent changes in a wiki to a given Discord webhook.*
The RC feed engines send messages in a freely configurable format to an engine
set in $wgRCEngines[2] and every RC log entry has a system message for RC feed
output. For instance, logs for moving a page have a message named "1movedto2"
which is represented "moved [[$1]] to [[$2]]" in English.
Disappointingly, I have found [[MediaWiki:1movedto2/qqq]] and similar messages
on translatewiki include {{ignored}} template that says "This message is
ignored on export for MediaWiki. Translating it is a waste of your effort!" and
it seems to be true. The main cause of this is probably that the messages are
only for irc.wikimedia.org and irc.wikimedia.org will be replaced with
EventStreams? I couldn't find the exact reason.
In my opinion, the log entry messages are not just for IRC. IRC is an
implementation of RCFeed and RCFeed is a general interface and can be extended
in many ways as even the core includes multiple RCFeedEngines. So, if I'm not
wrong, I'd like to create a ticket for enabling translation and request your
opinions.
Regards.
-User:Lens0021
* There are a few extensions with a similar purpose. But the extensions are not
RCFeedEngines and define their own system messages and use them instead of
using the log entry messages.
---
[1] https://www.mediawiki.org/wiki/Extension:DiscordRCFeed
[2] https://www.mediawiki.org/wiki/Manual:$wgRCEngines
_______________________________________________
Wikitech-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/