Last modified: 2007-04-30 18:59:09 UTC
MediaWiki:Pagemovedtext is defined like this in English Wikipedia: http://en.wikipedia.org/w/index.php?title=MediaWiki:Pagemovedtext&action=edit I applied a similar code in Farsi Wikipedia (I have only translated the sentences, and instead of using Template:MediaWiki_direct_link and Template:MediaWiki_direct_link_2, I pasted their code into the MediaWiki:Pagemovedtext itself) as below: http://fa.wikipedia.org/w/index.php?title=MediaWiki:Pagemovedtext&action=edit (In order to be able to read the code more easily, you may need to change the direction of the editbox, by right clicking on it and choosing Switch Text Direction or a similar menu item). This code works correctly in English wikipedia: http://en.wikipedia.org/w/index.php?title=Special:Movepage&action=success&oldtitle=User:Huji/Test1&newtitle=User:Huji/Test2&talkmoved=notalkpage The links for the old and new name of the page work correctly. However, in Farsi Wikipedia: http://fa.wikipedia.org/w/index.php?title=%D9%88%DB%8C%DA%98%D9%87:Movepage&action=success&oldtitle=%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%BE%D8%AF%DB%8C%D8%A7:%D9%82%D9%87%D9%88%D9%87%E2%80%8C%D8%AE%D8%A7%D9%86%D9%87&newtitle=%D9%88%DB%8C%DA%A9%DB%8C%E2%80%8C%D9%BE%D8%AF%DB%8C%D8%A7:%D9%82%D9%87%D9%88%D9%87%E2%80%8C%D8%AE%D8%A7%D9%86%D9%87/%D8%A8%D8%A7%DB%8C%DA%AF%D8%A7%D9%86%DB%8C+%DB%B1%DB%B8&talkmoved=1 As you can see, the old and new links are not correct. The title of the links is correctly replaced with the old and new name of the moved page, but the links are like this: http://fa.wikipedia.org/w/index.php?title=$1&redirect=no --> for the old name http://fa.wikipedia.org/w/index.php?title=$2&redirect=no --> for the new name It means, the $1 an $2 in the above code are not replaced with the old and new name of the page. It is really weired, because these values are replaced for the title of the link (the text of the link) but not for the address of the link.
*** This bug has been marked as a duplicate of 6261 ***