Last modified: 2010-05-15 15:38:29 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 3743 - Missing string in function getFullURL in Title.php
Missing string in function getFullURL in Title.php
Status: RESOLVED DUPLICATE of bug 3742
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.5.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-19 10:27 UTC by Andreas
Modified: 2010-05-15 15:38 UTC (History)
1 user (show)

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


Attachments

Description Andreas 2005-10-19 10:27:52 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:22 UTC

*** This bug has been marked as a duplicate of 3742 ***

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


Navigation
Links