Last modified: 2012-11-29 13:08:05 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 T39749, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37749 - Update "title" of sitelink after editing
Update "title" of sitelink after editing
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-20 17:09 UTC by jeblad
Modified: 2012-11-29 13:08 UTC (History)
2 users (show)

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


Attachments

Description jeblad 2012-06-20 17:09:15 UTC
After editing the title field of the sitelinks, and getting the reply back from the API module "wblinksite", update the field with the normalized value.
Comment 1 jeblad 2012-06-20 17:14:17 UTC
If a query like (note that this is a GET and usually not allowed)
api.php?action=wblinksite&id=4&linksite=nn&linktitle=Stavkirke&link=set&format=jsonfm
is sent to the server a JSON-response would look like

{
	"item": {
		"sitelinks": [
			{
				"site": "nn",
				"title": "Stavkyrkje"
			}
		],
		"id": 4
	},
	"success": 1
}

Note the change of Stavkirke into Stavkyrkje.
Comment 2 denny vrandecic 2012-06-27 17:31:38 UTC
I think this works now.

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


Navigation
Links