[Wikidata-bugs] [Maniphest] [Commented On] T101229: Add appropriate category to page depending upon banner

2015-09-24 Thread gerritbot
gerritbot added a comment.

Change 225904 abandoned by Sumit:
WikidataPageBanner add custom banner category

Reason:
Given,wikivoyage already has a way to add category through template, abandoning 
this change.

https://gerrit.wikimedia.org/r/225904


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

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

To: Sumit, gerritbot
Cc: gerritbot, Nicolas_Raoul, Jdlrobson, Sumit, Aklapper, Wikidata-bugs, aude, 
Lydia_Pintscher



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


[Wikidata-bugs] [Maniphest] [Commented On] T101229: Add appropriate category to page depending upon banner

2015-09-24 Thread Sumit
Sumit added a comment.

The original purpose was to add categories to banners, however that is already 
achieved through the template which uses {{PAGEBANNER}} so this task seems 
redundant now.


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

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

To: Sumit
Cc: gerritbot, Nicolas_Raoul, Jdlrobson, Sumit, Aklapper, Wikidata-bugs, aude, 
Lydia_Pintscher



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


[Wikidata-bugs] [Maniphest] [Commented On] T101229: Add appropriate category to page depending upon banner

2015-07-20 Thread gerritbot
gerritbot added a subscriber: gerritbot.
gerritbot added a comment.

Change 225904 had a related patch set uploaded (by Sumit):
WikidataPageBanner add custom banner category

https://gerrit.wikimedia.org/r/225904


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

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

To: Sumit, gerritbot
Cc: gerritbot, Nicolas_Raoul, Jdlrobson, Sumit, Aklapper, Wikidata-bugs, aude, 
Lydia_Pintscher, Malyacko, P.Copp



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


[Wikidata-bugs] [Maniphest] [Commented On] T101229: Add appropriate category to page depending upon banner

2015-07-10 Thread Sumit
Sumit added a comment.

After https://gerrit.wikimedia.org/r/#/c/221459/ manipulation of Categories 
should be fairly easy, by just returning appropriate Category as 
[[Category:Has Custom Banner]] as result of parser function.
What should be the preferred way for categories out of the following 
alternatives:

- Return a hardcoded value **[[Category:Has Custom Banner]]**
- Return a single customized value $wgCustomBannerCategory = **[[Category:Has 
Custom Banner]]**
- Allow users to return a set of categories $wgCustomBannerCategories= **array( 
[[Category:Has Custom Banner]], [[Category:Has PAGEBANNER magic word]] )**

Note that the above return values signify addition of those categories to the 
page on which {{PAGEBANNER}} will be used.


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

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

To: Sumit
Cc: Nicolas_Raoul, Jdlrobson, Sumit, Aklapper, Wikidata-bugs, aude, 
Lydia_Pintscher, Malyacko, P.Copp



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


[Wikidata-bugs] [Maniphest] [Commented On] T101229: Add appropriate category to page depending upon banner

2015-06-03 Thread Jdlrobson
Jdlrobson added a comment.

This is problematic and difficult to update as categories are mutually 
exclusive e.g. a page that has Has default banner category loses Banner 
missing from Wikidata.

There is no api to remove categories, and given that categories need to be 
translateable it will not be clear which category is the right to remove.

This requires some thought as maybe there is a better way to do this...


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

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

To: Sumit, Jdlrobson
Cc: Nicolas_Raoul, Jdlrobson, Sumit, Aklapper, Wikidata-bugs, aude, 
Lydia_Pintscher



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