Hi,
I'm just asking this again as there was no response.
Is there a way to restrict the width of an uploaded image? Or,
alternately, when a user opens the image-upload screen, there's a
message about the pixel width restriction.
Thanks.
Tim
......................................................... ! ............
.................................................
Tim Ware .. HyperArts .. 201 4th Street, Ste 404 .. Oakland CA 94607
t: (510) 339-6084 .. f: (510) 339-6086 .. e: tim(a)hyperarts.com
http://www.hyperarts.com
Map
The issue is that email and mailing lists have remained the cornerstone of online collaboration. They have a bottom-up approach and require the least effort.
I think that many open and active wikis will greatly benefit from this.
For example, many blogs are beginning to adopt the mail-to-blog feature.
Is it possible to also have a mail-to-wiki feature?
And have a wiki mail back changes on it to the editors, seamlessly integrated?
Regards,
Ime
Contribute to http://ehealthpedia.org
Contribute to http://www.ehealthpedia.org
---------------------------------
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
Hello,
The toolbar (above the editbox) in my wiki contains 18 icons. The
length of the icon row as it is shown now, DEPENDS on the screen
resolution:
=> 800x600 shows one line with the first 9 icons and below that line
another line with the rest (other 9 icons).
=> 1024x768 shows one line with the first 13 icons and below that line
another line with the last 5 icons.
=> 1152x864 shows one line with the first 16 icons and below that line
another line with the last 2 icons.
I would like to split the row of icons in the toolbar into 2 FIXED
lines, having 9 icons each. Does anyone know how this is possible?
After looking at the functions addButton() (in /common/wikibits.js)
and getEditToolbar() (in /includes/editpage.php), I thought putting a
counter into the getEditToolbar-function, so that as soon as the
counter hits 9 (the ninth icon), a break is put in the icon line and
the other nine icons are put on the next line. The getEditToolbar
function looks like this:
function getEditToolbar() {
global $wgStylePath, $wgContLang, $wgJsMimeType;
$toolarray=array( *snipped*array of icons*snipped*)
$toolbar ="<script type='$wgJsMimeType'>\n/*<![CDATA[*/\n";
$toolbar.="document.writeln(\"<div id='toolbar'>\");\n";
foreach($toolarray as $tool) {
$image=$wgStylePath.'/common/images/'.$tool['image'];
$open=$tool['open'];
$close=$tool['close'];
$sample = wfEscapeJsString( $tool['sample'] );
$tip = wfEscapeJsString( $tool['tip'] );
$toolbar.="addButton('$image','$tip','$open','$close','$sample');\n";
}
$toolbar.="document.writeln(\"</div>\");\n";
$toolbar.="/*]]>*/\n</script>";
return $toolbar;
}
Unfortunately i do not seem to be able to make such a construction
with counter working: i wanted to replace the "foreach ($toolarray as
$tool)"-construction with a sort of
"for($counter=0;$counter<10;$counter++){
$toolbar.="addButton('$image','$tip','$open','$close','$sample');\n";
}
$counter+=1;"-construction but without any satisfying result.
Has anyone an idea how i can make such a counter construction working
or whether i should try something else in order to spread the toolbar
icons over 2 lines with fixed length (=9 icons each)?
Thanks in advance!
B.
Hello,
Is there a mailing list module for mediawiki?
I would like to have a mailing list to discuss about pages instead of the talk pages.
This might be good for members who would not want to visit the wiki pages and would want to participate by email.
Or is there anyway one could go around this need for a common email.
Thanks.
Rgrds,
Ime
Contribute to http://www.ehealthpedia.org
____________________________________________________________________________________
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
Hey all! I need some help installing v1.9.2 on my Fedora Core 6 computer
with XAMPP installed. I fill out the install form and press install, and
the installer prints out all of the following lines, but does not finish.
Can anyone tell my why?
- PHP 5.2.0 installed
- Found database drivers for: MySQL PostgreSQL
- *Warning:* *PHP's
register_globals<http://php.net/register_globals>option is enabled.
Disable it if you can.
*
MediaWiki will work, but your server is more exposed to PHP-based
security vulnerabilities.
- PHP server API is apache2handler; ok, using pretty URLs (index.php
/Page_Title)
- Have XML / Latin1-UTF-8 conversion support.
- PHP's memory_limit is 8M. *If this is too low, installation may
fail!* Attempting to raise limit to 20M... ok.
- Have zlib support; enabling output compression.
- Couldn't find Turck MMCache <http://turck-mmcache.sourceforge.net/>,
eAccelerator <http://eaccelerator.sourceforge.net/> or
APC<http://www.php.net/apc>.
Object caching functions cannot be used.
- Found GNU diff3: /usr/bin/diff3.
- Found ImageMagick: /usr/bin/convert; image thumbnailing will be
enabled if you enable uploads.
- Found GD graphics library built-in.
- Installation directory: /opt/lampp/htdocs/wiki/mediawiki-1.9.2
- Script URI path: /wiki/mediawiki-1.9.2
- Environment checked. You can install MediaWiki.
-
*Generating configuration file...*
- Database type: MySQL
- Loading class: DatabaseMysql
- Attempting to connect to database server as root...success.
- Connected to 5.0.27
- Database wikidb exists
- Creating tables... using MySQL 4 table defs...Query "CREATE TABLE
`categorylinks` ( cl_from int(8) unsigned NOT NULL default '0', cl_to
varchar(255) binary NOT NULL default '', cl_sortkey varchar(86) binary NOT
NULL default '', cl_timestamp timestamp NOT NULL, UNIQUE KEY cl_from
(cl_from,cl_to), KEY cl_sortkey (cl_to,cl_sortkey), KEY cl_timestamp
(cl_to,cl_timestamp) ) TYPE=InnoDB " failed with error code "Specified key
was too long; max key length is 1000 bytes (localhost)".
We'd like to start using the very nice Flash plugin on our site; we do
3D graphics, and explanatory movies would be very useful to us.
At the moment we're using 1.6.8; since the plugin works on 1.6.3, I'm
assuming (without testing, naughty me) that it will also work on 1.6.8.
Are there any problems with subsquent versions of MW? We'll be upgrading
soon.
This will be a major commitment on our part; we need to make sure that
this or some other Flash ability will remain part of MW in the future.
Are there any plans to incorporate it as a part of the core MW distro?
Alternatively, is the codebase for it small enough and simple enough
that a PHP hacker (not me, I'm a Python guy, but we have another PHP
guy) could likely fix problems that might arise in the future?
Many thanks,
Ken
I know there's (pretty nice, simple) plugin that allows Flash to be
embedded in MW pages. Are there ways to support any other types of video?
Thanks,
Ken
Hello,
I'm currently using 1.8.2. I want to have a message that shows up in
the new window when a user wants to upload an image or, even better,
restrict new uploaded images to 600px wide. What's the best way to do
this?
Thanks.
Tim
Hello,
Sorry if this has been asked 1000 times before, but I'm looking for a
mediawiki developer to make a few custom extensions. Does anyone have any
interest or recommendations? Would pay per hour or extension.
Thanks,
--
============
Michael Rhodes
============
Hello.
Does anyone working this things?
I have the following definitions:
<security-definition name="Default" notice="Define la seguridad por
Defecto">
<allow action="read">all</allow>
<allow action="write">csi</allow>
</security-definition>
When I save the page, only displays the action for read and the first
log message is (taken from the debug file with SQL debug activated):
=================
nstubbing $wgParser on call of $wgParser->setHook from
fnPageSecurityExtension
Fully initialised
Unstubbing $wgContLang on call of $wgContLang->checkTitleEncoding from
WebRequest::getGPCVal
Language::loadLocalisation(): got localisation for es from source
Language::loadLocalisation(): got localisation for en from source
Unstubbing $wgUser on call of $wgUser->isAllowed from Title::userCanRead
Cache miss for user 2
Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection
from wfGetDB
SQL: SELECT /* User::loadFromDatabase */ * FROM mwuser WHERE user_id
= '2' LIMIT 1
SQL: SELECT /* User::loadFromDatabase */ ug_group FROM user_groups
WHERE ug_user = '2'
Logged in from session
SQL: SELECT /* Article::pageData */
page_id,page_namespace,page_title,page_restrictions,page_counter,page_is_redirect,page_is_new,page_random,page_touched,page_latest,page_len
FROM page WHERE page_namespace = '0' AND page_title =
'Definiciones_de_Seguridad' LIMIT 1
Unstubbing $wgLang on call of $wgLang->getCode from
User::getPageRenderingHash
OutputPage::checkLastModified: CACHE DISABLED
Article::tryFileCache(): not cacheable
Article::view using parser cache: no
Unstubbing $wgMessageCache on call of $wgMessageCache->getTransform from
wfMsgGetKey
SQL: SELECT /* MediaWikiBagOStuff::_doquery */ value,exptime FROM
objectcache WHERE keyname='wikiDes:messages-hash'
SQL: SELECT /* MediaWikiBagOStuff::_doquery */ value,exptime FROM
objectcache WHERE keyname='wikiDes:messages'
MessageCache::load(): got from global cache
SQL: SELECT /* Revision::fetchRow */
page_namespace,page_title,page_latest,rev_id,rev_page,rev_text_id,rev_comment,rev_user_text,rev_user,rev_minor_edit,rev_timestamp,rev_deleted
FROM page,revision WHERE (page_id=rev_page) AND rev_id = '1547' LIMIT 1
SQL: SELECT /* Revision::loadText */ old_text,old_flags FROM
pagecontent WHERE old_id = '1547' LIMIT 1
SQL: SELECT /* SecurityDefinition::loadFromDatabase */
security_definition_id,security_definition_name,base_security_definition_id,security_definition_notice,security_definition_logo
FROM security_definitions WHERE security_definition_name = 'Default'
SQL: SELECT /* SecurityDefinition::loadFromDatabase */
security_definition_item_id,security_definition_id,security_definition_item_action,security_definition_item_permission,security_definition_item_group
FROM security_definition_items WHERE security_definition_id = '2'
ORDER BY security_definition_item_id
SQL: UPDATE page SET page_counter = page_counter + 1 WHERE page_id = 1513
SQL: SELECT /* WatchedItem::isWatched */ 1 FROM watchlist WHERE
wl_user = '2' AND wl_namespace = '0' AND wl_title =
'Definiciones_de_Seguridad'
SQL: SELECT /* SiteStatsUpdate::doUpdate */ * FROM site_stats LIMIT 1
SQL: BEGIN
SQL: UPDATE /* SiteStatsUpdate::doUpdate */ site_stats SET
ss_total_views=ss_total_views+1
SQL: COMMIT
SQL: SELECT /* Job::pop */ * FROM job ORDER BY job_id LIMIT 1
SQL: SELECT /* LinkBatch::doQuery */ page_id, page_namespace, page_title
FROM page WHERE (page_namespace=2 AND page_title IN ('Fcarpani')) OR
(page_namespace=3 AND page_title IN ('Fcarpani')) OR (page_namespace=1
AND page_title IN ('Definiciones_de_Seguridad'))
SQL: SELECT /* User::checkNewtalk */ user_id FROM user_newtalk WHERE
user_id = '2' LIMIT 1
OutputPage::sendCacheControl: private caching; **
20070212100358 0.219 /wiki/Des/index.php/Definiciones_de_Seguridad
Request ended normally
==================
The content of the security tables is:
wikiDes=> select * from security_definitions;
security_definition_id | security_definition_name |
base_security_definition_id | security_definition_notice |
security_definition_logo
------------------------+--------------------------+-----------------------------+---------------------------------+--------------------------
2 | Default
| 0 | Define la seguridad por Defecto |
(1 row)
wikiDes=> select * from security_definition_items;
security_definition_item_id | security_definition_id |
security_definition_item_action | security_definition_item_permission |
security_definition_item_group
-----------------------------+------------------------+---------------------------------+-------------------------------------+--------------------------------
13 | 2 |
read | allow | *
(1 row)
Does anyone help me ?
Thanks.
Ferrnando Carpani