Well, I can't exactly speak to why they added PHP highlighting because I wasn't around when that happened. I would guess that because phpBB is written in PHP, it made sense at the time for PHP highlighting to work. They probably added it so they could use it on phpBB.com and then said "Hey, why not put it in the package?"
Anyway, as Unknown Bliss said, development processes and mentalities have changed since that was added. At the point, at least how I see it, features should be scrutinized based not only on their practicality in general, but also on their applicability to the phpBB admin community at large, rather than a small subset of people who actually do programming or need to post different types of code.
That being said, I disagree with DavidIQ about removing the PHP highlighting. In my opinion, people have come to expect it. And for those who are upgrading 3.0 to 3.1, what do we do with the existing "code=php"? Just ignore it and treat it as normal? That would just bring up a lot of confusion and unhappiness from those who have used it. And I like it.
[RFC] GeSHi highlighting
- imkingdavid
- Registered User
- Posts: 1050
- Joined: Thu Jul 30, 2009 12:06 pm
Re: [RFC] GeSHi highlighting
I did not mean to copy other bb solution implementations. I just meant that as majority of boards has it implemented, it might be goodErik Frèrejean wrote:"BB solutionAliasM2K wrote:SMF do have syntax highlighting implemented at its core... So do many other bulletin board softwares. So, I dont think it is bad to implement it at core... Performance issues have to be considered.xyz
has featureabc
" has never been an reason for something to be included in phpBB.
By the way, why not package it as an extension which is active by default, but may be deactivated later?
- imkingdavid
- Registered User
- Posts: 1050
- Joined: Thu Jul 30, 2009 12:06 pm
Re: [RFC] GeSHi highlighting
The point of extensions is to have features not in the core. How would it make sense to include an extension with phpBB? If the feature is going to be part of phpBB, it should be integrated fully instead of made as an extension. And if it were included, I would actually make it deactivated by default since as I have said, most boards don't need a syntax highlighter.AliasM2K wrote:By the way, why not package it as an extension which is active by default, but may be deactivated later?
Re: [RFC] GeSHi highlighting
Actually that's a bit like what drupal does and they do it very nicely. All their components (node, admin, taxonomy, anti-spam etc) are all added as 'extensions' (or which ever term they use), which can be disabled/enabled etc. The extensions can require others or simply be required by drupal (and therefore can't be disabled).imkingdavid wrote:The point of extensions is to have features not in the core. How would it make sense to include an extension with phpBB? If the feature is going to be part of phpBB, it should be integrated fully instead of made as an extension. And if it were included, I would actually make it deactivated by default since as I have said, most boards don't need a syntax highlighter.AliasM2K wrote:By the way, why not package it as an extension which is active by default, but may be deactivated later?
But I agree, including extensions in the core is not something for 3.x ( phpBB 4.x is a different discussion).
Formerly known as Unknown Bliss
No unsolicited PMs please except for quotes.psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
Re: [RFC] GeSHi highlighting
Yup. That was exactly what I meant. But, if phpBB doesn't do that... Ok..Unknown Bliss wrote:Actually that's a bit like what drupal does and they do it very nicely. All their components (node, admin, taxonomy, anti-spam etc) are all added as 'extensions' (or which ever term they use), which can be disabled/enabled etc. The extensions can require others or simply be required by drupal (and therefore can't be disabled).imkingdavid wrote:The point of extensions is to have features not in the core. How would it make sense to include an extension with phpBB? If the feature is going to be part of phpBB, it should be integrated fully instead of made as an extension. And if it were included, I would actually make it deactivated by default since as I have said, most boards don't need a syntax highlighter.AliasM2K wrote:By the way, why not package it as an extension which is active by default, but may be deactivated later?
But I agree, including extensions in the core is not something for 3.x ( phpBB 4.x is a different discussion).