Hello,
I'm trying to move my MediaWiki installations to a new server. I backed everything correctly up and been able to complete the setup program. After all necessary steps, I place the new LocalSettings.php in my web-root, run the maintanance script and try to login with my usual credentials.
But all I get is a error message stating my username is unknown. If I lookup my username in the user-table, everything looks fine. However, using the Special:User page, my username contains garbage: Marcus St%F6hr instead of Marcus Stöhr.
I guess this is has something to do with UTF8 or the like. So, do I need to add another setting to my LocalSettings.php or this there something I must consider when creating the database for the import?
Thanks and all the best,
Marcus Stöhr
Hello,
I am having an issue getting more than one Tag Extension working on the same page. I have included the code that i am using for the two pages that make up the extension. Has anyone had any luck getting
more than one tag extension working on the same page? If so what steps did you use to make it work? Any help would be appreciated!
<?php
#serverTag.php
# Credits
$wgExtensionCredits['other'][] = array(
'name' => 'ServerTag',
'description' => 'Print All Servers Based On Client Page Name.',
'version' => '1.0');
# Set up the hook, using different logic depending
# on the version of MediaWiki
if (defined('MW_SUPPORTS_PARSERFIRSTCALLINIT')) {
$wgHooks['ParserFirstCallInit'][] = 'ServerTag::setup';
} else {
$wgExtensionFunctions[] = 'ServerTag::setup';
}
# Autoload the implementation class
$wgAutoloadClasses['ServerTag']
= dirname( __FILE__ ) . "/ServerTag_body.php";
and
<?php
//ServerTag_body.php
class ServerTag {
const NAME = 'servers';
static function setup() {
global $wgParser;
$wgParser->setHook(self::NAME, array('ServerTag', 'render'));
return true;
}
static function render() {
//required for DB connection
require "db_mysql.inc";
require "define_hosts.php";
// Connection Parameters
$em_g3 = new DB_MySQL;
$em_g3->Host = $em_g3_host;
$em_g3->User = $em_g3_user;
$em_g3->Password = $em_g3_pw;
$em_g3->Database = "biz";
$em_g3->connect();
//Get end of URL remove _ from client name for DB query
$endURL = $_GET["title"];
$phrase = $endURL;
$healthy = array("_");
$yummy = array(" ");
$newphrase = str_replace($healthy, $yummy, $phrase);
//Run DB query and run though loop to get DB client data
if ($newphrase) {
$q = "SELECT company, device,master_dev.legend_device.active, master_dev.device_ip_addr.ip from master_biz.`organizations` left join master_dev.legend_device on master_biz.`organizations`.roa_id = master_dev.legend_device.roa_id left join master_dev.device_ip_addr on master_dev.legend_device.id = master_dev.device_ip_addr.did where company = '$newphrase'";
$em_g3->query($q);
$acnt = "";
$table ="<table border='4'>";
while ($em_g3->next_record()) {
$company = $em_g3->f("company");
$device = $em_g3->f("device");
$active = $em_g3->f("active");
$ip = $em_g3->f("ip");
$acnt = $acnt + 1;
if ($company) {
if ($acnt){
$addr_list[$acnt] = "<tr><td>$company</td><td>$device</td><td>$active</td><td>$ip</td></tr>";
$string = $string.$addr_list[$acnt];
}
}
}
$tableEnd="</table>";
return $table.$string.$tableEnd;
}
}
}
Mike Cody
Systems Administrator
RELIAM
(310) 348-9700 x 2 ( Support )
(310) 348-9797 FAX
----
Blog: http://www.reliam.com/news/reliam_blog
Twitter: http://www.twitter.com/reliam
Facebook: http://www.facebook.com/reliam
----
Hi,
This was brought up in bug 30213.
The API has been around for a while now and many scripts even started to
assume it's presence by default.
What we'd like to know: Do you have one of these configuration variables
set to false on your wiki ? And if so, what is the reason for this. We'd
like to collect some information and motivation on this so that we can make
a better decision at removing these and/or helping in finding a solution
(if needed) to the problem that is currently being solved by setting these
variables to false.
Note that no decision has been made, no need to panic :-)
Thanks,
– Krinkle
[1] https://bugzilla.wikimedia.org/show_bug.cgi?id=30213
Hi, excuse my poor pronunciation, use a translator.
Wikis are not practical and was looking if there is a simple way to
create a portal into the structure of my wiki.
Better if I find staff, because they are not practical
2011/8/15 <mediawiki-l-request(a)lists.wikimedia.org>:
> Send MediaWiki-l mailing list submissions to
> mediawiki-l(a)lists.wikimedia.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> or, via email, send a message with subject or body 'help' to
> mediawiki-l-request(a)lists.wikimedia.org
>
> You can reach the person managing the list at
> mediawiki-l-owner(a)lists.wikimedia.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MediaWiki-l digest..."
>
>
> Today's Topics:
>
> 1. RFC: Removal of wgEnableAPI and/or wgEnableWriteAPI
> configuration option (Krinkle)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 14 Aug 2011 21:21:13 +0200
> From: Krinkle <krinklemail(a)gmail.com>
> Subject: [Mediawiki-l] RFC: Removal of wgEnableAPI and/or
> wgEnableWriteAPI configuration option
> To: MediaWiki announcements and site admin list
> <mediawiki-l(a)lists.wikimedia.org>
> Message-ID: <FE19443B-65F8-4C4C-A5FC-6BABC2618023(a)gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> Hi,
>
> This was brought up in bug 30213.
>
> The API has been around for a while now and many scripts even started to
> assume it's presence by default.
>
> What we'd like to know: Do you have one of these configuration variables
> set to false on your wiki ? And if so, what is the reason for this. We'd
> like to collect some information and motivation on this so that we can make
> a better decision at removing these and/or helping in finding a solution
> (if needed) to the problem that is currently being solved by setting these
> variables to false.
>
> Note that no decision has been made, no need to panic :-)
>
> Thanks,
> ? Krinkle
>
> [1] https://bugzilla.wikimedia.org/show_bug.cgi?id=30213
>
>
> ------------------------------
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> End of MediaWiki-l Digest, Vol 95, Issue 16
> *******************************************
>
[All apologies for cross-posting]
We are happy to announce that you can now register for
SMWCon Fall 2011
Berlin, September 21–23, 2011
http://semantic-mediawiki.org/wiki/SMWCon_Fall_2011
Registration is at http://de.amiando.com/SMWCon_Fall_2011
SMWCon brings together developers, users, and organizations from the
Semantic MediaWiki community in particular and everyone interested in
managing data in wikis in general. The Fall 2011 event runs for three
days September 21–23, 2011:
* Sept 21: practical tutorials about using SMW (learn about essential
aspects of using SMW) + developer consultation (meet with all developers
and discuss technical questions)
* Sept 22–23: community conference with talks and discussions
The detailed program is about to take shape [1]. Contributions are still
possible. Please note that the event takes place at the time of the
famous Berlin Marathon and a visit of Pope Benedict XXI. Booking hotels
soon is recommended.
You can register for the whole event or for the conference days only.
Registration includes lunch and coffee on all days + a conference dinner
on Sept 22nd. Special subsidised rates are available for students.
Moreover, MediaWiki developers are invited to join the first day (in
particular the developer consultations) at a reduced rate.
We are stretching ourselves to keep rates as low as possible in spite of
additional costs incurred by the rooms this time. We are therefore
welcoming sponsors to help back up the finances of the meeting, now and
in the future. If your organisation would be interested in becoming an
official supporter of the event, please contact the Open Semantic Data
Association <osda(a)semantic-mediawiki.org>.
SMWCon Fall 2011 is organised by the Web-Based Systems Group at Free
University Berlin [2] and by MediaEvent Services [3].
Looking forward to seeing you in Berlin!
Markus
[1] http://semantic-mediawiki.org/wiki/SMWCon_Fall_2011
[2] http://www.wiwiss.fu-berlin.de/en/institute/pwo/bizer/index.html
[3] http://mediaeventservices.com/
I am working on a few custom tag extensions. I have a few of them working great and I am happy with them, but I am having a problem getting more than one to work at the same time on the same page.
Has anyone had this problem and had success solving it? Any suggestions would be most appreciated!
Thanks
Mike Cody
Systems Administrator
RELIAM
(310) 348-9700 x 2 ( Support )
(310) 348-9797 FAX
----
Blog: http://www.reliam.com/news/reliam_blog
Twitter: http://www.twitter.com/reliam
Facebook: http://www.facebook.com/reliam
----
Hi everybody
i have a problem with mysql.
I install mysql 5, php 5.3.3 and apache on redhat.
Now when i want to install mediawiki, it offers me only one database sqlite, no
mysql also.
when i do this command on linux rpm -qa | grep mysql the result is:
php53-mysql-5.3.3-1.el5_6.1.x86_64
and when i do rpm -qa |grep sqlite the result is:
sqlite-3.3.6-5.x86_64
python-sqlite-1.1.7-1.2.1.x86_64
The result of phpinfo() is:
PDO
PDO support
enabled
PDO drivers sqlite
pdo_sqlite
PDO Driver for SQLite 3.x
enabled
SQLite Library 3.3.6
nothing pdo for mysql.
Additional .ini files parsed /etc/php.d/curl.ini, /etc/php.d/fileinfo.ini,
/etc/php.d/json.ini, /etc/php.d/mysql.ini,
/etc/php.d/mysqli.ini, /etc/php.d/pdo.ini, /etc/php.d/pdo_mysql.ini,
/etc/php.d/pdo_sqlite.ini, /etc/php.d/phar.ini, /etc/php.d/zip.ini
I need in the install of mediawiki that it offers me mysql also because i want
to install it with mysql.
I dont speak very well english i'm french, so excuse my bad english.
Thank you in advance for your answers.
Hi, Everybody,
I apologize if this is a noob question; I actually consider myself pretty good at digging this type of thing up but after hours upon hours of googling I'm still unable to come up with an answer to what I would think would be a seemingly simple question to answer. Basically I am building a personal website and I would like to use media wiki to store some documentation that I am generating. I have a little menu bar at the top of my page; its pretty simple, just HTML & CSS with tables generated by PHP. If you really want to see it you can just go here http://128.135.217.176. Nothing fancy. Anyway, what I would like to be able to do would be to 'in-line' an article into this page, but without having to use frames or anything like that. The 'body' section of my page is basically just a cell of a table. So the actual 'in-line' PHP code would have to be between a couple of <td> tags.
Anyway, it seems pretty easy to do this using for example, wordpress, using the integration features described here. http://codex.wordpress.org/Integrating_WordPress_with_Your_Website. Is there a way to do anything like this with a mediawiki article?
I apologize if this is such a silly question.
Thanks,
Dan
The subject almost says it all. Links in change notification emails work
correctly when users edit or create a page on our intranet mediawiki. But
if I use the Replace extension to make a change, the notification email uses
http://localhost/main/index.php/whatever. Am I missing some setting
somewhere?
MediaWiki <http://www.mediawiki.org/>
1.16.0 (r150)
PHP <http://www.php.net/>
5.3.2-1ubuntu4.9 (apache2handler)
MySQL <http://www.mysql.com/>
5.1.41-3ubuntu12.7
Thanks.
- skew