Revision 14116
Added by Aaron Marcuse-Kubitza over 10 years ago
username_prefix.php | ||
---|---|---|
12 | 12 |
# remove padding used to visually separate elements:__x__@y__@url -> x@y@url |
13 | 13 |
$path = preg_replace('/\b__|__\b/', '', $path); |
14 | 14 |
|
15 |
# remove linewraps: x_-_.y@url -> x.y@url |
|
16 |
# the _ are needed to work in Google spreadsheets |
|
17 |
$path = str_replace('_-_', '', $path); |
|
18 |
|
|
19 | 15 |
# remove category comments: x+y@url -> y@url |
20 | 16 |
# this special syntax is shorter than [x]_-_y@url |
21 | 17 |
# a UI can replace + with ' ' to produce a linewrap |
Also available in: Unified diff
web/username_prefix.php: removed linewraps code because Google spreadsheets no longer supports wrapping on a - , and because a shorter syntax for category comments is now available