Special:LinkSearch does not work

Discussion about the site's wiki, including bugs/issues encountered

Moderator: Moderators

Post Reply
tepples
Posts: 21751
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Special:LinkSearch does not work

Post by tepples » Fri Aug 03, 2012 7:37 am

While trying to excise Parodius links from the wiki, I ran into a little problem:

http://wiki.nesdev.com/w/index.php/Special:LinkSearch
produces
Fatal error: Call to a member function addWikiMsg() on a non-object in /home/ndwiki/www/w/includes/specials/SpecialLinkSearch.php on line 82

tepples
Posts: 21751
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Special:LinkSearch does not work

Post by tepples » Thu Aug 23, 2012 4:29 pm

After the migration, this is still broken.

User avatar
koitsu
Posts: 4216
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Re: Special:LinkSearch does not work

Post by koitsu » Thu Aug 23, 2012 6:49 pm

I'll look at it. Pretty sure I can figure it out to some degree.

Edit: Okay, it's a bug in MediaWiki 1.18.0 which has since been fixed in 1.18.1. This thread has the answer -- very bottom of the page, from user Bawolff.

The solution is not as easy as just replacing $out on line 62 with $wgOut -- doing that results in an actual exception error due to lack of method LinkSearchPage::getLanguage existing and so on.

So I took a look at the 1.18.1 tag in SVN to figure out what had changed. Quite a lot, actually.

Given what I can see there, it looks like they revamped a very large portion of something (meaning much more than just in that single file). I think a better idea would be to upgrade MediaWiki from 1.18.0 to 1.18.1 or even newer (latest stable is 1.19.1). I'm happy to do that, as I think I did the last MW upgrade we had.

tepples
Posts: 21751
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Special:LinkSearch does not work

Post by tepples » Thu Aug 23, 2012 7:35 pm

Until very recently, I would recommend upgrading to 1.18.4 because 1.19's extension downloader was b0rked. I couldn't get the updated extensions for 1.19 when I upgraded pineight.com/mw from 1.16 to 1.18 in late June. But now that I've checked mediawiki.org again today, it may have been fixed.

User avatar
koitsu
Posts: 4216
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Re: Special:LinkSearch does not work

Post by koitsu » Thu Aug 23, 2012 8:25 pm

Sounds like upgrading to the latest 1.18.x version (and avoiding 1.19.x for the time being, until everything can be verified) might be the better (safer) choice. Thoughts?

User avatar
Banshaku
Posts: 2328
Joined: Tue Jun 24, 2008 8:38 pm
Location: Fukuoka, Japan
Contact:

Re: Special:LinkSearch does not work

Post by Banshaku » Fri Aug 24, 2012 12:56 am

Yes, I guess it is the wisest choice. The latest is not always the best. If this was the case then 1.18 wouldn't be supported anymore.

Let's move it to 1.18.4 then.

User avatar
koitsu
Posts: 4216
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Re: Special:LinkSearch does not work

Post by koitsu » Fri Aug 24, 2012 11:50 am

I'll try to dedicate some time this weekend to doing this.

tepples
Posts: 21751
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Special:LinkSearch does not work

Post by tepples » Fri Aug 31, 2012 1:05 pm

As of today, the 1.18.4 upgrade is not quite as urgent, as I realized I can search my HTML backup of the wiki for the word "parodius".

User avatar
koitsu
Posts: 4216
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Re: Special:LinkSearch does not work

Post by koitsu » Fri Aug 31, 2012 6:21 pm

Sorry, I'd forgotten about doing this with all the hectic crap going on. (Last week was a blur, same with the preceding weekend)

One of the main reasons I'm lagging -- quite literally -- is that my Internet connection has been shit for over 3 weeks (next Tuesday will make the start of the 4th week), and I don't want packet loss or drop-outs to screw up something I'm doing (and I hate GNU screen :P). The issue is affecting multiple people in my area, not just me. I have a technician (the 3rd one I've seen) coming out Saturday afternoon to hopefully rectify this whole thing, but I have very little faith at this point.

lidnariq
Posts: 8782
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: Special:LinkSearch does not work

Post by lidnariq » Fri Aug 31, 2012 6:46 pm

koitsu wrote:(and I hate GNU screen :P).
This is entirely a random tangent, but have you heard of tmux?

User avatar
koitsu
Posts: 4216
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Re: Special:LinkSearch does not work

Post by koitsu » Fri Aug 31, 2012 8:12 pm

lidnariq wrote:
koitsu wrote:(and I hate GNU screen :P).
This is entirely a random tangent, but have you heard of tmux?
Yes, and I regularly advocate its usage over GNU screen. :-)

User avatar
koitsu
Posts: 4216
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Re: Special:LinkSearch does not work

Post by koitsu » Sun Sep 02, 2012 3:57 pm

Internet connection this weekend has been complete shit. In fact, today is one of the worst days yet (see graphs). On the bright side, the tech who came out Saturday, and his supervisor, were both able to confirm that multiple customers in my immediate area are all having this problem and its been assigned to a network tech for resolution (network in this sense is a US cable industry term and refers to the actual cable network that exists within a city, i.e. equipment and wire up on poles). I was given a general estimate of 24 hours to resolution, but its pretty obvious that no network tech is going to do shit about this until at bare minimum Tuesday (Monday is a US holiday (Labour Day)).

So we'll have to wait on me doing the upgrade until this gets fixed, or unless tepples/WhoaMan wants to take a stab at it.

User avatar
koitsu
Posts: 4216
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Re: Special:LinkSearch does not work

Post by koitsu » Wed Sep 05, 2012 12:30 am

Sigh, I fucking hate micromanaging ISPs. It really pisses me off. It's the only way to get shit done, sadly.

Supposedly a network tech "resolved the problem" (closed the ticket) on 09/02, except he didn't put any information in it regarding what he did to fix it. And that jibes with reality, because the situation is the exact same. Not a single improvement.

Comcast is sending out *another* tech this Saturday (that's the soonest they had a spot for; sigh) to try and figure out what in the fuck the previous tech supposedly did, but the vote so far (including from the CSR) is that the network tech who resolved the ticket actually didn't do a single thing.

The level of incompetence here in the Bay Area never ceases to amaze me. People working from 11am-4pm (plus an hour lunch), not doing their jobs, blah blah blah. Eventually the real world is going to realise this and stop relying on Silicon Valley entirely. So many worthless douchebags here (tell us how you really feel, koitsu! ;-) )

tepples
Posts: 21751
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Special:LinkSearch does not work

Post by tepples » Sat Jan 19, 2013 7:44 pm

Koitsu fixed it when upgrading the wiki to MediaWiki 1.20.2.

Post Reply