Closed
Bug 498678
Opened 15 years ago
Closed 15 years ago
Periods (.) should be acceptable in article titles
Categories
(support.mozilla.org :: Knowledge Base Software, task)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
1.3
People
(Reporter: cww, Assigned: paulc)
References
Details
(Whiteboard: sumo_only)
Attachments
(3 files)
1.63 KB,
patch
|
laura
:
review+
|
Details | Diff | Splinter Review |
681 bytes,
patch
|
laura
:
review+
|
Details | Diff | Splinter Review |
211 bytes,
patch
|
laura
:
review+
|
Details | Diff | Splinter Review |
Not being able to have version numbers or website names in article titles is very annoying. (eg both of the following would be broken: Firefox does not load emails on Yahoo.com or Cannot update from early versions of Firefox 3.0 to Firefox 3.5) This bug is to investigate WHY we can't have . and if we can make that allowable. See also bug 474368 and bug 465029
Assignee | ||
Comment 1•15 years ago
|
||
As per bug 465029 comment 6, this should be fixed once we upgrade.
Assignee | ||
Comment 2•15 years ago
|
||
This allows dots in articles, but articles ending with ".redirected" won't work because of this rule: RewriteRule ^([\-a-zA-Z]+)/kb/([^\?]+)\.redirected$ tiki-index.php?page=$2&locale=$1&redirected=y [QSA,L] I think that's acceptable.
Assignee: nobody → paul.craciunoiu
Attachment #388818 -
Flags: review?(laura)
Comment 3•15 years ago
|
||
Comment on attachment 388818 [details] [diff] [review] patch, v1 This will work, but we need to test for side effects (QA!!!) :)
Attachment #388818 -
Flags: review?(laura) → review+
Assignee | ||
Comment 4•15 years ago
|
||
r48068 / r48069 Will need to run webroot/htaccess.sh to see this. I'll file an IT bug (wiating to see if there are other htaccess patches first)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 5•15 years ago
|
||
verified fixed on https://support-stage.mozilla.org/tiki-view_forum_thread.php?comments_parentId=374593&forumId=1
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 6•15 years ago
|
||
This actually refers to KB articles.
Status: VERIFIED → RESOLVED
Closed: 15 years ago → 15 years ago
Comment 7•15 years ago
|
||
Per IRC, reopening because when kicking off a URL such as https://support-stage.mozilla.org/tiki-editpage.php?page=this.article.title.has.a.lot.of.periods&quickedit=Edit, I see just an empty SUMO page.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 8•15 years ago
|
||
While testing, I found out allowing periods "breaks" the friendly URLs for tiki links. I will try to update this bug for that + the exclude "." from the warning in bug 465029.
Assignee | ||
Comment 9•15 years ago
|
||
This allows periods for the list of bad characters in bug 465029. Figured it makes more sense to file this here.
Attachment #391951 -
Flags: review?(smirkingsisyphus)
Attachment #391951 -
Flags: review?(laura)
Assignee | ||
Comment 10•15 years ago
|
||
This is the SQL update that will allow articles with periods to be rewritten to friendly URLs. To test this, make sure to clear the cache (in cachelib.php).
Attachment #391952 -
Flags: review?(laura)
Updated•15 years ago
|
Attachment #391951 -
Flags: review?(laura) → review+
Updated•15 years ago
|
Attachment #391952 -
Flags: review?(laura) → review+
Assignee | ||
Updated•15 years ago
|
Attachment #391951 -
Flags: review?(smirkingsisyphus)
Assignee | ||
Comment 11•15 years ago
|
||
r48732 / r48733
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Comment 7's URL, https://support-stage.mozilla.org/tiki-editpage.php?page=this.article.title.has.a.lot.of.periods&quickedit=Edit, now works for me; is that enough to verify this, or do I have to wait for SQL to be run, to test the "friendly URLs" mentioned in comment 10? How do I test that part, BTW?
Reporter | ||
Comment 13•15 years ago
|
||
go to https://support-stage.mozilla.org/kb/this.article.title.has.a.lot.of.periods?bl=n (currently dead but should give article when sql is run.)
And when will the SQL be run? Is there a bug filed, Paul?
Assignee | ||
Comment 15•15 years ago
|
||
(In reply to comment #13) > (currently dead but should give article when sql is run.) Actually, it'll be dead until htaccess.sh is run. (In reply to comment #14) > And when will the SQL be run? Is there a bug filed, Paul? I thought to wait for other SQL bugs, but why not bug IT with this and file another one when we have others? :)
Assignee | ||
Comment 16•15 years ago
|
||
Filed bug 508925 for testing on stage.
Assignee | ||
Comment 17•15 years ago
|
||
Yay, article in comment 13 works now! Check it out Stephen :) However, the log wasn't enabled for me on that page. Noted in bug 500239.
Verified FIXED on https://support-stage.mozilla.org/kb/this.article.title.has.a.lot.of.periods?bl=n when logged in beforehand; bug 500239 is separate.
Status: RESOLVED → VERIFIED
OS: Linux → All
Hardware: x86 → All
Assignee | ||
Comment 19•15 years ago
|
||
This created a regression -- see bug 513823 Backed out in 51084 / 51088.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 20•15 years ago
|
||
Filed bug 515302. We should reapply this patch as originally posted once that bug is fixed.
Assignee | ||
Comment 21•15 years ago
|
||
re-committed first patch in r51156 / r51157
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Verified FIXED on https://support-stage.mozilla.org/en-US/kb/this.article.title.has.a.lot.of.periods?bl=n -- tested: * creating * renaming * translating Also, regression-tested the disallowed characters functionality.
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Whiteboard: tiki_bug
Comment 23•15 years ago
|
||
I made sure the badchar list matches the latest version on SUMO. However, the rewrite rules are likely to be sumo_only, which is not an issue since they are entirely custom, for now. The ones in the standard distribution seem more permissive.
Whiteboard: tiki_bug → sumo_only
You need to log in
before you can comment on or make changes to this bug.
Description
•