Closed
Bug 411557
Opened 18 years ago
Closed 16 years ago
Search KB by article source
Categories
(support.mozilla.org :: Knowledge Base Software, task)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: cilias, Assigned: cww)
References
Details
(Whiteboard: sumo_only)
Sometimes I need to go through all articles, which have a specific line to text in the source. Using the standard search does not search article sources; so I can't use that.
Reporter | ||
Comment 1•17 years ago
|
||
I'd like to bring some more attention to this bug, because I often run into situations where this would help a lot. For instance:
- I recently renamed the in-product articles. Some of them already have equivalent versions in the knowledge base (cookies-en-US vs Cookies, which was renamed to "About cookies" before the in-product version took its place.) It would be great if I could search the KB for articles linking to About cookies, so I could update all the links to point to the in-product article.
- I relabeled a couple of content blocks. Unfortunately, articles using those content blocks do not get automatically updated. It would be great if I could search the KB for articles using a certain content label, and update them.
Reporter | ||
Updated•17 years ago
|
Target Milestone: --- → 0.7
Updated•17 years ago
|
Target Milestone: 0.7 → 0.8
Reporter | ||
Comment 2•17 years ago
|
||
Is it too late to renominate this for 0.7? This one is really important to me, because there are so many use-cases.
Updated•17 years ago
|
Target Milestone: 0.8 → Future
Reporter | ||
Comment 3•16 years ago
|
||
Cheng is there a query we can run on sumotools for this? We can then apply it to bug 482343 - "Update references in KB from 3.1 to 3.5".
Assignee: nobody → cwwmozilla
SELECT tp.pageName as title, tto.lang as lang FROM tiki_objects tob JOIN tiki_pages tp ON tob.itemId = tp.pageName JOIN tiki_translated_objects tto ON tto.objId = tob.objectId WHERE tob.type = 'wiki page' AND tp.data LIKE '%3.1%' order by lang;
Gives you pagename and language (since that's pretty useful in lots of cases).
Reporter | ||
Comment 5•16 years ago
|
||
Thanks.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 6•16 years ago
|
||
The output of that query didn't include the Private Browsing article, which does mention 3.1.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Hmm... seems to only hit articles that have been translated at least once.
Try the much simpler:
SELECT tp.pageName as title, tp.lang as lang FROM tiki_pages tp WHERE tp.data LIKE '%3.1%' ORDER BY lang;
It'll have dupes but that should be OK.
Reporter | ||
Updated•16 years ago
|
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Whiteboard: sumo_only
You need to log in
before you can comment on or make changes to this bug.
Description
•