Last modified: 2007-11-14 15:04:13 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 T7941, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5941 - uselang=foo should reference to existing pages in the content language in a single language content wiki
uselang=foo should reference to existing pages in the content language in a s...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://nike.users.idler.fi/betawiki/s...
:
: 10703 (view as bug list)
Depends on: 5946
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-14 03:35 UTC by lɛʁi לערי ריינהארט
Modified: 2007-11-14 15:04 UTC (History)
3 users (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2006-05-14 03:35:12 UTC
Hallo!

Please do not thing at multilanguage wikies as commons and meta: now.

This report relates to installations where the content is in one language only
and where uselang=foo should preserve the links to the pages where the content
is available.

To ilustrate the problem compare
http://nike.users.idler.fi/betawiki/special:Statistics?uselang=en
with
http://nike.users.idler.fi/betawiki/special:Statistics?uselang=fi
the url from above
http://nike.users.idler.fi/betawiki/special:Statistics?uselang=fr
or use any other language.

The link to the page defined via [[MediaWiki:Administrators]] should be handeled
in the same way as [[MediaWiki:Mainpage]] and the other items from the
[[MediaWiki:Sidebar]] are handeled:
* the url does *not* change*
* the requested rendering could be described as
[[{{int:Administrators}}|{{int:Administrators/foo}}]]

See also
http://nike.users.idler.fi/betawiki/category:MediaWiki/content_titles?uselang=en
about a list of MediaWiki messages "pointing" to pages in the content language /
messages that should be handeled as such (but are not).

best regards reinhardt [[user:gangleri]]
Comment 1 Rob Church 2006-05-14 04:04:45 UTC
The specific case this bug reports is fixed in SVN trunk, r14214. The others
need looking into.
Comment 2 lɛʁi לערי ריינהארט 2006-05-14 11:19:13 UTC
Thanks Rob!

Another red content link is / might be [[IP Address]] at
http://nike.users.idler.fi/dev/index.php?title=user_talk:12.13.14.15&uselang=en

Not shure How [[MediaWiki:Ipaddress]] can be used as a "link" to a page in the
content language.
Comment 3 lɛʁi לערי ריינהארט 2006-05-14 12:00:26 UTC
Two more:

b)
editing a nonexisting page
http://nike.users.idler.fi/dev/index.php?title=Betawiki:Sandbox/page_does_not_exist&action=edit&uselang=en
see
http://nike.users.idler.fi/betawiki/MediaWiki_talk:Newarticletext?uselang=en
where
http://nike.users.idler.fi/betawiki/project:Help
is used

c) you need to have sysop rights:
deleting a page
http://nike.users.idler.fi/dev/index.php?title=MediaWiki_talk:Newarticletext/en&action=delete
see
http://nike.users.idler.fi/betawiki/MediaWiki_talk:Confirmdeletetext?uselang=en
where
http://nike.users.idler.fi/betawiki/project:Policy
is used

As a general rule I would say that all [[Foo]] links which do neither link to
namespace special, user, (also image, category) and all {{int:foo}} inclusions
should point to identical pages when uselang=bar is used / when the user
interface is changed to another language.

This includes in particular:
all refereences to pages as [[{{ns:Project}}:Foo]], [[{{ns:Help}}:Foo]].

*note*
Please note that upper case pagenames are prefered in order to have identical
titles also at wikies where $wgCapitalLinks=false; (first character in titles
can be lower case). If a reference erquires lower cases pipe syntax should be used.

example message syntax: "You find [[{{ns:Project}}:Help|help]] ..."

best regards reinhardt [[user:gangleri]]
Comment 4 lɛʁi לערי ריינהארט 2006-05-14 12:12:58 UTC
PS.

As already suggested *all* standard Mediawiki messages from Messages containing
[[{{ns:Project}}:Foo|translation]] / [[{{ns:Help}}:Foo|translation]] wikiliks or
[{{fullurl:{{ns:Project}}:Foo|prarameters]}} text] /
[{{fullurl:{{ns:Help}}:Foo|prarameters]}} text] type references should be
handeled as

[[{{int:URL type message}}|translation]] / [{{fullurl:{{int:URL type
message}}|prarameters]}} text]
Where {{int:URL type message}} is *always* using the content language.

Some of these "URL type message" exist already but might not be refered
consitently others need to be added to Message.php.
Comment 5 lɛʁi לערי ריינהארט 2006-05-14 12:45:45 UTC
*note*

Sorry to post this here:
http://nike.users.idler.fi/dev/index.php?title=MediaWiki_talk:Aboutsite&uselang=fi
differs from
http://nike.users.idler.fi/dev/index.php?title=MediaWiki_talk:Aboutsite&uselang=en
regarding the rendering of
[[{{int:Aboutsite}}]]

The first url shows {{int:Aboutsite}} in Finnish, the seccond shows
{{int:Aboutsite}} in English.

----

Would be happy to have a magic word as requested at
Bug 2085: request for a variable USERIFCODE (user interface language code)
in order to link always to {{int:Aboutsite/{{USERIFCODE}}}}

There is another issue about using /fi at a Finnish wiki (in general using
/{{USERIFCODE}} at a wiki in {{USERIFCODE}} language. It would *not* work.

See that {{int:Aboutsite/fi}}} does *neither* render at
http://nike.users.idler.fi/dev/index.php?title=MediaWiki_talk:Aboutpage&uselang=fi
*nor* at
http://nike.users.idler.fi/dev/index.php?title=MediaWiki_talk:Aboutpage&uselang=en

Please open another reports if you want to split the topics. Thanks in advance!
Comment 6 lɛʁi לערי ריינהארט 2006-05-14 13:18:21 UTC
(In reply to comment #5)

> Would be happy to have a magic word as requested at
> Bug 2085: request for a variable USERIFCODE (user interface language code)
> in order to link always to {{int:Aboutsite/{{USERIFCODE}}}}

This was the *wrong* reference. I did want to reference at:
Bug 5945: Variable {{CONTENTLANG}} (content language code)
Comment 7 lɛʁi לערי ריינהארט 2006-05-14 13:45:20 UTC
(In reply to comment #5)
> *note*
> 
> Sorry to post this here:
> http://nike.users.idler.fi/dev/index.php?title=MediaWiki_talk:Aboutsite&uselang=fi
> differs from
> http://nike.users.idler.fi/dev/index.php?title=MediaWiki_talk:Aboutsite&uselang=en
> regarding the rendering of
> [[{{int:Aboutsite}}]]
> 
> The first url shows {{int:Aboutsite}} in Finnish, the seccond shows
> {{int:Aboutsite}} in English.

The behaviour of {{inf:Foo}} when [[MediaWiki:Foo/bar]] exists *beside*
[[MediaWiki:Foo]] might be *intended*.

*but* if 
http://nike.users.idler.fi/dev/index.php?title=MediaWiki:Currentevents-url/en
does *not* exist {{int:Currentevents-url/en}} would render to the same
"destination" / "title" / "page".

see identical rendering at
http://nike.users.idler.fi/dev/index.php?title=MediaWiki_talk:Currentevents-url&uselang=en
and
http://nike.users.idler.fi/dev/index.php?title=MediaWiki_talk:Currentevents-url&uselang=fi
Comment 8 lɛʁi לערי ריינהארט 2006-05-14 13:48:01 UTC
(In reply to comment #3)

> This includes in particular:
> all refereences to pages as [[{{ns:Project}}:Foo]], [[{{ns:Help}}:Foo]].

This sshould apply also for [[{{ns:Template}}:Foo]] see
[[MediaWiki:Disambiguationspage]].
Comment 9 Niklas Laxström 2007-11-14 14:55:55 UTC
Translations are getting better regarding these links, I see no reason to keep this bug open.
Comment 10 Niklas Laxström 2007-11-14 15:04:13 UTC
*** Bug 10703 has been marked as a duplicate of this bug. ***

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


Navigation
Links