Last modified: 2011-03-09 21:14:51 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 T5742, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3742 - Missing string in function getFullURL in Title.php
Missing string in function getFullURL in Title.php
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.5.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 3743 (view as bug list)
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links