[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-30 Thread RexxS
RexxS added a comment. In T184000#6011411 , @JeanFred wrote: > In T184000#6007325 , @RexxS wrote: > >> It is unfortunate that Wikidata chose to use prose fragment case, as that neve

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-30 Thread RexxS
RexxS added a comment. Compared to the 14,986,105 entries with an English label but no English description. How does the bot-added English description "Wikimedia list article" help anyone create a label for Q1831702? or the description "scientific article (publication date: June 2006)" help

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-30 Thread JeanFred
JeanFred added a comment. In T184000#6007325 , @RexxS wrote: > It is unfortunate that Wikidata chose to use prose fragment case, as that never gets used in any application that I'm aware of. I don’t understand why this would be unfo

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-29 Thread Bugreporter
Bugreporter added a comment. "Nobody uses the Wikidata description with labels" - Wikidata description with first letter converted to uppercase is used in Siri, see https://www.wikidata.org/wiki/Wikidata:Project_chat/Archive/2018/08#User_instructions_in_descriptions_are_harmful (though it me

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-29 Thread Bugreporter
Bugreporter added a comment. https://www.wikidata.org/w/index.php?search=hasdescription%3Aen+-haslabel%3Aen&search=hasdescription%3Aen+-haslabel%3Aen&title=Special%3ASearch&go=%E5%89%8D%E5%BE%80&ns0=1&ns120=1 - 7,397,340 items with English description but no English label. TASK DETAIL http

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-29 Thread RexxS
RexxS added a comment. In T184000#6007957 , @Bugreporter wrote: > Wikidata description is to be used with labels, so users in Wikidata will see: > set > fundamental mathematical concept related to the notions of belonging or inclusi

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-29 Thread Pbsouthwood
Pbsouthwood added a comment. As far as I can see no-one has answered RexxS's question. Is it likely that anyone here can actually do that? TASK DETAIL https://phabricator.wikimedia.org/T184000 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Tgr,

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-28 Thread Bugreporter
Bugreporter added a comment. Wikidata description is to be used with labels, so users in Wikidata will see: set fundamental mathematical concept related to the notions of belonging or inclusion Georgia state of the United States of America TASK DETAIL https://phabricator.wikim

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-28 Thread RexxS
RexxS added a comment. Wikidata is not an application, so I'm not sure of the value of its expectations., I'm unaware of any application that adds the description after the label in the way you describe, Perhaps you can name some examples? Otherwise the principal use of Wikidata descript

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-28 Thread Bugreporter
Bugreporter added a comment. In Wikidata it is excepted that the description can be added after label (or usually title) in parentheses, e.g. machine translation (sub-field of computational linguistics). Wikidata description is also designed to disambiguate items with the same or simila

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-28 Thread RexxS
RexxS added a comment. The advice given to editors adding short descriptions on enwiki is to use the same case as would be used in article titles, e.g. "American politician", "Largest city in England", "eBay Founder". Those are the correct case to use on any sub-heading such the search on mo

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-28 Thread Bugreporter
Bugreporter added a comment. Description are designated short enough to be uncopyrightable. Any long description (that is copyright eligible) should be rewritten. Previously I imported (as one-off task) ~11 short descriptions to Wikidata, and I found the short descriptions have such

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-27 Thread RexxS
RexxS added a comment. Well it didn't seem to cause a problem for all of the statements imported from the various Wikipedias. It also doesn't seem to cause a problem for anybody using the enwiki 'short description helper', which silently and invisibly adds a Wikidata description wheneve

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-27 Thread Mike_Peel
Mike_Peel added a comment. In T184000#6004316 , @TheDJ wrote: > I think we are forgetting that both systems have divergent copyright licenses, with WikiData the more liberal one. As such a bot automatically copy pasting would likely vio

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-27 Thread TheDJ
TheDJ added a comment. I think we are forgetting that both systems have divergent copyright licenses, with WikiData the more liberal one. As such a bot automatically copy pasting would likely violate copyright licensing. TASK DETAIL https://phabricator.wikimedia.org/T184000 EMAIL PREFEREN

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-26 Thread RexxS
RexxS added a comment. The thing is, Mike, that the descriptions on Wikidata are monolingual. There is a separate description for every language, so it's not a matter of a central repository that can be used across all projects. The Wikidata description field is potentially useful for the co

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-26 Thread Mike_Peel
Mike_Peel added a comment. In T184000#6003788 , @DannyS712 wrote: > In T184000#6003787 , @Mike_Peel wrote: > >> In T184000#6003783

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-26 Thread DannyS712
DannyS712 added a comment. In T184000#6003787 , @Mike_Peel wrote: > In T184000#6003783 , @DannyS712 wrote: > >> What about a bot importing the local descriptions from enwiki to wikid

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-26 Thread Mike_Peel
Mike_Peel added a comment. In T184000#6003783 , @DannyS712 wrote: > What about a bot importing the local descriptions from enwiki to wikidata? That way enwiki still has control over the content, but wikidata still has accurate and updat

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-26 Thread DannyS712
DannyS712 added a comment. In T184000#6003774 , @Mike_Peel wrote: > In T184000#5993141 , @RexxS wrote: > >> Just a "heads-up" that a search on enwiki articles for `hastemplate:"short

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2020-03-26 Thread Mike_Peel
Mike_Peel added a comment. In T184000#5993141 , @RexxS wrote: > Just a "heads-up" that a search on enwiki articles for `hastemplate:"short description"` yields 2,083,124 results. > May we assume that we will be moving on to Stage 2 in

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-06-12 Thread gerritbot
gerritbot added a comment. Change 423245 merged by jenkins-bot: [mediawiki/extensions/Wikibase@master] Add local and central description to page info https://gerrit.wikimedia.org/r/423245TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-06-12 Thread gerritbot
gerritbot added a comment. Change 423244 merged by jenkins-bot: [mediawiki/extensions/Wikibase@master] Refactor business logic in description API into helper class https://gerrit.wikimedia.org/r/423244TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabricator.wikimedi

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-05-15 Thread Pbsouthwood
Pbsouthwood added a comment. a) What side effect? b) How do you suggest we make this thing work?TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Tgr, PbsouthwoodCc: Pbsouthwood, Deskana, Catrope, RexxS, Nikera

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-05-15 Thread Tgr
Tgr added a comment. Every magic word with a side effect works in a last-one-wins manner; it would be pretty confusing to change that just for this one, IMO. Anyway, probably better to discuss in a new task than an already-closed one.TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERE

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-05-14 Thread Pbsouthwood
Pbsouthwood added a comment. The magic word SHORRTDESC stores the last instance found on the page. This is problematic and it would be preferable to store the first instance. Please fix Short descriptions are automatically produced by several templates, Some produce a generic short description sui

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-04-05 Thread TheDJ
TheDJ added a comment. Since people don't want to wait for proper development, nor are capable of writing their own scripts (why do we even bother with gadgets etc any longer? ) https://en.wikipedia.org/wiki/MediaWiki:Gadget-Page_descriptions.jsTASK DETAILhttps://phabricator.wikimedia.org/T184000EM

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-04-03 Thread Deskana
Deskana added a comment. In T184000#4088625, @Mike_Peel wrote: In T184000#3990055, @Mike_Peel wrote: Will it be possible to access/display the descriptions in the text of other articles (e.g., list articles, or ideally even on Commons/other projects), or will this be write-only from the perspecti

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-31 Thread gerritbot
gerritbot added a comment. Change 423245 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza): [mediawiki/extensions/Wikibase@master] Add local and central description to page info https://gerrit.wikimedia.org/r/423245TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFE

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-31 Thread gerritbot
gerritbot added a comment. Change 423244 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza): [mediawiki/extensions/Wikibase@master] Refactor business logic in description API into helper class https://gerrit.wikimedia.org/r/423244TASK DETAILhttps://phabricator.wikimedia.org/T184

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-29 Thread RexxS
RexxS added a comment. I've now enabled the magic word on some 4600 articles on English Wikipedia: https://en.wikipedia.org/wiki/Special:WhatLinksHere/Template:Short_description That should give some scope for testing where you want the output of {{SHORTDESC:}} to go to.TASK DETAILhttps://phabric

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-28 Thread Tgr
Tgr added a comment. In T184000#4088575, @DannyH wrote: VisualEditor should be included in this; the short description should use the override everywhere that the description is used on English WP. From a quick grep, the affected MediaWiki extensions seem to be CirrusSearch, ContentTranslation,

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-28 Thread Mike_Peel
Mike_Peel added a comment. In T184000#3990055, @Mike_Peel wrote: Will it be possible to access/display the descriptions in the text of other articles (e.g., list articles, or ideally even on Commons/other projects), or will this be write-only from the perspective of editing? Asking this again in

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-28 Thread Tgr
Tgr added a comment. In T184000#4088258, @Jdlrobson wrote: @Tgr do you plan to do one for mobile web or do you need me to organise that? I'd leave that to Reading Web if that's OK with you.TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/sett

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-28 Thread DannyH
DannyH added a comment. Thanks, Jon. So this is the most important follow-up: use the new API in MobileFrontend, MCS and mobile apps (and maybe VisualEditor?) VisualEditor should be included in this; the short description should use the override everywhere that the description is used on Englis

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-28 Thread TheDJ
TheDJ added a comment. https://en.wikipedia.org/w/api.php?action=""> https://en.wikipedia.org/w/api.php?action=""> TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Tgr, TheDJCc: LGoto, Jdlrobson, Stashbot, WM

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-28 Thread Jdlrobson
Jdlrobson added a comment. @DannyH see follow ups - I think we need to update all clients now. @Tgr do you plan to do one for mobile web or do you need me to organise that?TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpref

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-28 Thread DannyH
DannyH added a comment. I'm testing it out on enwiki: https://en.wikipedia.org/wiki/Wagon_Train (Wikidata desc: Television program / enwiki desc: Western television series aired 1957-1965) https://en.wikipedia.org/wiki/Guy_Madison (Wikidata: Actor / enwiki: American film and television actor) I

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-28 Thread Tgr
Tgr added a comment. Deployed on enwiki. Not used anywhere yet (I imagine {{short description}}, used on ~5000 pages, will be soon updated to use it); API help is at https://en.wikipedia.org/wiki/Special:ApiHelp/query+description Follow-ups needed: add short description to page info so that edit

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-28 Thread Stashbot
Stashbot added a comment. Mentioned in SAL (#wikimedia-operations) [2018-03-28T13:42:06Z] Synchronized wmf-config/InitialiseSettings.php: Enable Wikidata description override on enwik (T184000) (duration: 01m 18s)TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabrica

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-28 Thread gerritbot
gerritbot added a comment. Change 420227 merged by jenkins-bot: [operations/mediawiki-config@master] Enable Wikidata description override on enwiki https://gerrit.wikimedia.org/r/420227TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/p

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-21 Thread Jdlrobson
Jdlrobson added a comment. Note that given MobileFrontend doesn't always use the API it may need updating post this change.TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Tgr, JdlrobsonCc: Jdlrobson, Stashbot

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-20 Thread Lydia_Pintscher
Lydia_Pintscher added a comment. Ok thanks!TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Tgr, Lydia_PintscherCc: Stashbot, WMDE-leszek, Elitre, gerritbot, TheDJ, Fjalapeno, Tbayer, MZMcBride, Alsee, bearND,

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-19 Thread Tgr
Tgr added a comment. This is now in testwiki (also beta enwiki) and seems to be working well. Just from testing some large API queries, it seems on par with pageterms on performance (both are fairly fast even for thousands of pages). I think it could go to enwiki later this week, but I won't be aro

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-19 Thread gerritbot
gerritbot added a comment. Change 418843 merged by jenkins-bot: [operations/mediawiki-config@master] Enable Wikidata description override on testwiki https://gerrit.wikimedia.org/r/418843TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-17 Thread gerritbot
gerritbot added a comment. Change 420227 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza): [operations/mediawiki-config@master] Enable Wikidata description override on enwiki https://gerrit.wikimedia.org/r/420227TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERE

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-14 Thread Stashbot
Stashbot added a comment. Mentioned in SAL (#wikimedia-operations) [2018-03-14T23:45:26Z] Synchronized wmf-config/Wikibase.php: T184000 Enable Wikidata description override on beta cluster (duration: 01m 14s)TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabricator.w

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-14 Thread Stashbot
Stashbot added a comment. Mentioned in SAL (#wikimedia-operations) [2018-03-14T23:43:25Z] Synchronized wmf-config/InitialiseSettings-labs.php: T184000 Enable Wikidata description override on beta cluster (duration: 01m 15s)TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps:

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-14 Thread Stashbot
Stashbot added a comment. Mentioned in SAL (#wikimedia-operations) [2018-03-14T23:41:02Z] Synchronized wmf-config/InitialiseSettings.php: T184000 Enable Wikidata description override on beta cluster (duration: 01m 15s)TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://pha

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-14 Thread gerritbot
gerritbot added a comment. Change 419083 merged by jenkins-bot: [operations/mediawiki-config@master] Enable Wikidata description override on beta cluster https://gerrit.wikimedia.org/r/419083TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/sett

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-12 Thread gerritbot
gerritbot added a comment. Change 419083 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza): [operations/mediawiki-config@master] Enable Wikidata description override on beta cluster https://gerrit.wikimedia.org/r/419083TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL P

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-11 Thread gerritbot
gerritbot added a comment. Change 418843 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza): [operations/mediawiki-config@master] Enable Wikidata description override on testwiki https://gerrit.wikimedia.org/r/418843TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFE

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-03-08 Thread gerritbot
gerritbot added a comment. Change 414633 merged by jenkins-bot: [mediawiki/extensions/Wikibase@master] Add parser function and API module for page descriptions https://gerrit.wikimedia.org/r/414633TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabricator.wikimedia.or

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-26 Thread Tgr
Tgr added a comment. Not sure about performance of the patch. PageProperties only does in-process caching (and even that only for lookups where the property exists); that sounds problematic but PagePropsEntityIdLookup (used by the pageterms API) does not do any caching either so maybe it's not so b

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-26 Thread gerritbot
gerritbot added a comment. Change 414633 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza): [mediawiki/extensions/Wikibase@master] Add parser function and API module for page descriptions https://gerrit.wikimedia.org/r/414633TASK DETAILhttps://phabricator.wikimedia.org/T184000E

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-23 Thread Tgr
Tgr added a comment. In T184000#3997699, @daniel wrote: Conceptually, this mechanism could be used to provide short descriptions without wikibase being installed. I'd rather put it in Wikibase for now, it can e reconsidered if someone actually shows interest in that. (We might want to rethink th

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-23 Thread daniel
daniel added a comment. prop=description sounds like a good way to do this! It's a little more work, but provides a more sensible interface to clients. descsource=magicword|wikibase would work, but in general, clients should not know or care about this. At least, the default behavior in the absenc

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-22 Thread Addshore
Addshore added a comment. @daniel pointed out to me that the pageterms api module was originally introduced for the apps etc to use. For future, APIs have the ability to be marked as "internal" if they are only designed for internal use, this would allow us to make whatever changes we want to suit

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-21 Thread Tgr
Tgr added a comment. Thanks @DannyH. In T184000#3990096, @daniel wrote: If changing client behavior is an option, my preferred approach would be to introduce a new API module that offers a short description and (to the outside) says nothing about where it comes from, and then have one implementat

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-21 Thread DannyH
DannyH added a comment. @daniel & @Tgr -- sorry, I misspoke in my last comment. I talked to a couple more people and I understand it better now. :) We should do the second option and create a new mode of the API. I believe that means we won't have to notify Wikibase, so that should save some time.T

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-21 Thread Tgr
Tgr added a comment. In T184000#3987715, @Tgr wrote: The only one I can think of is when a client feeds this information back to Wikidata, e.g. by showing editable article descriptions, and I'm not aware of anything doing that (there was work on it for the official apps in T90765 and T145813 but n

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-21 Thread daniel
daniel added a comment. IMO we should only override pageterms that are in the content language. Or maybe those which are queried in the content language (it's a close enough approximation and makes things simpler). Yes, going by the requested language seems correct. And overriding descriptions req

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-21 Thread DannyH
DannyH added a comment. As @daniel said, the purpose of this ticket is to change the way that this works. I think we should do the first option in @Tgr's message above -- all clients should honor the override. We've made a commitment to people on English Wikipedia that this will be done.TASK DETAIL

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-21 Thread daniel
daniel added a comment. @Addshore I guess the problem here is that what technically is a breaking change is also the requirement of this ticket: make existing clients receive the overwritten local description, without any change to the client. We cannot fulfill that requirement without a breaking c

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-21 Thread Mike_Peel
Mike_Peel added a comment. In T184000#3988364, @Alsee wrote: However the seesaw/swing example still proves the fundamental point. Wikidata descriptions are descriptions of Wikidata items, for Wikidata purposes. Trying to put a Czech article-description in the Wikidata-description would be flat-out

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-21 Thread Alsee
Alsee added a comment. According to the API info, it looks like a pageterms API call is doing the correct thing, returning a Wikidata value. That probably shouldn't be broken. It appears the issue is the bits of code making the API calls. They are explicitly requesting Wikidata values. It looks li

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-21 Thread Addshore
Addshore added a comment. In T184000#3988387, @TheDJ wrote: @Tgr Hmm. I just realised that pageterms module also reflects the wikidata content in the language as indicated by uselang... that's another potential api breaking point. Yup, another reason to not change the "description" key. In a w

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-21 Thread TheDJ
TheDJ added a comment. @Tgr Hmm. I just realised that pageterms module also reflects the wikidata content in the language as indicated by uselang... that's another potential api breaking point. BTW. I wondered where "terms" originated from in wikidata speak. Best I could find was: "Term is a tech

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-21 Thread Addshore
Addshore added a comment. In T184000#3988364, @Alsee wrote: Can someone post a link to the relevant API documentation page? You might mean this https://en.wikipedia.org/w/api.php?action=""> In T184000#3987715, @Tgr wrote: Is it actually breaking anything, though? It is still a breaking chang

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-21 Thread Alsee
Alsee added a comment. @Tgr thanks for catching my sloppy hatmaking example. Hatmaking is an illustration for a completely different serious bug - interwiki links are badly broken. 75% of the interwiki links are missing from the English article , and 75% of languages with an article are missing int

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-20 Thread Addshore
Addshore added a comment. In T184000#3984789, @Tgr wrote: The parser function hook stores the argument of the parserfunction in the ParserOutput's page properties with a wikibase-description-override key. So, this doesn't really have anything to do with wikibase, what we are adding here is a p

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-20 Thread Alsee
Alsee added a comment. I'm not familiar with all of the API issues, but if this helps: The magicword Shortdesc: is actually a description of the article. The Wikidata label is a description of the Wikidata item. Someone thought Wikidata labels could conveniently be re-used as if they were an articl

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-20 Thread daniel
daniel added a comment. ...as to registering the description as used: this should be governed by a separate setting. It really has nothing to do with the magic word. I think the setting should be generic, not limited to descriptions. E.g.: $wgWBClientSettings['impliciteUsageAspects'] = [ 'D', 'L'

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-20 Thread daniel
daniel added a comment. @Tgr Sounds like a decent plan. In an ideal world, the "short description" functionality would be factored out of wikidata, so it could be backed by *just* the magic word or *just* wikidata or both combined or something else. But that would of course break B/C. So I suppose

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-20 Thread TheDJ
TheDJ added a comment. @Tgr I'm assuming no markup (like in wikidata). What about text length restrictions ? Regarding reflecting the wiki base value, i think it's best to indeed have that as an additional value within terms, but probably not by default. I'do think we would need some sort of marke

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-19 Thread Tgr
Tgr added a comment. Implementation plan: Register a $wgWBClientSettings['descriptionOverride'] config variable. When enabled, define a new parser function {{SHORTDESC:...}}. The parser function hook stores the argument of the parserfunction in the ParserOutput's page properties with a wikibase-d

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-14 Thread TheDJ
TheDJ added a comment. I'll remind everyone that any sort of community RFC only has an advisory influence to development. Development is not and never has been subject to any individual wiki's consensus model, which is something a certain subset of the community seems to have convinced themselves o

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-14 Thread Alsee
Alsee added a comment. @DannyH, if you dispute the close result then this is not the way to handle the situation. Corrected merged task.TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Tgr, AlseeCc: MZMcBride

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-08 Thread bearND
bearND added a comment. Are there any older app versions out there which might use a different method to get the data? Does Android use MCS? Android uses MCS by default. There are a few exceptions but those wouldn't account for a big number like that. Where the numbers are coming from is that the

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-08 Thread TheDJ
TheDJ added a comment. improve communication with developers The community has been reaching out for over a year on most of these potential improvements, back when they stopped descriptions on the mobile website 2 years ago and very actively again for at least 8 months regarding the descriptions o

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-08 Thread Addshore
Addshore added a comment. The plan is to just disable editing if there is an override, there is no sane way to edit the contents of a parserfunction. Again with MCR (so a little down the line) there would be no reason the description couldn't be moved to it's own content blob, and editing would th

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-07 Thread Tgr
Tgr added a comment. pageterms API usage (requests per day, with part of UA after / cut off): 0: jdbc:hive2://analytics1003.eqiad.wmnet:100> select regexp_replace(useragent, '/.*', '') ua, count(*) count from apiaction where year = '2018' and month = 1 and day = 30 and params['action'] = 'query' a

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-07 Thread Tgr
Tgr added a comment. The plan is to just disable editing if there is an override, there is no sane way to edit the contents of a parserfunction. (English only, yes.) Are there any older app versions out there which might use a different method to get the data? Does Android use MCS?TASK DETAILhttps:

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-07 Thread bearND
bearND added a comment. @Tgr The iOS app does it directly through action=""> but that should be easy enough to change there to page_props as well if necessary. The harder part would be changing the description editing workflow on the apps. Question: is this only for English WP?TASK DETAILhttps://ph

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-07 Thread Tgr
Tgr added a comment. It might be that all WMF app versions that have a significant userbase today do things through MCS; I'd have to check. But behavior of clients that we can't realistically update should definitely be a consideration.TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFE

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-07 Thread daniel
daniel added a comment. Yes, if the magic word were to set a page_prop then the pageprops api module can be used. Hm, @Tgr just told me why this is problematic in practice: lots of apps on lots of phones call pageterms. We have no reliable way to update them. sighTASK DETAILhttps://phabricator.wik

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-07 Thread Addshore
Addshore added a comment. In T184000#3953954, @daniel wrote: In T184000#3953713, @DannyH wrote: @Tgr The description in the magic word should be used everywhere. The API should pull from the magic word and not the Wikidata description. This seems to be a bit odd, the pageterms api should keep d

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-07 Thread daniel
daniel added a comment. @DannyH Sorry that I let my frustration show. My concrete point here is: while you are touching this code, it would be trivial to add the missing watchlist integration for descriptions. So I'm suggesting to do that, there seems to be no reason not to.TASK DETAILhttps://phab

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-07 Thread daniel
daniel added a comment. In T184000#3953713, @DannyH wrote: @Tgr The description in the magic word should be used everywhere. The API should pull from the magic word and not the Wikidata description. This seems to be a bit odd, the pageterms api should keep doing what it is currently doing. The d

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-07 Thread Addshore
Addshore added a comment. In T184000#3949932, @Tgr wrote: One thing to clarify in the task description is whether the existing API field should be overridden. Currently the description is exposed in the description field of the pageterms API module; should that change if the magic word is used, or

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-07 Thread DannyH
DannyH added a comment. @Tgr The description in the magic word should be used everywhere. The API should pull from the magic word and not the Wikidata description. @gh87 I posted on this English WP page: https://en.wikipedia.org/wiki/Wikipedia_talk:Wikidata/2018_State_of_affairs#Short_descriptions

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-07 Thread daniel
daniel added a comment. @gh87 I wonder whether this discussion was sufficiently informed by the technical options and implications. For instance, this statement: That requires meaningful integration in Wikipedia watchlists and page history. Those are features that the Wikidata team is working on,

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-02-07 Thread gh87
gh87 added a comment. The en.WP discussion (diff) is closed as populating "magic words" with blanks to be filled manually or by bot and no descriptions.TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gh87Cc:

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-01-25 Thread daniel
daniel added a comment. We're still talking about when that switch will happen -- the current plan is to switch when there are non-blank descriptions on 2 million article pages. That might happen quickly, or it might take a long time, depending on how the community chooses to use the magic word. W

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-01-23 Thread DannyH
DannyH added a comment. @Addshore, you're suggesting I think six different tickets and projects spinning out of this request. As a solution to the current problem, I don't think that's better, it's just more complicated and there's more of it.TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAI

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-01-23 Thread Addshore
Addshore added a comment. Thanks @TheDJ for summarizing many of the points in the RFC above. I'm going into this blank, and just want to add my thoughts once, and try to avoid any repeat discussion that may have already come up in the RFC. I feel that many issues have been identified, but this tick

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-01-21 Thread TheDJ
TheDJ added a comment. In T184000#3915961, @Addshore wrote: A way to override descriptions, in a similar way to i18n messages can be overridden, could make sense. The description seems to go above and beyond that though. Correct. The English Wikipedia community doesn't want that Wikidata to man

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-01-21 Thread Addshore
Addshore added a comment. want to retain short descriptions A way to override descriptions, in a similar way to i18n messages can be overridden, could make sense. The description seems to go above and beyond that though.TASK DETAILhttps://phabricator.wikimedia.org/T184000EMAIL PREFERENCEShttps://p

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-01-21 Thread TheDJ
TheDJ added a comment. @Addshore It's what the subset of the community that screams the loudest wants. :) As you might know, the English wikipedia is really close to an all out, Daily Mail-like, ban of WikiData. As most developers and a considerable set of users want to retain short descriptions,

[Wikidata-bugs] [Maniphest] [Commented On] T184000: Magic word on English WP to override display of Wikidata short description

2018-01-21 Thread Addshore
Addshore added a comment. Once this override is live, Wikipedia editors will populate the magic word on pages where they want to override the description. If/when they write enough descriptions that it's roughly comparable to the number of existing Wikidata descriptions, we will change the system a

  1   2   >