EnableMobileModules should probably have a deprecation
notice (in code and PHP)
Done:
https://www.mediawiki.org/w/index.php?title=User:Florianschmidtwelzow/Mobil…
and
https://gerrit.wikimedia.org/r/#/c/152807/
I wonder how many of these hooks are actually needed
Yeah, for my little project, i use only one hook, but this is a self coded one,
which isn't in git repo (so i have to rewrite it again when i update :P). The
difficult point is to find out, how many Extensions/developers use the hooks. One Hook i
know there is at least one member (because i have introduced it for this usage, to change
the footer). But i careless want to say, that no one really use these hooks.
Freundliche Grüße / Kind regards
Florian
-----Ursprüngliche Nachricht-----
Von: jdlrobson(a)gmail.com [mailto:jdlrobson@gmail.com] Im Auftrag von Jon Robson
Gesendet: Donnerstag, 7. August 2014 20:55
An: Florian Schmidt
Cc: mobile-l
Betreff: Re: [WikimediaMobile] Documentation of Hooks in MobileFrontend
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(a)t-online.de>
wrote:
Hello!
First thoughts:
https://www.mediawiki.org/wiki/User:Florianschmidtwelzow/MobileFronten
d/Hooks
open for feedback (maybe after Wikimania, so: Have fun there!)
Freundliche Grüße / Kind regards,
Florian
Von: mobile-l-bounces(a)lists.wikimedia.org
[mailto:mobile-l-bounces@lists.wikimedia.org] Im Auftrag von
florian.schmidt.welzow(a)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(a)wikimedia.org>
An: Florian Schmidt <florian.schmidt.welzow(a)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(a)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(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mobile-l