Feature #169

[PATCH] for articles posted on one day with same title

Added by anonymous - 810 days ago. Updated 1 day ago.

Status :Assigned Start :
Priority :High Due date :
Assigned to :neuro - % Done :

0%

Category :installer
Target version :5.2
Resolution :


Description

If you post articles on one day with the same (upp/lowercase doesn't matter) title then only the newest of these articles is accessible. All articles are shown in the lists but the permalink links only to the newest.
The patch appends a short random number to permalink if the permalink is already used.

Associated revisions

Revision 350
Added by tobi 1099 days ago

ARGH (fucking closes #169)

History

05/05/2006 11:49 PM - sprewell -

Instead of appending a random number and writing a primitive hashing function for it, why not just add a count to the title and increment it? It would make more sense for the URL, though it may be slightly more work. So instead of typo-post, typo-post_5351, and typo-post_3425, you would get typo-post, typo-post_1, and typo-post_2. btw, the maintainers will almost certainly not add this patch to trunk as it will probably be considered too remote a problem to worry about.

05/06/2006 09:22 AM - pdcawley -

I'm surprised we don't have a date scoped uniqueness constraint on permalinks already. But, on reflection, that might not be all that easy to implement...

07/22/2008 01:53 AM - neuro -

  • Status changed from New to Assigned
  • Priority changed from Urgent to High
  • Target version changed from Maybe Someday to 5.2

Also available in: Atom PDF