Page MenuHomePhabricator

Update for Bishnupriya Manipuri language (bpy) file
Closed, ResolvedPublic

Description

Author: usingha

Description:
I would like to request to update bpy wikipedia interface file. I am attaching the file
MessagesBpy.php for approval. In my file I changed following, but I am not sure is
valid or not, maybe 'ns_project' refer to 'ns_wikipedia'. If not valid then I have to
localize only one ither ns_project or ns_wikipedia. If valid then I do not have to
chane my attached file, and it will be the final version.

NS_PROJECT => 'প্রকল্প',
NS_PROJECT_TALK => 'প্রকল্পর_য়্যারী',
NS_WIKIPEDIA => 'উইকিপিডিয়া',
NS_WIKIPEDIA_TALK => 'উইকিপিডিয়ার_য়্যারী',

Also I requested in bug:8300 to add extra namespace which is following:

100 => "Portal" => "হমিলদুৱার ",
101 => "Portal Talk" =>হমিলদুৱার য়্যারী ,
Thanks in advance.

Regards
Uttam Singha
admin: bpy wikipedia
username: Usingha


Version: 1.9.x
Severity: normal

Details

Reference
bz8406

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:34 PM
bzimport set Reference to bz8406.
bzimport added a subscriber: Unknown Object (MLST).

usingha wrote:

bpy interface file for wikipedia

attachment MessagesBpy.php ignored as obsolete

titoxd.wikimedia wrote:

So, the request for the Project namespace was abandoned, or did you request
another name?

titoxd.wikimedia wrote:

*** Bug 8300 has been marked as a duplicate of this bug. ***

titoxd.wikimedia wrote:

There is no constant named NS_WIKIPEDIA; the "Wikipedia namespace" just uses
NS_PROJECT. If you want a WikiProject namespace, it has to be created as
namespaces 102 and 103.

usingha wrote:

No, in bug 8300 I requested to add extra namespace called 102=>project, and
103=>project talk, and I got replyed that both name are reserved, so was not done. I
request here to update bpy interface file with attaced new patch file.
Thnaks

titoxd.wikimedia wrote:

The problem is that you cannot have both a NS_WIKIPEDIA and a NS_PROJECT
constant with different values, as NS_PROJECT is the same thing as NS_WIKIPEDIA,
just for newer versions. In other words, either one value will override the
other, or both will cause a conflict and throw an error message.

usingha wrote:

Yes. I would like to do that to following to add extra namespace:

100 => "হমিলদুৱার ",
101 =>হমিলদুৱার য়্যারী ,
102 => 'প্রকল্প',
103 => 'প্রকল্পর_য়্যারী',

Also for the interface file I will attached a new patch.
Thanks

usingha wrote:

Latest interface file for bpy wiki

Updated according to your last reply, and kept only following. I delete
ns_wikipedia lines.

NS_PROJECT => 'উইকিপিডিয়া',
NS_PROJECT_TALK => 'উইকিপিডিয়ার_য়্যারী',

attachment MessagesBpy.php ignored as obsolete

robchur wrote:

The actual text values for NS_PROJECT and NS_PROJECT_TALK come from the site
configuration; NS_PROJECT is taken from $wgMetaNamespace, or else falls back to
$wgSitename. NS_PROJECT_TALK is taken from $wgMetaNamespaceTalk or else falls
back to a default defined here, which for English looks something like:

NS_PROJECT_TALK => '$1_talk'

This causes the project namespace name to be prepended to "talk", which for the
English Wikipedia would produce something like "Wikipedia" + "talk" =
"Wikipedia_talk".

You don't define custom namespaces in this file; this is done solely from the
site configuration. If the project namespace is showing up incorrectly on a live
wiki, please open a bug to request that this be corrected. If something needs to
be customised for the live site, then the same process applies. The language
files themselves should be kept wiki-neutral, that is, they ship to other,
third-party users of MediaWiki without mentioning "Wikipedia" in them.

I'm reopening bug 8300. Please close this bug and open others to cover the
intention behind this request.

usingha wrote:

Dear Rob Church, thanks for your tips, but still I have some translations to add to
bpy language interface. I am attaching a new corrected file for that.

I kept NS_PROJECT_TALK => '$1_য়্যারী',
Thanks again.
Regards
Uttam Singha

usingha wrote:

updated bpy interface file

I am attaching corrected file for bpy language interface.

attachment MessagesBpy.php ignored as obsolete

usingha wrote:

Sorry I forgot to ask two more thing.

  1. How do I localize SITENAME=>উইকিমিডিয়া . I could not find this option on MediaWiki
  2. User_Talk page count as an article on bpy wikipedia, how to fix?

Thnaks again.

usingha wrote:

Sorry, correcting my spelling to SITENAME=>উইকিপিডিয়া for Wikipedia. Before I said
Wikimedia.

rotemliss wrote:

First, please attach a patch, not the whole file: see
http://www.mediawiki.org/wiki/Subversion#Making_a_diff .

About your questions:

  1. Open a bug in the Wikimedia component. {{SITENAME}} is defined as $wgSitename

in Wikimedia's settings file.

  1. I will check it soon in a test installation.

usingha wrote:

I am attaching here the new patch file for bpy language interface. I include here
only the chage. This is not the whole file you may compare. Thanks a lot

usingha wrote:

patch for bpy interface

attachment patch-MessagesBpy.php ignored as obsolete

rotemliss wrote:

Comment on attachment 2977
patch for bpy interface

It is not a patch.

usingha wrote:

Sorry. May be I miss understood. Would you instruct me how do I make a patch? I just
included only the change, nothing same with original file. Thanks again

usingha wrote:

OK. Thanks. I just made a text file, and excludeed all php tags. Please see the
attachment. Thanks again

usingha wrote:

this is a text file to patch bpy language interface file.

attachment patch-MessagesBpy.txt ignored as obsolete

rotemliss wrote:

Comment on attachment 2978
this is a text file to patch bpy language interface file.

It is not a patch. See http://www.mediawiki.org/wiki/Subversion#Making_a_diff
for instructions how to make a patch. Short command: "svn diff".

usingha wrote:

bpy interface patch

I am attaching here new patch file which I created using tortoiseSVN programme.
I hope this is correct. If not I will try again.
Thanks

attachment bpy.patch ignored as obsolete

usingha wrote:

Comment on attachment 2981
bpy interface patch

I think this file excluding old (orginal file). I want to add new lines and
also modify some on original file.

usingha wrote:

Patch for Bishnupriya Manipuri language interface

Let me explain you first, how did I make the patch. I download the orginal file
and change on that file, and after that using TortoiseSVN programe I made this
patch. Sorry for the mess. Thanks for your time & tips.
Regards
Usingha

Attached:

Applied last patch plus normalization in r18844.