<https://lists.wikimedia.org/pipermail/mediawiki-l/2015-March/044200.html>I was also
caught up trying to patch 1.23.8 to present level. No Gruntfile.js or test directory.
I appreciate the need to talk about distributions, but meanwhile it would be nice to
have a valid patch procedure for users like me who just want to get current.
Or do we have to reload the whole distribution?
I tried to get a cookie in an extension like this:
$request = RequestContext::getMain()->getRequest();
$cookie = $request->getCookie ( 'wiki02UserName' );
wfDebugLog( "wad", print_r($cookie,true), false );
but $cookie empty, even if print_r of $request shows all Cookies:
2015-04-01 18:20:40 vm-debian7-server2 wiki02:WebRequest Object
[data:protected] => Array
[headers:protected] => Array
[HOST] => wiki02
[COOKIE] => ui-tabs-1=0; ui-tabs-2=0; wiki02UserID=1;
Has anyone an idea what I missed?
I'd like to announce two MediaWiki extensions that I've developed recently
and believe they are quite stable now:
Just a simple ToolTip Extension that has no dependencies and support
tooltips over text, images or a tooltip icon. It has special support for
Semantic Forms, so tooltips will work with multiple instances, too.
This extension does one-time string substitutions. It works similar to
magic words, but once replaced, they will not change again. This might be
useful for timestamps, random numbers, ID's.
(For a complete list of extensions see
https://www.mediawiki.org/wiki/User:Fannon - but a few of them are not
Have fun :)