despens created this task.
despens added a subscriber: despens.
despens added projects: MediaWiki-API, MediaWiki-extensions-WikibaseRepository, 
Pywikibot-compat-to-core.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  This happens when manually trying to link from a Wikibase item to a wiki page:
  
  1. click 'edit' on a site link
  2. enter site, in my case 'en'
  3. on 'page', enter for example 'delocator.net'
  4. the suggester shows the existing page on the wiki, with its correct title 
"Delocator.net"
  5. click on the suggested title
  6. click 'save'
  7. reply from wiki api: "The specified article could not be found on the 
corresponding site."
  
  POST request log:
  
  **REQUEST:**
  ```
  POST https://catalog.rhizome.org/api.php
  Host: catalog.rhizome.org
  User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 
Firefox/35.0
  Accept: application/json, text/javascript, */*; q=0.01
  Accept-Language: en-US,en;q=0.5
  Accept-Encoding: gzip, deflate
  Content-Type: application/x-www-form-urlencoded; charset=UTF-8
  X-Requested-With: XMLHttpRequest
  Referer: https://catalog.rhizome.org/w/Item:Q1209
  Content-Length: 173
  Cookie: __qca=P0-1263044144-1401371737783; _ga=GA1.2.305842596.1401371738; 
wikiUserID=1; wikiUserName=Dragan+Espenschied; 
wikiToken=1591938d54cc4b3ee6b584497e728e81; 
__gads=ID=1f58b5fe4b3cb56e:T=1423877704:S=ALNI_MaRjXz_nRNjCTj8XrWrQ-OLelSUJA; 
wiki_session=98p2gd8b7i2ec49vmluga91qj3
  Connection: keep-alive
  Pragma: no-cache
  Cache-Control: no-cache
  
  
action=wbsetsitelink&format=json&id=Q1209&linksite=RhizomeCatalog&linktitle=Delocator%2Enet&baserevid=8660&badges=&bot=1&token=6e052b1011b386bd7e6517a3c1fc0cb054f612af%2B%5C
  ```
  
  **RESPONSE (only body):**
  ```
  {
      "error" : {
          "code" : "no-external-page",
          "info" : "The external client site 'RhizomeCatalog' did not provide 
page information for page 'Delocator.net'."
      },
      "messages" : {
          "*" : "See https://catalog.rhizome.org/api.php for API usage"
      }
  }
  ```
  
  This happens with any wiki page with a title that looks like a domain name, 
for example `ubermorgen.com`, `rhizome.org`, and so forth. It is no problem to 
create such wiki pages or label items with such a scheme.
  
  Pywikibot is also affected, when trying to automatically set site links.

TASK DETAIL
  https://phabricator.wikimedia.org/T91439

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: despens
Cc: Aklapper, despens, Wikidata-bugs, droid, Anomie, Legoktm



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to