Hi,
for my Iframe extension I need to load some data. Since the data come
from a file I did not put it into extension.json, but I defined in my
class a function onRegistration with sets a global variable.
However, it turned out that in LocalSettings.php I can not set the
global variable (after calling wfLoadExtesnion('Iframe') ), var_dump
delivers NULL rather than my file data.
Question: where I have to put the reading of my file data (if not into
onRegistration) ?
Thanks Sigbert
--
https://hu.berlin/skhttps://hu.berlin/mmstat3
I have an old private Mediawiki install that can not be updated directly. I would like to decommission it but first export all of its pages from all of its namespaces (including all User pages, all Talk pages and all pages and talk pages from custom namespaces) and import them into a fresh, new modern MW-1.30 wiki that has the same set of registered users and the same set of namespaces. --- I would also like to export all revision histories as well. I think this is possible with the "dumpBackup.php", but I'm not sure what switches I need to set (if any) to get the revision histories and all of the custom namespaces in one command? Anyone have experience doing this?
-Rich
Hi everyone,
I decided to start a podcast in which I interview developers and users from
the MediaWiki community - it's called "Between the Brackets". The first
episode was just published today - it's an interview with Cindy Cicalese,
who worked with MediaWiki for a long time at MITRE and is now the Product
Manager for the MediaWiki Platform at the Wikimedia Foundation.
Here it is:
http://betweenthebrackets.libsyn.com/
I hope you like it!
-Yaron
Forwarding.
Pine <https://meta.wikimedia.org/wiki/User:Pine>
<https://en.wikipedia.org/wiki/User:CatherineMunro/Bright_Places>
---------- Forwarded message ----------
From: Jon Robson <jrobson(a)wikimedia.org>
Date: Mon, Feb 5, 2018 at 10:57 AM
Subject: [Wikitech-l] Life hack: Working with production content in your
local wiki
To: Wikimedia developers <wikitech-l(a)lists.wikimedia.org>
I've been meaning to document this for a while.
If you're finding yourself visiting Special:Export/Import often for the
purpose of MediaWiki development there is a much better way to get content
into your local wiki for testing purposes.
This short video explains how MobileFrontend extension provides tooling to
help you debug live on-wiki content via $wgMFContentProviderClass [1]
https://youtu.be/uRQzjN0hBlY
Hope it saves someone lots of time!
[1]
https://github.com/wikimedia/mediawiki-extensions-
MobileFrontend/blob/master/README.md#wgmfcontentproviderclass
--
Jon Robson
Senior Software Engineer
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hello Everyone,
Sorry If this is wrong Place For that kind of
Questions. My Question is How I can remove Sumit Button From My Special
Pages Form. I am HTMLSelectNamespaceWithButton::class from HTML class.
As per you can see https://www.mediawiki.org/wiki/HTMLForm/tutorial3,
- *HTMLSubmitField*: Additional submit button (HTMLForm always adds one
anyway...)
That is my problem. It is adding one Sumit Button Extra, Which is
Totally Useless. How can I Remove this?
Thanks in advance
Hello,
We are running an old version of mediawiki (1.24.2), and have noticed recently
that overnight we are seeing that the disk utilisation is reaching nearly 100%
for almost an hour. During the night, at different times, we run a database
backup (mysqldump) and a database check (mysqlcheck). It turns out that these
are causing the disk usage problem.
In particular the database table 'objectcache' has nearly 500,000 entries.
Whilst the table has an expiry date/time field for the records, all but about
10 of the records have the expiry date set to the year 2038!
Looking at the key names for some of the records they seem to be of the form:
'SM:resourceloader:filter:minify-css:7:066ff155efe7761cc6472668436b9554'.
My questions are:
1) Is it right that 'minify-css' records should have a very long expiry date
(such that they are basically going to accumulate over time)?
2) The mediawiki docs say that it is possible to purge the table as required
since the records will be recreated. Will this have any effect on someone who
is using the wiki at the time the table is purged?
Current plans are to modify our backup script to exclude the table, but include
its 'structure' into the backup file. (Kudos to AmitP's answer at
https://stackoverflow.com/questions/13593148/mysql-dump-exclude-some-table-…
). In addition, our database check script will perform a table purge beforehand
if it is safe to do so.
(Plans also include updating the mediawiki version!)
Thanks,
John.
--
John Horne | Senior Operations Analyst | Technology and Information Services
University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK
________________________________
[http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>
This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, Plymouth University accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. Plymouth University does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form.
Greeting MediaWiki community!
This is a reminder that Enterprise MediaWiki Conference (EMWCon) 2018 in Houston, Texas is less than two months away.
You can check out our current program schedule and talk summaries at [ https://www.mediawiki.org/wiki/EMWCon_Spring_2018 | EMWCon Spring 2018 ] .
We still have spaces for presentation, so if you are interested in presenting, please contact me with your ideas, questions or concerns. I can be reached at ginger(a)mwstake.org.
Registration is still open. Please register at [ https://www.eventbrite.com/e/emwcon-spring-2018-tickets-40064329488 | https://www.eventbrite.com/e/emwcon-spring-2018-tickets-40064329488 ] . If you intend on registering, but are not purchasing your tickets right now, we're asking that you still sign-up on the [ https://www.mediawiki.org/wiki/EMWCon_Spring_2018 | EMWCon Spring 2018 ] page so we can plan for your visit.
Thank you,
Ginger Hershberger
EMWCon Program Chair
MediaWiki Stakeholders
ginger(a)mwstake.org
Is there an efficient way to purge hundreds accounts on a MediaWiki
instance?
I had a wiki get spam raided. I installed SpamBlacklist but the spam
boots seem to still able to register accounts.