Module talk:EditAtWikidata
This is the talk page for discussing improvements to the EditAtWikidata module. |
|
![]() | Use Wikipedia talk:Wikidata for general Wikidata support discussions |
Related pages |
---|
Edit request June 2019
![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
There is a request here ({{Official URL}}
) to use a different icon for the pencil (optionally). The default icon File:Blue pencil.svg when next to an external link visually bleeds into the hyperlink since they use the same shading. For example see the infobox at Anglican Communion ("Official URL"). (This is using {{official URL/sandbox}}
). The suggestion is to change the icon to the one used in the interwiki language box on the left side of the screen (same size/shape pencil just solid). I can't determine which icon image it is, but probably one in this category. I think a new argument to specify the image file (optionally, defaulting to current) would do the trick. @Xaosflux:. -- GreenC 14:32, 18 June 2019 (UTC)
- @Volker E. (WMF): - can you provide any insight that could help with this UI element? I'd like to keep things as consistent across the page as possible. — xaosflux Talk 14:56, 18 June 2019 (UTC)
- @GreenC: it looks like from the delivered page source that one is coming directly as raw svg data for the browser to render. — xaosflux Talk 16:31, 18 June 2019 (UTC)
- @Xaosflux: Thanks for pinging, I'd recommend File:OOjs_UI_icon_edit-ltr-progressive.svg for this, as it would use the standard edit icon. I'd also not be concerned with the slight color difference as it's only on a 16x16px base and the link colors are discussed to be changed to this new standard, accessible color as well in phab:T213778. – Volker E. (WMF) (talk) 03:32, 19 June 2019 (UTC)
On hold pending feedback. — xaosflux Talk 14:57, 18 June 2019 (UTC)
Doing... — xaosflux Talk 13:14, 19 June 2019 (UTC)
Wikidata Bridge
(Reposted from Module talk:WikidataIB § Wikidata Bridge.)
I'm guessing that the module maintainers might be unaware of this? The WMDE developers have been working on mw:Wikidata Bridge, which will allow some Wikidata statements to be edited directly through infoboxes and other templates. There's currently a semi-interactive prototype. I think it would be useful for the module maintainers to provide feedback, if there are any issues that haven't already been addressed.
There's an early draft of a documentation page that might help explain how the software's supposed to be enabled inside template code. Jc86035 (talk) 08:33, 3 July 2019 (UTC)
Noprint
Add span class noprint in order to prevent pencils from being printed as they are not useful in printed articles. --5.43.82.5 (talk) 01:50, 2 March 2020 (UTC)
Hide link to non-existent property
The module would be better if the link is suppressed when the property specified by |pid=
does not exist on the wikidata item. For example, the following output should be suppressed:
{{#invoke:EditAtWikidata|showMessage|pid=P3563|qid=Q106166201}}
->
because NGA lighthouse ID (P3563) does not exist on Out Skerries Light (Q106166201) — Martin (MSGJ · talk) 20:42, 24 March 2021 (UTC)
Performance change
![]() | It is requested that an edit be made to the fully protected module at Module:EditAtWikidata. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · test cases · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to fully protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the module's sandbox and test them thoroughly here before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
Please apply this change to the module. It uses a lot less lua memory than the current code, while still working the same way. I made this change due to the discussion at Wikipedia talk:Lua#Errors on List of Marvel Cinematic Universe films where the pages where hitting limits due to this module. Snævar (talk) 22:50, 17 February 2022 (UTC)
- @Zyxw, Nardog, PrimeHunter, Johnuniq, and Favre1fan93: any 2nd opinions on this; @Snævar: thanks for the update, now that this module is so widely used I'm just looking at updates with extreme caution!
- @Xaosflux: I don't have the Lua knowledge to properly comment on Snævar's changes, but they seemed to indicate all would be the same with less memory usage (which seems to be the goal). - Favre1fan93 (talk) 21:39, 18 February 2022 (UTC)
- @Zyxw, Nardog, PrimeHunter, Johnuniq, and Favre1fan93: any 2nd opinions on this; @Snævar: thanks for the update, now that this module is so widely used I'm just looking at updates with extreme caution!