Hey all!
In the name of Wikimedia France, I express to all attendees our deepest
gratitude to see so much motivation for the hackathon!
On the other hand, I'd like to remind all of you that you can apply for a
scholarship til the 31st of March.
Follow the link to apply:
https://dons.wikimedia.fr/civicrm/event/register?reset=1&id=8
Don't miss the deadline! :)
Best regards,
Alex.
*Alexandre Cella*
ASSISTANT LEVÉE DE FOND ET MÉCÉNAT
FUNDRAISING AND SPONSORSHIP ASSISTANT
*WIKIMEDIA FRANCE*
+33 6 18 16 16 19
www.wikimedia.fr
40 rue de Cléry, 75002 Paris
*Vos dons réguliers aident à faire fonctionner Wikipédia ! Soutenez
Wikimédia France aujourd'hui* : https://dons.wikimedia.fr
Hi,
I have an infobox (created using XML exporting Wikipedia's Lua-based
infobox [template
<https://en.wikipedia.org/wiki/Template:Infobox?action=raw>, module
<https://en.wikipedia.org/wiki/Module:Infobox?action=raw>]) with the
following image-related field contents:
|image1 ={{#ifeq:{{FULLPAGENAME}}|Template:Drugbox
(Lua)||[[File:{{{image|{{{Image1|{{{image1|{{{Drug|{{{drug|}}}}}}}}}}}}}}}{{#if:{{{format|{{{Format|}}}}}}|{{{format|{{{Format|}}}}}}|.svg}}|{{{size|{{{size1|400}}}}}}px]]}}
|caption1 ={{{caption|{{{Caption|{{{caption1|{{{Caption1|}}}}}}}}}}}}
|image2
={{#if:{{{image2|{{{Image2|}}}}}}|[[File:{{{image2|{{{Image2|}}}}}}|center|{{{size2|{{{Size2|200}}}}}}px]]}}{{#if:{{{image2L|{{{Image2L|}}}}}}|[[File:{{{image2L|{{{Image2L|}}}}}}|left|{{{size2L|200}}}px||{{{caption2L|{{{Caption2L|}}}}}}]]}}{{#if:{{{image2R|{{{Image2R|}}}}}}|[[File:{{{image2R|{{{Image2R|}}}}}}|right|{{{size2R|200}}}px||{{{caption2R|{{{Caption2R|}}}}}}]]}}
|caption2 ={{{caption2|{{{Caption2|}}}}}}
The second image field is designed to allow a single image (specified by
image2) or (in the Boolean logic meaning of the word) two images
(specified by image2L, image2R) side-by-side to appear if provided. The
problem I am having is that the caption fields, caption2L and caption2R,
do not appear in the output as captions for image2L and image2R. Now, if
you are thinking, "Oh you're missing the 'thumb' field for these two
side-by-side images." My reply is that I don't want thumbnails in my
infobox, as they come with a border around them that I do _not_ want.
The reason for the two || after the size specification in these image
fields is that I had already tried a single | and it failed to do what I
wanted, so I decided to add it in the hope that it was due to the
position of the caption fields in the [[...]] that the captions were
being ignored.
If you need further details please ask.
Thanks for your time,
Brenton
hi,
I have asked this
https://www.mediawiki.org/wiki/Thread:Extension_talk:LDAP_Authentication/ld…
in the ldap auth discussion site, but so far no answers.
So let me ask it here.
The tldr; version is:
How can I create a wiki user without a password in the mysql cli? That
would be a workaround for our problem.
Now the long version:
We have been using the ldap auth extension for quite a long time for our IT
admin group. The site is protected using apache basic auth (ldap and
restricted to users of a certain group). This works.
After logging in to the vhost, the extension starts to do its work with the
settings you can read on the link above.
Only for new users, no new db wiki user is being created as I can read in
the ldap_debug.log:
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Entering Connect
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Connected successfully
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Entering getSearchString
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Doing a proxy bind
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Entering getUserDN
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Entering getBaseDN
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e basedn is not set
for this type of entry, trying to get the default basedn.
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Entering getBaseDN
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e basedn is dc=domain,dc=tld
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Fetched username is
not a string (check your hook code...). This message can be safely
ignored if you do not have the SetUsernameAttributeFromLDAP hook
defined.
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Entering getGroups
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Entering checkGroups
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Entering getPreferences
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Retrieving preferences
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Retrieved realname
(bladibla) using attribute (displayname)
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Retrieved nickname
(bladibla) using attribute (cn)
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Entering synchUsername
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Authentication passed
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Entering getCanonicalName
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Username isn't empty.
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Munged username: Bladibla
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e User exists in LDAP;
finding the user by name (Bladibla) in MediaWiki.
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Got id ().
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e User does not exist
in local database; creating.
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Entering initUser
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Entering updateUser
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Setting user preferences.
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Setting nickname.
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Setting realname.
2015-03-11 09:13:17 wiki.iriszorg.nl wikidb: 1.2e Saving user settings.
every time our new colleagues get a 500 response from apache. So why
is the extension not creating the users in the wiki db? The wiki is
working perfectly fine for the rest of the team, this problem only
happens to new hires.
As workaround: how can I create a wiki user from the cli without a password?
Thanks in advance.
--
--
Groeten,
natxo
Hi,
In my Google Webmaster Tools account, there are a lot of crawl 404 errors for non-existent pages. It appears that it will request a page that does not exist (with &redlink=1), get a 200 status, of course, and the "create" page, and then somehow they derive a link to the same url but without the &redlink or &edit parameters (probably from the menu links on the page), which they then try to crawl and receive 404.
Does anyone know how to deal with this so that the google crawler do this?
It looks like google first discovers the redlinks mostly from a previous spam page which was subsequently deleted. But, once google sees it the first time, then remember it for quite some time.
Thanks,Al
I´m a newbie on Wiki and my experience is very little.
Friday last week I got put newest and most read pages extensions on the front page. http://www.videnomnorddjurs.dk/index.php?title=Forside
Today I have made diff. things, (but not saved them) and suddenly the two extensions seems no longer work correctly. They appear as a link instead of appearing correctly.
The code is:
{|
| -
! Latest articles !! most read
| -
| {{Special: Newestpages / - / 10}} || <TopTenPages offset = "1" />
|}
I've also tried just having this <TopTenPages offset = "1" /> alone on the side but with the same (bad) result.
I have not changed anything regarding the two extensions, so I do not understand what has happened. Have tried to open on another PC, to see if there was something in my cache on work computer.
Hope you have an idea of what it may be or how I get it back again.
Thanks in advance
Jan Andreasen
Hi,
I have been trying to install CirrusSearch on my local wiki and to do so
I understand I need to install elastic search (which requires curl I
believe).
I downloaded the zip file containing the .exe file for Curl on 64 bit
Windows (i.e.,
http://curl.haxx.se/download/curl-7.33.0-win64-nossl.zip), unzipped it,
and ran the .exe file with no results except the command prompt window
popped up momentarily (so quickly I didn't even see what it said). I
downloaded ElasticSearch from
https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearc…,
unzipped it and ran the /bin/elasticsearch.bat file in it from the
command prompt and also (as this returned the result: |The system cannot
find the path specified.|) by double-clicking it with no clear results.
I also ran:
|
||"...curl.exe" -X http://localhost/|
From the command prompt (where ... is the file location of the curl
windows download I just mentioned and extracted) which returned the result:
> curl: (6) Could not resolve host: localhost:127.0.0.1
>
> C:\Users\Brenton\Programs\elasticsearch-1.4.4\elasticsearch-1.4.4\bin>"C:\Progra
> m Files\Curl\curl.exe" -X GET http://localhost:80/
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/st
> rict.dtd">
> <html>
> <head>
> <title>Bitnami MediaWiki Stack</title>
> <link href="bitnamistack.css" media="all" rel="Stylesheet"
> type="text/css" />
> <meta http-equiv="content-type" content="text/html; charset=UTF-8">
> <meta http-equiv="content-type" content="application/xhtml+xml;
> charset=UTF-8">
> <meta http-equiv="content-style-type" content="text/css">
> <meta http-equiv="expires" content="0">
> </head>
> <body>
> <div class="container">
> <div id="header">
> <table class="tableHeader">
> <tr>
> <td><img src="img/bitnami.png" alt="Bitnami"></td>
> </tr>
> </table>
> </div>
> <div id="lowerContainer">
> <h1>Welcome!</h1><br/>
> <h1><a id="bitnami-link" href="mediawiki/">Access Bitnami MediaWiki
> Stack</a></h
> 1>
> </div>
> </div>
> <table class="tableParagraph">
> <tr>
> <td class="container"><a href="mediawiki/"><img align="left"
> src="img/mediawiki.
> png" alt="Bitnami MediaWiki Stack"></a>
> <p>The Bitnami Project was created to help spread the adoption of freely
> available, high quality Open Source web applications. Bitnami aims to make
> it easier than ever to discover, download and install Open Source
> software such
>
> as document and content management systems, wikis and blogging
> software.<br/><br
> />
>
> You can learn more about Bitnami at <a
> href="https://bitnami.com">https://bitnam
> i.com</a><br/><br/>
>
> MediaWiki is a wiki package originally written for Wikipedia.
> It is now used by several other projects of the non-profit Wikimedia
> Foundation
>
> and by many other wikis. MediaWiki was designed to be run on a large
> server farm
>
> for a website that gets millions of hits per day. <br/><br/>
>
> You can learn more about MediaWiki at <a
> href="http://www.mediawiki.org">http://
> www.mediawiki.org</a><br/><br/>
>
> The Bitnami MediaWiki Stack is an installer that greatly simplifies the
> installation of MediaWiki and runtime dependencies. It includes
> ready-to-run
> versions of Apache, MySQL and PHP. Bitnami MediaWiki Stack is
> distributed for fr
> ee
> under the Apache 2.0 license.<br/><br/>
>
> You can learn more about Bitnami Stacks at <a
> href="https://bitnami.com/stacks/"
> >https://bitnami.com/stacks/</a><br/><br/>
>
> To enter the application please click on the link at the top of the
> page.<br/><b
> r/>
>
> You can access the built-in management tool phpMyAdmin <a
> href="http://127.0.0.1:80/phpmyadmin">here</a>. For security reasons
> it is only
> accessible when using 127.0.0.1 as the hostname.
> </td>
> </tr>
> </table>
> </body>
> </html>
Thanks for your time,
Brenton
> From: "Rowe, Dolores A" <dolores.a.rowe(a)boeing.com>
>
> I have a template which uses parameters, for example {{{2}}} for it's second argument,
> which is a url. Some url's are similar to this with a query string: http://myserver.com/index.aspx?com=85&id=20.
>
> I figured out that "=" was messing up the template code, so I substituted it's hex equivalent "%3D" for both
> of the equal signs. Some target servers can parse this, and some can not, thus creating a problem for the users.
Use character entities instead. (http://www.lmgtfy.com/q=character+entity+reference)
For "=", use "=" instead of the hex code.
At least, it seems to work for me.
:::: Single age structure is a weakness in ecosystem persistence. -- David Holmgren
:::: Jan Steinman, EcoReality Co-op ::::