Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-14925

Text reparser services names should be more flexible

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.0
    • 3.2.0-RC2
    • None
    • None

      Currently the text reparsers rely on their service names. All core one's are prefixed with text_reparser. However, when using them from the CLI, you don't have to use the prefix, just use "pm_text" for example. because of this, for extensions wanting to have simple names as well, exts must prefix them with text_reparser instead of their usual vendor/ext name prefixes.

      The text reparsers should have name setter and getters, and set the name via the service definitions (like cron tasks). That way exts can have more flexible naming of the service and a simple name for the reparser itself for use in the CLI.

            VSE Matt Friedman [X] (Inactive)
            VSE Matt Friedman [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: