Last modified: 2011-03-09 21:14:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3742 - Missing string in function getFullURL in Title.php
Missing string in function getFullURL in Title.php
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: 3743 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2005-10-19 10:26 UTC by Andreas
Modified: 2011-03-09 21:14 UTC (History)
1 user (show)

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


Description Andreas 2005-10-19 10:26:49 UTC
Using last MediaWiki 1.5.0 - 2005-10-05 release

In includes/Title.php there is a function called "getFullURL":
	function getFullURL( $query = '') {

So, at line 658 there is a row:
 		if ( '' == $this->mInterwiki ) {
but it should be:
		if ( $query == $this->mInterwiki ) {

and at line 668 there is a row: 
		if ( '' != $namespace ) {
but it should be:
		if ( $query != $namespace ) {

and at line 681 there is a row:
		if ( '' != $this->mFragment ) {
but it should be:
		if ( $query != $this->mFragment ) {

Otherwise getFullURL are not working (eg. Search field "Go" are not working when  
$wgGoToEdit = true), after correcting those lines, everything is now OK!
Comment 1 lɛʁi לערי ריינהארט 2005-10-19 10:39:23 UTC
*** Bug 3743 has been marked as a duplicate of this bug. ***
Comment 2 Brion Vibber 2005-10-19 18:43:32 UTC
This bug report is complete and utter nonsense.

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