[Vim-l] Import failed for VimTip35?

Sebastian Menge sebastian.menge at uni-dortmund.de
Tue Jun 19 09:23:34 UTC 2007


Am Dienstag, den 19.06.2007, 18:46 +1000 schrieb John Beckett:
> The import script appears to have failed for tip 35.
> I can fix this tip, but perhaps bastl would like to determine
> what went wrong.

Thats a flaw in the script: Some tips use the char "|" in their text.
But "|" is interpreted by mediawiki as the seperator of parameters of
templates. In the "source" of the tip the text is there, but it is not
displayed by the template correctly.

As a workaround, I surround such cases with <nowiki></nowiki>.

Using pymediawikibot one could write something to repair that
automatically.

Sebastian.



More information about the Vim-l mailing list