Last modified: 2007-04-30 18:59:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11735, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9735 - MediaWiki:Pagemovedtext not working as desired in Farsi Wikipedia
MediaWiki:Pagemovedtext not working as desired in Farsi Wikipedia
Status: RESOLVED DUPLICATE of bug 6261
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: parser
Depends on:
  Show dependency treegraph
Reported: 2007-04-29 17:30 UTC by Huji
Modified: 2007-04-30 18:59 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Huji 2007-04-29 17:30:15 UTC
MediaWiki:Pagemovedtext is defined like this in English Wikipedia:

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:

(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:

The links for the old and new name of the page work correctly. However, in Farsi

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:$1&redirect=no --> for the old name$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.
Comment 1 Brion Vibber 2007-04-30 18:59:09 UTC

*** This bug has been marked as a duplicate of 6261 ***

Note You need to log in before you can comment on or make changes to this bug.