Page MenuHomePhabricator

Update MobileFrontend hooks documentation
Closed, ResolvedPublic

Description

@bd808 points out that there are a number of hooks run by MobileFrontend that aren't documented on mediawiki.org.

The list of hooks run by MobileFrontend has already been added to mediawiki.org.

Please take a look at the "Hooks provided" section on https://www.mediawiki.org/wiki/Extension:MobileFrontend and click and edit one of the red links there... these are the ones we would like documented!

An example of a documented MobileFrontend hook can be found here:
https://www.mediawiki.org/wiki/Extension:MobileFrontend/EnableMobileModules
Be sure to read the code and understand what the hook you are documenting does. IT should hopefully be documented in the function signature! If not feel free to ask someone in #wikimedia-mobile irc channel

 AC

  • All hooks run by MobileFrontend are documented on mediawiki.org
  • All hooks run by MobileFrontend are similarly documented in the codebase with, at least, a link to the canonical documentation on mediawiki.org

GCI task: https://codein.withgoogle.com/dashboard/tasks/5676068618895360/

Event Timeline

I started documenting the hooks here:
https://www.mediawiki.org/wiki/User:Florianschmidtwelzow/MobileFrontend/Hooks

It's mostly outdated, incomplete and/or false, but maybe someone can work with it :D

I just added the hooks provided to make it easier to work on this, i.e. red link means that documentation is needed.

dr0ptp4kt moved this task from Incoming to Triaged but Future on the Web-Team-Backlog board.
phuedx raised the priority of this task from High to Needs Triage.Aug 1 2016, 4:58 PM
phuedx triaged this task as High priority.
phuedx updated the task description. (Show Details)

Whoops!

I'll mentor this task in this years GCI. Task imported in: https://codein.withgoogle.com/dashboard/tasks/5676068618895360/ (amount of possible task instances is 7)

@phuedx: As far as I know it's possible, that two mentors mentor one task, so, if you want to help? :D

Jdlrobson updated the task description. (Show Details)
  • MobileLicenseLink
  • SpecialWatchlistQuery
  • SpecialMobileEditWatchlist::images
  • SkinMinervaOutputPageBeforeExec
Jdlrobson claimed this task.

All are documented now :)

Excellent work y'all 💥❤️💥