Hello,
I will be out of the office until Thursday, July 9th. I will have limited access to email and voice mail during this time, but will respond to all messages upon my return.
Regards,
Jennifer Belmont
Software Solutions Project Manager
EMERgency24
847-789-5846
Hi,
I wish to pass an array of table-names as an argument in JOINS syntax.
Right now I have been able to join two tables but I wish to join all
the tables that exist in my database. Here is the code
http://pastie.org/9355705 , I wish to join all the tables that are
stored in the array. How can this be done?
--
Thanks
Albert
www.coderalbert.wordpress.comhttps://github.com/albertcoder/
" Eat Sleep Conquer Repeat "
I host a community wiki related to geocaching. When looking at the
visitor statistics, I notice that quite a lot of readers end up at the
front page, never to be seen again. The front page is basically a list
of links to various articles, and I have the feeling that its UX
rating is very low.
I have som ideas for alternative layouts, but before jumping into a
radical change, I'd like to do some split testing, to see if an
alternative layout can direct the casual visitor in the direct the
casual visitor in the direction of at least one other article.
I have a vague notion that such a test can be implemented with a
scribunto macro, that alternates between different "Main Page"
templates. The traffic volume is low enough that I have no caching in
front of the wiki, so the split part should be
straightforward. However, I'm a bit uncertain about how to capture the
actual version presented to the user. Also, I'm a bit worried about
how search engines will react to a page that changes randomly.
So I'm seeking input from others that have had similar considerations:
* How to implement the actual split.
* How to record the version presented to the user. (I use piwik for
analysis)
* How to ensure that search engine crawlers see the same page for the
duration of the split testing.
--
/Wegge
Leder efter redundant peering af dk.*,linux.debian.*
Hello,
I am attempting to add a column to the *interwiki *table programmatically
in a MediaWiki extension, using a PHP function registered with the
LoadExtensionSchemaUpdates hook. I've been trying to follow the information
from this link
<http://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates>.
However, our setup appears to be causing a complication. I'm sorry if the
following email is long; I just want to make sure I've described our setup
in sufficient detail.
We run a wiki farm with multiple wikis which share the interwiki table.
However, unlike the process described in this link
<http://www.mediawiki.org/wiki/Manual:Shared_database>, we don't have one
wiki set as the 'main' wiki whose interwiki table is shared with all of the
others; rather, we have created an independent database called
*SHARED_WIKI_TABLES
*which contains at the moment only one table, the interwiki table. Then in
our global LocalSettings.php file, we have the following lines:
*$wgSharedDB = "SHARED_WIKI_TABLES";*
*$wgSharedPrefix = false;*
*$wgSharedTables = array( 'interwiki' );*
Consequently, each wiki has its own interwiki table, but there is also a
shared database interwiki table which belongs to no particular wiki.
Whenever we make database reads, it always reads from the shared interwiki
table. In effect, the shared interwiki table overrides the individual
wikis' interwiki tables. So there's never been a problem before.
Recently I have written an extension which calls the
LoadExtensionSchemaUpdates hook to add some columns to the interwiki table.
However, when I run *php update.php --doshared* on one of our wikis
(--doshared to ensure that shared tables are also updated), what ends up
happening is that the wiki's particular interwiki table is updated, but the
shared wiki table in SHARED_WIKI_TABLES is not updated. Then when we try to
do database reads, they still read from the shared interwiki table, which
was never updated, and we have problems. Furthermore, because
SHARED_WIKI_TABLES is not a database, we can't run update.php on it
directly to update its tables.
So my question is, will we have to change our set-up to account for this,
where we'll have to pick one of our wikis to be the 'main' wiki whose
interwiki table is shared with all of the others? Or is there a way around
this problem?
Thanks!
--
Jason Ji
jason.y.ji(a)gmail.com
I'm trying to figure out how to Open External Links in new tab/window or even internal links in a new tab/window.
I found this
$wgExternalLinkTarget = '_blank';
Does not seem to work for links like
[https://www.google.com google]
Does anyone know how this is possible?
Thank You!
Phil
I am trying to get the Visual Editor working in my 1.24 wmf11 Mediawiki
install.
I have set everything up per the docs. The parsoid install tests fine
(the "loopback" test works) but when I try to use the visual editor I
get errors.
VisualEditor.php cannot find 'ext.parsoid.styles" and it crashes.
Commenting it out allows it to run, but with errors.
'dependencies' => array(
'ext.visualEditor.core',
'mediawiki.Title',
'mediawiki.action.history.diff',
'mediawiki.user',
'mediawiki.util',
'mediawiki.jqueryMsg',
'jquery.autoEllipsis',
'jquery.byteLimit',
# 'ext.parsoid.styles',
),
So... Where and how do I find this dependency?
I have parsoid installed, running, and tested.
--
Yan Seiner, PE
Asia Project Manager
Roadtrek Motorhomes, Inc
541-513-4838