Page MenuHomePhabricator

Configuration changes (sitename and logo) for Nepali Wikibooks
Closed, ResolvedPublic

Description

Per request.

  • Sitename should be changed to: विकिपुस्तक
  • New logo should be: this one.
  • Consensus seems to be in here (unsure if it's enough @Krenair)

Event Timeline

MarcoAurelio claimed this task.
MarcoAurelio raised the priority of this task from to Low.
MarcoAurelio updated the task description. (Show Details)
MarcoAurelio added subscribers: MarcoAurelio, Krenair.
MarcoAurelio updated the task description. (Show Details)
MarcoAurelio set Security to None.

Hmm. I think these particular changes are fine given that a local admin supports. It used to be that admins could change the logos on most wikis themselves, that only became more complex due to performance issues with the old logo setup. And the text matches the logo, so... Yeah, if you're happy with this, let's go for it.

MarcoAurelio raised the priority of this task from Low to Medium.Jan 27 2016, 2:52 PM

Fine for me as well. Since I removed Git and Python from my computer (I felt I was being useless in this job), I'm OK with anyone wanting to submit a patch for this. Don't forget optiPNG guys :-)

@MarcoAurelio,
Where can I find the files that need to be edited?
Thanks,
MtDu

@MarcoAurelio,
Where can I find the files that need to be edited?
Thanks,
MtDu

Hi. If my memory does not fail:

  • For sitename, you need to edit InitialiseSettings.php in the operations/mediawiki-config/wmf-config folder and search for the wgsitename variables and add/edit newikibooks.
  • For the logo, you need to upload the logo into the mediawiki-config/w/static/images/project-logos with the name "newikibooks.png". You need also to run optiPNG or ask the commiter to run optiPNG so the logo shows OK.

Hope that it helps.

When changing the logo on any wiki, you should also check wgLogo in InitialiseSettings, because several wikis have files stored but with wgLogo pointing elsewhere

I'm trying to push a patch, but when I do git review, I get this. https://dpaste.de/K0gp I have tried commit --all --amend multiple times.
Thanks,
MtDu

It seems here Git or Python mangle Windows and UNIX paths.

You have basically four main options:

  • Install an UNIX-like os or get an access to some UNIX-like server to work
  • As you have a Vagrant VM, work from inside the VM
  • Install cygwin, and maybe Git for cygwin
  • Debug the first of the dozen to fifty similar issues you'll get in the next three years

Virtually all the toolkit are developped and optimized for Linux, generally works on every UNIX-like OS, and only finally ported to Windows. So if you use Windows, you'll bump on such blocker everytime.

Change 267170 had a related patch set uploaded (by MtDu):
Change some Nepali Wikibooks configurations * sitename * logo

https://gerrit.wikimedia.org/r/267170

Change 267170 merged by jenkins-bot:
Change Nepali Wikibooks sitename and logo

https://gerrit.wikimedia.org/r/267170

Change 270000 had a related patch set uploaded (by Dereckson):
Namespace configuration on ne.wikibooks

https://gerrit.wikimedia.org/r/270000

Change 270000 merged by jenkins-bot:
Namespace configuration on ne.wikibooks

https://gerrit.wikimedia.org/r/270000