Last modified: 2010-08-26 23:13:52 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 T26746, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24746 - Links table don't get updated when I try to create a new redirect page with API
Links table don't get updated when I try to create a new redirect page with API
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-10 18:06 UTC by Philip Tzou
Modified: 2010-08-26 23:13 UTC (History)
4 users (show)

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


Attachments

Description Philip Tzou 2010-08-10 18:06:51 UTC
A newly created redirect page though index.php could automatically add its page name to its target's links table. So we can view the redirection in [[Special:Whatlinkshere/Target page]].

But seems behaviors of api.php are different with index.php. When I create a new redirect page with api.php, such page name would not be add to the target's links table.

For example: [[zh:Special:Whatlinkshere/User:PhiLiP/童话]]. I create [[zh:User:PhiLiP/童話]] thought API, and [[zh:User:PhiLiP/ft]] with index.php. And you can see in the links table, only the last one was added.
Comment 1 Sam Reed (reedy) 2010-08-10 19:00:56 UTC
Sure it's not just stuck in the job queue?

API uses the same underlying stuff...
Comment 2 Philip Tzou 2010-08-10 19:06:36 UTC
(In reply to comment #1)
> Sure it's not just stuck in the job queue?
> 
> API uses the same underlying stuff...

no, I edit the [[zh:User:PhiLiP/童話]] with index.php again (add a space to create a new reversion, you can see the history), but it still doesn't appear in [[zh:Special:Whatlinkshere/User:PhiLiP/童话]].
Comment 3 Sam Reed (reedy) 2010-08-10 19:31:47 UTC
It works fine for me on my dev wiki. No job queue

Created the redirect page using AutoWikiBrowser

Suggesting INVALID

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


Navigation
Links