Remove MediaWiki Code
Closed this issue · 8 comments
Can you add a filter to remove MediaWiki comments from card names? The lore text doesn't seem to be affected. Appearantly the lore text's formatting code is not removed as well. Some cards (normal monster cards) are formatted in italics and the ' which was used for that is also in the database file. The comment is correctly removed though, but leaves a trailing space.
Example: Ghoul with an Appetite (95265975) in fr, de, it & es
See also: MediaWiki Help:Comment tags
yes tag was only removed on the text of the cards, i think the probleme is fixed
I've just tested the new database from f36aeb7 (under the assumption it already includes the fix) and noticed that the German translation is now missing and the English text is displayed instead. Also, you only spoke about the tag in your response. Do you intend to keep the wiki code for italics in the card's text? It does look like quote symbols, but they are not supposed to be some. I'll leave the decision to you, but I wanted to point that out in case you didn't notice my comment about it.
the text of should come back to the next update, do you have example of card with italic text? on "Ghoul with an Appetite" I do not see italic
thanks for the info, I'll look into it later
In f002afe all wiki text seems to be properly removed. The only thing that's left it the trailing space at the end, but that's not visible in-game, so this isn't an issue. You could add a trim if you wanted, but otherwise this seems to be resolved. Thanks for your work!
Thanks for your feedback, I will add the trim at the beginning of the week