Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Moydow

Pages: 1 [2] 3 4 ... 13
21
Wiki References / Re: Upload Wizard
« on: November 05, 2013, 05:16:42 PM »
In LocalSettings.php,

$wgUploadWizardConfig'licenseCategory' ] = 'Image Templates';

will make it select the templates from http://www.metroidwiki.org/wiki/Category:Image_Templates

22
NIWA Discussion / Re: New NIWA Coordinator
« on: October 04, 2013, 10:18:52 AM »
Just posting to mention that I now have access to the [email protected] e-mail. Thanks to everyone for your support, and to Xizor for the great job he did as the first Coordinator. :)

23
Wiki References / Re: Upgrading MediaWiki version
« on: October 03, 2013, 08:56:40 PM »
My method for upgrading usually goes like this (for major version upgrades, e.g. 1.20 to 1.21):

  • Upload the new version files into /public_html/w2/ (this assumes that your wiki is in /public_html/w/ or similar; if not, it gets a bit tricky. If the wiki is in /public_html/, you should move it to /public_html/w/ (see below)).
    • If you have shell access (via an SSH client such as PuTTY), you can probably use Git to download the files directly to the server, cutting out downloading the files to your computer, and uploading them manually. In the SSH client, enter these commands:
  • Set the current wiki to read-only mode.
    • Enter the following in LocalSettings.php:
      • $wgReadOnly "Upgrading MediaWiki";
  • Backup the database.
    • If you have cPanel, go to phpMyAdmin, and login using the database username and password (can be found in LocalSettings.php. If your MediaWiki version is older than 1.16, they're in AdminSettings.php, which will become redundant after upgrading)
    • In the left-hand sidebar, go to:
      • your wiki's database -> Export -> select the Quick method, and SQL format -> Go
    • This will download the database to your computer.
  • Go to /w2/ (or /core/ if you used Git), and delete the /extensions/ and /images/ directories.
  • Copy LocalSettings.php and the /extensions/ directory to /w2/ (or /core/ if you used Git).
  • Log in to your SSH client, and run the update script (it's also possible to do this through your browser, though it's not recommended unless you have absolutely no way of getting shell access)
    • cd ~/public_html/w2/maintenance
    • php update.php
  • Move the /images/ directory to /w2/ (copying will probably take too long).
    • If you have a custom skin installed, move the files for that to the /skins/ directory of /w2/. This includes the directory containing the skin files, and the <skin>.php file. <skin>.deps.php files are no longer needed as of MediaWiki 1.18.
  • Rename /w/ to /w.old/
  • Rename /w2/ (or /core/, if you used Git) to /w/
  • Check the wiki to make sure it's working. If not, the most common problems are:
    • An extension (or extensions) are incompatible with the new version of MediaWiki. If the error message gives any details, you should be able to use that to find the broken extension, and disable it (just comment out the require_once line that calls it). If not, you'll need to disable all extensions, and re-enable them one-by-one until you find the culprit. Update the broken extension(s) to the newest version available.
      • Some extensions will still complain about calling the wfLoadExtensionMessages function, even after updating them - just delete any lines containing this from the given file.
    • A custom skin is incompatible. If upgrading from a pre-1.19 version, this is especially likely, due to multiple changes in how MediaWiki handles skins.
    • Configuration changes have rendered certain lines in your LocalSettings.php file obsolete/broken. The older your previous version was, the more likely this is. Check the release notes for more details. If upgrading from a pre-1.16 version, copy the $wgDBadminuser and $wgDBadminpassword lines from AdminSettings.php to LocalSettings.php.
    • Downloading from Git sometimes causes file permissions errors. Use the following commands in SSH to rectify this:
      • cd ~/public_html/w
      • chmod 644 index.php
      • chmod 644 load.php
      • chmod 644 api.php
      • chmod 644 opensearch_desc.php
  • Check the list of extensions on Special:Version for updates. If there are any updated versions available, or the extension is listed as having "continuous updates", you should update the extension straight away.
  • Unset read-only mode (comment out $wgReadOnly "Upgrading MediaWiki";)
  • Perform some basic tests to ensure everything works as it should (editing, uploading images, etc.)

For minor upgrades (e.g. 1.21.1 to 1.21.2), just upload the new files to the server, overwriting the current files. It's a good idea to set the wiki to read-only first. Database backups and running update.php are not necessary, as minor upgrades don't include database schema changes (though it's a good idea to make database backups regularly in some form, even just saving them to the server). You should ideally also check for extension updates, though they're less likely to break between minor versions.

If you really need to run the update script through the web browser, go to the /mw-config/ directory (e.g. http://example.org/w/mw-config/) and follow the instructions. If asked for the upgrade key, this is the contents of $wgUpgradeKey, found in LocalSettings.php.

If the wiki is located in /public_html/ instead of /public_html/w/, you should move it to /w/ first (and leave it there, it makes the upgrading process easier in future):
  • Create the /w/ directory under /public_html/
  • Move the wiki files into /w/
  • In LocalSettings.php, set:
    • $wgScriptPath = "/w";
    • $wgArticlePath = "/wiki/$1";
  • In .htaccess:
Code: [Select]
RewriteEngine on

RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]
RewriteRule ^/*$ %{DOCUMENT_ROOT}/w/index.php [L]

Then you can follow the upgrading process as normal.

24
NintendoWiki discussion / Re: What should happen with the Metroid page?
« on: September 26, 2013, 07:43:45 PM »
Looks like we're making it a disambiguation page. Though, depending on the outcome of this poll, it may yet end up becoming a redirect to [[Metroid (disambiguation)]].

Edit: it's already happened.

25
The Lounge / Hiroshi Yamauchi, former president of Nintendo, dies aged 85
« on: September 19, 2013, 01:34:39 PM »
http://www.theguardian.com/technology/2013/sep/19/nintendo-ex-president-hiroshi-yamauchi-dies and http://www.bbc.co.uk/news/technology-24160150

Quote
Hiroshi Yamauchi, the president of Nintendo from 1949 to 2002, has died at the age of 85. In a short statement released to the press today, the company wrote, "Nintendo is in mourning today from the sad loss of the former Nintendo president Mr Hiroshi Yamauchi, who sadly passed away this morning."

One of the most important and influential men in the history of the video game business, who took Nintendo from being a small playing card manufacturer to the world's biggest and most successful video game producer. He will be greatly missed.

26
The Lounge / Re: What are you playing now?
« on: September 19, 2013, 01:56:31 AM »
Still playing Fire Emblem: Awakening. Up to some 280 hours total so far.

27
Wiki References / Re: Mediawiki SEO
« on: September 14, 2013, 05:28:12 PM »
Put some important keywords in MediaWiki:Pagetitle, which changes the contents of the <title> tag on every page - e.g. Fire Emblem Wiki could add things like Awakening, Marth, Chrom, Ike, etc. Some people also suggest moving the main page to "<subject> Wiki", regardless of what the wiki is actually named - WiKirby's main page is at "Kirby Wiki", for example.

28
NIWA Discussion / Re: Suggestions
« on: September 09, 2013, 12:42:46 AM »
Yes it would.

29
NintendoWiki discussion / Re: "Donkey Kong (disambiguation)" page
« on: September 08, 2013, 11:09:58 PM »
* Moydow adds a poll because he likes polls

30
Nintendo Gaming / Re: GameSpot's Greatest Game Series of the Decade
« on: August 29, 2013, 08:13:38 PM »
Call of Duty beat Fire Emblem

wat

Er, go Zelda, I guess :P Or MGS, I wouldn't mind that winning either

31
Cool, good to have you back :)

32
NIWA Discussion / Re: WiKirby is broked
« on: August 03, 2013, 08:53:07 AM »
GoDaddy whois lookup, enter the captcha and it'll load a list of details about the site and ownership. Currently still listed as expiring on the 13th, so either Adam is waiting until then to renew, or it wasn't him who fixed this.

33
NIWA Discussion / Re: WiKirby is broked
« on: August 02, 2013, 09:27:30 PM »
I added an announcement to the forum news banner, so hopefully that'll get more people involved. Also, apparently the wikirby.com domain expires on the 13th of August. That may be either a good thing, or a bad thing; good, if Adam gets a reminder to renew the domain, and it draws his attention to this, or bad, if he's forgotten about it completely and lets the domain expire. Hopefully the former occurs; as for the latter... well, let's not go there yet.

34
The Lounge / Re: What are you playing now?
« on: July 28, 2013, 01:21:11 PM »
More Fire Emblem, and also rediscovering my love of Golden Sun.

35
NintendoWiki discussion / Re: Asirra not working properly
« on: July 07, 2013, 09:38:24 PM »
I'm not getting this - just tried to create an account, and had no issues.

Edit: never mind, just tried some external links, and the captcha just reloads in an infinite loop - it doesn't even say if I got the cat photos right or wrong, it just loads the edit page over and over again. Maybe updating the extension will fix it?

36
The Lounge / Re: What are you playing now?
« on: July 03, 2013, 08:25:58 PM »
Fire Emblem: Awakening and Fire Emblem: Seisen no Keifu

37
NIWA Discussion / Re: Help with Nookipedia template.
« on: April 17, 2013, 04:05:47 AM »
I'm not from ZeldaWiki, but I can at least tell you that for the #ec functions on Template:User Edit, the wrong edit count extension is installed - you need this one instead. For the other two, you need to install this extension. They should then work when transcluded.

38
NIWA Discussion / Re: The dead NIWA wikis repair thread
« on: April 15, 2013, 12:13:17 AM »
The owner is presently inactive, and it's proving rather difficult to make contact with him. Numerous PMs and e-mails have failed. If you'd like to try, his profile is here.

39
The Lounge / Re: What's your favorite country?
« on: March 30, 2013, 05:59:52 PM »
As OP, I feel the need to clarify that this thread takes no stance regarding the existence (or non-existence) of any and/or all religious figures

Santa is a religious figure? I know he's based off a saint, but he isn't the saint...

40
The Lounge / Re: What's your favorite country?
« on: March 27, 2013, 02:45:47 PM »
I'm torn between Japan and Australia.

Pages: 1 [2] 3 4 ... 13