[Pywikipedia-l] [ pywikipediabot-Feature Requests-2540421 ] Don't translate #REDIRECT on pl-wiki
SourceForge.net
noreply at sourceforge.net
Tue Jan 27 14:00:04 UTC 2009
Feature Requests item #2540421, was opened at 2009-01-27 14:48
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2540421&group_id=93107
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Don't translate #REDIRECT on pl-wiki
Initial Comment:
As requested on my talk page here [http://de.wikipedia.org/wiki/Benutzer_Diskussion:Xqt#test_editionen_auf_pl.wiki], #REDIRECT-token on pl-wiki should not be translated. I added some code in fix_double_redirects (redirect.py) like this:
if (mysite.language() == 'pl'):
text = mysite.redirectRegex().sub(
'#REDIRECT %s' %
(
targetPage.aslink()),
oldText)
else:
[de:User:Xqt]]
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-01-27 15:00
Message:
Polish has 3 possibilities for #REDIRECT configured: '#REDIRECT', '#TAM',
'#PRZEKIERUJ'. In r6304 I added #REDIRECT as the primary magic word for a
redirect. "Not translating" is nonsense, as all 3 options are valid for
redirect, as the translations exist in MediaWiki core.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2540421&group_id=93107
More information about the Pywikipedia-l
mailing list