Making WordPress.org

Changeset 11635


Ignore:
Timestamp:
03/04/2022 12:06:32 AM (2 years ago)
Author:
dd32
Message:

Trac: Enable the Trac GitHub PR integration for bbPress & BuddyPress.

See #291.

Location:
sites/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/trac.wordpress.org/templates/site.html

    r11627 r11635  
    55
    66<?python
    7     scripts_version = '169'
     7    scripts_version = '170'
    88    project_slug = req.environ['HTTP_HOST'].split(':')[0].split('.')[0]
    99    wporg_endpoint = 'https://make.wordpress.org/' + project_slug + '/'
  • sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js

    r11627 r11635  
    16651665
    16661666            function init() {
    1667                 // TODO: If this is added to other Trac's, expand this..
    16681667                if ( $body.hasClass( 'core' ) ) {
    16691668                    trac = 'core';
     
    16741673                    primaryGitRepo = 'WordPress/wordpress.org';
    16751674                    primaryGitRepoDesc = 'WordPress.org Meta GitHub mirror';
     1675                } else if ( $body.hasClass( 'bbpress' ) ) {
     1676                    trac = 'bbpress';
     1677                    primaryGitRepo = 'bbpress/bbPress';
     1678                    primaryGitRepoDesc = 'bbPress GitHub mirror';
     1679                } else if ( $body.hasClass( 'buddypress' ) ) {
     1680                    trac = 'buddypress';
     1681                    primaryGitRepo = 'buddypress/buddypress';
     1682                    primaryGitRepoDesc = 'BuddyPress GitHub mirror';
    16761683                }
    16771684
Note: See TracChangeset for help on using the changeset viewer.