aboutsummaryrefslogtreecommitdiffstats
path: root/resources/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge "build: Bump devDependencies to latest"jenkins-bot2018-04-091-1/+1
|\ \ \
| * | | build: Bump devDependencies to latestJames D. Forrester2018-04-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | grunt-stylelint 0.9.0 → 0.10.0 stylelint 8.2.0 → 9.2.0 stylelint-config-wikimedia 0.4.2 → 0.4.3 Change-Id: I612cf96d99e2af67b3f7ef3284657f66f3e18d2e
* | | | [BREAKING CHANGE] Remove mw.widgets.CategorySelectorPrateek Saxena2018-04-091-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Follows-up on I7c9e0089ba6b77f4bc73e14b989630487f6f3174. Bug: T161285 Change-Id: I1fb150914cefddd12b5ecb8f2d69f6828781cb20
* | | | mediawiki.jqueryMsg: Rename .parser class to .ParserTimo Tijhof2018-04-061-12/+15
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This class is marked @private, but nonetheless, there is at least one use in MobileFrontend, so keeping a back-compat alias for now. Also rename the HtmlEmitter utility class (also private, not used anywhere outside this file), and fix its broken documentation by repeating the @class and @private tags on its own constructor. It previously had all its methods indexed by JSDuck as part of the previous class in that file (Parser), which created doc pages with examples that don't work. Change-Id: I02d851d9b6eac89f1a2b85b438b982bd055bedee
* | | mw.special.apisandbox: Use a real button to insert values in multi fieldsBartosz Dziewoński2018-04-052-39/+35
| | | | | | | | | | | | | | | | | | | | | | | | Stuffing an indicator inside a normal widget is weird. Also, always add it, even when we also handle Enter presses on the input. Change-Id: I7191b4f31bfe4b42a524c786994150f318fd8cd9
* | | Merge "SizeFilterWidget: Reduce width"jenkins-bot2018-04-051-1/+1
|\ \ \ | |/ / |/| |
| * | SizeFilterWidget: Reduce widthPrateek Saxena2018-03-281-1/+1
| | | | | | | | | | | | Change-Id: Ib4fd667ce6bfcd0dd86a19619a7610c6c92b0619
* | | Merge "Revert "Work around Firefox 57 attribute parsing regression""jenkins-bot2018-04-041-3/+1
|\ \ \
| * | | Revert "Work around Firefox 57 attribute parsing regression"Fomafix2018-02-241-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug https://bugzilla.mozilla.org/1418152 is fixed in Firefox 57.0.1 and released at November 29, 2017. 5ca659b287a1ef7755729de60c1bcc5ff4a79c76 added additional CSS minify rules which prevents the problem on debug=false mode but not on debug=true mode. This reverts commit 543eb7c9beb7913ae53fc4f5da9ee74d379738f6. Change-Id: I0f039791023f67b24ca8ab663702e2f754f6964f
* | | | Merge "Special:Preference: Check for changes before enabling Save button"jenkins-bot2018-04-041-6/+4
|\ \ \ \
| * | | | Special:Preference: Check for changes before enabling Save buttonPrateek Saxena2018-04-021-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Changing mousedown and keydown to mouseup and keyup …so that isPrefsChanged gets the updated value and can return something useful * Changing one to on …so that if a value is updated and then changed back to the original, the button can be disabled again Bug: T180538 Change-Id: I7146f8d3166e09e13b26321e7a6a7c8ac74f9aaf
* | | | | Merge "Use new API for descriptions in TitleWidget"jenkins-bot2018-04-041-3/+2
|\ \ \ \ \
| * | | | | Use new API for descriptions in TitleWidgetEd Sanders2018-04-041-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: T191333 Change-Id: I5682f2fe3000d61c3760d22e9a567c762cf36710
* | | | | | Merge "Remove outdated comment for .background-image-svg"jenkins-bot2018-04-041-2/+0
|\ \ \ \ \ \
| * | | | | | Remove outdated comment for .background-image-svgNiklas Laxström2018-04-041-2/+0
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we dropped prefixed versions, we are no longer embedding multiple times. Change-Id: I58ad6f732289253c22cf12c74e340cd81c26e943
* | | | | | Merge "RCFilters: Followup Iebc3176c5d: Bidi isolate filter tags"jenkins-bot2018-04-041-3/+9
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | RCFilters: Followup Iebc3176c5d: Bidi isolate filter tagsMoriel Schottlender2018-04-041-3/+9
| |/ / / / | | | | | | | | | | | | | | | | | | | | Bug: T190718 Change-Id: I8e556624ddbc4e824a3fb9724f6fb721c18d2e85
* | | | | OOUIHTMLForm styles: Replace fixed properties with `.transition()` mixinVolker E2018-04-031-3/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: I16789cca4d797e3147dfbaac8b50280d0240a1b7
* | | | | OOUIHTMLForm styles: Unify spacing aligned to new base font-sizeVolker E2018-04-031-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow-up to I693d168d2ccf2babbcfe8952af3e1c262aa97773 Bug: T177668 Change-Id: I86077eadbf0986868cbaabd41c33b48e333d7973
* | | | | mediawiki.action.view.rightClickEdit: Remove redundanat dom-ready handlerTimo Tijhof2018-03-291-5/+6
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This file was wrapped in a jQuery() dom-ready callback, but it doesn't and shouldn't have that because it needlessly delays execution. I probably added because back then, using the first parameter of jQuery() was a common way for aliasing it to '$', but we use closures for that nowadays. Change-Id: I65768564ed556828fd193dfe99d11370fa745112
* | | | RCFilters UI: Remove CSS customization for help iconRoan Kattouw2018-03-291-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes most of the misalignment after the OOUI v0.26 upgrade. Bug: T191014 Change-Id: I4623836d134fa52fb6b562e671a5da104b787b7d
* | | | RCFilters: Rename deprecated 'unClip' icon to 'bookmark'Volker E2018-03-282-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'unClip' got deprecated in OOUI v0.26.1 and 'bookmark' is the new, more appropriate name. Bug: T183601 Change-Id: I797071327987a8032b9d7d1d9bcfa27f4fd9db2f
* | | | Merge "RCFilters: Bidi isolate tag names and descriptions"jenkins-bot2018-03-281-2/+2
|\ \ \ \ | |_|/ / |/| | |
| * | | RCFilters: Bidi isolate tag names and descriptionsMoriel Schottlender2018-03-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tags can be untranslated in wikis; most often remain in English even in an RTL wiki. Since that text is inserted by external input that can be outside normal translation, we should expect any directional string in there, and these should be bidi isolated. Bug: T190718 Change-Id: Iebc3176c5d0f5097badd0dde565a5a6cbfa3a3c2
* | | | Merge "mediawiki.user: Implement mw.user.stickyRandomId"jenkins-bot2018-03-271-2/+16
|\ \ \ \ | |_|_|/ |/| | |
| * | | mediawiki.user: Implement mw.user.stickyRandomIdGilles Dubuc2018-03-261-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a sticky version of generateRandomSessionId, useful to keep track of the pageview between extensions. Bug: T187299 Change-Id: I0877c399c60d3fb2fdf8e844cad6acecf6f704c9
* | | | Merge "mediawiki.language: Implement non-digit-grouping of four-digit numbers"jenkins-bot2018-03-232-13/+25
|\ \ \ \
| * | | | mediawiki.language: Implement non-digit-grouping of four-digit numbersBartosz Dziewoński2018-02-132-13/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some languages it's conventional not to insert a thousands separator in numbers that are four digits long (1000-9999). This now matches the behavior of the PHP Language class. Bug: T177846 Change-Id: I6f4e51a907b084bd7fde09cd9c16c9bf41cdc98c
* | | | | Remove 0.8em default overlay hackEd Sanders2018-03-231-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the font size on Special:ApiSandbox when expanded. Change-Id: I72d825f0da014383f5b82272a816f09f41c6027b
* | | | | Use OOUI's checkAll instead of doubleCheck from EchoEd Sanders2018-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not least because Echo might not be installed. Change-Id: I44a439c6b924b8d88585ea7a2e613d505e16724f
* | | | | mediawiki.ui: Update mw-ui-input padding/line-height to match OOUIEd Sanders2018-03-221-2/+2
| |/ / / |/| | | | | | | | | | | Change-Id: Ic67973f994fd28b1e5f09ddf203a3217a705befb
* | | | mediawiki.util: Document isIPAddress() allowBlock as optionalTimo Tijhof2018-03-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was already the case in the code, but the documentation was not reflecting this accurately. Passing 'false' as second parameter is not desirable in most cases. Change-Id: Idbbd7de795b444e401a16292dfb8c9a80f4d07be
* | | | Remove #toc and #toctitle style definitionsDerk-Jan Hartman2018-03-165-35/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Styling by class is preferred over styling by id as a rule, and this #toc .toc doubling up was in place since 2005. (28c9a747797dae738cd6fe1a97c29e1591564112) 13 years of cache protection seems adequate :) Bug: T187808 Change-Id: I7f3a9df7f9fd1178986112b5265b1ae7c991d5b7
* | | | Remove `-webkit` vendor extension for browsers earlier than 2012Volker E2018-03-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing `-webkit-gradient` value as it was just around for Safari 4-5 and Chrome 2-9 both in released release range earlier than 2012. There's still the fallback color, which should be chosen wisely anyways without cluttering our CSS output. Change-Id: Iffb23fac44fc87cfb44f1056dfe1e4e1add444b4
* | | | Replace abandoned text color with WikimediaUI color palette oneVolker E2018-03-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Replacing leftover `#252525` with `#222` for code sanity. Change-Id: I0406845950c65babe34672a6a59a390f56687e46
* | | | Merge "resourceloader: Fix mw.loader to compute combined version in packed ↵jenkins-bot2018-03-151-7/+24
|\ \ \ \ | | | | | | | | | | | | | | | order"
| * | | | resourceloader: Fix mw.loader to compute combined version in packed orderTimo Tijhof2018-03-081-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'version' param was being computed based on the order of the modules list before we perform string compression. And this compression can change the order for its optimisation purposes. Specifically, when requesting modules like 'a', 'b.1', 'b.2' and 'c'. The version was computed based on a + b.1 + b.2 + c (standard sort order), whereas the optimised list is 'a,c|b.1,2', which expands to a + c + b.1 + b.2, which makes hash validation fail. Bug: T188076 Change-Id: I00d6985c054fecd88acf73041aa02878e83d62bc
* | | | | Merge "resourceloader: Make doRequest() an inline helper for batchRequest()"jenkins-bot2018-03-141-20/+16
|\| | | |
| * | | | resourceloader: Make doRequest() an inline helper for batchRequest()Timo Tijhof2018-03-081-20/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses all the current variables, might as well just inline since its only purpose was to avoid duplication of these three lines of code within batchRequest()'s for-loop. It's used as private function elsewhere internally. Change-Id: Ib016ae412b32b4041d2bd8a74d22b88bf70417b4
* | | | | Merge "resourceloader: Fix mw.loader to compute version for current request ↵jenkins-bot2018-03-141-21/+29
|\| | | | | |_|/ / |/| | | | | | | only"
| * | | resourceloader: Fix mw.loader to compute version for current request onlyTimo Tijhof2018-03-071-21/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the 'version' query parameter was computed before request-splitting which meant that all requests within the same 'source/group'-batch carried the same 'version' parameter. This was then consistently rejected on the server due to it not batching the combined hash of modules for any given request. In practice this happened very rarely (if at all) in production, because urls don't usually hit anywhere near 2000 in common use. Bug: T188076 Change-Id: I211523d4781623873887a05d048f56cccd28432c
* | | | Merge "resourceloader: Clean up and better document module list (un)packing"jenkins-bot2018-03-141-7/+14
|\| | |
| * | | resourceloader: Clean up and better document module list (un)packingTimo Tijhof2018-03-061-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move buildModulesString() call from doRequest() to batchRequest() This keeps all module string "packing" logic located to the same function, which is batchRequest(). It also means that the moduleMap object will not leave the function, which helps in maintenance given it's very internal. * Add comments to all the methods referring to each other. * Explain why buildModulesString() is only a partial port, and the rest is inlined in batchRequest(). * Minor changes to the JS and PHP implementation to better match each other. - '$groups' -> '$moduleMap'. - Remove redundant '$str'. Bug: T188076 Change-Id: I7b0790606c456e492ab682faeb80f7e7fce7d9f8
* | | | Fix typo in word compatibilityUmherirrender2018-03-091-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ic6ad14f5e156311cee3021cd427561dfcd68633a
* | | | Self links should not be marked as legacy cssjdlrobson2018-03-062-15/+15
|/ / / | | | | | | | | | | | | Bug: T181472 Change-Id: Ia19a223a2393d5920ae044c396dc25e80354b3fe
* | | Merge "mediawiki.special.apisandbox: Reorder functions"jenkins-bot2018-03-061-66/+65
|\ \ \
| * | | mediawiki.special.apisandbox: Reorder functionsFomafix2018-03-041-66/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids forward references and /* eslint-disable no-use-before-define */ can removed. Change-Id: If26a9c275665d20864687cd99d3679b362291fa9
* | | | Merge "DifferenceEngine: Use CSS classes instead of inline styles"jenkins-bot2018-03-051-0/+6
|\ \ \ \
| * | | | DifferenceEngine: Use CSS classes instead of inline stylesBartosz Dziewoński2018-03-051-0/+6
| |/ / / | | | | | | | | | | | | Change-Id: Iee0e5e7eb73023a6f57c1f462e71cbb0e771d1f2
* / / / EditPage: In the list of "templates used", highlight redirect templatesAdityaJ2018-03-051-0/+5
|/ / / | | | | | | | | | | | | Bug: T188737 Change-Id: I16af53c5048a95fd166f8e79ea26f164c1d3a49d