hi all,
I built two mediawiki(wiki1,wiki2),and each of them has a
database(wikidb1,wikidb2).I want to use both of the database in wiki1.That's
mean I can query the data which belong to wikidb2 in wiki1.
I have already use the following code in wiki1.
$dbName = "wikidb2";
$dbw = wfGetDB( DB_MASTER );
$dbw->selectDB( $dbName );
$pageId = $dbw->selectField(
'page','page_id',
array( 'page_title' => $title,
'page_namespace' => 0 ),
__METHOD__);
But it didn't work.
Is there any way or any function to solve this problem?
Thanks a lot
vanessa lee
Why is the English full dump file enwiki-20100312-pages-meta-history.xml.bz2
at 178.7GB smaller than the file enwiki-20100130-pages-meta-history.xml.bz2
at 280.3GB?
Is the 20100312 dump incomplete or was a larger compression block size used
for the 20100312 dump?
--
Jeff Kubina
http://google.com/profiles/jeff.kubina
Ni Hao:
We built a Local_Wiki using mediawiki and now we want to upload the pictures. By the tool "uploading files" in itself , we can't uploading the pictures whose suffix are .svg and those which have special letters in them. How can we solve the problem.
Now for the .svg pictures, our only solution is to convert them to .png first in the edit box and upload them.
Besides, there are many pictures showed on the page but they are not in the context of edit box and how can we upload them(including the .svg pictures and non .svg pictures) if we adopt the method mentioned above.
Look forward to your reply. Thank you very much.
Yours sincerely,
Joy
Hello,
The site Wiki-Brest (MW 1.15) enabled the $wgUseFileCache because they
experienced slowness. This works well but they have problems with the
cached pages of categories, whose some pages don't appear directly after
their inclusion in the category, and this problem seems affect only
unlogged users (=cached pages); it works after a ?action=purge of the
category page. Have you an idea of what is wrong?
For instance <http://www.wiki-brest.net/index.php/Test_qui_suis-je>
doesn't appear in
<http://www.wiki-brest.net/index.php/Catégorie:Tourisme_dans_le_Pays_de_Brest>
when you are unlogged (if nobody has done a purge since), but appears when
you are logged.
Thanks,
Sébastien/Seb35
PS: I intend also to ask the creation of a mediawiki-fr list (like
mediawiki-sv) to have a support for the French-speaking community of
MediaWiki users.
All,
In r65404 [0], I have removed the current MSSQL implementation from
MediaWiki. It is
very broken, and is based on the older MSSQL driver for PHP which is no longer
supported. There is a native driver that should be be used; we already have a
bug open requesting support for [1].
Additionally, we have a new committer (CC'd this to him specifically) who is
planning to work on MSSQL support. A branch will probably be best for this, at
least initially. I'd probably like to see new-installer merged before we work on
trying to merge any new MSSQL implementations.
On a related note, does anyone know how functional the current IBM DB2
implementation is?
-Chad
[0] http://mediawiki.org/wiki/Special:Code/MediaWiki/65404
[1] https://bugzilla.wikimedia.org/22093
Hi,
Is there a way to create a link to a unix command man page by writing
"man command" (like it happens with RFCs)? I searched for an extension
to do this, but I've been unlucky :)
If nothing has been implemented, do you think it would be a good idea
to have this in Wikipedia? I personally think it would be very useful
for many articles related to Linux/Unix.
Strainu
-- This email has been sent to two lists --
Hi all,
I would be interested to import the whole enwiki dump [1] into git[2].
This data set is probably the largest set of changes on earth, so
it's highly interesting to see what git will make of it.
As of right now, I am trying to import on my local machine, but
my first, rough, projections tell me my machine will melt down at
some point ;)
Assuming my local import fails, I would appreciate it if this could
be added to wikitech's longer-term todo list.
If anyone has access to a system with several TiB of free disk
space which they can spare for a week or three, it would be
awesome. If given shell access, I can take care of this task,
but I would be happy to assist anyone attempting it, as well.
If need be, I can get various people from various communities
to vouch for me, my character & that I Do Not Break Stuff.
Richard Hartmann
PS: If anyone attempts to do this, please poke me. Either
via email or RichiH on freenode, OFTC and IRCnet.
[1] http://download.wikimedia.org/enwiki/20100130/
[2] http://git-scm.com/
How can I add an attribute to the HTML anchor tag resulting from certain
wiki links?
e.g. how can I change the link [[Search]] such that it results in the
HTML anchor tag,
<a href="/doc/index.php?title=Search" rel="down">Search</a>
^ added rel="down" attribute