The reason for my incredulity is that it seems perfectly happy to let me
make the most horrendous mistakes with my markup! I had no idea it even had
it in it to make subtle changes like this.
On Wed, Sep 10, 2008 at 8:15 PM, Dr JFBurté <burtejf(a)orange.fr> wrote:
Before I go
out of my mind, does Mediawiki correct things after I hit
save???? I'm sure it doesn't.
Hi-haa
Sure it does ! ;O)))
I often have seen [[That:Short|]] becoming [[That:Short|Short]]
@+ de jfb "0.02$" (MW1.12 et 1.13)
----- Original Message -----
From: "The Gadget Doctor" <mediawiki(a)thegadgetdoctor.com>
To: "MediaWiki announcements and site admin list"
<mediawiki-l(a)lists.wikimedia.org>
Sent: Wednesday, September 10, 2008 2:11 PM
Subject: [Mediawiki-l] I delete something on a page and it pops
back...again
and again.
>
Before I go out of my mind, does Mediawiki
correct things after I hit
save???? I'm sure it doesn't.
>
> I have the following line in one of my ridiculously complicated templates
> which involves SMW and properties:
>
> {{ #if: {{{other authors|}}}|, {{#arraymap:{{{other
> authors}}}|,|x|[[Authors::x|:x]]}} }}
>
> Right at then end is a ":x" that I want to remove. So I edit the template
> and change it to:
>
>
> {{ #if: {{{other authors|}}}|, {{#arraymap:{{{other
> authors}}}|,|x|[[Authors::x|]]}} }}
>
> Hit save and bingo, nothing changes! I can change other parts of the
> template and that works. I can substitute any text for the :x and that
> works
> but if I just delete :x it pops back.
>
> I'm going mad????
>
> Here is the full template:
>
> <div class="floatright">{{Amazonlinkimage|isbn={{{isbn}}}
}}</div>
> <div class="wmd-cite wmd-says"><span
> class="wmd-cite-sechead">Book:</span>[[{{{book}}} by
> {{{author}}}|{{{book}}}]] {{ #if: {{{author|}}}|by [[{{{author}}}]]}} {{
> #if: {{{other authors|}}}| and {{#arraymap:{{{other
authors}}}|,|x|[[x]]}}
}}</div>
<div class="wmd-cite wmd-says"><span
class="wmd-cite-sechead">Publisher:</span>{{{publisher}}}, [[web
date::{{{date}}}]]</div>
{{ #if: {{{isbn|}}}|<div class="wmd-cite wmd-says"><span
class="wmd-cite-sechead">ISBN:</span>[[ISBN::{{{isbn}}}]]</div>}}
[[Book Page Titles::{{{book}}} by {{{author}}}|]]
[[Book Titles::{{{book}}}|]]
{{ #if: {{{author|}}}|[[Authors::{{{author}}}|]]}}
{{ #if: {{{other authors|}}}|, {{#arraymap:{{{other
authors}}}|,|x|[[Authors::x|:x]]}} }}<noinclude>
Is it gone?
==Usage==
Include the following text to use the template:
<pre>
{{Book
|book=
|author=
|other authors=
|publisher=
|date=Month dd, YYYY
|isbn=
}}
<no include>{{Books}}</no include>
</pre>
[[Category:Book Templates]]
</noinclude>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
---------------------------------------------------------------------------------------
Orange vous informe que cet e-mail a ete
controle par l'anti-virus mail.
Aucun virus connu a ce jour par nos services n'a ete detecte.
--
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.526 / Virus Database: 270.6.19/1663 - Release Date:
09/09/2008 19:04
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l