Page MenuHomePhabricator

michahell (Michael Trouw)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Friday

  • Clear sailing ahead.

User Details

User Since
Sep 7 2015, 9:57 AM (460 w, 1 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Michael Trouw [ Global Accounts ]

Recent Activity

Sep 7 2015

michahell added a comment to T69877: Web updater throws exceptions if installed extensions are using explicit globals ($GLOBALS['wgHooks']) for hooks like 'ParserFirstCallInit'.

Oh never mind! the 'available translations' bar DOES show up when I switch to English. So the only question that remains is, why doesn't the mediawiki switch to the available English translated version by default?

Sep 7 2015, 4:09 PM · MediaWiki-extensions-Validator, MediaWiki-Parser, MediaWiki-Installer, MediaWiki-extensions-Babel
michahell added a comment to T69877: Web updater throws exceptions if installed extensions are using explicit globals ($GLOBALS['wgHooks']) for hooks like 'ParserFirstCallInit'.

Hmm, the translations ARE done correctly. However, the language chooser doesn't change the current page to the language that is selected. I added
<languages /> to the top of the dutch original page. Now I see that I can select English at the top of the page. When I click that, the page is translated to English using my previously given translations. However, switching to the English language does not automatically 'switch' to the english version of the page. Is this intended behaviour? because, that seems like a bad default (as opposed to the mantra of 'good defaults'). Ah well, this is already a lot better then it used to be..

Sep 7 2015, 4:05 PM · MediaWiki-extensions-Validator, MediaWiki-Parser, MediaWiki-Installer, MediaWiki-extensions-Babel
michahell added a comment to T69877: Web updater throws exceptions if installed extensions are using explicit globals ($GLOBALS['wgHooks']) for hooks like 'ParserFirstCallInit'.

Yeah that would be great!
The Translate extension from the MLEB extension bundle is working, I can translate pages, however when I switch from Dutch to English for example, the translations do not show up. I'm not getting errors either... weird.

Sep 7 2015, 3:59 PM · MediaWiki-extensions-Validator, MediaWiki-Parser, MediaWiki-Installer, MediaWiki-extensions-Babel
michahell added a comment to T69877: Web updater throws exceptions if installed extensions are using explicit globals ($GLOBALS['wgHooks']) for hooks like 'ParserFirstCallInit'.

Both rebuilding the cache and excluding only the require_once line for Babel did not work...

Sep 7 2015, 3:32 PM · MediaWiki-extensions-Validator, MediaWiki-Parser, MediaWiki-Installer, MediaWiki-extensions-Babel
michahell added a comment to T69877: Web updater throws exceptions if installed extensions are using explicit globals ($GLOBALS['wgHooks']) for hooks like 'ParserFirstCallInit'.

After applying the 4 changed lines manually, still the same error:

Sep 7 2015, 3:23 PM · MediaWiki-extensions-Validator, MediaWiki-Parser, MediaWiki-Installer, MediaWiki-extensions-Babel
michahell added a comment to T69877: Web updater throws exceptions if installed extensions are using explicit globals ($GLOBALS['wgHooks']) for hooks like 'ParserFirstCallInit'.

After spending more then half the day updating mediawiki (!) I'm getting exactly the same error:

Sep 7 2015, 3:12 PM · MediaWiki-extensions-Validator, MediaWiki-Parser, MediaWiki-Installer, MediaWiki-extensions-Babel
michahell added a comment to T69877: Web updater throws exceptions if installed extensions are using explicit globals ($GLOBALS['wgHooks']) for hooks like 'ParserFirstCallInit'.

Thanks. It did not work unfortunately, our mediawiki was not up to date so the line numbers differed. However I was able to find the same piece of code and I added the green lines (those that were added in the patch). I restarted the mediawiki web installer but I got the same error.

Sep 7 2015, 11:02 AM · MediaWiki-extensions-Validator, MediaWiki-Parser, MediaWiki-Installer, MediaWiki-extensions-Babel
michahell added a comment to T69877: Web updater throws exceptions if installed extensions are using explicit globals ($GLOBALS['wgHooks']) for hooks like 'ParserFirstCallInit'.

Okay thanks, will try to do that. But how can I download the patch as a set of files? Unfortunately, our wikimedia is not a git clone from the main wikimedia repository so I cannot git pull in the patch?

Sep 7 2015, 10:36 AM · MediaWiki-extensions-Validator, MediaWiki-Parser, MediaWiki-Installer, MediaWiki-extensions-Babel
michahell added a comment to T69877: Web updater throws exceptions if installed extensions are using explicit globals ($GLOBALS['wgHooks']) for hooks like 'ParserFirstCallInit'.

Can someone explain in user talk how to solve this? I'm trying to install MLEB using this
https://www.mediawiki.org/wiki/MediaWiki_Language_Extension_Bundle#Installation
Guide and getting the same error.
We are using mediawiki as an information system but I'm not really familiar with its intrinsics nor do I want to be :)
I've tried running some scripts, namely

maintenance/update.php
maintenance/rebuildLocalisationCache.php --force
Sep 7 2015, 10:01 AM · MediaWiki-extensions-Validator, MediaWiki-Parser, MediaWiki-Installer, MediaWiki-extensions-Babel