#Adding templates of multiple types into the Cosmos editor
57 messages · Page 1 of 1 (latest)
if you are migrating an entire wiki, templates from that wiki will also migrate
otherwise you can export/import templates from one wiki to another, one a the time
I know the migration has yet to happen; I sent the template files and articles to the Miraheze team near the start of the month.
via Phabricator?
The only manual changes I've made are adjusting the wiki's UI to be Cosmos and adding the background changes.
if it's the same wiki you mentioned in another thread, it already migrated, there's content?
oh my bad
I'm silly
But I clicked the button that said "Request import" to start out.
But I basically took the XML of both this wiki's articles and templates (two separate ones)
https://sketchian-multiverse.fandom.com/wiki/Sketchian_Multiverse_Wiki
7am
Ah, it's early for ya on the other side?
(I'm in West Coast USA for context, so it's 8:30pm)
yes
I do know I was told by the Miraheze team to be patient, as the team was made of volunteers. So I don't want to get in the way of their work. But I do know that I'll likely end up working on the wiki from the ground up if the team tells me they're unable to make the migration work.
I don't get this part
the wiki has 100 articles, you've requested the dump but it didn't update or contained only 2 articles?
Wait, did the article export not go through...?
when you migrate an entire wiki you need 2 data dumps
one is textual, wiki dump, an xml file - Fandom can give you it of you click generate new dump or something like that on Special:Statists page, the most important part here - you should get the one w/ full history
another dump is archive of actual files - images etc, but Fandom won't give you that, you'll have to scrap files by yourself (manually or w/ a script from github)
I was planning to migrate all images from my own personal set (as the images have changed a lot since the original wiki's start) but I didn't know that was a necessity.
okay, so just textual dump
I ended up sending two textual dumps; one with all articles and one with all templates
alright, where you've sent them on Miraheze?
I did it through the "Request Import" feature
there's currently no pending requests in ImportDump queue
For specifically my wiki? Lemme see about sending another textual dump with BOTH articles and templates.
it says both imports went tru, third one was duplicate and declined
but I see wiki is empty
I might have ended up doing it wrong the first time around.
did you made dumps via Special:Export on Fandom?
Yes, I did
@raw tree this isn't the first time import doesn't actually gets tru
but I suggest to request xml dump on Special:Statistics on Fandom and sent it instead
problem in this case would be that it also fetches user pages, comments and other fandom garbage you'll have to clean up later (if it's presented)
I'll have to sift through what pages I wanna keep (and what images need updating) when the import actually goes through. But I've requested an update on that.
as I said before, Fandom won't give you images, only text
if you need less that the wiki actually has then I agree, choosing w/ Special:Export is more convenient
I will try to make a Phab task about this, but I won't find previous time it was reported
(Wait, I'm a dumbass, I didn't notice the timestamps were links. Clicked that and downloaded the file; should I send the zipped or unzipped version?)
unzipped, just xml
actually wait
you still have first dumps you've made?
articles + templates
Mind if I toss them here?
I sent the Statistics file into the import requester already; didn't see the "actually wait" until after the fact
seems like full dump import succeeded
for mass garbage deletion I suggest to use NukeDPL extension (first requires enable DPL3 extension)
the query would be, for example
namespace = 0 titlematch = Thread%
I guess one last question; I do wanna change the wiki's default font for headers and text; what'd be the best way to do that?
that's CSS
first you need to find the font, I suggest to use something free off Google Fonts, since it can be easily added to the wiki w/ a single line code
then you'll have to poke around web elements
layout modifications better to be applied to skin specific CSS pages, in your case MediaWiki:Cosmos.css
but the font has to be added in MediaWiki:Common.css, this one affects the wiki no matter which skin is used, and must be used for such additions