Commit graph

6 commits

Author SHA1 Message Date
Timo Tijhof
5eecdb53f8 skins: Update core skins to queue modules via getDefaultModules()
Following I3404c1c2a7e, update the core skins to use
getDefaultModules() instead of the now-deprecated setupSkinUserCss().

Change-Id: I48b76938f46c1b6b683b618e7571e6fc6876cc52
2018-05-09 22:20:07 +00:00
Umherirrender
3124a990a2 Use ::class to resolve class names in includes files
This helps to find renamed or misspelled classes earlier.
Phan will check the class names

Change-Id: I07a925c2a9404b0865e8a8703864ded9d14aa769
2018-01-27 20:34:29 +01:00
Bartosz Dziewoński
43fdf67310 Never cache pages with the fallback skin
Bug: 69284
Change-Id: Ideab4f4e6c9d75bc01d06ca0e6ce533009e80aaa
2014-08-14 22:18:32 +02:00
umherirrender
f6e19c0afe Fixed some docs
- Added since to @deprecated
- Use lowercase array on @param
- Added missing type on @param
- Swapped type and variable on @param
- Fixed spelling of @return

Change-Id: Idbbc6b4c8aadb6d98c636f53024ac513346c912b
2014-08-13 20:01:46 +02:00
addshore
33912cf04e Fix visibility in SkinFallback and StubObject
Change-Id: Ie4c1aabd966fcdf87a9129ceb59c058740292f2e
2014-08-12 01:06:49 +00:00
Kunal Mehta
eb37e9d1ff Introduce SkinFactory
Modeled similar to ConfigFactory, this lets skins
register themselves via a callback, allowing for
proper dependency injection.

Loading via $wgValidSkinNames is still supported,
but considered "legacy", not deprecated though.

Skin::newFromKey is now deprecated (and had only
one caller in an extension, which I'll update
afterwards).

Change-Id: I1960483f87c2ef55c994545239b728fa376f17f4
2014-08-09 21:40:54 +01:00
Renamed from includes/SkinFallback.php (Browse further)