[Bug 28627] wfMakeUrlIndex throws "Undefined index: host" for file links with more than two slashes

2011-05-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28627 p858snake changed: What|Removed |Added Keywords|bugsmash| --- Comment #9 from p858snake 2011-05-06

[Bug 28627] wfMakeUrlIndex throws "Undefined index: host" for file links with more than two slashes

2011-04-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28627 Brion Vibber changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 28627] wfMakeUrlIndex throws "Undefined index: host" for file links with more than two slashes

2011-04-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28627 Brion Vibber changed: What|Removed |Added AssignedTo|wikibugs-l@lists.wikimedia. |br...@wikimedia.org |

[Bug 28627] wfMakeUrlIndex throws "Undefined index: host" for file links with more than two slashes

2011-04-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28627 --- Comment #7 from Dan Barrett 2011-04-22 15:04:00 UTC --- Reiterating something above: If you fix this, be sure not to limit yourself to 3 slashes. File URI's with many slashes, such as file:/myshare/foo/bar.txt, should be considered co

[Bug 28627] wfMakeUrlIndex throws "Undefined index: host" for file links with more than two slashes

2011-04-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28627 Mark A. Hershberger changed: What|Removed |Added Keywords||bugsmash -- Configure bugmail:

[Bug 28627] wfMakeUrlIndex throws "Undefined index: host" for file links with more than two slashes

2011-04-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28627 Bawolff changed: What|Removed |Added CC||bawolff...@gmail.com --- Comment #6 from Baw

[Bug 28627] wfMakeUrlIndex throws "Undefined index: host" for file links with more than two slashes

2011-04-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28627 --- Comment #5 from Dan Barrett 2011-04-20 21:24:29 UTC --- I would be happy to patch, but I am missing some domain knowledge. In the externallinks table, what should the el_index column contain for a file:// URI? The current code produces a

[Bug 28627] wfMakeUrlIndex throws "Undefined index: host" for file links with more than two slashes

2011-04-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28627 Mark A. Hershberger changed: What|Removed |Added Priority|Unprioritized |Low CC|

[Bug 28627] wfMakeUrlIndex throws "Undefined index: host" for file links with more than two slashes

2011-04-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28627 --- Comment #3 from Dan Barrett 2011-04-20 19:44:06 UTC --- Alternatively, you should just check for the existence of $bits['host'] before referencing it, and take some corrective action, eliminating the PHP Notice message. -- Configure bugm

[Bug 28627] wfMakeUrlIndex throws "Undefined index: host" for file links with more than two slashes

2011-04-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28627 --- Comment #2 from Dan Barrett 2011-04-20 19:29:03 UTC --- Argh, I have typos in my code examples. (Wish I could edit them!) The first example, where you have two slashes, should read: If you have two slashes, you get a 'host' array element:

[Bug 28627] wfMakeUrlIndex throws "Undefined index: host" for file links with more than two slashes

2011-04-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28627 --- Comment #1 from Dan Barrett 2011-04-20 19:27:44 UTC --- This code is old. It definitely behaves this way in MediaWiki 1.16.4, and the code looks unchanged in 1.18-svn, so I filed it as 1.18-svn. -- Configure bugmail: https://bugzilla.wik