Hi,
I'm trying to diff two revisions from the History page (not using any diff extensions) and instead I get the following message:
(4 intermediate revisions by one user not shown)
I'm perplexed. Why can't I see the diff???
Thanks,
Al
Just to let you know why it does that.
When you ask for a webpage, you can add attribute to a webpage prior to its
loading which is helpful to send specific data to this webpage.
Let say we want to send the attribute title with the value "Main_Page" .
Url rewriting, give you the possibility to match one or more of these
attributes with the url structure.
That's why we match /w/index.php?title=$1 to /wiki/$1
Note that wiki/$1 is parsed as /w/index.php?title=$1
The thing is, even if we rewrite the url, we can add other attributes to
the url.
You can imagine that : wiki/$1?action=edit is parsed as
/w/index.php?title=$1&action=edit
As an example :
http://en.wikipedia.org/wiki/Main_Page?action=edit
is the same as
http://en.wikipedia.org/w/index.php?title=Main_Page&action=edit
Therefore, if you send something like /wiki/What's the matter folks?
Apache himself will treat this url as /w/index.php?title=What's the matter
folks&
and /wiki/What's the matter folks?action=edit will be parsed
as /w/index.php?title=What's the matter folks&action=edit and so on.
the action=edit gives you the edit form of an article with the specified
title.
Now that you understand why it's not working, the only way to put an "?" in
an attribute is to put it in an attribute itself without url rewritting :
/w/index.php?title=What's the matter folks?
As the server waits an & to parse the next attribute it will include the
question mark in the title attribute.
However, if an attribute is part of the URL-rewriting, you can only include
a question mark with the url encoding of it. (%3F)
You will notice that the % alone or without valid letters following it will
not work either. As it is used for url encoding.
Note that when you do a link in the wiki [[What's the matter folks?]] the
parser will parse it as What's the matter folks%3F
http://www.w3schools.com/tags/ref_urlencode.asp
Thierry
Oh I misread you.
I think you are right, this is a nginx issue.
May be they used something like a Virtual Host configuration with
Proxy_Pass attribute in a location and had mistakely added a trailing to
the adress "/". which cause a decode of all the url. It happened to me once.
...Or something like that.
Thierry
I'm trying to figure out why one of my wikis is having problems with page titles which include the ? character in page titles.
They work just fine on my localhost but when uploaded they will not appear correctly. All the settings appear to be the same in the php.ini file. On the hosted server even when ? is end of a title it still will not show even though the URL indicates it should be there with the %3F.
I'm starting to wonder if the host is running URL requests through some type of sanitizer and blocking characters.
Thoughts appreciated.
Thanks
Tom
Hey all,
I'm happy to announce the immediate release of Diff 0.4 [0].
Notable changes in this version where moving the diff creation code from
static methods in the diff representation classes to dedicated differ
classes and the introduction of patching functionality. Next to several
code quality and design improvements, a lot of tests where also added.
The documentation on mediawiki.org got updated accordingly and new examples
where added.
[0] https://www.mediawiki.org/wiki/Extension:Diff
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--
Hello,
I have a form with a link to the regular search page. The user needs to click the link and then later return to the form page to finish filling it out. I would rather them use a separate tab for the search rather than using the browsers 'Back' button which resets some of the form fields.
Thanks,
Al
I've tried to configure $SMTP because I had problems sending with php Mail().
On another version of my sites I had a Joomla module from Bitnami installed and all emails were working well. I had a look at config, found configuration.php installed and had a look at.
Can someone help me configuring Mediawiki using these settings in the Joomla config file ?
>>>
<?php
class JConfig {
public $offline = '0';
public $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';
public $sitename = 'AENA CKCS-KCS and Co';
public $editor = 'jce';
public $list_limit = '50';
public $access = '1';
public $dbtype = 'mysql';
public $host = 'localhost';
public $user = 'bn_joomla';
public $password = '**********';
public $db = 'bitnami_joomla';
public $dbprefix = 'jos_';
public $secret = '****************';
public $gzip = '0';
public $error_reporting = '-1';
public $helpurl = 'http://help.joomla.org/proxy/index.php?option=com_help&keyref=Help16:{keyre…';
public $ftp_host = '';
public $ftp_port = '';
public $ftp_user = 'bn_joomla';
public $ftp_pass = '';
public $ftp_root = '';
public $ftp_enable = '0';
public $tmp_path = '/tmp';
public $log_path = '/var/logs';
public $live_site = '';
public $force_ssl = '0';
public $offset = 'Europe/Brussels';
public $offset_user = 'UTC';
public $lifetime = '60';
public $session_handler = 'database';
public $mailer = 'sendmail';
public $mailfrom = 'did.houbrechts(a)skynet.be';
public $fromname = 'Didier Houbrechts';
public $sendmail = '/usr/sbin/sendmail';
public $smtpauth = '1';
public $smtpuser = 'did.houbrechts';
public $smtppass = '12345678';
public $smtphost = 'relay.skynet.be';
public $caching = '0';
public $cachetime = '15';
public $cache_handler = 'file';
public $debug = '0';
public $debug_lang = '0';
What do I set ???
Thanks for help !!!!!!
Didier Houbrechts
http://www.aena.behttp://dhvg.ckcs-kcs.dyndns.org (online pedigrees for Ckcs & Kcs/Ets)
Hey everybody,
just a reminder that we're going to have an IRC meeting tomorrow for
developers regarding Echo. This will be for answering all your burning
questions about what Echo is and how it will work, as well as how you
can make use of it in your own extensions for providing notifications to
users.
Where: #wikimedia-tech
When: Wed. Jan. 30 at 11am Pacific Time
If you want to try out Echo in the meantime, check out our testing page,
https://www.mediawiki.org/wiki/Echo/Testing, and try it out on
mediawiki.org.
Ryan Kaldari, Editor Engagement team