Last modified: 2014-07-25 11:50:36 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 T67584, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65584 - Implement wbcreateredirect API module
Implement wbcreateredirect API module
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=13 s=2014-07-15
:
Depends on: 66073
Blocks: 66067
  Show dependency treegraph
 
Reported: 2014-05-21 15:05 UTC by Daniel Kinzler
Modified: 2014-07-25 11:50 UTC (History)
6 users (show)

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


Attachments

Description Daniel Kinzler 2014-05-21 15:05:01 UTC
wbsetredirect should be used to turn an item page into a redirect.

Turning a page into a redirect should only be possible if that page is empty or already a redirect. 

This module is needed to restore deleted pages on wikidata.org as redirects.
Comment 1 Bene* 2014-05-24 10:23:29 UTC
Question: I thought an item can only become a redirect after merging? I think the best behaviour to resotre deleted pages as redirects is to restore them and then turn them into redirects by merging them again (which has no effect to the item but avoids a magic api module).
Comment 2 Gerrit Notification Bot 2014-07-02 16:18:07 UTC
Change 143366 had a related patch set (by Daniel Kinzler) published:
Introduce wbcreateredirect api module

https://gerrit.wikimedia.org/r/143366
Comment 3 Gerrit Notification Bot 2014-07-25 10:55:00 UTC
Change 143366 merged by Jeroen De Dauw:
Introduce wbcreateredirect API module

https://gerrit.wikimedia.org/r/143366

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


Navigation
Links