Topic on User talk:Kghbln

Summary by Kghbln

SMW will use indexes 112 and 113.

Dinoguy1000 (talkcontribs)

Hi Kghbln, can you tell me the purpose of the new Rule: namespace added by SMW? Currently it conflicts with Extension:DPLforum's Forum: namespace (the talkspaces also conflict with each other).

Personally I wouldn't mind if DPLforum used a different namespace number - or at least allowed it to be easily configured - though migration would probably be a bit of a pain.

Kghbln (talkcontribs)

See here for info on the "Rule" namespace.

Both extensions introduced their namespaces prior to general regulation. :|

I guess that the easiest will be to author a change to DPLForum and to change the namespace indexes for it and backport to REL1_31 since it is much less widely used. I think that it will not create a big issue if it is done internally. I guess you just have to pull in the new version of DPLForum.

Moreover SMW does allow to change the namespace indexes via $smwgNamespaceIndex

Dinoguy1000 (talkcontribs)

I knew about changing SMW's namespace indexes already, actually. The main reason I brought this up and suggested that DPLforum should be changed, though, is because when its namespace index was hardcoded there were complaints from installers caught by surprise, including at least one who found the hardcoded index conflicted with one of their custom namespaces. (I realize doing so years after the fact is small consolation to the people who had to deal with that issue in the past, but IMO this is something worth doing on its own merits anyways.)

Kghbln (talkcontribs)

I have just authored a change to move DPLforum to another spot. Making this configurable will be even nicer but this is beyond my coding ability I'm afraid. Anyways, let's see how the reactions are.

Yeah, namespace conflicts are nasty but luckily less and less common. Thanks for bringing this issue up.

Dinoguy1000 (talkcontribs)

It might be worth filing a phab ticket for someone else to make that change, then (while I'm thinking of it, I should check to see if there's a phab component for DPLforum and watch it if so).

Kghbln (talkcontribs)

I would be surprised if there is a dedicated component for DPLfroum on Phabricator. Perhaps we should wait for the first reactions to my pull request. Sometimes people "hijack" it and add more magic to it.

Dinoguy1000 (talkcontribs)

Yeah, I checked after posting that and it appears DPLforum tickets just get filed under Mediawiki-extensions-Other.

Kghbln (talkcontribs)

In the end SMW will now move to 112 and 113 respectively to avoid the conflict. This was the easiest solution at this point. I just adjusted the docu page here. Thanks a lot for mentioning it.