Skip to content

Rename extrachill-multisite plugin to extrachill-network to better reflect its purpose #1

@chubes4

Description

@chubes4

Problem

The plugin name "extrachill-multisite" doesn't accurately reflect its purpose and responsibilities. It's primarily focused on network-wide functionality and administration rather than just multisite management, making "extrachill-network" a more appropriate name.

Current State:

  • Plugin name: extrachill-multisite
  • Repository: https://github.com/Extra-Chill/extrachill-multisite
  • Provides network administration foundation, Cloudflare Turnstile, consolidated network admin menu
  • Functions prefixed with extrachill_multisite_
  • Directory: extrachill-plugins/network/extrachill-multisite/

Goal:
Rename to extrachill-network to better align with its network-focused responsibilities. Update repository name, all functions, references, and documentation. Rename all at once - repository will exist under new name.

Proposed Solution:
Comprehensive rename across all files, references, configurations, and repository.

1. Repository Rename:

  • GitHub repository: extrachill-multisiteextrachill-network
  • Repository will continue to exist under the new name

2. Directory and File Structure:

  • extrachill-plugins/network/extrachill-multisite/extrachill-plugins/network/extrachill-network/
  • extrachill-multisite.phpextrachill-network.php

3. Plugin Headers (extrachill-network.php):

  • Plugin Name: "Extra Chill Multisite" → "Extra Chill Network"
  • Text Domain: extrachill-multisiteextrachill-network
  • Description: Update to reflect network terminology

4. Constants:

  • EXTRACHILL_MULTISITE_*EXTRACHILL_NETWORK_*

5. Function Names:
Rename all ~15 functions from extrachill_multisite_* to extrachill_network_*:

  • extrachill_multisite_activateextrachill_network_activate
  • extrachill_multisite_searchextrachill_network_search
  • extrachill_multisite_subscribeextrachill_network_subscribe
  • All asset enqueue functions, theme integration functions, etc.

6. Text Domains and Handles:

  • PHP: 'extrachill-multisite''extrachill-network'
  • CSS/JS: 'extrachill-multisite-*''extrachill-network-*'

7. References in Other Plugins:
Update function calls in:

  • extrachill-search (search function)
  • extrachill-chat (search function)
  • extrachill-newsletter (subscribe function)
  • extrachill-api (subscribe function)
  • All other plugins with function_exists() checks

8. Configuration Files:

  • composer.json: Update name, description, PSR-4 namespace
  • Homeboy config: Update component ID, paths, build artifacts
  • Build system: Update ZIP filename

9. Documentation:

  • CLAUDE.md files across all plugins
  • README.md files
  • Network architecture documentation
  • Theme documentation

Implementation Strategy:

  1. Repository Rename: Rename GitHub repository first
  2. Atomic Rename: Use git mv for directory and file renames
  3. Find & Replace: Use IDE/project-wide search-replace for function names
  4. Update References: Systematic update of all external references
  5. Testing: Verify all functionality works after rename
  6. Documentation: Update all docs with new name

Migration Steps:

  1. Rename GitHub repository to extrachill-network
  2. Create new directory structure extrachill-network
  3. Rename main plugin file to extrachill-network.php
  4. Update all function names and constants
  5. Update composer.json and build configuration
  6. Update all references in other plugins
  7. Update documentation
  8. Test functionality
  9. Remove old references

Impact:

  • Better reflects plugin's network administration purpose
  • Maintains all existing functionality
  • Requires coordinated updates across the entire platform
  • No breaking changes to end-user functionality
  • Concept shift from "multisite" to "network" throughout codebase

Acceptance Criteria:

  • GitHub repository renamed to extrachill-network
  • Plugin directory renamed to extrachill-network
  • All functions renamed with network prefix
  • External references updated in all plugins
  • Plugin activates and functions correctly
  • Documentation updated throughout platform
  • Build system produces correct artifact name

Labels: enhancement

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions