Krinkle has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/92465


Change subject: mediawiki.js: Fix unformatted code and unclosed HTML tag
......................................................................

mediawiki.js: Fix unformatted code and unclosed HTML tag

Depending on which versions of other libs are installed, this
error can occur. Current version (v4.x) in production doesn't
require this yet. But local environment with the same version
does. And the next version of jsduck (v5.x) will consistently
work this way for compliance with Markdown.

Also simplified @link while at it to use the cleaner implied
link instead like we do elsewhere ({@link} should rarely be
used directly).

Change-Id: Ic5b8c5c743ecdb1509652c3655d83e501f6fa9ee
---
M resources/mediawiki/mediawiki.js
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/65/92465/1

diff --git a/resources/mediawiki/mediawiki.js b/resources/mediawiki/mediawiki.js
index acda5d6..0b6c6ae 100644
--- a/resources/mediawiki/mediawiki.js
+++ b/resources/mediawiki/mediawiki.js
@@ -1460,16 +1460,19 @@
                                 * @param {Function|Array} script Function with 
module code or Array of URLs to
                                 *  be used as the src attribute of a new 
`<script>` tag.
                                 * @param {Object} style Should follow one of 
the following patterns:
+                                *
                                 *     { "css": [css, ..] }
                                 *     { "url": { <media>: [url, ..] } }
+                                *
                                 * And for backwards compatibility (needs to be 
supported forever due to caching):
+                                *
                                 *     { <media>: css }
                                 *     { <media>: [url, ..] }
                                 *
                                 * The reason css strings are not concatenated 
anymore is bug 31676. We now check
                                 * whether it's safe to extend the stylesheet 
(see #canExpandStylesheetWith).
                                 *
-                                * @param {Object} msgs List of key/value pairs 
to be added to {@link mw#messages}.
+                                * @param {Object} msgs List of key/value pairs 
to be added to mw#messages.
                                 */
                                implement: function ( module, script, style, 
msgs ) {
                                        // Validate input

-- 
To view, visit https://gerrit.wikimedia.org/r/92465
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5b8c5c743ecdb1509652c3655d83e501f6fa9ee
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Krinkle <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to