wiki.techinc.nl/includes
Bartosz Dziewoński aa00a3e838 ResourceLoaderImageModule for icons
ResourceLoaderImageModule needs a set of SVG files and some data in
the module definition, and produces styles for a set of CSS classes,
one for each image, optionally with differently colored variants,
generated in SVG and PNG, data-URI-embedded if possible, compatible
with all browsers, and generally slick.

The intended usage is to ship icon libraries with MediaWiki that can
be used throughout the pages with no additional code.

* ResourceLoaderImageModule implements all of the logic for data
  parsing and CSS generation.
* ResourceLoaderImage implements the logic for SVG image colorization
  (for variants) and rasterization.
* ResourceLoader and ResourceLoaderContext were extended to serve a
  new kind of load.php request that delivers a single image file. This
  is used for fallback PNG images served to browsers that don't
  understand SVG.

See change Ic6a76bfb for a demo.

Bug: T76473
Co-Authored-By: Trevor Parscal <trevorparscal@gmail.com>
Co-Authored-By: Bartosz Dziewoński <matma.rex@gmail.com>
Change-Id: Idf6ff4eb8e94f45946f15d283d34108b881fae6e
2014-12-09 20:11:07 +01:00
..
actions Fix backlink for RevertAction 2014-12-05 14:28:18 +00:00
api API: Don't double generator list 2014-12-09 09:28:35 -05:00
cache ResourceLoaderImageModule for icons 2014-12-09 20:11:07 +01:00
changes Swap and for && 2014-10-23 13:03:14 -07:00
clientpool
composer
config Remove deprecated GlobalVarConfig::set() 2014-10-20 16:43:08 +00:00
content content: Deprecate TitleIsCssOrJsPage and TitleIsWikitextPage hooks 2014-12-03 04:11:33 +00:00
context Improved/additional logging for $wgTitle abuses 2014-11-10 11:04:43 -08:00
dao
db phpcs: The abstract declaration must precede the visibility 2014-12-05 21:46:40 +00:00
debug Remove '@section LICENSE' 2014-11-26 02:20:55 +00:00
deferred Remove hitcounters and associated code 2014-10-20 13:01:55 -07:00
diff i18n: Use native digits on 'difference-missing-revision' 2014-09-26 19:53:59 +00:00
exception exception: Prefix error type in front of error message 2014-11-24 18:23:09 +00:00
externalstore Clear the DBO_TRX flag for sanity in ExternalStore 2014-09-12 11:43:34 -07:00
filebackend Fixed spacing 2014-12-05 22:28:07 +01:00
filerepo Fix for broken thumbnails when the file width is in $wgThumbnailBucket 2014-12-09 02:25:25 +00:00
gallery Add missing </div> tag to packed-overlay galleries 2014-09-19 00:28:02 -03:00
htmlform Standardize indentation of multiline 'if'/'elseif' conditions 2014-11-17 15:33:34 +00:00
installer Localisation updates from https://translatewiki.net. 2014-12-08 22:58:32 +01:00
interwiki Use cdb library and provide a back-compat layer 2014-11-19 18:39:27 +00:00
jobqueue Merge "Made JobRunner wait for all applicable slaves, not just the main cluster" 2014-10-22 18:58:38 +00:00
json FormatJson::stripComments 2014-10-12 12:34:22 -06:00
libs xhprof: Guard against division by 0 when computing percentages 2014-12-03 19:10:57 -07:00
logging Fixed regression that made log queries happen in spite of the bloom filter 2014-11-20 09:03:29 +00:00
mail Fixed spacing 2014-09-29 20:46:19 +02:00
media Fixed spacing 2014-12-05 22:28:07 +01:00
normal
objectcache Merge "Made $timeout in BagOStuff::lock() actually work" 2014-11-20 09:39:41 +00:00
page Added ApiStashEdit module for pre-emptive edit parsing 2014-12-03 22:38:41 +00:00
pager Fixed spacing 2014-09-29 20:46:19 +02:00
parser Fixed spacing 2014-12-05 22:28:07 +01:00
password Fix creating non-parameterized hashes in ParameterizedPassword 2014-10-20 22:58:17 +02:00
poolcounter Handle missing parser cache keys better in pool counter 2014-11-19 11:22:48 -08:00
profiler Made xhprof scopedProfileIn() work via merging SectionProfiler results 2014-12-08 23:39:37 +00:00
rcfeed Use safe attribute accessor for RecentChange 2014-09-13 05:02:33 +00:00
resourceloader ResourceLoaderImageModule for icons 2014-12-09 20:11:07 +01:00
revisiondelete Split RevisionDeleteAbstracts.php to separate files 2014-08-20 19:08:33 +02:00
search Merge OpenSearchXml extension into core 2014-11-26 21:07:22 -08:00
site Fixed spacing 2014-12-05 22:28:07 +01:00
skins Revert wrapping sitenotice in google tags 2014-12-04 20:29:54 +00:00
specialpage Support offsets in prefix searching 2014-12-02 11:59:26 -08:00
specials Hygiene: rename formheader to searchProfileTabs on Special:Search 2014-12-04 21:42:46 +00:00
templates Merge "If a user logs in while not on https, then the user should be sent back to the non-secure website." 2014-12-03 22:36:23 +00:00
title
upload Merge "Don't try to verify XML well-formedness for partial SVG uploads" 2014-11-06 18:50:29 +00:00
utils Fixed spacing 2014-12-05 22:28:07 +01:00
.htaccess
AjaxDispatcher.php AjaxDispatcher: Use Config instead of globals 2014-08-25 19:20:30 -07:00
AjaxResponse.php AjaxDispatcher: Use Config instead of globals 2014-08-25 19:20:30 -07:00
AuthPlugin.php
AutoLoader.php Generate $wgAutoloadLocalClasses with a maint script 2014-11-13 15:41:31 -08:00
Autopromote.php
Block.php Fix ( 2014-10-24 17:15:12 -07:00
Category.php Add missing @param to function docs 2014-08-14 20:22:52 +02:00
CategoryFinder.php CategoryFinder: give parent category tree an accessor 2014-09-05 11:57:42 -07:00
CategoryViewer.php Use getHtmlCode() instead of getCode() to set the lang attribute 2014-11-06 14:53:57 +00:00
CdbCompat.php Fixed spacing 2014-12-05 22:28:07 +01:00
ChangeTags.php Hide HHVM tag on Special:{Contributions,RecentChanges,...} 2014-11-10 18:08:34 +00:00
Collation.php
DefaultSettings.php Remove jQuery Migrate and $wgIncludejQueryMigrate 2014-12-05 01:20:57 +00:00
Defines.php Merge "Use Parser::SFH_NO_HASH/SFH_OBJECT_ARGS class const" 2014-11-27 05:55:07 +00:00
DeprecatedGlobal.php
EditPage.php Display error when user tries to create self-redirect 2014-12-08 21:37:42 +01:00
Export.php Change position of <model> and <format> tags in XML dumps. 2014-10-31 16:49:58 +00:00
Fallback.php
Feed.php Fix for Ia9baaf0b: Make previously public variables public again 2014-08-29 23:01:53 +02:00
FeedUtils.php
FileDeleteForm.php
ForkController.php Add missing @param to function docs 2014-08-14 20:22:52 +02:00
FormOptions.php Add missing @param to function docs 2014-08-14 20:22:52 +02:00
GitInfo.php
GlobalFunctions.php Remove Profiler::isStub() 2014-12-03 20:19:56 -08:00
HistoryBlob.php Fix for Ia9baaf0b: Make previously public variables public again 2014-08-29 23:01:53 +02:00
Hooks.php Switched hook profiling to use scopedProfileIn 2014-12-04 19:32:38 +00:00
Html.php Standardize indentation of multiline 'if'/'elseif' conditions 2014-11-17 15:33:34 +00:00
HtmlFormatter.php
HttpFunctions.php Replace $wgConf->localVHosts by $wgLocalVirtualHosts 2014-10-03 03:54:44 -07:00
Import.php Import.php: Use Config instead of globals 2014-10-22 10:35:29 -07:00
Licenses.php
limit.sh chmod 755 bash & Perl files, chmod 644 .css file 2014-10-30 18:25:16 +00:00
Linker.php Merge "Consistently handle trailing slashes in subpage links." 2014-11-17 17:05:58 +00:00
LinkFilter.php
MagicWord.php Remove hitcounters and associated code 2014-10-20 13:01:55 -07:00
MediaWiki.php MWException: Log stack traces for php errors (not exceptions) 2014-11-16 14:37:15 +01:00
MediaWikiVersionFetcher.php Allow /-/ in MediaWikiVersionFetcher::fetchVersion 2014-10-31 10:33:40 +01:00
Message.php Introduce Message::plaintextParam 2014-09-30 12:51:29 -07:00
MessageBlobStore.php MessageBlobStore: Use Config instead of globals 2014-08-25 11:35:36 +00:00
mime.info Make image/vnd.microsoft.icon be an alias for image/x-icon mime type. 2014-09-13 13:23:55 -03:00
mime.types Make image/vnd.microsoft.icon be an alias for image/x-icon mime type. 2014-09-13 13:23:55 -03:00
MimeMagic.php Swap and for && 2014-10-23 13:03:14 -07:00
MovePage.php Merge "Fix fatal error in I0349cfe0e322" 2014-11-04 06:53:31 +00:00
MWNamespace.php
MWTimestamp.php Remove unmatched @param 2014-08-16 22:50:02 +02:00
OutputHandler.php Make calling wfMangleFlashPolicy configurable 2014-11-19 11:46:18 -08:00
OutputPage.php Fix backlink for RevertAction 2014-12-05 14:28:18 +00:00
PathRouter.php
PHPVersionError.php Require PHP >= 5.3.3 2014-10-30 10:10:52 -07:00
Preferences.php Merge "Revert "Add maxlength of 6 for time correction in preferences"" 2014-10-20 18:21:51 +00:00
PrefixSearch.php Fixed spacing 2014-12-05 22:28:07 +01:00
ProtectionForm.php Merge "Don't break existing expiry time of "infinity" when modifying protection" 2014-09-18 02:27:56 +00:00
Revision.php Remove negative caching from Revision::getContentInternal 2014-10-13 20:50:19 -04:00
RevisionList.php
Sanitizer.php Standardize indentation of multiline 'if'/'elseif' conditions 2014-11-17 15:33:34 +00:00
Setup.php Revert "Remove deprecated profiling config parameters, clarify docs" 2014-12-04 21:40:13 +00:00
SiteConfiguration.php Replace $wgConf->localVHosts by $wgLocalVirtualHosts 2014-10-03 03:54:44 -07:00
SiteStats.php Remove hitcounters and associated code 2014-10-20 13:01:55 -07:00
SquidPurgeClient.php
StatCounter.php StatCounter: Use Config instead of globals 2014-09-09 17:18:00 -07:00
Status.php Fixed spacing 2014-12-05 22:28:07 +01:00
StreamFile.php
StubObject.php Deprecate MWFunction::newObj() in favor of ObjectFactory 2014-11-06 13:41:18 -07:00
tidy.conf
Title.php content: Deprecate TitleIsCssOrJsPage and TitleIsWikitextPage hooks 2014-12-03 04:11:33 +00:00
TitleArray.php
TitleArrayFromResult.php
User.php Optimize how user options are delivered to the client 2014-12-05 19:36:45 +00:00
UserArray.php
UserArrayFromResult.php
UserRightsProxy.php Fix userrights-interwiki when the 'user' table is shared 2014-08-10 12:01:25 +00:00
WatchedItem.php Copy wl_notificationtimestamp when copying watchlist entries on move 2014-11-10 18:21:17 +00:00
WebRequest.php Merge "Don't rely on $wgTitle in WebRequest" 2014-10-02 20:27:51 +00:00
WebResponse.php Add WebResponse::getHeader() 2014-11-07 11:19:12 -08:00
WebStart.php MW_NO_OUTPUT_BUFFER is never defined 2014-11-18 14:03:25 -08:00
WikiMap.php
Xml.php Remove Xml::namespaceSelector() (deprecated since 1.19) 2014-08-19 23:34:21 -07:00
ZhConversion.php