Suggest duplicate title is module to avoid duplication of titles for all content types. At node add page when you are done with title, this module compares node titles of same content type and suggest you that one title matching with this title already exists in database. This helps the admin/user to avoid duplication of content at site. Admin can define what percentage of matching words should be suggested as duplicate title.
It provides setting page where following settings can be made:-
- Enable this feature for any content type(s).
- Enter ignore keywords in title comparison.
- Enter percentage how exact do you want to compare the title. For example, if you enter 75, then at-least 75% matching title will be considered duplicate.
- Display settings for suggested duplicate node title at node add page. It can be above title or below title field.
- This module has template file to theme the suggested content as per requirement.
There is another module uniqueness which can also be used to avoid duplicate titles. But following are points uniqueness is not offering but this module :
- Suggested content is displaying using template file which can be themed as per page design
- Title comparison percentage can be specified
- Ignore keywords can be specified
Project Page: http://drupal.org/sandbox/tanzeel/1929360
Git Repository: git clone http://git.drupal.org/sandbox/tanzeel/1929360.git suggest_duplicate_title
Version: Drupal 6
Reviews i did:
http://drupal.org/node/1715026#comment-7119904
http://drupal.org/node/1859866#comment-7120200
http://drupal.org/node/1785182#comment-7120868
Here are 3 modules i reviewed:
http://drupal.org/node/1909634#comment-7356752
http://drupal.org/node/1921488#comment-7356800
http://drupal.org/node/1859866#comment-7357344
Comments
Comment #1
klausiDon't forget to add the "PAReview: review bonus" tag as indicated in #1410826: [META] Review bonus, otherwise you won't show up on my high priority list.
Comment #2
dudycz commentedThere is still master branch, please remove it.
Also your module defines variables by using system_setting_form(), you should remove them in hook_uninstall.
I'm not sure if using hyphens in form item names match drupal coding standards:
$form['fieldset-suggest-title']
they usually with underscores:
$form['fieldset_suggest_title']
But as I said I'm not sure so forgive me if I'm wrong.
Comment #3
tanzeel commentedTag "PAReview: review bonus" added.
Comment #4
tanzeel commentedThank you dudycz for the review.
Comment #5
tanzeel commentedComment #6
ycshen commentedi think it's better to remove admin settings form to .inc file.
Comment #7
drupik commentedChanged priority, see http://drupal.org/node/539608 - Application Review Timelines
Comment #8
monymirzaStill some issues(errors+warnings) with your code (please check the Drupal coding standards)
please use Coder module before pushing your code to git.
Comment #9
ycshen commentedI have patched your module at #1931750: Move admin config form page to admin.inc file.
If you considered using this patch, I would greatly appreciate if you could grant me the authorship on this commit, since I would like to potentially keep track of the patches I submitted that were successfully able to be transformed into commits. See user profiles, for example mine would be:
Comment #10
tanzeel commentedAlright, i though i could change status after "PAReview: review bonus" tag. My bad.
Comment #11
tanzeel commented@monymirza - Thank you for the review.
I have already tested my code using coder module, and taken care of Drupal coding standards. I juts got one error and that has been fixed. Please have a look if i am missing something else?
Thank you,
Tanzeel
Comment #12
klausiYou need to set the status to "needs review" if you want to get a review, see http://drupal.org/node/532400
Comment #13
dydave commentedBesides, comment from #9, by ycshen, referring to #1931750: Move admin config form page to admin.inc file, seems to be relevant and the indicated patch looks good as well.
Therefore, I would recommend that you take a look at this issue first and try to fix the problem before changing the status back to needs review.
Feel free to let us know if you would have any questions, comments or objections on this issue, we would be glad to explain further.
Hopefully with these successive rounds of reviews we should be able to greatly improve the overall quality of this project.
Thanks again for contributing this nice module.
Cheers!
Comment #14
tanzeel commentedComment #15
tanzeel commentedComment #9 patch has been applied and application is again in needs review status. I have updated relevant issue logged by ycshen.
Thank you all for your great help and suggestions.
Comment #16
klausiPlease try to fix issues reported by automated review tools first: http://ventral.org/pareview/httpgitdrupalorgsandboxtanzeel1929360git
Comment #17
tanzeel commentedThank you Klausi for the review.
I have fixed errors reported by automated review. Please have a look: http://ventral.org/pareview/httpgitdrupalorgsandboxtanzeel1929360git
Thank you,
Tanzeel
Comment #18
acbramley commentedRan your code through PAReview and all looks good, on manual review everything looks good. One suggestion I would make is to move the logic that is generating the node links into a preprocess function rather than having this in the .tpl.php function
This could go into a preprocess function and then the line would simply be something like:
Other than that everything looks good.
Comment #19
tanzeel commented@acbramley - Thank you for the review.
Yes, template file should not have any logic there. I moved link generation part in module file using theme('links', ...);
Comment #20
klausimanual review:
<script>alert('XSS');</script>I will get a nasty javascript popup on the admin config page. You need to sanitise all user provided text before printing, see also the writing secure code handbook page.Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #21
tanzeel commentedAll the point mentioned in above comment #20 has been incorporated.
Here are 3 modules i reviewed:
http://drupal.org/node/1909634#comment-7356752
http://drupal.org/node/1921488#comment-7356800
http://drupal.org/node/1859866#comment-7357344
Comment #22
tanzeel commentedSecurity tag added.
Comment #23
klausiPlease add all your reviews to the issue summary so that we can track them.
Review of the 6.x-1.x branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
manual review:
Although you should definitively fix those issues they are not super important application blockers, so I guess this is RTBC. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Assigning to mlncn as he might have time to take a final look at this.
Comment #23.0
klausiTypo fixed
Comment #24
tanzeel commentedThank you klausi for the review.
All issue reported have been fixed.
Moreover, i have implemented 3 points you mentioned in manual review as improvement.
Waiting for mlncn for final review :)
Comment #25
klausino objections for more than a week, so ...
Thanks for your contribution, tanzeel!
I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #26.0
(not verified) commentedAdding reviewed module list