Page MenuHomePhabricator

[Session] Converting an extension to the new hook system
Closed, ResolvedPublic

Description

Session Recording: https://www.youtube.com/watch?v=ZOj44Rbh0tM&t

Daniel Kinzler

mediawiki, extensions, hooks

Session type (select one):

  • Presentation (including Q/A) - 25 mins
  • Discussion (including Q/A) - 55 mins
  • Workshop (including Q/A) - 55 mins
  • Lightning talk - 5 mins

Venue (select one):

  • I would like to be on the main track
  • I wouldn't mind being on the main track
  • I need a Jitsi room for the session

When are you available to have the session?

Please share your availability on 22 - 23 May in UTC or your local time zone
flexible between 12:00 and 22:00 CEST

Session Details

Converting hook handlers from static methods to handler objects and introducing dependency injection.

Target audience:

Extension developers

What will participants get out of this session? (~50 words)

Information about improving extensions by migrating to the new hook system.

(Optional) Additional resources:

https://www.mediawiki.org/wiki/Manual:Hooks#Handling_hooks_in_MediaWiki_1.35_and_later
https://commons.wikimedia.org/wiki/File:Untangling_MediaWiki_(WMHack_21).pdf

Event Timeline

Hello @daniel and thanks a lot for proposing this session!

We would love to schedule it on the main hackathon track on Saturday, 22nd of May at 13:00 in UTC. You would have 55min, questions and discussions included.

Does this timeslot work for you? We kindly ask you to confirm before May 17th, so we can complete the schedule.

As a speaker on the main track, we will send you a link to a BigBlueButton room where you will be able to present and share your screen. The content of your session will be live-streamed on a video platform and automatically recorded. Participants will not be able to talk to you directly, but they will leave comments in the chat. We will send you more details closer to the event. If you’d like to schedule a testing session to have a look at BigBlueButton, just let us know.

If you have any questions, feel free to reach out to me. Thanks!

Hi @daniel , this is a kindly reminder that we aim to confirm the schedule until tomorrow.

Hello @daniel and thanks a lot for proposing this session!

We would love to schedule it on the main hackathon track on Saturday, 22nd of May at 13:00 in UTC. You would have 55min, questions and discussions included.

This works, thank you!

Change 693563 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):

[mediawiki/extensions/CategoryTree@master] Convert to new hook system

https://gerrit.wikimedia.org/r/693563

Change 693563 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):

[mediawiki/extensions/CategoryTree@master] Convert to new hook system (Workshop)

https://gerrit.wikimedia.org/r/693563

Thanks for participating in the Wikimedia Hackathon 2021! We hope you had a great time.

  • If this session / event took place: Please change the task status to "resolved" via the Add Action...Change Status dropdown.
    • If there are specific follow-up tasks from this session / event: Please create dedicated tasks and add another active project tag to those tasks, so others can find those tasks (as likely nobody in the future will look back at Wikimedia-Hackathon-2021 tasks when trying to find something they are interested in).
  • In this session / event did not take place: Please set the task status to "declined".

Thank you,
your Hackathon venue housekeeping service

daniel updated the task description. (Show Details)

Change 693563 merged by jenkins-bot:

[mediawiki/extensions/CategoryTree@master] Convert to new hook system (Workshop)

https://gerrit.wikimedia.org/r/693563

Change 699388 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):

[mediawiki/extensions/CategoryTree@master] Re-apply: Convert to new hook system (Workshop)

https://gerrit.wikimedia.org/r/699388

Change 699388 merged by jenkins-bot:

[mediawiki/extensions/CategoryTree@master] Re-apply: Convert to new hook system (Workshop)

https://gerrit.wikimedia.org/r/699388