Heiya,
I would like to understand a bit better how thumbs are generated by
MediaWiki with the help of ImageMagick. Basically what I want to achieve
is that only 4 thumbs are generated per uploaded file.
I figured that "$wgThumbLimits" [0] is the setting to control this so I set:
$wgThumbLimits = array( 180, 200, 250, 300 );
I assumed that if the user can only select one of the given sizes I
would MediaWiki would only generate thumbs in the sizes defined with the
setting. What I however got is thumbs in up to 12 sizes ranging from
120px to 2880px depending on the size of the file uploaded. So this
setting is not the one and I did not really find a setting allowing me
to control thumb generation. I am kinda lost in thumbs now so any hint
will be appreciated ...
Cheers Karsten
[0] https://www.mediawiki.org/wiki/Manual:$wgThumbLimits
Hello,
Is it possible to modify the type of a property declared with Wikibase ?
Thanks,
--
Jean-Baptiste Pressac
Traitement et analyse de bases de données
Production et diffusion de corpus numériques
Centre de Recherche Bretonne et Celtique
Unité mixte de service (UMS) 3554
20 rue Duquesne
CS 93837
29238 Brest cedex 3
tel : +33 (0)2 98 01 68 95
fax : +33 (0)2 98 01 63 93
I've been trying to find the right way to do this, unsure if its easy
and if so what the easiest way to go about it would be
(api,extension,skin,etc) mediawiki is almost too configurable.
Meidawiki with cirrussearch is pretty good, however I miss one big thing
from our previous moinmoin setup and thats a quick simple search and
display of wiki article titles.
What I would like is a button which will take the string from the search
field in mediawiki, perform a title search to grab any article with that
string in the title and disaply all the articles , titles only, in
alphabetic order.
Any suggestions if such a thing already exists or what my best avenue to
approach this would be given the various ways one can modify mediawiki ?
appreciate any thoughts on the topic.
we have a fairly small private wiki so this kind of search works really
well, for myself at least.
--
__________________________
Denis Alan Hainsworth
denis.hainsworth(a)gmail.com
On my Mediawiki 1.28 installation, I encounter these errors 'Cannot flush
snapshot because writes are pending' with several extensions (EmailToWiki,
HTML2Wiki, DataTransfer)
Here some excerpts from the log-file:
exception] [e258cf43474ed3ddbbb499ac] /Special:ImportCSV DBUnexpectedError
from line 2852 of
/var/www/html/mediawiki/includes/libs/rdbms/database/Database.php:
MWCallableUpdate::doUpdate: Cannot flush snapshot because writes are pending
(WikiPage::insertOn, Revision::insertOn, Revision::insertOn,
WikiPage::updateRevisionOn, WikiPage::updateRedirectOn,
RecentChange::notifyNew).
[Bug56269] Exception thrown with an uncommited database transaction:
[e258cf43474ed3ddbbb499ac] /Special:ImportCSV DBExpectedError from line
1096 of
/var/www/html/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php:
MWCallableUpdate::doUpdate: Flush failed on server(s) localhost:
MWCallableUpdate::doUpdate: Cannot flush snapshot because writes are pending
(WikiPage::insertOn, Revision::insertOn, Revision::insertOn,
WikiPage::updateRevisionOn, WikiPage::updateRedirectOn,
RecentChange::notifyNew).
[Bug56269] Exception thrown with an uncommited database transaction:
[e258cf43474ed3ddbbb499ac] /Special:ImportCSV DBUnexpectedError from line
2657 of /var/www/html/mediawiki/includes/libs/rdbms/database/Database.php:
Invalid atomic section ended (got WikiPage::doCreate).
salty, with a "bite" from its blue veining
requestId=e258cf43474ed3ddbbb499ac (id=337,timestamp=20170227085845) t=243
error=DBUnexpectedError: Invalid atomic section ended (got
WikiPage::doCreate).
Start request GET /index.php?action=emailtowiki&prefix=EmailToWiki
[exception] [e258cf43474ed3ddbbb499ac]
/index.php?action=emailtowiki&prefix=EmailToWiki DBUnexpectedError from
line 2852 of
/var/www/html/mediawiki/includes/libs/rdbms/database/Database.php:
MWCallableUpdate::doUpdate: Cannot flush snapshot because writes are pending
(WikiPage::insertOn, Revision::insertOn, Revision::insertOn,
WikiPage::updateRevisionOn, WikiPage::updateRedirectOn,
RecentChange::notifyNew).
Bug56269] Exception thrown with an uncommited database transaction:
[e258cf43474ed3ddbbb499ac] /index.php?action=emailtowiki&prefix=EmailToWiki
DBExpectedError from line 1096 of
/var/www/html/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php:
MWCallableUpdate::doUpdate: Flush failed on server(s) localhost:
MWCallableUpdate::doUpdate: Cannot flush snapshot because writes are pending
(WikiPage::insertOn, Revision::insertOn, Revision::insertOn,
WikiPage::updateRevisionOn, WikiPage::updateRedirectOn,
RecentChange::notifyNew).
[Bug56269] Exception thrown with an uncommited database transaction:
[e258cf43474ed3ddbbb499ac] /index.php?action=emailtowiki&prefix=EmailToWiki
DBUnexpectedError from line 2657 of
/var/www/html/mediawiki/includes/libs/rdbms/database/Database.php: Invalid
atomic section ended (got WikiPage::doCreate).
Maybe something is wrong with my installation, so any help is highly
welcome!
Hi list,
Newbie alert !!
I have a question about MediaWiki and calendaring integration and hope
this is the correct list to ask ?
I work in a technical support organization where we do use MediaWiki to
share information between peers globally. Due to progressing
requirements, I would like to integrate a calendar within our MediaWiki
because of it's flexibility and ease of use for everyone.
I have the following requirements :
- LDAP user integration.
[1] Maintain wiki rights for LDAP users,
[2] Restrict calendar rights and maintain the ability to track
changes and to revert when needed.
- No external access.
We do not want to rely on external sites as for example Google for
both security and privacy concerns.
- Support multiple calendars
We need the ability to add multiple calendars to the same wiki in
order accommodate different needs for different teams.
- Event display
Calendar should display an appropriate event field with possibly
additional detail.
I have looked at some Calendar extensions but not yet found what I am
looking for.
Are there any MediaWiki Calendar extensions that people here use in
similar fashion and/or perhaps can recommend, or have people here built
customized wiki-integrated solutions for this type of use ?
The consensus could also be we need to look at alternative and perhaps
more 'heavy-weight' solutions for this task.
Just looking for ideas here, and appreciate your thoughts and insights,
since a MediaWIki solution would be preferred.
Best regards
Hans
Forwarding info that may be of interest.
Pine
---------- Forwarded message ----------
From: Brion Vibber <bvibber(a)wikimedia.org>
Date: Fri, Feb 24, 2017 at 9:56 AM
Subject: [Wikitech-l] SHA-1 hash officially broken
To: Wikimedia-tech list <wikitech-l(a)lists.wikimedia.org>
Google security have announced that they have a working collision attack
against the SHA-1 hash:
https://security.googleblog.com/2017/02/announcing-first-sha1-collision.html
It's highly recommended to move to sha-256 where doable.
Note that MediaWiki uses sha-1 in a number of places; in some such as
revision hashes it's advisory for tools only, but in other places like
deleted files (filearchive table) we use it for addressing, and should
consider steps to mitigate attacks swapping in alternate files during
deletion/undeletion.
-- brion
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Seems the Icon no longer works in MediaWIki 1.28.0
Extension:WikiEditor 0.5.0
icon: 'https://site/images/1/18/image.png',
Has anyone found a solution for this issue?
Thanks,
Phil
I'd like to prevent users from creating new pages that barely have anything
in them.
I can't find any options to enforce a minimum article size. There is a
variable for the config for a maximum article size but not a minimum.
Any suggestions?
Thanks
A
Hello all:
I have a MediaWiki installation--viewable at
"http://www.alecexposed.org/"--that
is running MediaWiki 1.27.1, PHP 5.6.27 and MySQL 5.1.56, and have come
across a couple of issues that have me stumped.
1. The URLs to some of the uploaded files are redirecting improperly when
accessed without the "www." prefix. For example, when I click on
http://alecexposed.org/w/images/c/c8/1R10-Right_to_Work_Act_Exposed.pdf,
the "www." prefix is appended, as intended, but the "w/images/" portion is
being stripped from the URL.
I have no clue why this is happening, given the current .htaccess file, the
contents of which follow:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^alecexposed\.org$ [NC]
RewriteRule ^(.*)$ http://www.alecexposed.org/$1 [L,R=301]
RewriteRule ^/?wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA]
RewriteRule ^/?wiki/*$ /w/index.php [L,QSA]
RewriteRule ^/*$ /w/index.php [L,QSA]
2. Additionally, it appears that some of the uploaded files are not
searchable within the list of uploaded files (
http://www.alecexposed.org/wiki/Special:ListFiles), despite the fact that
they do appear in the list. I ran rebuildtextindex.php to rebuild the
search index but it did not fix the problem.
I'm not sure if these two issues are related or it's just a coincidence
that they are occurring simultaneously.
Any assistance you can give me is greatly appreciated.
Thank you!
--
Jordan Barden
Junior Webmaster | The Center for Media and Democracy
EXPOSEDbyCMD <http://www.exposedbycmd.org/> | PRWatch
<http://www.prwatch.org/> | SourceWatch <http://www.sourcewatch.org/> |
ALECExposed <http://www.alecexposed.org/wiki/ALEC_Exposed>
Email: jordan(a)prwatch.org | Office: (608) 260-9713 | Direct Line: (804)
291-6862