Hi Sohom!

On Fri, Nov 22, 2019 at 10:25 AM Sohom Datta <dattasoh...@gmail.com> wrote:

> I'd like some guidance on how to implement the unfinished parts of the
> extension especially the integration with FlaggedRevs


I presume that means displaying stableness settings in a similar way to
page protection? Scribunto_LuaFlaggedRevsLibrary::getStabilitySettings
<https://github.com/wikimedia/mediawiki-extensions-FlaggedRevs/blob/8473c0150eaa61f965c6319e7a3ebb27ca86e0e7/scribunto/FlaggedRevs.library.php#L14>
does
just that (to expose it to Lua code), you can imitate what it does.

and the addition of a log entry to a popup ( Details are there in the
> readme.md of the repo) .
>

There's LogEventList::showLogExtract amongst other things. Of course you'd
have to think about caching.

Also any feedback on my code would also be very good.
>

Not very likely to happen in email. Probably the best way is if you make a
pull request or Gerrit changeset containing all your code and ask for
review on that.

Also, it would be great if somebody could guide me on how to make this a
> official extension someday.
>

See https://www.mediawiki.org/wiki/Gerrit/New_repositories on how request a
repository / create an extension page. There isn't anything particularly
official about that, anyone can do it for any extension. See
https://www.mediawiki.org/wiki/Continuous_integration/Entry_points on how
to set up CI in Gerrit (although in practice it might be easier to just
copy it from another extension).

If you want the extension to be used in Wikimedia production, see
https://www.mediawiki.org/wiki/Review_queue
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to