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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to