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
![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
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!
Not done all of the test cases are reporting failure, @Snævar: can you review and comment on that? (Once resolved, reactivate the edit request). — xaosflux Talk 01:14, 25 February 2022 (UTC)
Hiding pen in printouts or to non-logged in users
I suggest that the pen icon at least should be hidden in printouts. That is possible using:
<sup class="noprint Inline-Template">...</</sup>
The pen in module:WikidataIB is always hidden to non-logged in users and other users who are not autoconfirmed. "This means that most readers don't see the pen icon, and represents a balance between aesthetics and vandalism at Wikidata on the one hand, and the desire to encourage editing Wikidata on the other." This follows an old and archived discussion at Module talk:WikidataIB #Visibility of pen icon.
Different pen visibility policy of different modules is very confusing. For example, my templates {{Area WD}}, {{Population WD}} and {{Population density WD}} currently behave inconsequently in this matter. Is it possible to harmonize the modules? Tomastvivlaren (talk) 22:55, 2 March 2022 (UTC)