Page MenuHomePhabricator

Add additional namespaces variants to projects in Yiddish
Closed, ResolvedPublic

Description

Author: gangleri

Description:
Dear friends!

Contributors at Yiddish Wikipedia have askes multiple times to be able to use
beside the actual namespaces also other variants without tsvey vovn, vov-yud and
[[niqqud]]. See [[yi:project:געמיינדע#namespaces]].

I have posted a patch at [[yi:project:Namespaces#function_getNsIndex]]. I do
neither have an UTF-8 compatible editor nor CSV available here.

The patch is a simple insert. Thanks in advance for implementing it.

best regards reinhardt [[user:gangleri]]


Version: 1.6.x
Severity: enhancement
URL: http://yi.wikipedia.org/wiki/project:Namespaces#function_getNsIndex

Details

Reference
bz4960

Event Timeline

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

gangleri wrote:

Thanks Niklas for the the help!

A "case" statement could be more efficient then the multiple "if"'s.

Here some test links to verify if patch works.

http://yi.wikipedia.org/wiki/project:Namespaces#test_links
http://yi.wiktionary.org/wiki/project:Namespaces#test_links

What about pages having such "prefixes"? What about "link tables"? Is any
maintenance update required?

best regards reinhardt [[user:gangleri]]

gangleri wrote:

http://de.wikipedia.org/wiki/Gangleri (was a nonexistent url)
Fatal error: Call to undefined function: dba_open() in
/usr/local/apache/common-local/php-1.5/includes/Title.php on line 436

*BTW*
The patch can be improuved:
a case statement and a good interpreter / compiler keeps the expressions in the
CPU registers;

Please *STOP* adding unrelated crud constantly to bug reports.

gangleri wrote:

(In reply to comment #4)

Please *STOP* adding unrelated crud constantly to bug reports.

Sorry for the wrong url in comment 3. When I pasted the url I hade 10 open tabs
in a new FF browser version. I have seen the bug 4981 first on [[yi:]] and was
not able to see / detect if the patch is life or not.

gangleri wrote:

This patch is life. Test pages and tests in sandbox work fine.
Thanks for all your help.

Marking as FIXED.

best regards reinhardt [[user:gangleri]]