Due to T127238, files in various */skins/* directories are not checked
by PHPCS. Temporarily removed the exclude rule from phpcs.xml and ran:
composer fix includes/skins/* tests/phpunit/includes/skins/* tests/phpunit/skins/*
Change-Id: I9240c1cee825920b6634903282be6252cce55686
- Removed space after casts
- Removed spaces in array index
- Added spaces around string concat
- Added space after words: switch, foreach
- else if -> elseif
- Removed parentheses around require_once, because it is not a function
- Added newline at end of file
- Removed double spaces
- Added spaces around operations
- Removed repeated newlines
Bug: T102609
Change-Id: Ib860222b24f8ad8e9062cd4dc42ec88dc63fb49e
dir="auto" was added in r105854 and r105870.
It happens to be useful for completely left-to-right titles
in right-to-left wikis, but time and again the users complain
about titles that are generally right-to-left, but begin with
a left-to-right character, such as
https://fa.wikipedia.org/wiki/3GP_%D9%88_3G2
This seems to cause more problems than it resolves.
Some day we may have proper direction for titles.
Until then we should probably go back to just displaytitle.
Bug: T51093
Change-Id: Ibf408bc6c5d2f8c05667107a547b0b02e06de270
Whitespaces between the opening tag <h1> and the content and
between the content and the closing tag </h1> gets converted to a space
when selecting the heading by a triple click and copying it to clipboard
See Ic9887a079734b28155f46ffaeedec02ff8ad81ca for skin Vector.
Change-Id: If90928b5f66dc10e3e8024e31d96be25462e446c
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/SkinFallbackTemplate.php (Browse further)