RexxS added a comment.

There have already been requests for short descriptions to be available within the text of a wiki-page, especially for Commons, where a page or category may be linked to an article on a Wikipedia. I can imagine the same functionality being of use in other projects as well.

Since directly querying the API for article text would normally be done client-side using _javascript_, that would imply having a piece of script that would need to be installed in the common _javascript_ for every project that wanted this feature. It seems to me to be far cleaner to expose the API's prop=description value to Lua, which moves the processing server-side. That would also allow the flexibility of integrating short descriptions into existing modules or creating new ones as required.

I agree there's no great urgency in this, but it would be useful to implement at some point.


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

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

To: RexxS
Cc: RexxS, TheDJ, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to