Last modified: 2012-08-09 18:26:10 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 T41187, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39187 - Fatal error: Call to undefined method Article::getContext() OnlineStatusBarHooks.php:55 (Mediawiki 1.17.3, extension branch REL1_17)
Fatal error: Call to undefined method Article::getContext() OnlineStatusBarHo...
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
OnlineStatusBar (Other open bugs)
unspecified
Macintosh Mac OS X 10.6
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-09 04:33 UTC by Brandon Sky
Modified: 2012-08-09 18:26 UTC (History)
5 users (show)

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


Attachments

Description Brandon Sky 2012-08-09 04:33:36 UTC
When opening a userpage I get this :

Fatal error: Call to undefined method Article::getContext() in /Users/sky/Sites/brandonsky11o/g/wiki/extensions/OnlineStatusBar/OnlineStatusBarHooks.php on line 55
Comment 1 Daniel Friesen 2012-08-09 04:35:48 UTC
MediaWiki 1.17 is obsolete, it's been EOLed. Sounds like you're trying to run the most recent version of an extension on an outdated MediaWiki install.

Doesn't sound like a bug to me.
Comment 2 Brandon Sky 2012-08-09 04:36:55 UTC
Lol, over a month ago. What does "EOL" mean? And this extension is just useless.
Comment 3 Jasper Deng 2012-08-09 04:38:02 UTC
Get rid of the extension. Not a critical problem. Probably just an incompatible extension.
Comment 4 Daniel Friesen 2012-08-09 05:01:19 UTC
(In reply to comment #2)
> Lol, over a month ago. What does "EOL" mean? And this extension is just
> useless.

EOL = End of Life

No more security patches. No more support. No longer something you should use.

MediaWiki 1.17 was legacy (supported but you should upgrade to 1.18 which was current) for 6 months. Now that 1.19 is out 1.17 is not supported at all.

Upgrade your wiki.
Comment 5 Brandon Sky 2012-08-09 12:41:29 UTC
How To Remove :
-----------------------------------------------------------
1) Comment the following line in Localsettings.PhP:
require_once("$IP/extensions/OnlineStatusBar/OnlineStatusBar.php");
2) Run the following Sql query through the Special:Asksql special page if you have Asksql installed:

DROP TABLE online_status;

Or if you don't have Asksql, install it or download an SQL file that you can run against your wiki's database at http://www.mediafire.com/?8m4kk0qvf4m9kvh

3) Delete the unneeded extension folder. Using a command line program such as Unix Terminal, change the directory to the extensions folder of your MediaWiki root and run this command:

sudo rm -rd OnlineStatusBar

Enter your password and press enter.
Comment 6 Jasper Deng 2012-08-09 17:07:51 UTC
In the future, please stop adding "critical" or "blocker" to bugs that don't deserve that status, Brandon. Those are for VERY FEW bugs.
Comment 7 Brandon Sky 2012-08-09 18:10:30 UTC
Fixed the status. Plus, I want the can_confirm and editbugs permissions.
Comment 9 Brandon Sky 2012-08-09 18:22:38 UTC
(In reply to comment #8)
> Please, don't give him any permissions:
> https://meta.wikimedia.org/wiki/Stewards%27_noticeboard/Archives/2012-05#Global_disruption_by_BrandonSkyPimenta.2FHTFFanBrandon04
> https://meta.wikimedia.org/wiki/User:Mathonius/Reports/BrandonSky

NO. On BUGZILLA, not on wikimedia wikis.
Comment 10 jeremyb 2012-08-09 18:26:10 UTC
Back to INVALID. You probably shouldn't change that again.

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


Navigation
Links