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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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.