User talk:Seb35

From MediaWiki.org
Jump to: navigation, search
Blaue Blume
A little thank you...
for your help in Help:FAQ/fr.
hugs, Pseudomoi

Catégories en français[edit]

J'ai rajouter des catégories françaises en gardant le nom anglais et en ajoutant /fr à la fin. Je pense qu'il faudrait faire la même chose avec le nom des pages et renommer la traduction avec un nom français quand la page aura atteint un niveau acceptable. Ce qui permet de bien utiliser le modèle LANGUAGES mais de franciser tout ça.

@ plus --Pseudomoi 10:29, 29 June 2006 (UTC)

Trop rapide...[edit]

encore merci pour ta traduction. Pour la peine je te pique ton monobook. aha --Pseudomoi 17:16, 29 June 2006 (UTC)

Ok, je pense que c'est une bonne idée de garder l'uniformité et de faire de redirections. @ plus --Pseudomoi 17:27, 1 July 2006 (UTC)

Copies d'écrans en français[edit]

De nombreuses pages d'aide contiennent des copies d'écrans en anglais. Il serait bien de faire la même chose pour l'aide en français (c'est-à-dire : copie d'écran en français). Je veux bien le faire mais je sais pas comment.

L'idéal serait de faire comme pour les articles et d'adopter un nom similaire avec en plus /fr et de terminer par le format de l'image. Ex: Image:M-en-recentchanges.png > Image:M-en-recentchanges/fr.png

Merci --Pseudomoi 18:26, 1 July 2006 (UTC)

Ok, je vais d'abord recenser les images en anglais pour savoir quoi copier. --Pseudomoi 18:36, 1 July 2006 (UTC)

Re: About this site[edit]

> Hi, can you add the template {{Languages|About this site}} on the page About this site.

Done --HappyDog 19:06, 13 July 2006 (UTC)
PS - Thanks for all your good work in vandalism/testpage patrol :)

Re: Sysop rights[edit]

Hi, can you give me sysop rights on this site. I'm often/sometimes here for making translation into french and vandalism fighting. It would serve that you, Bdk and HappyDog don't delete what I put in the speedy deletion category, and perhaps some maintenance on protected pages.
I ask now because I just put ten article in the deletion category and I would prefer delete them. I'm yet sysop on the french Wikipedia. Thank you ~ Seb35 09:13, 1 September 2006 (UTC)

Explain to me how MediaWiki.org will benefit aside from "vandalism reversion". Your activities on other Wikimedia wikis are of no interest to me with respect to this one, although I should clarify that I don't mean I don't think they're worth something; they're just not relevant here. :) robchurch | talk 01:04, 2 September 2006 (UTC)

Sorry[edit]

Hi, I reverted your change on Help:Searching/es : the template PD Help Page is obligatory to prevent this page is in the public domain and it is better to keep categories. ~ Seb35 10:00, 27 February 2008 (UTC)

Thankyou - and sorry about that. My edit was unintentional. I was transferring the files to our site and apparently forgot what file I was editing and saving. --Ashcraft 16:45, 27 February 2008 (UTC)

Talk:WfMsg statistics[edit]

There's a question for you there. --Nemo 18:18, 28 September 2012 (UTC)

Requests for comment/Allow styling in templates[edit]

Hi, Requests for comment/Allow styling in templates is being considered as one of the RFCs to be discussed at the RFC review on 2013-11-06 via IRC. You are receiving this notification because you edited or discussed this RFC. We hope to see you there.--Qgil (talk) 00:43, 5 November 2013 (UTC)

Project:Language policy/Migration list[edit]

Hello, translation administrator! Can you please watchlist this page? I hope to get some work done in the next few months. :)

Specifically for the next few weeks, I proposed translation migration as task for Google Code-in students, so we'll hopefully see some help coming from there. You don't need to do anything special: just check there or on Special:PageTranslation if there are pages to mark for translation and do so if they're ok, as usual. If you wish, however, in addition to that you can monitor the list more closely so that students are mentored and assisted even more quickly. Thank you very much, Nemo 19:07, 20 November 2013 (UTC)

Thanks. I will follow it, and it will help me also as new translator administrator. ~ Seb35 [^_^] 10:55, 24 November 2013 (UTC)

Modify Sidebar Hook - PHP Error[edit]

Hey there! I'm using your modify Sidebar hook for my Wiki as found here https://www.mediawiki.org/wiki/User:Seb35/modifyToolbox. While it works like it is supposed to, it throws an error as follows:

PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/share/webapps/mediawiki/LocalSettings.php on line 158" while reading response header from upstream, client: xx, server: xx, request: "GET /Icon/browser/mozilla.png HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "xx", referrer: "xx"
2015/08/30 19:34:25 [error] 337#0: *7806 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: TOOLBOX in /usr/share/webapps/mediawiki/LocalSettings.php on line 158
PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/share/webapps/mediawiki/LocalSettings.php on line 158" while reading response header from upstream, client: xx, server: xx, request: "GET /Special:AllPages HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "xx"

Line 158 is as follows in my file:

  foreach ( $baseTemplate->data['sidebar']['TOOLBOX'] as $value ) {

I know nothing of PHP, so any help would be appreciated.

Thanks!

Jeff

(copied from User talk:174.71.49.222)
Hi Jeff! Thanks for using this. I’ve just tested again with MediaWiki 1.26 and it works. What are the versions you are using, for MediaWiki and for the skins? You can find these informations in the special page "Special:Version" on your wiki.
PS: we should continue this conversation only on my talk page User talk:Seb35 because, if your IP address changes, this talk page will change.
~ Seb35 [^_^] 07:25, 31 August 2015 (UTC)

MediaWikiFarm on MediaWiki-Vagrant[edit]

I'm trying to get the simplest version of MediaWikiFarm running on an instance of MediaWiki-Vagrant for the purposes of learning how it works. Ultimately I want to incorporate MediaWikiFarm into https://github.com/freephile/qb (and would love to have your help with that). At first, I got an error:

"Fatal error: Call to a member function getConfigFile() on a non-object in /vagrant/mediawiki/extensions/MediaWikiFarm/MediaWikiFarm.php on line 30"

The configuration is a bit sensitive. I needed to hard code $wgMediaWikiFarmCacheDir = '/tmp/mw-cache'; in the load method of the Class. Otherwise it was 'null' and not happy.


LocalSettings.php

// Configuration directory.
// There must be a file 'farms.yml' or 'farms.php' or 'farms.json' inside.
// default $wgMediaWikiFarmConfigDir = '/etc/mediawiki';
$wgMediaWikiFarmConfigDir = "$IP/extensions/MediaWikiFarm/config";

# Include the code.
require "$IP/extensions/MediaWikiFarm/MediaWikiFarm.php";


farms.php

return array(
  # simple definition compatible with MediaWiki Vagrant
  # This one is only visible to the guest (e.g. using lynx from the guest)
  'mywiki' => array(
    'server' => 'localhost',
    'variables' => '', // without a key named 'variables', configuration will fail
    'suffix' => 'wiki',
    'wikiID' => 'devwiki',
    'config' => array(
      array( 'file' => 'LocalSettings.php',
        'executable' => true,
      ),
    ),
  ),
  # this one is visible from the host, through virtualbox port forwarding
  'devwiki' => array(
    'server' => 'dev.wiki.local.wmftest.net8080',
    'variables' => '',
    'suffix' => 'wiki',
    'wikiID' => 'devwiki',
    'config' => array(
      array( 'file' => 'LocalSettings.php',
        'executable' => true,
      ),
    ),
  ),
);

@GregRundlett Interesting, the Quality Box project! This existing configuration seems to be already quite good, there is probably only a detail which makes the whole thing crash. I sometimes experienced this 'non-object' error: the object MediaWikiFarm is not created in MediaWikiFarm::load(), probably because the constructor returns an exception (which is silently caught in MediaWikiFarm::load()), so the easiest way to debug it is to remove the try and you will see what is exactly the error.

UPDATE: I did troubleshoot, and found how to get the extension working with MediaWiki-Vagrant... The config above does work

Your config file farms.php is in $IP/extensions/MediaWikiFarm/config, isn’t it? Also I didn’t try with a specific port, so perhaps there is a bug there (although I just verified, the PHP variable $_SERVER['HTTP_HOST'] returns the host+port). In this case (monoversion mode), I see the error handling (e.g. when no wiki corresponds to the host) could be improved, for instance by killing further MediaWiki loading and only returning a 500 or 404 HTTP error, similarly to the multiversion mode. In the mid-term I also plan to improve the logging to know more easily what are the errors.

Thanks!
~ Seb35 [^_^] 01:01, 14 January 2017 (UTC)

Indeed, in this configuration, $wgMediaWikiFarmCacheDir is not set by default (hence has the value null) and the constructor does not like it.
In a next version I will allow null in the constructor as a synonym for false (=no cache).
Thanks for the report. ~ Seb35 [^_^] 16:43, 17 January 2017 (UTC)

Share your experience and feedback as a Wikimedian in this global survey[edit]

  1. This survey is primarily meant to get feedback on the Wikimedia Foundation's current work, not long-term strategy.
  2. Legal stuff: No purchase necessary. Must be the age of majority to participate. Sponsored by the Wikimedia Foundation located at 149 New Montgomery, San Francisco, CA, USA, 94105. Ends January 31, 2017. Void where prohibited. Click here for contest rules.