Run attachment 425557 [details] [diff] [review] from bug 544326 on mobile SUMO stage

RESOLVED FIXED

Status

RESOLVED FIXED
9 years ago
4 years ago

People

(Reporter: paulc, Assigned: fox2mike)

Tracking

Details

(URL)

(Reporter)

Description

9 years ago
We need to run attachment 425557 [details] [diff] [review] on the mobile stage db to get friendly urls working.
(Reporter)

Updated

9 years ago
Blocks: 544326
(Assignee)

Comment 1

9 years ago
mysql> INSERT INTO tiki_urlt_regex_out (regexid, regex_left, regex_right, regex_flags, continue_flag, comment_text) VALUES
    -> (80, '^\\/?tiki-view_forum_thread.php\\?(.*)&?locale=([\\-a-zA-Z]+)(&|&)forumId=([0-9]+)(&|&)comments_parentId=([0-9]+)(&.*)?$', '/$2/forum/$4/$6$1$7', '', '0', ''),
    -> (90, '^\\/?tiki-view_forum_thread\\.php\\?comments_parentId=([0-9]+)&(?:amp;)?forumId=([0-9]+)(?:(?:&(?:amp;)?)(.*))?$', '/en-US/forum/$2/$1?$3', '', '0', ''),
    -> (95, '^\\/?tiki-view_forum.php\\?locale=([\\-a-zA-Z]+)&(?:amp;)?forumId=([0-9]+)(?:&(?:amp;)?(.*))?$', '/$1/forum/$2?$3', NULL, NULL, NULL),
    -> (100, '^\\/?tiki-view_forum.php\\?(.*)&?locale=([\\-a-zA-Z]+)(&|&)forumId=([0-9]+)(&.*)?$', '/$2/forum/$4', NULL, NULL, NULL),
    -> (110, '^\\/?tiki-view_forum.php\\?forumId=([0-9]+)$', '/en-US/forum/$1', NULL, NULL, NULL),
    -> (120, '^\\/?tiki-view_forum.php\\?forumId=([0-9]+)(&|&)(.*)$', '/en-US/forum/$1?$3', NULL, NULL, NULL);
Query OK, 6 rows affected (0.01 sec)
Records: 6  Duplicates: 0  Warnings: 0

Done.
Assignee: server-ops → shyam
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

9 years ago
Need caches cleared please :)
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.