[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-09-01 Thread Bene
Bene added a comment. @daniel do the page props need to be populated in some way? Is there a maintenance script to run? TASK DETAIL https://phabricator.wikimedia.org/T72229 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bene Cc: Ladsgroup,

[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-09-01 Thread Lydia_Pintscher
Lydia_Pintscher added a comment. Katie says we probably need a script. TASK DETAIL https://phabricator.wikimedia.org/T72229 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bene, Lydia_Pintscher Cc: Ladsgroup, Aklapper, He7d3r, Bene, aude,

[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-09-01 Thread Lydia_Pintscher
Lydia_Pintscher added a comment. It should probably do a null edit on all pages on the client that have a badge starting from https://www.wikidata.org/wiki/Special:WhatLinksHere/Q17437796 TASK DETAIL https://phabricator.wikimedia.org/T72229 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-08-31 Thread gerritbot
gerritbot added a comment. Change 235043 had a related patch set uploaded (by Bene): Add badges to page props https://gerrit.wikimedia.org/r/235043 TASK DETAIL https://phabricator.wikimedia.org/T72229 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/

[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-08-31 Thread gerritbot
gerritbot added a comment. Change 235043 merged by jenkins-bot: Add badges to page props https://gerrit.wikimedia.org/r/235043 TASK DETAIL https://phabricator.wikimedia.org/T72229 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bene, gerritbot Cc:

[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-08-31 Thread gerritbot
gerritbot added a comment. Change 234959 abandoned by Bene: Add BadgeLookup, BadgeStore and BadgeTable https://gerrit.wikimedia.org/r/234959 TASK DETAIL https://phabricator.wikimedia.org/T72229 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Bene,

[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-08-31 Thread gerritbot
gerritbot added a comment. Change 234968 abandoned by Bene: Use a BadgeStore in SiteLinkTable to update badges https://gerrit.wikimedia.org/r/234968 TASK DETAIL https://phabricator.wikimedia.org/T72229 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/

[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-08-31 Thread gerritbot
gerritbot added a comment. Change 234958 abandoned by Bene: Add badges_per_sitelink table Reason: Per Daniel https://gerrit.wikimedia.org/r/234958 TASK DETAIL https://phabricator.wikimedia.org/T72229 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/

[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-08-31 Thread gerritbot
gerritbot added a comment. Change 234959 had a related patch set uploaded (by Bene): Add BadgeLookup, BadgeStore and BadgeTable https://gerrit.wikimedia.org/r/234959 TASK DETAIL https://phabricator.wikimedia.org/T72229 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-08-31 Thread gerritbot
gerritbot added a comment. Change 234960 had a related patch set uploaded (by Bene): Use a BadgeStore in SiteLinkTable to update badges https://gerrit.wikimedia.org/r/234960 TASK DETAIL https://phabricator.wikimedia.org/T72229 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-08-31 Thread gerritbot
gerritbot added a subscriber: gerritbot. gerritbot added a comment. Change 234958 had a related patch set uploaded (by Bene): Add badges_per_sitelink table https://gerrit.wikimedia.org/r/234958 TASK DETAIL https://phabricator.wikimedia.org/T72229 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-08-31 Thread Bene
Bene added a comment. Is it possible to change the page props when the site doesn't get updated? How would you synchronize the page props with the actual badges on Wikidata. Also, is it possible to store multiple values in the page props? There can be pages with several badges. TASK DETAIL

[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-08-31 Thread daniel
daniel added a comment. Thinking about it, we could use page_rpops on the client wikis to store badges. That would not need any new table, or any schema change. But it would not allow cross-wiki queries. Looking at the proposed implementation though, efficient queries across clients would not

[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-08-31 Thread daniel
daniel added a comment. We sync the page_props with the badges on wikidata the same way we sync sitelinks: we update the parser cache on change notifications. The relevant code is already in SidebarHookHandlers. It even puts badges into page_props, but currently all badges into one property,

[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-08-31 Thread gerritbot
gerritbot added a comment. Change 234968 had a related patch set uploaded (by Bene): Use a BadgeStore in SiteLinkTable to update badges https://gerrit.wikimedia.org/r/234968 TASK DETAIL https://phabricator.wikimedia.org/T72229 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] [Commented On] T72229: [Task] Store the badges of sitelinks in a queryable format

2015-08-31 Thread gerritbot
gerritbot added a comment. Change 234960 abandoned by Bene: Use a BadgeStore in SiteLinkTable to update badges Reason: Stfu git :S https://gerrit.wikimedia.org/r/234960 TASK DETAIL https://phabricator.wikimedia.org/T72229 EMAIL PREFERENCES