[Bug 26865] API resolved redirects to special pages (wgDisableHardRedirects / wgInvalidRedirectTargets)

2013-05-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26865

Umherirrender umherirrender_de...@web.de changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #7 from Umherirrender umherirrender_de...@web.de ---
The api will not redirect by itself and does not provide a url for redirecting,
so the wgDisableHardRedirects setting must not be respected. The redirects are
also stored inside the redirects table, so that are redirects.

wgInvalidRedirectTargets is respected, because those redirects are not in the
redirect table (and will not be added by the api)

It is always safer to let index.php doing redirects instead of calling the api
to get the right 'to' page and call than index.php with the new page.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 26865] API resolved redirects to special pages (wgDisableHardRedirects / wgInvalidRedirectTargets)

2012-08-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26865

--- Comment #6 from Umherirrender umherirrender_de...@web.de 2012-08-24 
14:35:59 UTC ---
(In reply to comment #5)
 (In reply to comment #0)
  Having a page with a redirect to a special page, than the GUI does not 
  redirect
  automatically.
  
  When using the api (titles=redirects), the result show a redirect to the
  special page. I do not know, if this is intended. When yes, make this 
  INVALID.
  
  Thanks.
 The GUI does redirect.. If I visit a page with a redirect to a special page,
 I'm taken to that page automatically...

Have you set wgDisableHardRedirects to true? It is false by default.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 26865] API resolved redirects to special pages (wgDisableHardRedirects / wgInvalidRedirectTargets)

2012-08-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26865

--- Comment #5 from Sam Reed (reedy) s...@reedyboy.net 2012-08-20 19:59:34 
UTC ---
(In reply to comment #0)
 Having a page with a redirect to a special page, than the GUI does not 
 redirect
 automatically.
 
 When using the api (titles=redirects), the result show a redirect to the
 special page. I do not know, if this is intended. When yes, make this INVALID.
 
 Thanks.

The GUI does redirect.. If I visit a page with a redirect to a special page,
I'm taken to that page automatically...

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 26865] API resolved redirects to special pages (wgDisableHardRedirects / wgInvalidRedirectTargets)

2011-12-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26865

Aaron Schulz schulzaaro...@yahoo.de changed:

   What|Removed |Added

 CC||schulzaaro...@yahoo.de

--- Comment #5 from Aaron Schulz schulzaaro...@yahoo.de 2011-12-06 01:29:19 
UTC ---
Fixed in r54567.

Please update and add explained comment.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 26865] API resolved redirects to special pages (wgDisableHardRedirects / wgInvalidRedirectTargets)

2011-08-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26865

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

 AssignedTo|roan.katt...@gmail.com  |wikibugs-l@lists.wikimedia.
   ||org

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 26865] API resolved redirects to special pages (wgDisableHardRedirects / wgInvalidRedirectTargets)

2011-04-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26865

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

Summary|API resolved redirects to   |API resolved redirects to
   |special pages   |special pages
   ||(wgDisableHardRedirects /
   ||wgInvalidRedirectTargets)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 26865] API resolved redirects to special pages

2011-01-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26865

--- Comment #4 from Umherirrender umherirrender_de...@web.de 2011-01-23 
19:07:58 UTC ---
(In reply to comment #3)
 Thanks, it apparently acts different for Special:FilePath.

See $wgInvalidRedirectTargets in DefaultSettings.php

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 26865] API resolved redirects to special pages

2011-01-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26865

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

 CC||krinklem...@gmail.com

--- Comment #1 from Krinkle krinklem...@gmail.com 2011-01-22 18:17:09 UTC ---
Sounds like API does not check the $wgDisableHardRedirects setting [0].

The possibility of resolving both normal redirects and redirects to the
Special:-namespace is intended. However there is a setting (which is true on
wikimedia wikis [1] ) to disable this. The API should check for that also.

I've tried to reproduce this but did not succeed [2] [3].

@Umherirrender: Could you link to an example where this is happening ?

--
Krinkle


[0] http://www.mediawiki.org/wiki/Manual:$wgDisableHardRedirects
[1] http://noc.wikimedia.org/conf/InitialiseSettings.php.txt (search for
wgDisableHardRedirects)

'wgDisableHardRedirects' = array(
'default'  = true,

[2] http://www.mediawiki.org/wiki/User:Krinkle/Testcase/SpecialFilePath
[3]
http://www.mediawiki.org/w/api.php?action=querytitles=User:Krinkle/Testcase/SpecialFilePathredirectsindexpageids

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 26865] API resolved redirects to special pages

2011-01-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26865

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

Version|wikimedia-deployment|unspecified

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 26865] API resolved redirects to special pages

2011-01-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26865

Umherirrender umherirrender_de...@web.de changed:

   What|Removed |Added

URL||http://test.wikipedia.org/w
   ||/api.php?action=querytitle
   ||s=Redirect%20to%20special%2
   ||0pageredirects

--- Comment #2 from Umherirrender umherirrender_de...@web.de 2011-01-22 
18:57:09 UTC ---
(In reply to comment #1)
 I've tried to reproduce this but did not succeed [2] [3].

I do not know, why Special:FilePath is not working ...

 @Umherirrender: Could you link to an example where this is happening ?

I added a url with a testcase.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 26865] API resolved redirects to special pages

2011-01-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26865

--- Comment #3 from Krinkle krinklem...@gmail.com 2011-01-23 03:03:18 UTC ---
Thanks, it apparently acts different for Special:FilePath.

Reproduced error in both 1.16 and 1.18-svn [0]


[0]:
http://translatewiki.net/w/api.php?action=querytitles=User:Krinkle/RedirectToSpecialredirects

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l