Brickimedia / brickimedia

Brickimedia Source Code
http://www.brickimedia.org
13 stars 4 forks source link

LSW and Customs Wiki to do list #460

Closed neoncitylights closed 8 years ago

neoncitylights commented 8 years ago

Note: Creating this to do list just so we make sure everything is cleaned up, the process is smooth as possible, and we're not using unnecessary lines of code. Most of these tasks are set in LocalSettings repo, but include other things too.

Eventually, once all the content has been transported from LEGO Stories Wiki to Brickimedia Customs Wiki, the following things should be updated (mostly if it gets renamed):

Technical

LocalSettings

neoncitylights commented 8 years ago

Putting this on hold until consensus is reached for the new wiki name

SirComputer1 commented 8 years ago

New wiki name to be LEGO Fanatics Wiki, relaunch wanted to be March 1 - eek deadlines.

Why the heck am I still here?

neoncitylights commented 8 years ago

Good question. :+1: Now that's a real mystery

NovaFlare commented 8 years ago

Just a minor thing- would someone who can edit http://customs.brickimedia.org/load.php?debug=false&lang=en&modules=site&only=styles&skin=deepsea be able to remove the following line, or at least just the "!important"? It's what appears to be preventing the ability to change the text color on the Fanatics Deep Sea skin.

p-personal li,#p-media li,div.vectorTabs li,div.vectorMenu,#p-search,div#mw-panel div.portal div.body ul li,.vectorMenu li,#p-search-mobile{background-color:#FF6F6F}div.vectorTabs li.selected{background-color:#FFFFFF}div.vectorMenu ul{border:solid 1px #FF6F6F}div#mw-panel div.portal div.body ul li a,#p-media a,#p-personal a,div.vectorTabs li a,div.vectorMenu li a,div#mw-panel div.portal div.body ul li a{color:#720000!important}

Thanks!

neoncitylights commented 8 years ago

@NovaFlare: I'll ping @georgebarnick to do this task since I'm not a local wiki Customs administrator

georgebarnick commented 8 years ago

What needs doing? @NovaFlare has permission to edit local CSS

neoncitylights commented 8 years ago

Ah forgot he's admin, it's an easy task though. A simple CSS block needs removing in MediaWiki:DeepSea.css

NovaFlare commented 8 years ago

.....

I thought that was a separate stylesheet overruling the CSS, not the local CSS itself. And for some reason it wasn't changing before when I tried changing the color, but it's fine now. Sorry.

neoncitylights commented 8 years ago

It's fine, don't worry about it :) @novaflare

neoncitylights commented 8 years ago

@georgebarnick @MtMNC The following logos also need updating: (adding this up in the tracking to do list also)

(again, the refreshed images should eventually be defined by a variable in LocalSettings files, refers to #451)

neoncitylights commented 8 years ago

@georgebarnick @lewiscawte @UltrasonicNXT Do any of you have server-side access to reconfigure the sub domains, to rename custom.brickimedia to fanatics.brickimedia?

neoncitylights commented 8 years ago

We'll need that done first so all the other tasks can be done

georgebarnick commented 8 years ago

That's done through LocalSettings

On Sun, Feb 28, 2016, 11:21 AM Cody Nguyen notifications@github.com wrote:

We'll need that done first so all the other tasks can be done

— Reply to this email directly or view it on GitHub https://github.com/Brickimedia/brickimedia/issues/460#issuecomment-189898965 .

George Barnick https://www.georgebarnick.photo

neoncitylights commented 8 years ago

@georgebarnick How does one change the main URL's subdomain of Brickimedia Customs Wiki with LocalSettings? (I don't mean all the sub-settings)

going to fanatics.brickimedia.org just gives a 404 error in return

neoncitylights commented 8 years ago

Wait, do you mean this? https://github.com/Brickimedia/LocalSettings/blob/master/LocalSettings.php#L107

georgebarnick commented 8 years ago

Yes

On Sun, Feb 28, 2016, 3:14 PM Cody Nguyen notifications@github.com wrote:

Wait, do you mean this?

https://github.com/Brickimedia/LocalSettings/blob/master/LocalSettings.php#L107

— Reply to this email directly or view it on GitHub https://github.com/Brickimedia/brickimedia/issues/460#issuecomment-189936628 .

George Barnick https://www.georgebarnick.photo

neoncitylights commented 8 years ago

Messed up twice today trying to do this task but I think I almost got it, I'll link the commit once I'm done

georgebarnick commented 8 years ago

Feel free to just make a pull request and we can double check it before it's committed

On Sun, Feb 28, 2016 at 6:40 PM Cody Nguyen notifications@github.com wrote:

Messed up twice today trying to do this task but I think I almost got it, I'll link the commit once I'm done [image: :+1:]

— Reply to this email directly or view it on GitHub https://github.com/Brickimedia/brickimedia/issues/460#issuecomment-189966872 .

George Barnick https://www.georgebarnick.photo

neoncitylights commented 8 years ago

@georgebarnick Woops sorry! I made the following commits (2 before you commented) and already pushed it, could you check just in case though?

neoncitylights commented 8 years ago

http://meta.brickimedia.org/wiki/Special:Log/interwiki done

neoncitylights commented 8 years ago

reverted the following changes, someone else who has access to the server database and is also better at reviewing code should probably do this.. -https://github.com/Brickimedia/Refreshed/commit/87d690043138e348ab4f842db1fdc1bcbca0ee91 -https://github.com/Brickimedia/generalscripts/commit/2eb71ae98fd7e2035b01d778c4dc5d3a7ba3e323 -https://github.com/Brickimedia/LocalSettings/commit/e0cc2e232f47faa701cf30af88a623acd161acac -https://github.com/Brickimedia/LocalSettings/commit/bcccf0e3515ee1241cf4620eaca1a6f7d2a03768

mary-kate commented 8 years ago

Maybe this time around we'll first revert the reverts (above), then rename the database "customs" to "fanatics" and then update the site to the latest codebase. (I tried dumping the customs DB into a .sql file and creating the new fanatics database, but apparently our database user -- the one set in LocalSettings_private.php -- doesn't have CREATE DATABASE privileges, so that obviously didn't work out as intended.)

Looking at the last diff @codynguyen1116 linked to above, I get the feeling that the real culprit was LocalSettings_ext.php and its $newTalkGlobalDatabases global variable, which also contains database name definitions. There's also a definition of the $wgLocalDatabases global on line 295 (why is this global being defined in two different files? what things use it, even?). Finally it also seems that LocalSettings_meta.php also defines $wgLocalDatabases...I think this is unnecessarily messy and we could come up with a slightly less ugly solution.

georgebarnick commented 8 years ago

Why not just rename the site and leave the file names as they are right now? LocalSettings_customs can stay customs, the database can stay customs. All that is backend stuff that isn't really necessary to go and change. The front-end is all that really needs changing and that shouldn't be very difficult.

neoncitylights commented 8 years ago

This issue will be put on hold until votes have been closed for http://en.brickimedia.org/wiki/Brickipedia:2016_Changes

SirComputer1 commented 8 years ago

In consolidation of the wikis this will never happen, so I'll close this for you guys.