Page MenuHomePhabricator

Add index namespace needed for proofread page to fawikisource
Closed, ResolvedPublic

Description

Would you please activate for fa.wikisource?


Version: unspecified
Severity: enhancement

Details

Reference
bz31242

Event Timeline

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

excuse me for last message.

Would you please activating Proofread Page extension for fa.wikisource?

It looks already activated to me (but it does appear to be missing the index namespace, which probably is screwing things up. )

also it doesn't activated for other wikisources such as (de,fr,ja,ko,...)

(In reply to comment #3)

also it doesn't activated for other wikisources such as (de,fr,ja,ko,...)

If its not actived on de, what exactly is http://de.wikisource.org/wiki/Seite:00_Ausf%C3%BChrlicher_Bericht.jpg coming from?

Created attachment 9126
desktop veiw

Attached:

Untitled.png (768×1 px, 282 KB)

in front of interwikis ih
http://fa.wikisource.org/wiki/%D8%B5%D9%81%D8%AD%D9%87_%D8%A7%D8%B5%D9%84%DB%8C
I cannot see <-> icon to switch
please compare it with English version

(In reply to comment #7)

in front of interwikis ih
http://fa.wikisource.org/wiki/%D8%B5%D9%81%D8%AD%D9%87_%D8%A7%D8%B5%D9%84%DB%8C
I cannot see <-> icon to switch
please compare it with English version

That is the double wiki extension, not proofread page (and even then, I think that might be a local js hack and not even part of that extension. Can't remember)

thank you for your advice it solved with js that was in mediawiki:common.js

Changing status to "invalid" [although really, that sort of thing should be in the extension itself instead of the local js] (I assume setting to assigned wasn't what you meant)

cheers.

if you add them to extension that is cool and nessesery

(In reply to comment #12)

in fa.wikisourse Proofread Page has error help help us to install it
http://fa.wikisource.org/wiki/%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1:Reza1615/test

Well the error message says no such index. And no such index page exists. So I'd call this normal behaviour...

However, fawikisource currently doesn't have an index namespace which it should (doesn't cause this error specificly, but it really should have one).

So, it should have a new namespace named اندیس (I have no idea what the talk namespace should be. Whatever index_talk is translated into fa). Additionally, the namespace should have an alias named 'Index' (since all the other wikisources do).

(cc'ing thomasV who knows about the extension in case I said anything overly stupid, so he could correct me)

please add these alternatives alias named for fa.wikisource
for index==>فهرست
for index_talk==>بحث فهرست

tahmoress wrote:

Please disregard the above suggested persian expression for index_talk. Use instead for index_talk گفتگوی فهرست
Bellavista1957
Admin fa Wikisource

p.s. Please do contact Admin before changing or adding name space

we made all of categories and templates would you please add
page==> صفحه
index==>فهرست
index_talk==>گفتگوی_فهرست
page_talk==>گفتگوی_صفحه

Have we any consensus what you actually want actioning?

we want to active proofread page in fa.wikisource but it has this error
http://fa.wikisource.org/wiki/%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1:Reza1615/test
it is because we don't have these aliases in fa.wikisource

http://www.mediawiki.org/wiki/Extension:Proofread_Page#Configuration

Page NS already existed

Index NS added

What else actualy needs doing?

please add comment 16 alternatives

I have:

http://fa.wikisource.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces|namespacealiases

<ns id="104" xml:space="preserve">Page</ns>
<ns id="105" xml:space="preserve">Page talk</ns>
<ns id="106" xml:space="preserve">Index</ns>
<ns id="107" xml:space="preserve">Index talk</ns>

<ns id="104" case="first-letter" canonical="برگه" content="" xml:space="preserve">برگه</ns>
<ns id="105" case="first-letter" canonical="بحث برگه" xml:space="preserve">بحث برگه</ns>
<ns id="106" case="first-letter" canonical="فهرست" xml:space="preserve">فهرست</ns>
<ns id="107" case="first-letter" canonical="گفتگوی فهرست" xml:space="preserve">گفتگوی فهرست</ns>

http://fa.wikisource.org/wiki/%D9%85%D8%AF%DB%8C%D8%A7%D9%88%DB%8C%DA%A9%DB%8C:Proofreadpage_namespace

http://fa.wikisource.org/wiki/%D9%85%D8%AF%DB%8C%D8%A7%D9%88%DB%8C%DA%A9%DB%8C:Proofreadpage_index_namespace

please change

<ns id="105" case="first-letter" canonical="بحث برگه"

to

<ns id="105" case="first-letter" canonical="گفتگوی برگه"

also i changed our mediawiki:Proofreadpage_namespace but we have still
this error
http://fa.wikisource.org/wiki/%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1:Reza1615/test

it doesn't change i checked http://fa.wikisource.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces|namespacealiases

it has some problem in
<ns id="100" case="first-letter" canonical="درگاه" xml:space="preserve">درگاه</ns>

<ns id="101" case="first-letter" subpages="" canonical="بحث درگاه" xml:space="preserve">بحث درگاه</ns>
<ns id="102" case="first-letter" canonical="مؤلف" content="" xml:space="preserve">مؤلف</ns>
<ns id="103" case="first-letter" canonical="بحث مؤلف" xml:space="preserve">بحث مؤلف</ns>
<ns id="104" case="first-letter" canonical="برگه" content="" xml:space="preserve">برگه</ns>
<ns id="105" case="first-letter" canonical="بحث برگه" xml:space="preserve">بحث برگه</ns>
<ns id="106" case="first-letter" canonical="فهرست" xml:space="preserve">فهرست</ns>
<ns id="107" case="first-letter" canonical="گفتگوی فهرست" xml:space="preserve">گفتگوی فهرست</ns>

none of them doesn't have English alias names. please compare it with

<ns id="14" case="first-letter" canonical="Category" xml:space="preserve">رده</ns>
<ns id="15" case="first-letter" subpages="" canonical="Category talk" xml:space="preserve">بحث رده</ns>

Fixed this time

The namespace aliases are set

<namespacealiases>
  <ns id="100" xml:space="preserve">Portal</ns>
  <ns id="101" xml:space="preserve">Portal talk</ns>
  <ns id="102" xml:space="preserve">Author</ns>
  <ns id="103" xml:space="preserve">Author talk</ns>
  <ns id="104" xml:space="preserve">Page</ns>
  <ns id="105" xml:space="preserve">Page talk</ns>
  <ns id="106" xml:space="preserve">Index</ns>
  <ns id="107" xml:space="preserve">Index talk</ns>
  <ns id="6" xml:space="preserve">Image</ns>
  <ns id="7" xml:space="preserve">Image talk</ns>
  <ns id="-2" xml:space="preserve">رسانه</ns>
  <ns id="-2" xml:space="preserve">رسانه‌ای</ns>
  <ns id="6" xml:space="preserve">تصویر</ns>
  <ns id="7" xml:space="preserve">بحث تصویر</ns>
</namespacealiases>

So the canonical ones don't matter. It's the same everywhere else

http://de.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces|namespacealiases

(In reply to comment #26)

thank you but we another error please compare
http://toolserver.org/~mzmcbride/checker/?db=enwikisource_p&title=%DD%E5%D1%D3%CA%3AThe+life+of+Matthew+Flinders.djvu

http://toolserver.org/~mzmcbride/checker/?db=enwikisource_p&title=Index%3AThe+life+of+Matthew+Flinders.djvu

Those errors are errors with that script. I have poked the maintainer of the script.

(In reply to comment #26)
http://fa.wikisource.org/wiki/%D9%81%D9%87%D8%B1%D8%B3%D8%AA:The_life_of_Matthew_Flinders.djvu

page doesn't show its contents

The editing seems to work fine

What do you think it should do? (Note, I'm not familiar with proofreadpage OR doublewiki)

I copied this page to fa wiki as a example.
http://en.wikisource.org/wiki/Index:The_life_of_Matthew_Flinders.djvu

i have two problems
1- the final result is not the same
http://fa.wikisource.org/wiki/%D9%81%D9%87%D8%B1%D8%B3%D8%AA:The_life_of_Matthew_Flinders.djvu
2-i check en.wiki commons.js but i couldn't find how in
http://en.wikisource.org/w/index.php?title=Index:The_life_of_Matthew_Flinders.djvu&action=edit
they defined these variations?but in fa.wiki we don't have also in Italian
wiki their are different !

Table of Contents:
Scan resolution in edit mode:
Css:
Header:

I don't understand the problems. What part of the "final result is not the same"? and in your second issue what "variations" are you trying to locate the definitions for?

The index page is a template defined in ''MediaWiki:Proofreadpage index template'' The display of the page is controlled by a javascript at ''MediaWiki:Proofreadpage js attributes''. The edit "form" for the page is another javascript defined by ''MediaWiki:Proofreadpage index attributes''. ''MediaWiki:Proofreadpage index namespace'' is necessary to tell the scripts what the local name of the namespace is. There are links for comparison between Latin Wikisource and English Wikisource in my userspace at http://la.wikisource.org/wiki/Usor:Doug/mw (not everything on that page is relevant, just the top part. You should also review http://wikisource.org/wiki/Wikisource:ProofreadPage#Configuring_index_pages. You can temporarily bypass the javascript forms by turning off your javascript and view the raw edit mode of the index page, this should make the situation clear.

But you appear to know this as these are all defined on fa.ws

(In reply to comment #29)

I don't understand the problems. What part of the "final result is not the
same"? and in your second issue what "variations" are you trying to locate the
definitions for?

The index page is a template defined in ''MediaWiki:Proofreadpage index
template'' The display of the page is controlled by a javascript at
''MediaWiki:Proofreadpage js attributes''. The edit "form" for the page is
another javascript defined by ''MediaWiki:Proofreadpage index attributes''.
''MediaWiki:Proofreadpage index namespace'' is necessary to tell the scripts
what the local name of the namespace is. There are links for comparison
between Latin Wikisource and English Wikisource in my userspace at
http://la.wikisource.org/wiki/Usor:Doug/mw (not everything on that page is
relevant, just the top part. You should also review
http://wikisource.org/wiki/Wikisource:ProofreadPage#Configuring_index_pages.
You can temporarily bypass the javascript forms by turning off your javascript
and view the raw edit mode of the index page, this should make the situation
clear.

But you appear to know this as these are all defined on fa.ws

thank you your comment was very handy.
the only minor problem is that i don't know how can i set page inputs (چگونگی نمایش برگه‌ها:) left to right direction?

http://fa.wikisource.org/w/index.php?title=%DD%E5%D1%D3%CA:The_life_of_Matthew_Flinders.djvu&action=edit

(In reply to comment #30)

thank you your comment was very handy.
the only minor problem is that i don't know how can i set page inputs (چگونگی
نمایش برگه‌ها:) left to right direction?

http://fa.wikisource.org/w/index.php?title=%DD%E5%D1%D3%CA:The_life_of_Matthew_Flinders.djvu&action=edit

If you haven't found out how to change the direction yet, I suggest you ask SPQRobin for input.

Since the namespace issue has been dealt with, I am closing this bug.