Hi,
On Mon, Jul 30, 2012 at 4:38 AM, Ralf Schmitt <ralf(a)brainbot.com> wrote:
> Right (and at least I did it intentionally). I think the OP's problem
> description is rather incomplete (logs are missing; it's missing a
> description of the exact commands used to run the render server; even
> the exact error message is missing).
A good report of what the problem observed is may help and we can
argue about whether the original reports are good. IMHO there's enough
information there to make some guesses about what the problem is. But
for now can we focus on fixing this big problem:
> I tried the onwiki docs[1], readthedocs[2], and the WMF config for the
> regular cluster[3] and didn't find any answers. I'm not sure where the
> config is stored for the PDF rendering cluster. (the canonical copy
> should live at gerrit so it probably needs to be moved there)
?
Please publish a copy of the PDF rendering cluster configuration
(ideally in git) or at least (if it needs sanitizing) give a copy to
WMF ops or me offlist. And then commit to maintaining the public copy
that is produced as the canonical copy.
Thanks,
Jeremy
Hello,
I have been all over the forums + mediawiki support desk, IRC, etc. and
so far no-one seems to know the answer to this.
I am wondering how to get Wikipedia-like search results on my Wiki.
I am running the following:
MediaWiki 1.19.1
PHP 5.4.5 (apache2handler)
MySQL 5.5.25a-log
Lucene 2.1
MWSearch + Lucene-Search, both latest
Everything works great except for the following:
I would like to have links to the section / redirect come up in my
results as well, similar to that of Wikipedia / MediaWiki.org.
For example, when I search Wikipedia for the term 'Test Concept', it
gives results like this:
/The page "Test concept
<http://en.wikipedia.org/w/index.php?title=Test_concept&action=edit&redlink=1>"
does not exist. You can ask for it to be created
<http://en.wikipedia.org/wiki/Wikipedia:Articles_for_creation>, but
consider checking the search results below to see whether the topic is
already covered./
For search help, please visit Help:Searching
<http://en.wikipedia.org/wiki/Help:Searching>.
*
Concept testing <http://en.wikipedia.org/wiki/Concept_testing>
(redirect from Concept Test
<http://en.wikipedia.org/wiki/Concept_Test>)
Concept testing is the process of using quantitative methods and
qualitative methods to evaluate consumer response to a product idea
prior *...*
6 KB (819 words) - 13:29, 22 May 2012
*
Concept inventory <http://en.wikipedia.org/wiki/Concept_inventory>
A concept inventory is a criterion-referenced test designed to
evaluate whether a student has an accurate working knowledge of a
specific *...*
14 KB (1,982 words) - 18:54, 5 July 2012
*
Prototype <http://en.wikipedia.org/wiki/Prototype>
A prototype is an early sample or model built to test a concept or
process or to act as a thing to be replicated or learned from. *...*
22 KB (3,188 words) - 00:23, 15 July 2012
*
Stalking horse <http://en.wikipedia.org/wiki/Stalking_horse>
(section Related concepts
<http://en.wikipedia.org/wiki/Stalking_horse#Related_concepts>)
A stalking horse is a figure that tests a concept with someone or
mounts a challenge against someone on behalf of an anonymous third
party *...*
16 KB (2,571 words) - 15:17, 10 July 2012
But my own wiki only gives results like this:
*
Concept testing <http://en.wikipedia.org/wiki/Concept_testing>
== Concept Testing ==
Concept testing is the process of using quantitative methods
and qualitative methods to evaluate consumer response to a
product idea prior *...
*
How can I enable this feature so that == headings == are converted to
(section Headings<http://en.wikipedia.org/wiki/Concept_Test>) and
redirects show up as (Redirect Concept Test
<http://en.wikipedia.org/wiki/Concept_Test>) etc.
I hope this is clear. Thank you so much for any help you can provide!
Hi folks,
i am using the parameter "wgHTTPProxy" to use our proxy.
See http://www.mediawiki.org/wiki/Manual:$wgHTTPProxy
*Now I need to define a proxy bypass list. *
(Because of transcluding articles from another *internal *mediawiki-server).
How can I accomplish this?
Thx for any hints!
Cheers,
Roland
Hi, I installed mediawiki for local use only, just to try the software
and learn how to use. I uploaded two files and created a new page that
uses these files. All was ok. But when I did this API query on my browser:
http://localhost/wiki-1/api.php?format=xml&action=query&titles=File:Hyph.pn…
I get this page with error message:
############ start of error message ############
<api><error code="internal_api_error_MWException" info="Exception
Caught: Internal error in ApiResult::setElement: Bad parameter"
xml:space="preserve">
#0 /opt/wiki-1/core/includes/api/ApiBase.php(1408):
wfDebugDieBacktrace('Internal error ...')
#1 /opt/wiki-1/core/includes/api/ApiResult.php(144):
ApiBase::dieDebug('ApiResult::setE...', 'Bad parameter')
#2 /opt/wiki-1/core/includes/api/ApiResult.php(290):
ApiResult::setElement('page', 'imagerepository', '', false)
#3 /opt/wiki-1/core/includes/api/ApiQueryImageInfo.php(174):
ApiResult->addValue(Array, 'imagerepository', '')
#4 /opt/wiki-1/core/includes/api/ApiQuery.php(276):
ApiQueryImageInfo->execute()
#5 /opt/wiki-1/core/includes/api/ApiMain.php(797): ApiQuery->execute()
#6 /opt/wiki-1/core/includes/api/ApiMain.php(368): ApiMain->executeAction()
#7 /opt/wiki-1/core/includes/api/ApiMain.php(346):
ApiMain->executeActionWithErrorHandling()
#8 /opt/wiki-1/core/api.php(76): ApiMain->execute()
#9 {main}
</error></api>
############ end of error message ############
It seems the error happends when it is traing to create the
'imagerepository' element of the result page.
The DebugLogFile said:
############ start of DebugLogFile ############
Start request GET
/wiki-1/api.php?format=xml&action=query&titles=File:Hyph.png&prop=imageinfo&iiprop=url
HTTP HEADERS:
HOST: localhost
USER-AGENT: Mozilla/5.0 (X11; Linux i686; rv:10.0.3) Gecko/20100101
Firefox/10.0.3 Iceweasel/10.0.3
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
ACCEPT-LANGUAGE: it,fr;q=0.8,es;q=0.6,en;q=0.4,de;q=0.2
ACCEPT-ENCODING: gzip, deflate
CONNECTION: keep-alive
COOKIE: wikiUserName=Massimo; wikiEditor-0-booklet-characters-page=ipa;
wikiEditor-0-booklet-help-page=file; wikiUserID=1;
wikiToken=e85b7cfa3082e442cf10fd38976a81a8;
wiki_session=16o6j94lju6518a51h9mp6h1l4;
mw_installer_session=1ab90be1j9j5d60npu0qlcs655;
wiki-1_wiki-1_session=0bjql89ebjlc70i4kta24an6m7; wiki-1_wiki-1UserID=1;
wiki-1_wiki-1UserName=Massimo; wikiEditor-0-toolbar-section=advanced
CACHE-CONTROL: max-age=0
CACHES: EmptyBagOStuff[main] SqlBagOStuff[message] SqlBagOStuff[parser]
session_set_cookie_params: "0", "/", "", "", "1"
Class LanguageIt not found; skipped loading
LocalisationCache: using store LCStore_DB
Connecting to localhost wiki-1...
Profiler::instance called without $wgProfiler['class'] set, falling back
to ProfilerStub for safety
Connected to localhost wiki-1.
Fully initialised
Connecting to localhost wiki-1...
Connected to localhost wiki-1.
MessageCache::load: Loading it... got from global cache
Gadget::loadStructuredList: MediaWiki:Gadgets-definition parsed, cache
entry wiki-1-wiki-1:gadgets-definition:6 updated
LoadBalancer::getConnection: using server localhost for group api
[48c573c4]
/wiki-1/api.php?format=xml&action=query&titles=File:Hyph.png&prop=imageinfo&iiprop=url
Exception from line 1759 of
/opt/wiki-1/core/includes/GlobalFunctions.php: Internal error in
ApiResult::setElement: Bad parameter
ApiMain::setCacheMode: setting cache mode private
############ end of DebugLogFile ############
It happens the same for the other files. I tried looking for help on
Internet but without succes.
I don't understand: the files exist in my "images" directory and the
page I created shows them.
I thought maybe I must explicitly create the local repository object of
images and therefore I tried to put this code in my LocalSettings.php:
$wgLocalFileRepo[] = array(
'class' => 'LocalRepo',
'name' => 'local'
);
but in this case I get a full white page.
Here are versions of my software:
O.S.: Debian GNU/Linux testing
apache: 2.2.22
php: 5.4.4
mysql: 5.5.24
mediawiki: from git (1.20alpha) but I tried also with 1.19.1
At the end of this e-mail I put my LocalSettings.php.
Thanks for any help and excuse me for my bad english.
Massimo
############ start of LocalSettings.php ############
<?php
# This file was automatically generated by the MediaWiki 1.20alpha
# installer. If you make manual changes, please keep track in case you
# need to recreate them later.
#
# See includes/DefaultSettings.php for all configurable settings
# and their default values, but don't forget to make changes in _this_
# file, not there.
#
# Further documentation for configuration settings may be found at:
# http://www.mediawiki.org/wiki/Manual:Configuration_settings
# Protect against web entry
if ( !defined( 'MEDIAWIKI' ) ) {
exit;
}
## Uncomment this to disable output compression
# $wgDisableOutputCompression = true;
$wgSitename = "miowiki";
$wgMetaNamespace = "Miowiki";
## The URL base path to the directory containing the wiki;
## defaults for all runtime URL paths are based off of this.
## For more information on customizing the URLs
## (like /w/index.php/Page_title to /wiki/Page_title) please see:
## http://www.mediawiki.org/wiki/Manual:Short_URL
$wgScriptPath = "/wiki-1";
$wgScriptExtension = ".php";
## The protocol and server name to use in fully-qualified URLs
$wgServer = "http://localhost";
## The relative URL path to the skins directory
$wgStylePath = "$wgScriptPath/skins";
## The relative URL path to the logo. Make sure you change this from
the default,
## or else you'll overwrite your logo when you upgrade!
$wgLogo = "$wgStylePath/common/images/wiki-1.png";
## UPO means: this is also a user preference option
$wgEnableEmail = true;
$wgEnableUserEmail = true; # UPO
$wgEmergencyContact = "massimo@localhost";
$wgPasswordSender = "massimo@localhost";
$wgEnotifUserTalk = false; # UPO
$wgEnotifWatchlist = false; # UPO
$wgEmailAuthentication = true;
## Database settings
$wgDBtype = "mysql";
$wgDBserver = "localhost";
$wgDBname = "wiki-1";
$wgDBuser = "xxx";
$wgDBpassword = "xxx";
# MySQL specific settings
$wgDBprefix = "wiki-1";
# MySQL table options to use during installation or update
$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
# Experimental charset support for MySQL 5.0.
$wgDBmysql5 = false;
## Shared memory settings
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = array();
## To enable image uploads, make sure the 'images' directory
## is writable, then set this to true:
$wgEnableUploads = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";
# InstantCommons allows wiki to use images from http://commons.wikimedia.org
$wgUseInstantCommons = false;
## If you use ImageMagick (or any other shell command) on a
## Linux server, this will need to be set to the name of an
## available UTF-8 locale
$wgShellLocale = "it_IT.utf8";
## If you want to use image uploads under safe mode,
## create the directories images/archive, images/thumb and
## images/temp, and make them all writable. Then uncomment
## this, if it's not already uncommented:
$wgHashedUploadDirectory = false;
## Set $wgCacheDirectory to a writable directory on the web server
## to make your wiki go slightly faster. The directory should not
## be publically accessible from the web.
#$wgCacheDirectory = "$IP/cache";
# Site language code, should be one of the list in ./languages/Names.php
$wgLanguageCode = "it";
$wgSecretKey = "xxx";
# Site upgrade key. Must be set to a string (default provided) to turn
on the
# web installer while LocalSettings.php is in place
$wgUpgradeKey = "xxx";
## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook', 'vector':
$wgDefaultSkin = "vector";
## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
$wgRightsPage = ""; # Set to the title of a wiki page that describes
your license/copyright
$wgRightsUrl = "http://creativecommons.org/licenses/by-sa/3.0/";
$wgRightsText = "Creative Commons Attribuzione-Condividi allo stesso modo";
$wgRightsIcon = "{$wgStylePath}/common/images/cc-by-sa.png";
# Path to the GNU diff3 utility. Used for conflict resolution.
$wgDiff3 = "/usr/bin/diff3";
# Query string length limit for ResourceLoader. You should only set this if
# your web server has a query string length limit (then set it to that
limit),
# or if you have suhosin.get.max_value_length set in php.ini (then set it to
# that value)
$wgResourceLoaderMaxQueryLength = -1;
# Enabled Extensions. Most extensions are enabled by including the base
extension file here
# but check specific extension documentation for more details
# The following extensions were automatically enabled:
require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );
require_once( "$IP/extensions/Gadgets/Gadgets.php" );
require_once( "$IP/extensions/ImageMap/ImageMap.php" );
require_once( "$IP/extensions/InputBox/InputBox.php" );
require_once( "$IP/extensions/Interwiki/Interwiki.php" );
require_once( "$IP/extensions/Nuke/Nuke.php" );
require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );
require_once( "$IP/extensions/Renameuser/Renameuser.php" );
require_once( "$IP/extensions/Vector/Vector.php" );
require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );
# End of automatically generated settings.
# Add more configuration options below.
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'JPG', 'jpeg', 'svg',
$wgDebugLogFile = '/tmp/wiki_errors';
$wgShowExceptionDetails = true;
$wgShowDBErrorBacktrace = true;
$wgDevelopmentWarnings = true;'ogg' );
############ end of LocalSettings.php ############
I want to use mediawiki behind a Tor hidden service and obviously not
leak my real ip.
Are there any things I should keep in mind or are there instructions how
to do it safely?
--
http://www.fastmail.fm - Same, same, but different...
Thomas, am forwarding to the list - hope folks can help you out! You'll
want to subscribe so as to get replies. :)
-------- Original Message --------
Subject: RE: Status of Collection Extension in Powerpedia
Date: Mon, 16 Jul 2012 12:16:42 -0400
From: Kern, Thomas (CONTR) <Thomas.Kern(a)hq.doe.gov>
To: 'Sumana Hariharwswara' <sumanah(a)wikimedia.org>
Hello, my name is Thomas Kern. I am the Linux system administrator that
is responsible for building and maintaining the servers that support
DOE's Powerpedia (MediaWiki 1.18). During the recent upgrade of the
servers from CentOS 5 to CentOS 6 and MediaWiki from 1.16 to 1.18, the
wiki administrators wanted to switch from a PDF print add-on that
produced a PDF for that one requested wiki page to the Collection add-on
so that "books" of wiki pages could be created. I installed the
Collection add-on and the rendering services in the same dev/test server
that host the dev/test Mediawiki and its database. That works rather
well. The real problems arose when I tried to move it into production.
Our production environment is more complex. We have 4 servers, one for
the database (lnxwiki0), two for the wiki web servers (lnxwiki1 &
lnxwiki2) and a utility server (lnxwiki3) to host the rendering services
and the pywiki-bots. The two web servers are front-ended by our F5
appliance that provides one name and IP address for Powerpedia and
round-robins the traffic to the two web servers. When I turn on
Collection in the production system, the process of selecting wiki pages
for a book works fine and when it gets submitted for rendering, the
rendering services seem to work until the user gets the screen that says
the book is ready and presents the URL for it. When that is selected,
the user gets an error that the file doesn't seem to exist. A tcpdump of
the transaction shows the rendering request coming in from
https://powerpedia.energy.gov/wiki/Special:Book and trying to go back to
the same NAME. I think having Powerpedia being a virtual entity of two
servers is what is causing problems. I think that is Collection could
communicate with the rendering server using the REAL host name that is
setting up the book, then the rendering server could communicate
directly back to that server to deliver the book.
Any help, guidance, configuration hints for this would be greatly
appreciated.
--
Thomas Kern
ActioNet, Inc.
On contract to:
U.S. Department of Energy
301-903-2211 (Office)
301-905-6427 (Mobile)
http://www.mongodb.org/display/DOCS/Your+Go-to+Resource+for+Running+a+Mongo…
There were people from 30 countries at the Berlin hackathon this year.
It'd be cool if, by this time next year, there were 30 get-togethers to
help MediaWiki administrators swap tips and talk about what's happening
in MediaWiki development.
You can do it. You can do a case study of "ways to improve your
MediaWiki installation" at your local system administrators' or PHP
meetup. You can look for interested techies near you who want a
"helpathon." We can help.
--
Sumana Harihareswara
Engineering Community Manager
Wikimedia Foundation
Hello MediaWiki Team,
I think I found a bug in the method userCan() of the Title object. We often use userCan( 'read' ) to ensure that the user is allowed to read the page or that some context is displayed like an extension. If $wgEmailConfirmToEdit is set to true, the behavior of userCan() isn't as expected. Every user, group doesn't matter, who doesn't have a confirmed E-Mail address fails in this check, because in the method checkUserBlock() the error 'confirmedittext' is added to the errors array. The documentation of this method says this check is done to 'Check that the user isn't blocked from editting', but this error is set on every action.
Should I add this bug to the bugtracker?
Best regards,
Stephan Muggli
Social Web Technologien,
Softwareentwicklung,
Support
Hallo Welt! - Medienwerkstatt GmbH
______________________________
Untere Bachgasse 15
93047 Regensburg
Tel. +49 (0) 941 - 66 0 80-181
Fax +49 (0) 941 - 66 0 80-189
www.hallowelt.biz
muggli(a)hallowelt.biz<mailto:muggli@hallowelt.biz>
Sitz: Regensburg
Amtsgericht: Regensburg
Handelsregister: HRB 10467
E.USt.Nr.: DE 253050833
Geschäftsführer:
Anja Ebersbach, Markus Glaser, Dr. Richard Heigl, Radovan Kubani, Dr. Michael Scherm
Is it possible for a MediaWiki extension to detect that it was transcluded? For example, if you have this:
1. Article A transcludes {{T}}
2. Template:T contains a tag extension <MyExtension/>
3. You hit article A.
Can MyExtension.php somehow detect that it was transcluded from Template:T and was not directly part of article A?
I read Title.php and Article.php but didn't see any functions to do this.
Thank you very much,
DanB