Bene added a comment.

Hey, I have a few suggestions to your proposal:

1. Use an article keyword like `{{DISPLAYTITLE:Abc}}` instead of a parser 
function, as it affects the article's header and will not be replaced by some 
html but rather modify another part of the page. I'd suggest 
`{{ARTICLEBANNER}}` or `{{PAGEBANNER}}`.
2. Don't use lua please but fetch the image automatically in the Extension so 
we won't need any template placed on the pages. The property to use can be 
specified in the config and you can get the statement for this property by 
using the Wikibase Extension in your PHP code.
3. Don't add all those symbols by wikitext, but use Wikidata's badges instead 
which can also be fetched automatically in your PHP code. Some of them don't 
exist on Wikidata yet so they should be created and added to the configuration. 
This requires a task on the Wikidata board.
4. Add the banner via CSS, not as an <img> tag. This way we can easily 
configure the size of the image by creating responsive css rules with `@media` 
queries. We can also easily create a different stylesheet for the 
MobileFrontend extension.
5. Concerning the edit box, as it should also be possible to edit Wikidata in 
this box, please work closely with the Wikidata team for that feature.


TASK DETAIL
  https://phabricator.wikimedia.org/T93106

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Sumit, Bene
Cc: Bene, Nemo_bis, Wrh2, Jdlrobson, KLans_WMF, Lydia_Pintscher, Florian, 
Aklapper, LtPowers, Deskana, Shaundd, Matroc, Nicolas_Raoul, Sumit, kaldari, 
Qgil, NiharikaKohli, Glaisher, Danapit, Andyrom75, Imaculate, Wikidata-bugs, 
aude



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to