Hi !
I have a problem with my "Noarticletext" system message ( http://fr.wikimini.org/wiki/MediaWiki:Noarticletext)
When there is an apostrophe in the title of the page that has been deleted, the link that should point to the search page is broken.
- Example with apostrophe :
http://fr.wikimini.org/wiki/L%27islam http://fr.wikimini.org/wiki/L%27islam(search link broken)
- Example with no apostrophe :
http://fr.wikimini.org/wiki/Corbo (search link OK)
What's wrong ?!
Laurent
Wikimini wrote:
Hi !
I have a problem with my "Noarticletext" system message ( http://fr.wikimini.org/wiki/MediaWiki:Noarticletext)
When there is an apostrophe in the title of the page that has been deleted, the link that should point to the search page is broken.
- Example with apostrophe :
http://fr.wikimini.org/wiki/L%27islam http://fr.wikimini.org/wiki/L%27islam(search link broken)
- Example with no apostrophe :
http://fr.wikimini.org/wiki/Corbo (search link OK)
What's wrong ?!
Laurent
That same code works for me in 1.15, 1.16 and trunk.
Thank you for your answer.
I'm using Mediawiki 1.15.1. I will try to upgrade to 1.15.4 in the next few weeks and see if this solves the problem. As you can see, there is is a problem with the subtitle too : http://fr.wikimini.org/wiki/L%27islamhttp://fr.wikimini.org/wiki/L%27islam(apostrophe is replaced by ').
If someone has an idea in the meantime, any advice would be greatly apreciated !
Laurent
2010/6/8 Platonides Platonides@gmail.com
Wikimini wrote:
Hi !
I have a problem with my "Noarticletext" system message ( http://fr.wikimini.org/wiki/MediaWiki:Noarticletext)
When there is an apostrophe in the title of the page that has been
deleted,
the link that should point to the search page is broken.
- Example with apostrophe :
http://fr.wikimini.org/wiki/L%27islamhttp://fr.wikimini.org/wiki/L%27islam http://fr.wikimini.org/wiki/L%27islam(search link broken)
- Example with no apostrophe :
http://fr.wikimini.org/wiki/Corbo (search link OK)
What's wrong ?!
Laurent
That same code works for me in 1.15, 1.16 and trunk.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Does anyone have an idea of what the problem could be ? Actually I cannot upgrade because of some extensions I'm using.
2010/6/8 Wikimini webmaster@wikimini.org
Thank you for your answer.
I'm using Mediawiki 1.15.1. I will try to upgrade to 1.15.4 in the next few weeks and see if this solves the problem. As you can see, there is is a problem with the subtitle too : http://fr.wikimini.org/wiki/L%27islamhttp://fr.wikimini.org/wiki/L%27islam(apostrophe is replaced by ').
If someone has an idea in the meantime, any advice would be greatly apreciated !
Laurent
2010/6/8 Platonides Platonides@gmail.com
Wikimini wrote:
Hi !
I have a problem with my "Noarticletext" system message ( http://fr.wikimini.org/wiki/MediaWiki:Noarticletext)
When there is an apostrophe in the title of the page that has been
deleted,
the link that should point to the search page is broken.
- Example with apostrophe :
http://fr.wikimini.org/wiki/L%27islamhttp://fr.wikimini.org/wiki/L%27islam http://fr.wikimini.org/wiki/L%27islam(search link broken)
- Example with no apostrophe :
http://fr.wikimini.org/wiki/Corbo (search link OK)
What's wrong ?!
Laurent
That same code works for me in 1.15, 1.16 and trunk.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Wikimini wrote:
Does anyone have an idea of what the problem could be ? Actually I cannot upgrade because of some extensions I'm using.
Which extensions are those? You should upgrade them, too. I don't think there was any change from 1.15.1 to 1.15.4 that could break extensions.
Hi !
I've just found a solution and maybe this can be helpful for someone else.
On my french wiki (1.15.1) it looks like I cannot create a link that contains curly brackets ( {{ }} ) pointing to a title which contains an apostrophe ( ' ). If this is the case the link is not rendered as an html link.
*-- Example*---------------------------------------------------------------------------------------------
When I write [[{{fullpagename}}]] into a page whose title is Example'Example the link is not rendered in html. I just see [[Example'Example]] after publishing.
But if I write [[{{fullpagename}}]] into a page whose title is ExampleExample (with no apostrophe) it works. I don't see the brackets anymore and the word ExampleExample is bold (because I'm on the same page).
*-- Solution*---------------------------------------------------------------------------------------------
In the Mediawiki:Noarticletext message I finally had to replace :
[[Special:Search/{{FULLPAGENAME}}|Search for « {{FULLPAGENAME}} »]]
by :
[[Special:Search/{{FULLPAGENAMEE}}|Search for « {{FULLPAGENAME}} »]]
And it works now. The link is rendered as a clickable html link even if the target page contains an apostrophe.
*-- Not solved*---------------------------------------------------------------------------------------------
Well, I still need a solution for some other system messages (like searchsubtitle http://fr.wikimini.org/wiki/MediaWiki:Searchsubtitle) which has the same problem. But in this case I don't know how to replace the ' [[:$1]]'.
Maybe there is something better to do or to check ?
Laurent
2010/6/10 Platonides Platonides@gmail.com
Wikimini wrote:
Does anyone have an idea of what the problem could be ? Actually I cannot upgrade because of some extensions I'm using.
Which extensions are those? You should upgrade them, too. I don't think there was any change from 1.15.1 to 1.15.4 that could break extensions.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org