Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Arantor
5401
Off-topic / Re: Post count fever
« on November 19th, 2011, 01:27 AM »
I actually noticed Dragooon's 1000th post, but didn't have time to find this topic to post in it.
5402
FAQs / [FAQ] Re: What is Wedge?
« on November 18th, 2011, 08:30 PM »
MediaWiki's parser is ugly and sluggish (having actually written parser extensions for it, I never want to set eyes on it again!) but even if it wasn't, it doesn't solve the dilemma, wiki use of HTML is clumsy for small things and it just escapes back to regular HTML for bigger things, and neither plays that well with WYSIWYG.
5403
Plugins / Re: Readability
« on November 18th, 2011, 07:58 PM »
Contents of error log?
5404
FAQs / [FAQ] Re: What is Wedge?
« on November 18th, 2011, 07:58 PM »
Wiki parsing doesn't solve either problem, plus the fact I find it even more irritating for anything than truly basic markup. I'd rather do Markdown than wiki formatting.
5405
Off-topic / Re: PHP IDE for windows
« on November 18th, 2011, 07:56 PM »
Namespaces are less voodoo to support.
5406
Plugins / Re: Readability
« on November 18th, 2011, 07:56 PM »
Code looks fine to me.
5407
Plugins / Re: Readability
« on November 18th, 2011, 07:02 PM »
The if is only conditional for the first line without braces, the other lines are going to run every time.

Code: [Select]
if (!isset($_REQUEST['xml']))
{
    $layers = $context['template_layers'];
    $context['template_layers'] = array();
           
    foreach ($layers as $layer)
    {
        $context['template_layers'][] = $layer;
        if ($layer == 'body' || $layer == 'main')
        {
            $context['template_layers'][] = 'Readability';
            $context['template_layers'][] = 'Facebook';
            $context['template_layers'][] = 'Twitter';
        }
    }
}
5408
Plugins / Re: Readability
« on November 18th, 2011, 06:40 PM »
Just add it into the one template layer that you're adding in that loop.
5409
Plugins / Re: Readability
« on November 18th, 2011, 06:31 PM »
How exactly are you trying to add more social buttons?
5410
FAQs / [FAQ] Re: What is Wedge?
« on November 18th, 2011, 06:14 PM »
There isn't a clean solution, that's the problem. You either have a half and half approach like there is currently (only with a less buggy editor), or an approach that drops bbcode for the most part and just uses regular HTML with appropriate filtering and maybe some short codes.

For my part, I'd actually rather a half and half approach, unless someone comes up with a *good* way of doing HTML with 'quick codes' that don't feel hackish.
5411
FAQs / [FAQ] Re: What is Wedge?
« on November 18th, 2011, 06:05 PM »
Quote
Many of which we fixed in Wedge, I know, I know...
Most of the 1.1 ones were fixed in 2.0, but there's still some that haven't been fixed and likely won't be for a while; at least one of them requires completely rewriting the preparser, and at least one requires overhauling parse_bbc, and as you can understand I'm not enthusiastic about either of those things.

(Which is part of the basis for the discussion about dropping bbcode and going over to pure HTML, assuming we create some kind of short code... which even WP has these days)
5412
FAQs / [FAQ] Re: What is Wedge?
« on November 18th, 2011, 05:54 PM »
Quote
There may very well be a stable release that ships with a ton of silly bugs or behavior issues that no one will ever notice...
Like either SMF 1.1 or SMF 2.0 for instance? There are numerous little foibles that most people never realise in there.
5413
FAQs / [FAQ] Re: What is Wedge?
« on November 18th, 2011, 05:48 PM »
Yup, to put it in perspective, SMF 2.0 was feature locked in early 2007, and that didn't make a lot of difference to development (not only did it receive feature enhancements in every release candidate, it was already then at least a year late)
5414
FAQs / [FAQ] Re: What is Wedge?
« on November 18th, 2011, 05:45 PM »
That's what alpha and beta periods are for, for mopping up the stuff we didn't remember to do the first time.

Right now I'm more interested in the big stuff, not the (theoretically) smaller stuff.
5415
FAQs / [FAQ] Re: What is Wedge?
« on November 18th, 2011, 05:12 PM »
Quote from AngelinaBelle on November 18th, 2011, 05:11 PM
Feature Lock!
Wash your mouth out :P

Half the problem is that a lot of things that we already decided to do are still in figuring out the details, like some of the Aeva integration, some of the plugin system and so on.