Last modified: 2007-06-28 18:39:17 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 10401 - Pagemovedtext problem (again?)
Pagemovedtext problem (again?)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-28 18:07 UTC by Huji
Modified: 2007-06-28 18:39 UTC (History)
1 user (show)

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


Attachments
update to Fa messages file (1.03 KB, patch)
2007-06-28 18:39 UTC, Huji
Details

Description Huji 2007-06-28 18:07:14 UTC
In order to make MediaWiki:Pagemovedtext more useful, it has to have links to the source and destination page. These links must have "redirect=no" in their address, so when the user clicks to link to the old page, he wouldn't be redirected to the destination page.

This had been done by fixing the MediaWiki:Pagemovedtext, and adding {{fullurl: codes in it. (http://en.wikipedia.org/wiki/MediaWiki:Pagemovedtext) However, it turned out that the parser wouldnot render the $1 and $2 prior to it rendering the MediaWiki page code; that is, it should $1 instead of the name of the source page!

In order to fix that, people found a "workaround" (not a solution though) to include the $1 and $2 code in templates (http://en.wikipedia.org/wiki/MediaWiki:Pagemovedtext). It worked until lately, which I have noticed it is again broken. Look here:

http://en.wikipedia.org/w/index.php?title=Special:Movepage&action=success&oldtitle=User:Huji/test&newtitle=User:Huji/testing&talkmoved=notalkpage

Instead of the source and destination page titles and links to them, $1 and $2 are shown again! I think it is time to revise the code, so every {{fullurl: command is processed before any template or MediaWiki page is processed.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-06-28 18:10:07 UTC

*** This bug has been marked as a duplicate of bug 6261 ***
Comment 2 Rob Church 2007-06-28 18:16:29 UTC
This is fixed in r23513 with the removal of the "pagemovedtext" message, introducing "movepage-moved" which expects two HTML links; the link to the original title doesn't redirect.
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-06-28 18:35:07 UTC
Ah, "before any template or MediaWiki page is processed" meaning "on the PHP side before letting the message even see the parameter" makes sense.
Comment 4 Huji 2007-06-28 18:39:17 UTC
Created attachment 3840 [details]
update to Fa messages file

Thank you rob. By the way, it would be grate if, after the pagemovedtext is depricated, it would be deleted automatically on all wikis.

Also, please apply the patch I have provided for Farsi language message.

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


Navigation
Links