#No tabular-json content model

45 messages · Page 1 of 1 (latest)

feral sentinel
#

I use Data namespace for Module:TNT but

celest marten
#

Could you share a link to the page where the error is occuring?

willow flume
celest marten
# willow flume

A screenshot doesn't really help because I can't see the affected page in their wiki

willow flume
celest marten
feral sentinel
#

I just deleted just now

celest marten
#

Then I can't really investigate what's causing the error

feral sentinel
#

So I need to create the page?

#

I undeleted that page

feral sentinel
#

@celest marten

#

Can you check the page again?

feral sentinel
#

@willow flume

celest marten
#

I don't think a tabular-json content model exists, JSON is the one that is supposed to be used for tabular data

#

I've checked the syntax of Data:I18n/Template:Most Wanted Customization.tab a few days ago and unless I've missed something, it seems to match the schema described at https://www.mediawiki.org/wiki/Help:Tabular_data, so I'm not sure why it's throwing that error

feral sentinel
#

I check the info of a data page in Mediawiki and find that its contentmodel is tabular-json
If Miraheze doesn't support that I think we should modify the M:TNT that use sub-module like M:TNT/[Pagename] as data page

celest marten
feral sentinel
#

So what should we do if Miraheze doesn't support Tabular.JsonConfig JSON config model

celest marten
#

Miraheze does support that

#

But I assume something is wrong either with the module or the data you're using

feral sentinel
#

But I really don't find that on ChangeContentModel options

feral sentinel
#

Obviously there isn't option of "tabular-JSON" in the site

celest marten
#

Because it doesn't exist, neither on Miraheze, nor on any other wiki

#

You need to use the JSON content model

feral sentinel
#

No..I met that error when I use JSON contentmodel as not vaild data

feral sentinel
#

No ´Tabula.JsonConfig´ contentmodel

feral sentinel
feral sentinel
#

@celest marten

urban minnow
#

Please don't repeatedly ping volunteers. We can only help when we have enough time and interest. Sometimes no one has enough interest/expertise to deal with an issue, and unfortunately that's the way it is.

feral sentinel
#

Sorry

feral sentinel
#

OK I request to end this post

feral sentinel
hollow juniper
#

could you kindly copy that here

feral sentinel
hollow juniper
#

and what were you doing for this to happen

#

aha, I see

#

jsonconfig expects the Data namespace to have an ID of 486, yours is 3016
I assume this to be the cause of the error

feral sentinel
#

So what should I do

#

delete that namespace?

feral sentinel
#

Data namespace isn't default namespace and it need to be created