DokuWiki

It's better when it's simple

أدوات المستخدم

أدوات الموقع


ar:namespaces

Namespaces

بالنسبة للـ Namespace فهي بالضبط مشابهة لفكرة المجلد وبالنسبة للـpagenames أو أسماء الصفحات فهي مشابهة تماماً لفكرة الملفات أي بإختصار فإن الـ Namespace يحتوي بداخله على pagenames .

In DokuWiki you can use so called “namespaces” to categorize your pages. For names of namespaces the same restrictions hold as for pagenames.!

Creating Namespaces

You don't need to create namespaces separately; simply create pages with colons in the pagename. The token after the last colon will be the name of the page itself, while all other tokens are namespaces. All namespaces used in your pagename that don't exist already will be created by DokuWiki automatically.

(In DokuWiki pages are created as in every other wiki. Simply create a link to a non existing page, follow this link, and click on Create this page.) Adding pages .

Examples:
example
.example
.:example
refers to the page “example” in the current namespace.
:examplerefers to the page “example” in the root namespace.
..example
..:example
.:..:example
refers to the page “example” in the parent namespace
wiki:examplerefers to the page “example” in the namespace “wiki”. The namespace “wiki” is located beneath the root namespace.
ns1:ns2:example
:ns1:ns2:example
refers to the page “example” in the namespace ns2. The namespace ns2 is located beneath the namespace ns1; the namespace ns1 is located beneath the root namespace.
.ns1:ns2:example
.:ns1:ns2:example
refers to the page “example” in the namespace ns2. The namespace ns2 is located beneath the namespace ns1; the namespace ns1 is located beneath the current namespace.
..ns1:ns2:example
..:ns1:ns2:example
refers to the page “example” in the namespace ns2. The namespace ns2 is located beneath the namespace ns1; the namespace ns1 is located beside the current namespace (i.e. both ns1 and the current namespace are beneath the same parent namespace, wherever according to the root namespace this parent may be located itself).
.ns1:ns2:refers to the page “start” in the namespace ns2. The namespace ns2 is located beneath the namespace ns1; the namespace ns1 is located beneath the current namespace.

(The default page can be named something other than “start” by adjusting the config configuration setting.)

Deleting Namespaces

When all pages inside a namespace are removed the namespace logically doesn’t exist anymore. DokuWiki usually deletes the now empty directory as well.

الطريق المختصر

من أجل إعادة تسمية الأسماء يدويا عليك :

إعادة تسمية المجلدات التي تمثل مساحة في :

         س
           صفحات البيانات /
         س
           البيانات / وسائل الإعلام (اذا كان هذا موجود)
   *
     إزالة بيانات التعريف لمساحة بموجب البيانات / ميتا
   *
     إزالة البيانات العلية لمساحة بموجب البيانات / العلية (أو نقل ما يزيد على كذلك ، إذا كنت ترغب في الحفاظ على الإصدارات القديمة)

على سبيل المثال ، على مضيف يونيكس ، هل يمكن أن :

ام / dokuwiki_base / صفحات البيانات / / old_namespace / dokuwiki_base / صفحات البيانات / / new_namespace

ام / dokuwiki_base / البيانات / وسائل الاعلام / old_namespace / dokuwiki_base / البيانات / وسائل الاعلام / new_namespace

جمهورية مقدونيا بين الترددات اللاسلكية / dokuwiki_base / البيانات / ميتا / old_namespace

جمهورية مقدونيا بين الترددات اللاسلكية / dokuwiki_base / بيانات / العلية / old_namespace

علما بأن old_namespace و / أو بعبارة new_namespace قد تحتاج إلى ترميز إذا كانت على غير مجموعة الأحرف اللاتينية (أي اليونانية والروسية ، الخ).

الصحيح (عن طريق تحرير لهم) جميع وصلات إلى صفحات تحت مساحة تحرك (يمكنك اكتشاف تلك الأسماء قبل أن ينتقل عن طريق استعراض كل صفحة في خلفية.

استعرض كل صفحة تحت مساحة جديدة. هذا سيخلق المفقودين فهرسة المعلومات والبيانات الوصفية للصفحات تحت مساحة تحرك.

ومع ذلك ، لا يزال لديك الكثير من خردة اليسرى حولها. على سبيل المثال في البيانات / changes.log ، مخبأ تحت مختلف الملفات (بما في ذلك ملفات. idx ، الخ). إذا كان ذلك ممكنا هل يمكن أن نبدأ من دولة فارغة على النحو التالي (مرة أخرى تحت يونكس) ولكنه حذر من أن هذا لن يعني فقدان كل ما تبذلونه من المعلومات التاريخية (أي التغييرات الأخيرة) :

القط / ديف / لاغية> / dokuwiki_base / بيانات / changes.log

جمهورية مقدونيا بين الترددات اللاسلكية / dokuwiki_base / بيانات / العلية / *

جمهورية مقدونيا بين الترددات اللاسلكية / dokuwiki_base / بيانات / مخبأ /؟

جمهورية مقدونيا بين الترددات اللاسلكية / dokuwiki_base / بيانات / مخبأ / *. idx

جمهورية مقدونيا بين الترددات اللاسلكية / dokuwiki_base / بيانات / مخبأ / purgefile

استعرض كل صفحة من صفحات ويكي.

شروط : أنا أفهم هذا هو ملتف (وربما فاتني / افسدت زوجين من الأشياء التي ينبغي عليك أن تفعل). كل شيء في كل هذا هو بيتا. يمكنك أيضا استخدام زوجين من الإضافات التي تتوفر ل(إعادة) بناء searchindex ليكي كاملة ، ومحو ذاكرة التخزين المؤقت بأكمله و / أو التنقيحات ويكي القديمة وبالتالي تجنب القيام بذلك يدويا.

المساعد الطريق

يمكنك استخدام طرف ثالث PageMove المساعد لنقل كل صفحة من الصفحات من مساحة الاسم القديم الى الجديد. الرجاء مراجعة الوثائق لمعرفة ما إذا كان هذا يناسب احتياجاتك.

Namespace Default Linking

It is possible to link to a default file of a namespace ending the linkid with a colon: [[foo:bar:]]. To which page the link links is dependent on the existance of certain named files. For [[foo:bar:]] the following pages are checked:

foo:bar:$conf['start']
foo:bar:bar
foo:bar

The pages are checked in that order and whatever page is found first will be linked to. Autoplural linking is not done for those links

:!: This feature is only available in 2006-09-28 RC1 version and above.

ARF

ar/namespaces.txt · آخر تعديل: 2015-08-01 21:24 بواسطة ach

مالم يشر لخلاف ذلك، فإن المحتوى في هذه الويكي مرخص وفق الرخصة التالية: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki