Thanks Florian it's good to see all these written down.
EnableMobileModules should probably have a deprecation notice (in code and PHP). These days it's easy to do this using ResourceLoader and setting targets to just be mobile.
I wonder how many of these hooks are actually needed. It would be good to get an audit of what is using them currently and kill any that are not being used. I'd hate to promote usage of a lot of these hooks :)
On Wed, Aug 6, 2014 at 7:03 AM, Florian Schmidt florian.schmidt.welzow@t-online.de wrote:
Hello!
First thoughts: https://www.mediawiki.org/wiki/User:Florianschmidtwelzow/MobileFrontend/Hook...
open for feedback (maybe after Wikimania, so: Have fun there!)
Freundliche Grüße / Kind regards, Florian
Von: mobile-l-bounces@lists.wikimedia.org [mailto:mobile-l-bounces@lists.wikimedia.org] Im Auftrag von florian.schmidt.welzow@t-online.de Gesendet: Mittwoch, 30. Juli 2014 07:56 An: Jon Robson Cc: mobile-l Betreff: Re: [WikimediaMobile] Documentation of Hooks in MobileFrontend
Hello!
Don't read this E-Mail before my last answer :) Thanks for clarifying, Jon. Maybe i can do such a list in next time.
Mit freundlichen Grüßen Florian Schmidt
-----Original-Nachricht----- Betreff: Re: [WikimediaMobile] Documentation of Hooks in MobileFrontend Datum: Wed, 30 Jul 2014 03:05:43 +0200 Von: Jon Robson jrobson@wikimedia.org An: Florian Schmidt florian.schmidt.welzow@t-online.de
Hey Florian to my knowledge there isn't. I think a goal with MobileFrontend should be to kill the majority of our hooks by moving them to core or destroying them. It would therefore be very useful to have these audited somewhere... Is there anyway we could document them in the php documentation? On 20 Jul 2014 23:57, "Florian Schmidt" florian.schmidt.welzow@t-online.de wrote: Hello all together,
is there a documentation of Hooks implemented in MobileFrontend (i haven't found any)? Like the Hook documentation of Core [1].
[1] https://www.mediawiki.org/wiki/Manual:Hooks#Alphabetical_list_of_hooks
Kind regards, Florian
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l