Hi,
> Perhaps we should move out the existing ones now we are switching to 2.0
> anyway?
I'd like to see that happen because `onPageSchemasRegistration` and
`addToAdminLinks` are the two remaining hooks which block the removal
of `SemanticMediaWiki.hooks.php` [0].
[0] https://github.com/Semanti
Hey,
Perhaps we should move out the existing ones now we are switching to 2.0
anyway? The new mini extensions can be put in the "suggests" section. Or
perhaps not, as for those to fully function, you'd first need package
definitions of their dependencies as well. Thoughts?
Cheers
--
Jeroen De Da
Hi James,
> I'm not a huge fan of such interdependencies (and AdminLinks is no
exception).
This seems like the most overriding of your objections. Could you elaborate
on it?
--
Want fast and easy access to all the code in
Hey,
> The same thing holds true for Page Schemas, by the way - the code in SMW
that hooks into it is somewhat complex, but as far as I know it hasn't
required any special maintenance effort on the part of SMW devs.
As far as I'm concerned, we (SMW devs) are responsible to not break code in
our r
Hi,
I can't say anything about the code (as I haven't seen it yet) but
three things I'd like to comment:
> newest of these three, and SMW doesn't connect to it yet, but I would like
> to add code in to SMW to do that, most likely via another class, that would
> be called "SMWSiteSettings".
I'm n
Hi,
Well, it depends on what you mean by "broken". From my perspective, as long
as the code doesn't crash SMW's regular functionality, it's good enough. If
there's a problem with the Site Settings functionality in SMW - even a
severe problem - you could just redirect it as a Site Settings issue, w
Hey,
> Unfortunately, there isn't yet a public example of an extension that
hooks into Site Settings
Just from the description you provided, it is still not clear enough for me
to say much about it.
The general concern with putting it into SMW is that this forces the people
working on SMW to hol
Hi Yaron,
Definitely SiteSettings is useful for a wikifarm, so is the interwiki
table. To get named-value simplicity (for admins), adding a LONGTEXT
column (or LONG VARCHAR) to the interwiki table and then extracting
named values via canned mysql achieves similar goals
mysql> describe interwi
Hi Jeroen,
Unfortunately, there isn't yet a public example of an extension that hooks
into Site Settings - if this potential code gets into SMW, SMW could become
the first. But the basic idea is that the class would contain various
static methods, each of which was called by a different Site Setti
Hey,
Can you give me some idea of what this code you'd put in SMW would look
like? Is there already an example somewhere?
Cheers
--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect at Wikimedia Germany
~=[,,_,,]:3
-
Hi John,
The Page Schemas class is linked in my original email; the Admin Links
function is in SemanticMediaWiki.hooks.php.
I would rather not get into the technical details of any of those
extensions in this thread, except as it relates to SMW. However - it's true
that a key-value approach for S
Hi Yury,
You're right that Page Schemas, unlike the other two, is not really a
"generic" framework, and is pretty tightly integrated in with the standard
SMW approach to data structures, which has caused some problems.
Personally, I think Page Schemas works well now - I use it on a regular
basis
On 7/15/2014 7:25 PM, Yaron Koren wrote:
Semantic MediaWiki already hooks into the first two: Admin Links via a
function, and Page Schemas with a class.
Hi Yaron - What function/class are those. Also, i happened to review PS
extension's DTD - has it changed?
version ="1.0"encoding
="utf
Hi!
On Wed, Jul 16, 2014 at 3:37 PM, Yaron Koren wrote:
> Hi Yury,
>
> On Wed, Jul 16, 2014 at 1:32 AM, Yury Katkov
> wrote:
>
>> Hi Yaron!
>>
>> I think that for SiteSettings this patch could make sense although I'm
>> strongly against such interdependencies between extensions (after trying t
Hi Yury,
On Wed, Jul 16, 2014 at 1:32 AM, Yury Katkov wrote:
> Hi Yaron!
>
> I think that for SiteSettings this patch could make sense although I'm
> strongly against such interdependencies between extensions (after trying to
> contribute to PageSchemas)
>
Could you expand on that?
>
> Is Adm
Hi Yaron!
I think that for SiteSettings this patch could make sense although I'm
strongly against such interdependencies between extensions (after trying to
contribute to PageSchemas)
Is AdminLinks mentioned in SMW? That's really strange and surprising - I
thought it's just a header button and th
Hi,
There are three extensions of mine that take a similar approach, where they
provide a generic framework and other extensions add their own specific
functionality in via hooks: Admin Links, Page Schemas and Site Settings.
Semantic MediaWiki already hooks into the first two: Admin Links via a
fu
17 matches
Mail list logo