aboutsummaryrefslogtreecommitdiffstats
path: root/skins
Commit message (Collapse)AuthorAgeFilesLines
* docs: Don't point people to deprecated Diffusion copies of gerrit reposMeno252023-04-031-2/+2
| | | | Change-Id: I72e511dba5b607b3b215435b9d7ec8a3621d5cf8
* Use spacey style also for code in comments and documentationFomafix2022-08-121-1/+1
| | | | Change-Id: I5ab30489fb1241b89d1bec88a4d1fcebcc69bb9a
* vscode live share settingsaddshore2020-07-072-0/+11
| | | | | | | | | | | | | | | | | By default while using vscode live share it is hard to work on skins and extensions of mediawiki using the core repo as a project base, as extensions and skins are included in .gitignore files. Configuration of the sharing behaviour is possible and documented at https://docs.microsoft.com/en-us/visualstudio/liveshare/reference/security The files added in this commit mean that by default: - .gitignore files are treated in the default way for the system meaning they are hidden, but accessible. - core node_modules and vendor and shared and in the tree - extensions and skins are shared and in the tree Change-Id: I5e44483bcf09aa2fb6d568de1e0689a76ab7338a
* Make skins/README looks like extensions/README filezoranzoki212019-05-081-2/+4
| | | | | | | | | Fixed links to mediawiki.org so pages can load on user defined language instead of default ENGLISH. Added == User Information == on first line as it is already in README file for extensions directory Change-Id: Iadc8eae48f1274d3e50e5b147565d197b1b7d3be
* Revert "Creating new WMF 1.30.0-wmf.17 branch"Kunal Mehta2017-09-077-0/+0
| | | | | | This reverts commit 579f1bb11996f5e83d02828ab460335ebb7c1272. Change-Id: I59e97e578d4c7e46f4aecc330fc14047a40c3495
* Creating new WMF 1.30.0-wmf.17 branchChad Horohoe2017-09-057-0/+0
|
* Revert "Creating new WMF 1.30.0-wmf.2 branch"Timo Tijhof2017-05-255-0/+0
| | | | | | | | Also revert the automatic "Update git submodules" commits since then. This reverts commit 264fc98588a4851324d3e5f2e39ece01e993127e. Change-Id: Ica6ad77c46cc8a7f6b5576da2580ea9e07ac8637
* Creating new WMF 1.30.0-wmf.2 branchTyler Cipriani2017-05-235-0/+0
|
* Point skins/extension READMEs to PhabricatorChad Horohoe2016-04-291-3/+2
| | | | | | | | These are actually far more useful listings than the mediawiki group on Gitblit, which is everything MediaWiki and provides no actual listing beyond "recently active" Change-Id: I741cb53ca417bddfa176868fb78ce67b1475fc70
* Merge "Get to the point about howto download Vector :p"Bartosz Dziewoński2014-12-131-1/+4
|\
| * Get to the point about howto download Vector :pAdam Roses Wight2014-12-051-1/+4
| | | | | | | | Change-Id: I6ec110471fc27795e3a74d036391cbe8ca2134da
* | skins: Update .gitignoreKevin Israel2014-11-151-1/+1
|/ | | | | | | Removed common (last remaining file removed in 1e8b1dd8cff2) and added README (added in c505afca41c9). Change-Id: Idc31569b29df19fb79bc2c08fba0a327d9cd334d
* Delete skins/common/images/bullet.gifBartosz Dziewoński2014-11-141-0/+0
| | | | | | | | | There are still some requests for it per bug 69277 comment 90, but per bug 69678 comment 12 all usages have been already removed. This is the last file in the skins/common/ directory. Bug: 69277 Change-Id: Id9de81d0efa91fa20dfd10d56a8ae814de43ff6e
* Delete skins/common/images/magnify-clip.pngBartosz Dziewoński2014-11-141-0/+0
| | | | | | | | | There are still some requests for it per bug 69277 comment 90, but per bug 69678 comment 10 all usages are forward-compatible or have been already removed. Bug: 69277 Change-Id: If6a16fb5aa5a826a58c8dec67e3583ccf12761e2
* Delete skins/common/{ajax.js, wikibits.js, images/{magnify-clip-rtl.png, ↵Bartosz Dziewoński2014-11-145-2/+0
| | | | | | | | | | | | | | | redirectltr.png, redirectrtl.png}} * ajax.js, wikibits.js: Was kept for third parties. (user scripts etc.) * redirectltr.png, redirectrtl.png: Was kept for cached stylesheets, after I8fa565833545e41d02 removed usage in MediaWiki core. * magnify-clip-rtl.png: Was kept for third parties. (user scripts etc.) Bug: 69277 Change-Id: I54b170b557414e2f3cda4c85053cd0f2cbefc10d
* Move default logo to resources/assets/ directoryBartosz Dziewoński2014-09-201-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | The problem here is that the path to 'wiki.png' is saved in users' LocalSettings. We likely should not remap the path, like we did for footer license icons in Ic7c32e56: * It's likely that users changed their logo image by overwriting the file in skins/common/. * If the normal upgrade process is followed (overwrite-uploading new files), the old file will still be there with the skins/common/ directory. * If it does cause problems, they'll be rather easy to notice and fix. On the other hand, maybe we should? * This is going to be annoying for git users. * It will bite anyone who deletes all MediaWiki files when upgrading via tarball, which is more likely with the recent skin system changes encouraging users to remove old cruft from skins/ directory. Bug: 69277 Change-Id: I175fe57048ebf9d348fb2fe67bf62cf5df389003
* Merge "Revamp classic edit toolbar not to hardcode paths in HTML"jenkins-bot2014-09-1631-24/+0
|\
| * Revamp classic edit toolbar not to hardcode paths in HTMLBartosz Dziewoński2014-09-1331-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, try out a way to have per-module LESS variables defined in PHP. This might come in handy in the future… Maybe for skin theme support? (I recommend reviewing the file changes in the order below. :D) includes/resourceloader/ResourceLoaderFileModule.php * Pass the context (ResourceLoaderContext) deeper down via readStyleFiles() and readStyleFile(). We need it to compile the .less files for the right language. * Extract LESS compiler creation to getLessCompiler(). * Allow passing a LESS compiler instance to compileLessFile(), rather than getting one after the method is called. All of the changes are backwards-compatible. includes/resourceloader/ResourceLoaderEditToolbarModule.php * New module to support getting the language data and passing it to LESS variables. It might be a good idea to factor out a reusable class for a LESS module with additional variables, but that would require more attention to design than I gave it. resources/src/mediawiki.action/mediawiki.action.edit.toolbar/mediawiki.action.edit.toolbar.less * Glue code to use the language data defined by the module above and put it in final CSS. includes/EditPage.php * Do not hardcode image URLs in output HTML, as they are provided in CSS now. This gets rid of some usage of globals. In fact, we should be able to finally move the inline JavaScript calls out of getEditToolbar(), but I'm already introducing too many changes for one patch. That can be done later. languages/Language.php * Add getImageFiles() to complement existing getImageFile() method. Misleadingly named, it returns paths for images for the toolbar only (and no other ones at all). skins/common/ → resources/src/mediawiki.action/mediawiki.action.edit.toolbar/ * Moved all of the button images to new location. Also, boring cleanup that was harder before because we treated the paths as public API: * Placed default ones in en/ subdirectory. * Renamed cyrl/ to ru/. * Renamed ksh/button_S_italic.png → ksh/button_italic.png. languages/messages/ * Adjusting paths and filenames for the changes above. resources/src/mediawiki.action/mediawiki.action.edit.css resources/src/mediawiki.action/mediawiki.action.edit.js * Added styles and updated the script to make it possible to have non-<img> elements as toolbar buttons. * Consolidated styles that were already required, but defined somewhere else: * `cursor: pointer;` (from shared.css) * `vertical-align: middle;` (from commonElements.css) Bug: 69277 Change-Id: I39d8ed4258c7da0fe4fe4c665cdb26c86420769c
* | Move footer icons to assets/ directoryBartosz Dziewoński2014-09-097-0/+0
|/ | | | | | | | | | | poweredby_mediawiki_88x31.png is straightforward, just need to update some paths. The six license icons are more problematic, as the paths to them are saved in users' LocalSettings. We're remapping them in Setup.php. Bug: 69277 Change-Id: Ic7c32e56043cfbf94ef2271de4ff41ef18fbeee7
* Merge "Article: Don't hardcode <img> tags on redirect page"jenkins-bot2014-09-072-0/+0
|\
| * Article: Don't hardcode <img> tags on redirect pageBartosz Dziewoński2014-09-052-0/+0
| | | | | | | | | | | | | | | | | | | | | | * Created a ResourceLoader module for redirect page styling. * Fixed a couple of bugs in Article code. Keeping two of the old files for a while because they might still be referenced by something (bug 69277 comment 11). Bug: 69277 Change-Id: I8fa565833545e41d0232101566da8c5ffa850e36
* | Move mediawiki.png to assets/ directoryBartosz Dziewoński2014-09-051-0/+0
| | | | | | | | | | Bug: 69277 Change-Id: I7936d878de23b1b85d5e0a3a3a9572101681dfdc
* | Move file type icons to new assets/ directoryBartosz Dziewoński2014-09-0529-43/+0
|/ | | | | | | | | This patch introduces the assets/ directory, which will be used for static files included with MediaWiki that can't meaningfully be loaded via ResourceLoader. Bug: 69277 Change-Id: Ifd87387f20a6355a6e273628b37735c207e4c53a
* Move mediawiki.skinning.* modules from skins/common/ to resources/Bartosz Dziewoński2014-09-044-576/+0
| | | | | | | | | | | | | | | | | | | | | | | This is a BREAKING CHANGE, as we have used the names of these three files in skins/common/ as a "public API" for skins for a long time. Doing so has been deprecated (but still supported) in 1.23. We must clear them out at some point, and now is as good a time as ever, with the 1.23 LTS release still supporting the old way. Skins may no longer rely on the presence of commonElements.css, commonContent.css and commonInterface.css in skins/common/ and include them in their style modules. The corresponding ResourceLoader modules must be used instead: - skins/common/commonElements.css → 'mediawiki.skinning.elements' module - skins/common/commonContent.css → 'mediawiki.skinning.content' module - skins/common/commonInterface.css → 'mediawiki.skinning.interface' module Follow-up to I3947eaac (where I said I intend to do this) and I56758908. Bug: 69277 Change-Id: Id8456c570ff406822a8befad8f42f528ef5bd3a6
* Delete skins/common/images/closewindow19x19.pngBartosz Dziewoński2014-09-031-0/+0
| | | | | | | | | | Unused in core, unused in extensions (as far as I can tell) and unused on-wiki (as far as I can tell). There are still requests for it (according to bug 69277 comment 11), but we can't do anything about that if we can't tell where they come from. Bug: 69277 Change-Id: I2cf158229955c93ecbf29c83d04df121e4b4addc
* TablePager: Redo arrow icons from scratch as CSS backgroundsBartosz Dziewoński2014-08-312-0/+0
| | | | | | | | | | | | Redrawn the images with SVG versions. Intentionally did not preserve the value of the 'alt' attribute of the old images, it doesn't seem very useful to me. Instead, added 'title' attributes on the sort links that describe their action. This should be more useful than the old version for both visual and aural mediums. Bug: 69277 Change-Id: Ibaec75e81d3eb8338d911ac84d91570047f475f5
* TablePager: Load images via CSS backgrounds rather than HTML <img>sBartosz Dziewoński2014-08-318-0/+0
| | | | | | | | | | | | | | | | | | | | Moved files from directory: skins/common/images → resources/src/mediawiki/images and renamed: * arrow_disabled_last_25.png → pager-arrow-disabled-fastforward-ltr.png * arrow_disabled_first_25.png → pager-arrow-disabled-fastforward-rtl.png * arrow_disabled_right_25.png → pager-arrow-disabled-forward-ltr.png * arrow_disabled_left_25.png → pager-arrow-disabled-forward-rtl.png * arrow_last_25.png → pager-arrow-fastforward-ltr.png * arrow_first_25.png → pager-arrow-fastforward-rtl.png * arrow_right_25.png → pager-arrow-forward-ltr.png * arrow_left_25.png → pager-arrow-forward-rtl.png The new names are not very intuitive, but there's a mostly reasonable system behind them and we need names like this to have them automatically flipped for RTL styles. Bug: 69277 Change-Id: Ica34cdd5fcc9340a94fb5e60bb34c30266953dcb
* Move mediawiki.legacy.* modules from skins/common/ to resources/Bartosz Dziewoński2014-08-3116-3196/+2
| | | | | | | | | | | | | | | Also renamed some image files for consistency and sanity. Added temporary symlinks to the new location for ajax.js and wikibits.js, which still seem to get many hits for unknown reasons. I'm going to figure this out and remove them before 1.24 release. shared.css also appears in the access logs from bug 69277, but with many fewer hits (it might just correspond to debug=true requests) and failing to load a style file is a lot less problematic from user's perspective than failing to load a script. Bug: 69277 Change-Id: Id4a8f9470d287c73309ff526ffb88984e2d351b9
* Merge "Clean up mediawiki.legacy.upload a bit more"jenkins-bot2014-08-301-322/+213
|\
| * Clean up mediawiki.legacy.upload a bit moreAlex Monk2014-08-301-322/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can merge it into mediawiki.special.upload later. It still sets wgUploadWarningObj, because that's used in a bunch of places: commonswiki MediaWiki:UploadForm.js commonswiki MediaWiki:UploadFormTest.js fawiki MediaWiki:UploadForm.js siwiki MediaWiki:UploadForm.js commonswiki User:CuteHappyBrute/monobook.js kowiki User:Kwj2772/UploadForm.js sqwiki User:Euriditi/UploadForm.js Bug: 31946 Change-Id: I4fc3dcd1f1bfb15aa130845e3de0474943b7e3fc
* | Delete feed.cssBartosz Dziewoński2014-08-261-144/+0
|/ | | | | | | | | | | | | It was a stylesheet loaded with our RSS and Atom feeds, intended to make them legible when shown in a regular browser. Browsers these days tend to have their own UI for feeds (for example IE 11 and Firefox 31), and these that don't pretty-print the XML, which means the stylesheet provides very little added value. Per discussion on I6268d663. Bug: 69277 Change-Id: I2ce9650c01f8f245707f5e88ee46520c5e598ce4
* Merge "Remove unused styles for .imagelist"jenkins-bot2014-08-232-34/+0
|\
| * Remove unused styles for .imagelistBartosz Dziewoński2014-08-232-34/+0
| | | | | | | | | | | | | | | | | | | | | | Added in r16083 for Special:ImageList, which has been renamed to Special:ListFiles in r45357, with class names being changed in the PHP code without adjusting the CSS. It seems no one has missed these styles over the years, so let's just delete them. Change-Id: I1f7775b3c7733cbfdd3f404527063e973fb80ec7
* | Delete skins/common/images/button_template.pngBartosz Dziewoński2014-08-211-0/+0
|/ | | | | | | | | | | | | | Unused in core, as well as extensions and skins. I have removed the two usages on Wikimedia wikis (found by mwgrep) which must have been the cause of the 97 requests for this file per bug 69277 comment 11: * https://de.wikipedia.org/wiki/MediaWiki:Gadget-Vorlagenmeister.css * https://hu.wikipedia.org/wiki/MediaWiki:Gadget-sablonmester.css Bug: 69277 Change-Id: I9d151e1fbc2da948b5265da731496d4178f51039
* Merge "Generate 'Enlarge' image in CSS rather than HTML (Linker)"jenkins-bot2014-08-193-6/+53
|\
| * Generate 'Enlarge' image in CSS rather than HTML (Linker)Bartosz Dziewoński2014-08-193-6/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There is an ungodly number of requests for magnify-clip.png, embedding it in CSS is probably good for performance. It also makes it a lot easier to change the icon, or provide a vector version (SVG or icon font). We need to be careful to keep new CSS compatible with old HTML (HTML is cached for up to 30 days in WMF environment), but luckily in this case this requires just one CSS rule. Follow-up to remove it: I7a920105. Bug: 69673 Change-Id: I849a2222fdf708573e54fa0658dbef4d9f2f665f
* | Merge "Sanitize thumbnails and captions styles"jenkins-bot2014-08-193-28/+54
|\|
| * Sanitize thumbnails and captions stylesBartosz Dziewoński2014-08-193-28/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No design changes, just cleaning up. * Remove dead rules (equivalent to default styles). * Remove unnecessary !importants (added in r3300 (!), apparently to intentionally override styles in skins at the time). * Make commonContent.css's directionality-specific styling not depend on shared.css (these don't have to be loaded together). * Fix double margins for .magnify in mixed directionalities. * Clarify that shared.css should only contain basic layout styles. * Group together directionality-specific styles in commonContent.css, comment about them. oldshared.css seems to intentionally not use them. * Align commonContent.css and oldshared.css where applicable. Change-Id: I2176d5ee73e37030c15ee5e16ba4eb0660349e15
* | Merge "Move installer files from skins/common/ to mw-config/"jenkins-bot2014-08-198-338/+0
|\ \
| * | Move installer files from skins/common/ to mw-config/Bartosz Dziewoński2014-08-178-338/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CSS and JS files are definitely used only by the installer. As for the images: * mediawiki.png is still used directly by some error pages (includes/PHPVersionError.php, includes/templates/NoLocalSettings.php) * ajax-loader.gif is still used by shared.css * bullet.gif is mysteriously used by *something*, according to the logs at bug 69277 comment 11; I currently have no idea what, so let's keep it here for a while * All other ones don't grep (outside of the installer itself) and don't appear in the logs on bug 69277. Bug: 69277 Change-Id: I9146d9211a807911a5e0cfaa1dd3ab8170f333ca
* | | Merge "Remove EnhancedChangesList::arrow() and friends"jenkins-bot2014-08-182-0/+0
|\ \ \ | |_|/ |/| |
| * | Remove EnhancedChangesList::arrow() and friendsBartosz Dziewoński2014-08-182-0/+0
| |/ | | | | | | | | | | | | | | | | Not used in core, the only usage outside removed in Ieb5bb6f9. Also removed two now-unused files from skins/common/. Bug: 69675 Change-Id: Ia0e9fc2af25af903db085f2a05c04dcd9aff213e
* | Merge "Do not flip margin of magnify icon on user interface language"jenkins-bot2014-08-181-0/+2
|\ \
| * | Do not flip margin of magnify icon on user interface languageFomafix2014-08-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Compare [[File:example.jpg|thumb|caption]] on https://www.mediawiki.org/wiki/Help:Images?uselang=en and https://www.mediawiki.org/wiki/Help:Images?uselang=ar Change-Id: If48f515d081611c3f5521729719fc44fa2eaeda5
* | | Merge "CSS style for thumbs on special pages"jenkins-bot2014-08-181-0/+2
|\ \ \ | |_|/ |/| |
| * | CSS style for thumbs on special pagesFomafix2014-08-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extension GlobalUsage uses thumbs on a special page. Special pages have no CSS class mw-content-ltr or mw-content-rtl. This change adds a default style for magnify and thumbcaption which gets flipped by the direction of the user interface language. This default definition gets overwritten by the existing definition in shared.css based on the content direction: /** * Image captions */ /* @noflip */ .mw-content-ltr .thumbcaption { text-align: left; } /* @noflip */ .mw-content-rtl .thumbcaption { text-align: right; } /* @noflip */ .mw-content-ltr .magnify { float: right; } /* @noflip */ .mw-content-rtl .magnify { float: left; } Bug: 69215 Change-Id: Ia6aa7c896fbedfe40b97af7358c5fa89223251b3
* | | Remove some unused files from skins/common/Bartosz Dziewoński2014-08-178-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Grepping doesn't point to any usages, and they don't appear in logs from bug 69277 comment 11. add.png Arr_.png closewindow.png diffunderline.gif link_icon.gif remove.png tooltip_icon.png Zoom_sans.gif Bug: 69277 Change-Id: I09c0c13b353366e83124e7ffa1fa02eeada76729
* | | Update release notes and documentation about skinsBartosz Dziewoński2014-08-131-0/+29
| |/ |/| | | | | | | | | | | | | skins/README based on extensions/README. Also updated the latter. Bug: 68402 Bug: 69372 Change-Id: I6d045af0509aa8fc485255b507554d771d101ee0
* | Remove Vector and MonoBook exceptions from skins' .gitignoreBartosz Dziewoński2014-08-071-2/+0
| | | | | | | | Change-Id: I8bf0095321fd8768ee01ad7d0872c764cfb42bae
* | Move Vector and MonoBook to separate repositoriesBartosz Dziewoński2014-08-07565-12604/+0
| | | | | | | | | | | | | | | | | | This is the final step of the process described at <https://www.mediawiki.org/wiki/Separating_skins_from_core_MediaWiki>. Corresponding changes: I84fcf7ce in Vector, I83b1efb4 in MonoBook. Change-Id: Idfc38503d8397ffe26e139037082d648bc5bfc5c