The main issue we face is the possibility of having questions that
essentially are just asking about the same topic, but a different
Drupal version. This dilutes the questions we already have, and it is
a possible way for users to game the system in order to gain
reputation. - mpdonadio ♦
Asking a question that gives you a different answer is not gaming the system.
They may look the same, since we do not use version numbers on titles, but they are not the exact same question.
Its like asking how many tires a bike has vs how many tires a car has.
I think the ideal scenario is to one question, with either multiple
answers (for different versions) or a single answer which explains how
to do it in different versions. - googletorp ♦
I don't like the idea of grouping/keeping them all in one question. Exhibit A:
This D8 answer to a D7
question - Pierre.Vriens
At the time of this writting, there is no D8 tag on this Q, so pretty much that D8 answer is hidden.
Editing an existing answer and adding the D8 or newer version. So +10 free rep for the D7/original answerer? Doesn't sound fair to me.
Adding new answers, I could see this turning into a scrolling nightmare, like in Exhibit A, and having to figure out if this is the D7 or D8 answer. Also, answer will not be able to be accepted assuming the D7 is already accepted. OPer could change the accepted answer, but that affects the D7 answerers rep. Where is my +15?
In addition, the question would endup in the Active tab rather than the New tab. I don't know about you, but I rarely use the Active tab since most of them seem to be edits. So editing a D7 Q and saying, "I need the D8 answer for this" could go unnoticed.
IMO repeating the Q for each version is better, SEO friendlier, and the answerer is able to get his/her well deserved +15 for accepted answer.
In the long haul, old Drupal versions will become irrelevant -
googletorp ♦
True, by the time D11 is out, I highly doubt anyone will be looking for D7 answers. This would leave the door open, should SE want, to delete/unpublish OLD/obsolete Drupal version questions, EX: tagged with 7
, from the Database (without affecting rep, I hope).
We'll end up diluting the SE, making it harder for poeple to find the
correct answer. - googletorp ♦
Not at all, most of the traffic probably comes from Google. Take a look at the following Google searches:
Programmatically update field Drupal 8 Vs Programmatically update field Drupal 7
Notice how none of the other version questions show up, easy to find.
If you don't like Google-ing, you can always add the [8] tag if you are searching from Drupal Answers search bar.
In conclusion, mixing the answers all into one will just add extra scroll, time, complexity, and unfairness that we don't need.
Actually, it is not "How many tires does a bike have?" versus "How
many tires does a car have?" but more "How many tires does a bike in
Massachusetts have?" versus "How many tires does a bike in Texas
have?" - kiamlaluno ♦.
I disagree, because you will always get the same answer of 2 tires whether you ask it in Massachusetts or in Texas. So it is not more like that.
Also, adding the Drupal version in the question title doesn't make the
question different from another one. - kiamlaluno ♦
I agree with the fact that we do not have version numbers in the title, that makes reading the questions title easier in the new/active etc tabs.
So Programatically update a field
tagged with the 7
tag Vs Programatically update a field
tagged with the 8
tag. The title looks the same, but in reality we are asking Programmatically update field in Drupal 8 Vs Programmatically update field in Drupal 7.
You can't tell me that Programatically update a field is the same for D7 and D8.
since a cache table is still a cache table in any Drupal version -
kiamlaluno ♦
True, but the cache table has changed from D7 to D8. There are more/new cache tables now, if I recall correctly. Also, they work differently, clearing the cache for a field in D7 was to simply truncate/empty 1 specific cache table, in D8 you have to empty/truncate like 2 or 3.
Therefore, asking again Which tables are safe to clear (truncate)?
for Drupal 8 is a legitimate question. Do you know if the new tables are safe to clear?
You missed the point: Caching on Drupal 8 is still caching. The cache
backend that uses database tables is still using database tables -
kiamlaluno ♦
So according to your logic, fields are still fields, themes are still themes, template files are still template files, Drupal still Drupal. Everything is a duplicate then...
That's like asking how much RAM the PS4 has and someone saying that's a duplicate question, it was asked how much RAM the PS3 has 5 years ago. ← That's the dumbest thing I've ever heard.
Even when the answer is the same, What's the max screen resolution of the PS4? Both PS3 and PS4 have 1080p. Just because the answer is the same, this does not make the PS4 a "duplicate" nor illegitimate question. Different MAJOR version numbers should never be considered duplicate/dumb/illegitimate questions in anything.
As a programmer you should know better why it's a MAJOR version change. You should know why Drupal 8 is not called Drupal 7.3000 nor Drupal 7 Delux, nor Drupal 7 Advanced, Drupal 7 S, Drupal 7 Pro etc...
Simply the "duplicate" argument does not hold.
I get the idea/suggestion of googletorp ♦ wanting to keep them all in 1 place, but the problem is that this is a Q & A site, not a Wiki where you can keep things neat and organized. As Exibhit A shows this is going to turn into a scrolling nightmare with answers of different versions all over the place. As a website builder you should ask your self, is this UX friendly?