#Installing infoboxes

378 messages · Page 1 of 1 (latest)

stark thunder
#

Ive been following the tutorial on the miraheze website and when i try to import the infobox it states I need an interwiki prefix, what do i do

twin shard
stark thunder
#

its an XML file from wikipedia itself

#

it doesnt exceed 2mb

#

i tried putting wikipedia into the box

#

and its loading

#

so i think ive got it

#

ah well that went to shit i think

#

how do i undo an import

#

i assume this isnt meant to be like this

twin shard
#

Problem with Wikipedia is, that it has a lot of modules and templates it depends on. Those need to be included as well.

#

We rather point you to [[dev:Template:Infobox]] in stead, which is a simpler version.

modest hedgeBOT
twin shard
#

Please read [[Infoboxes]] for more info.

modest hedgeBOT
stark thunder
#

im already reading it

#

but none of this makes sense

twin shard
#

(I personally never use inport/export so I can't help you undo that)

stark thunder
#

well how do i get infoboxes the same as wiki

#

and how do i undo this import

twin shard
#

You can just copy the few files from our dev.miraheze.org and paste it over the files you imported. That doesn't give any problem.

#

It shows you which files are needed

#

The files you imported, can just be deleted

stark thunder
#

im going through the official import tutorial

stark thunder
#

like a lot

#

81

#

so thats fun i guess

twin shard
#

Took me a whole lot of hourse to figure out how many are unnecessary 😄

stark thunder
#

aight

#

well

#

they seem to be ok

#

some look broken asf

#

while others seem fine

twin shard
#

Because they are missing templates, css files or modules. Then Lua says: "Forget it, I can't find it - this is why - figure it out "

stark thunder
#

there seems to be quite a few styles.css files missing

#

do i just bring them over one by one?

#

until it seems to work fine

twin shard
#

Yeah, that is often the only way.

stark thunder
#

piece of advice to the creators of miraheze, could they please have some of this stuff available to be preadded as an option on the creation page

twin shard
#

Problem is, that the files Infobox depends on, often themselves are depending on other files

#

We are looking through those options indeed. But it is a lot of work to make it universally available to add as an extension. It will take some time still before it is implemented.

#

But that is why a few of us made the simpler versions on our [[dev:]]

modest hedgeBOT
stark thunder
#

there is a weird warning on one of the pages

twin shard
#

Link?

stark thunder
#

i dont understand this

#

any of this tbh

#

wikimedia is just not my cup of tea

twin shard
#

I see ... the page is in wikitext, but has to be sanitized css

#

Hang on.

stark thunder
#

?

twin shard
#

On the right you see Page information

stark thunder
#

yeo

#

yep*

#

wait

#

i got

twin shard
#

then in the table it says
Page content model plain text (change)

stark thunder
#

it

#

change content model

#

done

twin shard
#

sanitized css

#

Good

stark thunder
#

and it works

twin shard
#

refresh

stark thunder
#

magic

twin shard
#

😉

#

you're doing fine. the start is always hard, but when you're through it, it will be a masterwork 😉

stark thunder
#

ive got so much lore to write

#

and a team of people waiting for me to set this upo

#

up*

#

so least its making progress

twin shard
#

I'll be here for a few hours, so don't be afraid to ask

stark thunder
#

one sec

#

why is it like this

#

ive added infobox and documentation styles css

#

so idk why they are still an error

twin shard
#

Let me check

stark thunder
#

ive fixed a few other css formats

twin shard
stark thunder
#

so what does that mean

twin shard
#

at the bottom you'll see Templates used on this page You'll see what is missing

#

Transcluded = imported from another page.

twin shard
stark thunder
#

got it

#

few things are missing

#

three things

twin shard
#

yup.

stark thunder
#

so copy them from wikipedia?

twin shard
#

The "/n" i'm not sure what that is about.

#

Yes

stark thunder
#

thanks for the helo

#

help*

#

so far

twin shard
#

As long as you use Wikipedia's infobox, you need to continue

#

You're welcome

stark thunder
#

/n doesnt even exist

#

so thats a bit odd

#

tf

#

i reloaded it to see if it updates

#

but now there are more missing things

#

the ones i added are fixed

#

but there are new missing stuff

#

so i just gotta keep fixing issues as they arise

#

aight

#

ok ive fixed the new ones

#

and no more are appearing

twin shard
#

Indeed.
I think "/n" was due to another one missing, which puts the code together with other code I think.

#

Good

stark thunder
#

this one is still iffy

twin shard
stark thunder
#

what do i activate

twin shard
#

In the search box type: styles and enable the three

stark thunder
#

i cant enable one

#

oh wait it requires the other

#

just will reload

twin shard
#

correct

stark thunder
#

done

#

should that fix things

#

seemingly not

twin shard
#

might want to purge the page first

#

add ?action=purge behind the websites url

stark thunder
#

that has caused a lot more issues

#

fucking hell

#

how do i make it sanitised css then

#

as that wasnt an option

#

ah its an option now

#

so thats from the plugins

twin shard
#

The same way you did above
Page information

stark thunder
#

ik

#

tf

#

its not an option on documentation styles.css

twin shard
#

I check

stark thunder
#

it appeared now

#

this is so weird

twin shard
#

Yup Welcome to mediawiki 😄

#

You can delete: /* {{pp|small=yes}} */

stark thunder
#

YOOO

#

ITS FIXED

twin shard
#

😄

stark thunder
#

ty

twin shard
#

yw

stark thunder
#

ok im missing a few css pages

#

but it seems to be simple work

twin shard
#

Yeah, you learn to see things quite easy along the way

stark thunder
#

@twin shard is there a way to mass purge the cache of pages

#

and quite a few issues here

stark thunder
#

ty

twin shard
#

yw

stark thunder
#

@twin shard got an issue

#

Lua error in Module:Citation/CS1/Configuration at line 2058: attempt to index field '?' (a nil value).

#

this error is appearing everywhere

twin shard
#

A nill value (I should find a file, but there is nothing)

#

I check what it is

stark thunder
#

ok

twin shard
#

Module:Citation/CS1 is missing

#

Module:Citation/CS1/styles.css

stark thunder
#

ah ok thanks

stark thunder
stark thunder
#

i purged the cache and the error is still there

stark thunder
#

what content model should it be

twin shard
#

Modules are Scribunto

stark thunder
#

whats wrong here then

twin shard
#

I don't see an error in there

stark thunder
#

imma ensure there are no missing templates / modules

#

and if the error continues

#

i will need your help

twin shard
#

I'll be here

stark thunder
#

it has decided to continue

#

it appears here

#

im just testing the infobox country template

#

and working through

#

the issue seems to originate from citations

twin shard
#

It is indeed a tough one.
mw.ext.data.get ("CS1/Identifier limits.tab")
This seems to imply that it tries to get info from an external source (Which is commons.wikimedia.org.

stark thunder
#

which i wont be using anyway

twin shard
#

CS1 is the complete Citations template and modules set indeed

stark thunder
#

so

#

im fine

#

if i dont use citations

twin shard
#

ok. (Still looking. I hate not having answers 😄

stark thunder
#

ah

#

lol

twin shard
stark thunder
#

so what should i do?

twin shard
#

Nothing yet, I am asking this one at MediaWiki self

#

Just ignore it for now

twin shard
#

both 'CommonsMetadata' and 'JsonConfig' need to be enabled

#

Module:ISO 3166/data/National is missing as well

stark thunder
#

ty

#

also an image i uploaded wont embed

stark thunder
twin shard
#

Ah. Inside the infobox, you do:

| image_flag             = Orion Flag.png
| size                   = 250px```
stark thunder
#

i fixed that

#

already

#

all good

twin shard
#

okay

stark thunder
#

i think

#

u did it different

#

i will add that

twin shard
#

I see the uploaded image is not viewable on the file page either

stark thunder
#

whyd that be

twin shard
#

Even after refreshing

stark thunder
#

wait

#

i think ive got it

#

i had the file open when uploading it

twin shard
#

okay..

stark thunder
twin shard
#

Strange indeed

#

Well I pinged them to take a look, but have to wait untill there is one online

stark thunder
#

@twin shard

#

what is this error being caused by

twin shard
#

Looking

stark thunder
#

i do have that page

supple crescent
#

from what i see the file it's trying to load is a thumbnail which is unauthorized

stark thunder
#

ah shit

#

i know why now

supple crescent
#

it shouldn't be doing that

stark thunder
#

i need someone senior

twin shard
#

Module:Unicode data/scripts

#

Is missing

stark thunder
#

when trying to upload it, i followed a tutorial but accidentally uploaded it to the wiki on which the tutorial was placed. I put it under copyright (as i thought it was my one and i didnt know what to put on that category)

#

and i think that is causing it to be blocked

stark thunder
supple crescent
stark thunder
#

idk then

supple crescent
#

sre was already pinged so they can look into it

stark thunder
#

aight

twin shard
#

You're one determined guy.
Full respect for the tempo your doing this in 🙂

stark thunder
#

i uploaded another version of the file with minor differences and still wont work

supple crescent
#

oh so all of the files uploaded don't load thumbnails

supple crescent
#

yeah also "unauthorized"

twin shard
#

Weird

#

Normally you'd see this if the wiki was private.

#

(iirc)

twin shard
#

So it should work now

twin shard
#

I am off. In 4,5 hours I have to get out of bed again 😄

#

I'll check in later again to see how it goes

twin shard
#

Please enable:

  • UrlGetParameters

  • Admin Links (For your sake, get handy tools)

stark thunder
#

@twin shard

#

why does it have an expression error

twin shard
#

Module:ParameterCount is missing

stark thunder
#

ah ok thanks

twin shard
#

Yw

stark thunder
#

wait found a tutorial

#

all good

stark thunder
#

how would i change the date

#

like make it january 2700 and freeze it there

twin shard
#

Erm... You mean the revision dates?

#

That you can't do, as it automatically adds the server time.

#

Or do you mean something different?

#

Where on the page for example?

stark thunder
#

that sucks

#

i can just write it but i gotta do the maths

#

which is annoying

twin shard
modest hedgeBOT
twin shard
#

@stark thunder Try using :
{{CURRENTDAY}} {{CURRENTMONTH}} {{#expr:700+{{#time:Y}}}}.

twin shard
#

Where you want. It would show the current date, but in 2724

stark thunder
#

ah ok

twin shard
#

You can use {{CURRENTMONTHNAME}} in stead of {{CURRENTMONTH}} if you wish to use the month name

stark thunder
#

@twin shard hey would you mind explaining what isnt working here

twin shard
stark thunder
#

could u show me a list

#

as the normal list is all blue

twin shard
stark thunder
#

they arent real

#

tho

twin shard
#

They are called somehow. But as said, I have no real knowledge of LUA to find the issues.

stark thunder
#

and even with wikibase the issue is still there

#

imma purge the cache

#

no change

twin shard
#

Ah...
Enable "GeoData"-extension please

#

| image_map = {{Infobox mapframe|wikidata=yes|stroke-width=1 |shape-fill-opacity=0|geomask=Q84|zoom=8|frame-lat=51.5069|frame-long=-0.1287|marker=city}}
wikidata=no

You don't have a connection to Wikidata like Wikipedia has

twin shard
stark thunder
#

The population and HDI and such sections are broken

twin shard
#

I know, but these are called from the module. And I lack the knowledge of LUA.

#

But do Enable the "GeoData" extension

stark thunder
#

Kk

stark thunder
#

@twin shard

#

notes arent working

#

not properly at least

#

i just want it to say [1]

#

not this full lower-alpha thing

vapid cave
#

Any great or bad news till now?

twin shard
stark thunder
twin shard
#

Not a template, more of several library files

stark thunder
twin shard
#

Just search them on English Wikipedia, you'll see. I'm afk atm.

simple bridge
#

@stark thunder mediawiki:Cite link label group-lower-alpha

#

Make this

stark thunder
#

Aight

#

then?

simple bridge
#

W8 I can give you more simple solution

#

Can you give me the link @stark thunder

simple bridge
#

@stark thunder if you copied from Wikipedia?

simple bridge
#

Just asked

#

I did mean that

#

Didn't

stark thunder
#

I don’t know what u mean

#

Copied what

simple bridge
#

Ok

#

Lets give you the solution

simple bridge
stark thunder
#

So like a template

#

Aight Fine

#

Thanks

stark thunder
simple bridge
#

Oh sorry

#

W8

stark thunder
#

You mean group lower alpha?

#

Not decimal

simple bridge
#

If you can give me the permission to edit some template

stark thunder
#

I will do it

simple bridge
#

In your wiki

stark thunder
#

I think I know what u mean

#

I can handle it from here

simple bridge
#

If you want a b c or just 1 2 3

#

@stark thunder

stark thunder
#

1 2 3

simple bridge
#

Just 123 ok then need to do some change in some template

stark thunder
#

Any changes that I need to make, just tell me what to do and I can do it

simple bridge
#

Yes

#

Just paste this

 |{{#tag:ref|{{{1|{{{reference|{{{content|{{{text|}}}}}}}}}}}}|name={{{name|}}}}}
 |{{#tag:ref|{{{1|{{{reference|{{{content|{{{text|}}}}}}}}}}}}}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>```

in Template:Efn
modest hedgeBOT
simple bridge
#

Hope this will work@stark thunder

simple bridge
#

Also {{reflist|{{{1|{{{colwidth|}}}}}}|refs={{{refs|{{{notes|}}}}}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using notelist with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Notelist]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | colwidth | group | notes | refs }}<noinclude> {{documentation}}</noinclude> this in the template:notelist

#

@stark thunder

stark thunder
#

Aight