Closed (won't fix)
Project:
Drupal core
Version:
5.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2009 at 10:26 UTC
Updated:
7 Aug 2012 at 03:02 UTC
Jump to comment: Most recent file
Comments
Comment #1
Wesley Tanaka commentedComment #2
MGParisi commentedSeems Applied to me!
Fixed
Comment #3
add1sun commentedHm, the page still refers to it as a substring, unlike what the patch proposes, so this is not applied yet. Moving to the Drupal queue for api docs though.
Comment #4
jhodgdonMy feeling is that using the word "prefix" doesn't really clarify it much beyond what "substring" says, and when it says "the match is a right-hand match" just after that, I get confused.
So maybe these two sentences could be rewritten to explain what is actually happening in a clear manner?
Comment #5
Wesley Tanaka commentedYou're correct that the combination of those two sentences could use a rewrite.
substring is definitely incorrect.
Perhaps you would prefer "starts with" to "prefix"? Can you suggest an alternate phrasing that makes more sense to you? I tried using "starts with" but all my attempts were either too verbose or grammatically awkward.
Comment #6
Wesley Tanaka commentedAn attempt at phrasing without using the word "prefix"
Comment #7
jhodgdonI prefer the second wording, but either #5 or #6 is fine with me.
The patch does not apply for me without some editing, though. The problem is the headers. It's best to create the patch with the CVS diff command. Barring that, remove the a/ and b/ prefixes on the file paths, and the patch will apply.
I've attached a new version of my preferred patch. Thanks for your hard work!
Comment #8
jhodgdonComment #9
Wesley Tanaka commentedSorry about them git prefixes on the patch! By the way for what it's worth, you can strip off excess path parts in a patch like that by using:
patch -p1
instead of
patch -p0
Thanks for fixing it though!
Comment #10
gábor hojtsyLet's get this to Drupal 7 first, so we are not going to introduce a regression.
Comment #13
Wesley Tanaka commentedPresumably if it's RTBC in Drupal 6, then it's also RTBC in Drupal 7?
Comment #14
dries commentedCommitted to CVS HEAD.
Comment #15
jhodgdonThe patch above in #7 still applies in Drupal 6, so please commit. Thanks!
Comment #16
gábor hojtsyThanks, committed to Drupal 6 too.
Comment #18
gpk commentedSame clarification would be helpful in 5.x.
Comment #19
jhodgdon7.0 is out tomorrow, 5.x is obsolete, won't fix, sorry.