Like Phabricator, there should be a footer link to the CoC in Gerrit: https://www.mediawiki.org/wiki/Special:MyLanguage/Code_of_Conduct
Description
Details
Related Objects
- Mentioned In
- T340372: Custom Gerrit footer not displayed
T319378: Move Gerrit Javascript plugins from gerrit-theme.js to standalone files in the deploy repository
rGERRITDEPLOY8de4ff40960c: Add gerrit-theme.html and also add footer links
rGERRITDEPLOY82ae006c2540: Add gerrit-theme.html and also add footer links
rGERRITDEPLOY2094225a09cb: Add gerrit-theme.html and also add footer links
rGERRITDEPLOY94e8165abf79: Add gerrit-theme.html and also add footer links
rGERRITDEPLOY508fe51d2461: Add gerrit-theme.html and also add footer links - Mentioned Here
- T196812: Make PolyGerrit the default ui in Gerrit 2.15
Event Timeline
Change 439483 had a related patch set uploaded (by Paladox; owner: Paladox):
[operations/puppet@production] Gerrit: Add CoC and privacy policy to footer
^^ that does it for gwtui only for now, need to figure out how to do it for PolyGerrit.
apparently upstream hacked there deployed prod version (i coulden't find a hook to hook into).
I am guessing they possibly used js or modified there version.
the same applys to polymer.
Change 439503 had a related patch set uploaded (by Paladox; owner: Paladox):
[operations/software/gerrit@deploy/wmf/stable-2.15] Rename wikimedia-polygerrit-style.html to gerrit-theme.html and also add footer links
Change 439504 had a related patch set uploaded (by Paladox; owner: Paladox):
[operations/puppet@production] Rename wikimedia-polygerrit-style.html to gerrit-theme.html
hmm, gerrit should not even load if you have javascript disabled :).
Expecially for polygerrit which is built manly around javascript and html.
@greg just tested and gerrit gwtui throws
"Gerrit requires a JavaScript enabled browser.".
and polygerrit has a whitescreen.
Apparently in gwtui it loads the js file to early to be able to find the dom like polygerrit, anyways we are switching polygerrit to be the default ui for new users (and existing users that have not switched to the new ui and back to the old one thus having a ui cookie) see T196812 (next monday).
Let's get these patches merged. Even with the double footer bars I think they are just fine. Thanks for your work here @Paladox
Change 458523 had a related patch set uploaded (by Paladox; owner: Paladox):
[operations/puppet@production] Replace "wikimedia-polygerrit-style" plugin with gerrit-theme
Change 439503 abandoned by Paladox:
Add gerrit-theme.html and also add footer links
Reason:
per ^^
Change 458833 had a related patch set uploaded (by Paladox; owner: Paladox):
[operations/puppet@production] Gerrit: Add footer link for CoC and Privacy Policy
Change 460914 had a related patch set uploaded (by Thcipriani; owner: Thcipriani):
[operations/puppet@production] Gerrit: Add CoC and Privacy Policy to old UI
Change 458523 merged by Giuseppe Lavagetto:
[operations/puppet@production] Replace "wikimedia-polygerrit-style" plugin with gerrit-theme
Change 458833 merged by Giuseppe Lavagetto:
[operations/puppet@production] Gerrit: Add footer link for CoC and Privacy Policy
Change 460914 merged by Giuseppe Lavagetto:
[operations/puppet@production] Gerrit: Add CoC and Privacy Policy to old UI
Change 462770 had a related patch set uploaded (by Thcipriani; owner: Thcipriani):
[operations/puppet@production] Revert "Gerrit: Add missing resource /var/lib/gerrit2/review_site"
Change 462770 merged by Dzahn:
[operations/puppet@production] Revert "Gerrit: Add missing resource /var/lib/gerrit2/review_site"
The footer works both in GWTUI and polygerrit now! (showing the privacy notice and CoC)