[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wikitech-l
Subject:    [Wikitech-l] Document usage of gadget exports for other gadgets' use
From:       psnbaotg via Wikitech-l <wikitech-l () lists ! wikimedia ! org>
Date:       2023-12-12 4:16:23
Message-ID: Z5jOTrHijWBgowxNXSDWBw3bS1EsxUHsshs4jleAVLZtScKlTZkTqDZqWwojG9DCyzU2Zxn8rRBVAFhpj7EDioJUuYcLm39ABcp_mIFLbDg= () protonmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

Hello all,

Testing shows that a gadget can export something for another gadget (or user script) \
to use. But I cannot find any documentation regarding this. (Please don't confuse \
this with package gadgets -- they are different concepts.)

Examples here: https://test.wikipedia.org/wiki/MediaWiki:Gadget-packagefileuser.js \
and https://test.wikipedia.org/wiki/MediaWiki:Gadget-packagefilebase-file1.js.

I would like to draw your attention to this, as there is [a default gadget on Chinese \
Wikipedia](https://zh.wikipedia.org/wiki/MediaWiki:Gadget-HanAssist.js) utilizing \
this feature, so things can be better if this is officially documented.

For more information, please checke out \
[T349459](https://phabricator.wikimedia.org/T349459), thanks.

Best regards,

Diskdance


[Attachment #5 (text/html)]

<div style="font-family: Arial, sans-serif; font-size: 14px;">Hello all,</div><div \
style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div \
style="font-family: Arial, sans-serif; font-size: 14px;">Testing shows that a gadget \
can export something for another gadget (or user script) to use. But I cannot find \
any documentation regarding this. (<span>Please don't confuse this with package \
gadgets -- they are different concepts.</span>)</div><div style="font-family: Arial, \
sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; \
font-size: 14px;"><span>Examples here: <a target="_blank" rel="noreferrer nofollow \
noopener" href="https://test.wikipedia.org/wiki/MediaWiki:Gadget-packagefileuser.js">https://test.wikipedia.org/wiki/MediaWiki:Gadget-packagefileuser.js</a> \
and <a target="_blank" rel="noreferrer nofollow noopener" \
href="https://test.wikipedia.org/wiki/MediaWiki:Gadget-packagefilebase-file1.js">https \
://test.wikipedia.org/wiki/MediaWiki:Gadget-packagefilebase-file1.js</a>.</span></div><div \
style="font-family: Arial, sans-serif; font-size: 14px;"><span><br></span></div><div \
style="font-family: Arial, sans-serif; font-size: 14px;"><span>I would like to draw \
your attention to this, as&nbsp;there is <a \
href="https://zh.wikipedia.org/wiki/MediaWiki:Gadget-HanAssist.js" title="a default \
gadget on Chinese Wikipedia">a default gadget on Chinese Wikipedia</a> utilizing this \
feature, so things can be better if this is officially documented.</span></div><div \
style="font-family: Arial, sans-serif; font-size: 14px;"><span><br></span></div><div \
style="font-family: Arial, sans-serif; font-size: 14px;">For more information, please \
checke out&nbsp;<a href="https://phabricator.wikimedia.org/T349459" \
title="T349459">T349459</a>, thanks.</div><div style="font-family: Arial, sans-serif; \
font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: \
14px;">Best regards,</div><div style="font-family: Arial, sans-serif; font-size: \
14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: \
14px;">Diskdance</div><div class="protonmail_signature_block " style="font-family: \
Arial, sans-serif; font-size: 14px;"> </div>



_______________________________________________
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic