This is all the obvious method, but the key thing I want to note is
that it actually works smoothly just as you would expect :-)
Our intranet wiki is MediaWiki 1.13 using MySQL on a Solaris 10 box,
which is our general internal-use database server. Oracle runs on the
same box and decided to fill /data last week, breaking MySQL and hence
the wiki we use for the instructions on how to fix the box ...
So I set up something to mirror it.
1. Install 1.17b1 on a RHEL 5 VM (that we already have a copy of
MediaWiki 1.15 on). Defaults are fine.
2. Put this script in the maintenance directory of the first box
(server names anonymised), using your full paths to php and scp, run
it from cron at 5am every day:
#!/usr/bin/bash
cd /data/apache/mediawiki-1.13.3/maintenance
/usr/local/bin/php dumpBackup.php --full >dump.xml
/usr/bin/scp dump.xml
admin@box2.internal.example.com:/usr/local/apache2/htdocs/techwiki/maintenance
3. Put the ssh key for the first box user the script runs as in
~admin/.ssh/authorized_keys on the second box, so the scp runs
unattended.
4. Put this script in the maintenance directory of the second box,
using your full path to php, run it from cron at 6am every day:
#!/bin/bash
cd /usr/local/apache2/htdocs/techwiki/maintenance
/usr/bin/php importDump.php dump.xml
/usr/bin/php rebuildrecentchanges.php
This doesn't copy images or files - we don't use images much at all.
That can come later if we care :-) Looking a bit broken may well be a
feature in this context ...
I put a notice in MediaWiki:Sitenotice and MediaWiki:Anonnotice on the
mirror copy that this was a read-only mirror, and disabled editing for
everyone who wasn't me.
(and yes, I have vague plans to update the wiki from 1.13. OTOH,
MediaWiki on Solaris is so stupidly painful in my experience that I
advise no-one do it ever.)
- d.
On 9 June 2011 17:58, MZMcBride <z(a)mzmcbride.com> wrote:
> http://www.mediawiki.org/wiki/Possible_tarballs
Note there's a strawpoll there to indicate tarball users' interest in
particular extensions. Go forth and !vote :-)
- d.
[Cross-posted from wikitech-l]
There has been some talk among developers and others about bundling some
extensions with the tarball. The new installer supports enabling
extensions during installation, so if we're going to do it, I would like
to start bundling them with the 1.18 tarball.
Part of my motivation is that many people seem to install MediaWiki and
expect a wiki that acts very similar to Wikipedia, with which they are
more familiar. Now, part of the problem is documentation — these people
don't understand how the functionality of MediaWiki is partitioned. But
in addition to documentation, we can start providing the most expected
functionality in the tarball.
Immediately, the objection of “bloat” would be raised. To alleviate
this concern, we can still provide a “MediaWiki-lite” tarball with only
the contents of phase3 as before.
Assuming that we are going to put *some* extensions in, we need to
decide which ones. Based on the problem reports in Bugzilla, I think at
least Cite and ParserFunctions should be bundled. Others would be
Gadgets and WikiEditor.
So my list would be:
Cite
ParserFunctions
Gadgets
WikiEditor
Have a look at http://en.wikipedia.org/wiki/Special:Version or
http://www.mediawiki.org/wiki/Category:Extensions_used_on_Wikimedia and
see which you would recommend we include.
Mark.
Dear all,
When using Extension:ConfirmAccount, is there a time limit for logging in
after a temporary password for a new account has been set? Some of our users
are having problems logging in after forgetting about the email for a while,
and I wonder if that is the problem? The user_password field in the user
table is empty for this user. (And Extension:ConfirmAccount has worked well
for other users on the same wiki.)
1. user requests account
2. user confirms email address
3. bureacrat accepts request
4. email with temporary password is sent
5. user receives email but does nothing with it for weeks
5. user tries to log in with the emailed password but cannot
Thanks,
Matthew
--
Matthew Betts PhD, Russell Group
CellNetworks, BioQuant, University of Heidelberg
Im Neuenheimer Feld 267, 69120 Heidelberg, Germany
matthew.betts(a)bioquant.uni-heidelberg.de
+49 (0)6221 54 513 61
Hi. I'm trying to pull data from a MSSQL database to create a sortable list.
I've been looking at projects like SQL2wiki but they seem to be MySQL only.
Any ideas how I can go about implementing this for MSSQL?
Thank you,
David
Hi everyone,
This is Ahmed, I work for Ubuntu helping the cloud community. Ubuntu has
been working on some hot technology, that aims to be "apt-get for the
cloud"! Basically Install and manage large scale cloud deployments of
web applications (and others) with the equivalent ease of "apt-get
install". The reason I'm posting this here, is because the very first
use-case for this technology (called Ensemble) has been MediaWiki (yaay)!
To get a feel for Ensemble, here is how you'd deploy a 4 machine
Mediawiki installation
DB -> MediaWiki -> memcached -> HAproxy Loadbalancer
----->8---------
# Deploy machines
ensemble deploy mysql wiki-db
ensemble deploy mediawiki demo-wiki
ensemble deploy memcached wiki-cache
ensemble deploy haproxy wiki-balancer
# Connect them together!
ensemble add-relation wiki-db demo-wiki:db
ensemble add-relation wiki-cache demo-wiki
ensemble add-relation wiki-balancer:reverseproxy demo-wiki:website
----->8---------
Slashdotted? Want to scale out? You'd need something like
ensemble add-unit wiki-cache
ensemble add-unit demo-wiki
Yes, it's that easy! The reason I am contacting you guys, is that you're
the MediaWiki experts. I am very interested to get feedback from you on
what you think of Ensemble today, what you think it should do tomorrow.
Also if you're interested in hacking on the Ensemble formulas (the
intelligence) that deploys MediaWiki (this one written in bash, but
could be any language you like), that'd be great as well, because again
you're the experts.
To connect to the Ensemble community, You can subscribe to the mailing
list at:
https://lists.ubuntu.com/mailman/listinfo/ensemble
And there's also an active IRC channel:
#ubuntu-ensemble @ Freenode
If you reply here, I'll of-course try to connect your feedback and
answer questions, but it's really much better to post Ensemble feedback
directly on Ensemble channels (since that's where the devs and formula
writers are). In the mean time, if there's any questions or thoughts
grab me (kim0 on freenode) right away. Thanks for your time
I have restrict access to edit and createaccount rights for anonymous users
in my wiki.
But when my login session has expired, those kind of users get access to
restricted options.
I have see in cookie in my browser and mediawiki_mw__session has epiration
time to current session terminated
How can I restrict possibility to edit and createaccount to anonymous users
even when admin has expired
Thanks!
On Jun 7, 2011 8:18 AM, "蔡超" <toppiprc(a)gmail.com> wrote:
>
> hi,
>
> I want to install a zh-wiki mirror. I have tried several dumps, there are
> always some errors.
> Error 1: when I visit any wiki pages, explorer says
> "'mw.util.addPortletLink' is null or not an object"
This may be from broken security fixes in the last MediaWiki release. 1.17b2
should be available soon... try pulling direct from SVN if still waiting.
> Error 2: Templates can not be converted into proper html code, as the
> picture attached.
Picture didn't make it to the list, but most likely you need to install
extensions like Cite and ParserFunctions.
> Error 3: Can not translate Simplified Chinese and Traditional Chinese.
What's wrong with it, exactly?
Make sure you set $wgLanguageCode = "zh" in LocalSettings.php.
-- brion
>
> Here is my steps to build the mirror:
> 1. download latest dumps(zhwiki-20110521), mwdumper java source and
> mediawiki 1.7.0.beta,
> 2. install mediawiki with name "Wikipedia", the localsetting.php is
> attached.
> 3. alter database table "page", "revision" and "text", remove key
constrain,
> auto_increment and index.
> 4. import page-article.xml with mwdumper.jar
> 5. alter database table "page", "revision" and "text", add key constrain,
> auto_increment and index.
> 6. import zhwiki-20110521-image.sql, imagelinks.sql, interwiki.sql,
> iwlinks.sql, langlinks.sql, pagelinks.sql, redirect.sql,
templatelinks.sql.
>
> Is there anything wrong with my operations?
>
> Best regards
>
> Toppi
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hi,
I have setup a wiki family that use a single source of mediawiki for
multiple wikis database.
To avoid reinvent the wheels and follow the wiki community standard. I
import some nice templates from wikipedia to my own wikis.
This is great as I don't need to create my own templates. However, I
forced to import the templates to each wiki database in the family or
else it won't work. It will become a nightmare to maintain the
templates when my wiki grows.
Is there any ways to share the templates among wikis? Something like a
meta wiki that able to share out the template for other wiki database to
use.
Even better, if there is a way to use the template directly from
wikipedia.org without export/import so I don't need to maintain my own
templates but enjoy using the templates from community.
Thank you.
Best Regards,
Chau Chee Yang
How can I restrict access to actions on 'history', 'view source' and
'discussion' for anonymous users?
Also, of course, I would like to hide approprite tabs!
Thanks!