[Pkg-mediawiki-devel] Fwd: wikidata

wp mirror wpmirrordev at gmail.com
Sun Mar 9 23:30:58 UTC 2014

---------- Forwarded message ----------
From: wp mirror <wpmirrordev at gmail.com>
Date: Sun, 9 Mar 2014 19:11:47 -0400
Subject: wikidata
To: gnosygnu <gnosygnu at gmail.com>
Cc: xmldatadumps-l <xmldatadumps-l at lists.wikimedia.org>,
Wp-mirror-list <Wp-mirror-list at nongnu.org>, wpmirrordev
<wpmirrordev at gmail.com>

Dear Gnosygnu,

I would like to thank you very much for your e-mail of 2014-Jan-11.
It was very helpful and I have made much progress towards WP-MIRROR

0) Status

Using dump files from <http://ftpmirror.your.org/>, WP-MIRROR 0.7 now
builds a mirror of `simplewiki', `simplewiktionary', and `wikidata'.
In the process, WP-MIRROR  installs and configures `mediawiki 1.23'
and about 40 extensions.  A page rendered by the mirror now looks very
similar to the same page rendered by WMF.

1)  Problems

There are a couple of anomalies.

1.1) Wikidata

Infoboxes are now rendered.  The property fields are populated with
data drawn from <http://www.wikidata.site>.  However, in the
navigation bar, under the ``In other languages'' link, the expected
list of interlanguage links still does not appear.

Here is the portion of `LocalSettings.php' that pertains to `wikidata'.

# Wikidata
putenv( "MW_INSTALL_PATH=$IP" );
#define( 'WB_EXPERIMENTAL_FEATURES', true );
$wgEnableWikibaseRepo   = true;
$wgEnableWikibaseClient = true;
$wmgUseWikibaseRepo     = true;
$wmgUseWikibaseClient   = true;
require_once( "$IP/extensions/Wikidata/Wikidata.php" );
require_once( "$IP/extensions/Wikidata/extensions/Wikibase/repo/ExampleSettings.php"
$wgWBSettings['repoUrl']         = 'http://www.wikidata.site';
$wgWBSettings['repoScriptPath']  = '/w';
$wgWBSettings['repoArticlePath'] = '/wiki/$1';
$wgWBSettings['siteGlobalID']    = $wgDBname;
$wgWBSettings['siteGroup']       = $project;
$wgWBSettings['sort']            = 'code';
$wgWBSettings['sortPrepend']     = array ( 'en', 'simple', );
$wgWBSettings['repoDatabase']    = 'wikidatawiki';
$wgWBSettings['changesDatabase'] = 'wikidatawiki';

1.2) Gadgets

Under <http://simple.wikipedia.site/wiki/Special:Gadgets> there is no
list of gadgets.  I can see that the underlying database does have
them (or rather links to WMF where they can be found).

The relevant portion of `LocalSettings.php' is:

require_once( "$IP/extensions/Gadgets/Gadgets.php" );

2) Advance news

WP-MIRROR 0.7 will be released (probably this month) as a DEB package.
 It will not depend upon the DEB package for `mediawiki 1.19' LTS as
did WP-MIRROR 0.6.  Rather it will depend upon a new DEB package of
the latest development version (currently 1.23).

To that end, I have set up a tool chain that `pull's from the GIT
repositories at <https://gerrit.wikimedia.org/r/p/mediawiki/> and
generates four DEB packages:


The second of these packages contains over forty of the extensions
listed on <http://en.wikipedia.org/wiki/Special:Version>.

Every effort has been made to avoid stepping on the namespace of the
DEB packages currently distributed by Debian.  For example, the first
two packages install into `/usr/share/wp-mirror-mediawiki/' rather
than into `/usr/share/mediawiki/'.

I have set up a Debian repository hosted by Free Software Foundation.

3) Help requested

Any advice concerning the above mentioned bugs would be appreciated.

Sincerely Yours,

More information about the Pkg-mediawiki-devel mailing list