Remove leftovers of unsupported urlAlias configuration settings
Only GWT UI supported urlAlias configurations and in 3.0 GWT UI was removed. Bug: Issue 8054 Change-Id: I70543d484f047922b31dfa804f354eaa0fa9865f
This commit is contained in:
@@ -4692,47 +4692,6 @@ account deactivations.
|
||||
link:#schedule-configuration-examples[Schedule examples] can be found
|
||||
in the link:#schedule-configuration[Schedule Configuration] section.
|
||||
|
||||
[[urlAlias]]
|
||||
=== Section urlAlias
|
||||
|
||||
URL aliases define regular expressions for URL tokens that are mapped
|
||||
to target URL tokens.
|
||||
|
||||
Each URL alias must be specified in its own subsection. The subsection
|
||||
name should be a descriptive name. It must be unique, but is not
|
||||
interpreted in any way.
|
||||
|
||||
The URL aliases are applied in no particular order. The first matching
|
||||
URL alias is used and further matches are ignored.
|
||||
|
||||
URL aliases can be used to map plugin screens into the Gerrit URL
|
||||
namespace, or to replace Gerrit screens by plugin screens.
|
||||
|
||||
Example:
|
||||
|
||||
----
|
||||
[urlAlias "MyPluginScreen"]
|
||||
match = /myscreen/(.*)
|
||||
token = /x/myplugin/myscreen/$1
|
||||
[urlAlias "MyChangeScreen"]
|
||||
match = /c/(.*)
|
||||
token = /x/myplugin/c/$1
|
||||
----
|
||||
|
||||
[[urlAlias.match]]urlAlias.match::
|
||||
+
|
||||
A regular expression for a URL token.
|
||||
+
|
||||
The matched URL token is replaced by `urlAlias.token`.
|
||||
|
||||
[[urlAlias.token]]urlAlias.token::
|
||||
+
|
||||
The target URL token.
|
||||
+
|
||||
It can contain placeholders for the groups matched by the
|
||||
`urlAlias.match` regular expression: `$1` for the first matched group,
|
||||
`$2` for the second matched group, etc.
|
||||
|
||||
[[submodule]]
|
||||
=== Section submodule
|
||||
|
||||
|
||||
@@ -2764,9 +2764,6 @@ link:rest-api-config.html#top-menu-item-info[TopMenuItemInfo] entities.
|
||||
|`change_table` ||
|
||||
The columns to display in the change table (PolyGerrit only). The default is
|
||||
empty, which will default columns as determined by the frontend.
|
||||
|`url_aliases` |optional|
|
||||
A map of URL path pairs, where the first URL path is an alias for the
|
||||
second URL path.
|
||||
|`email_strategy` ||
|
||||
The type of email strategy to use. On `ENABLED`, the user will receive emails
|
||||
from Gerrit. On `CC_ON_OWN_COMMENTS` the user will also receive emails for
|
||||
@@ -2836,9 +2833,6 @@ link:rest-api-config.html#top-menu-item-info[TopMenuItemInfo] entities.
|
||||
|`change_table` ||
|
||||
The columns to display in the change table (PolyGerrit only). The default is
|
||||
empty, which will default columns as determined by the frontend.
|
||||
|`url_aliases` |optional|
|
||||
A map of URL path pairs, where the first URL path is an alias for the
|
||||
second URL path.
|
||||
|`email_strategy` |optional|
|
||||
The type of email strategy to use. On `ENABLED`, the user will receive emails
|
||||
from Gerrit. On `CC_ON_OWN_COMMENTS` the user will also receive emails for
|
||||
|
||||
@@ -1965,11 +1965,6 @@ entity. Not set if SSHD is disabled.
|
||||
Information about the configuration from the
|
||||
link:config-gerrit.html#suggest[suggest] section as link:#suggest-info[
|
||||
SuggestInfo] entity.
|
||||
|`url_aliases` |optional|
|
||||
A map of URL aliases, where a regular expression for an URL token is
|
||||
mapped to a target URL token. The target URL token can contain
|
||||
placeholders for the groups matched by the regular expression: `$1` for
|
||||
the first matched group, `$2` for the second matched group, etc.
|
||||
|`user` ||
|
||||
Information about the configuration from the
|
||||
link:config-gerrit.html#user[user] section as link:#user-config-info[
|
||||
|
||||
Reference in New Issue
Block a user