Page naming guide

From Shareaza Wiki
Jump to navigation Jump to search

Page naming guide (project)(alpha test)

You can add your comment, additions etc.


Warning: This is project of page by OCE with help of external (CC) and (C) sources not mentioned yet, so this page CAN'T be launched before completing this or will break rules. For now for editing purposed only.





Page Naming Guide

Page naming for the Shareaza Wiki is relatively straightforward, but it's important you get it correct.

General conventions

Capitalization

Page names should use sentence style capitalization (only capitalize the first word and any proper nouns) rather than headline style capitalization:

  • Correct: "A new method for creating Shareaza plugins"
  • Incorrect: "A New Method for Creating Shareaza Plugins"
For the time being these capitalization rules for page names apply only to new pages. There are a large number of pages in our wiki that do not conform to these rules, but please do not correct those at this time, as links could be broken. This will have to be corrected when whole wiki will be recovered and then only fixed together in one point of time. What generaly means we will have to do it somewhere in future.

Characters between words

Page names should use underscores "_" between words and describing text spaces " ". This characters are treated by wiki transparently, like they would not be there. These are following: "_", " ", ":", "/". This allow single words in page name to be found during wiki searching, what is important when effective searching, so user-friendliness is taken under consideration. Underscores "_" forces not forgetting about needed characters or accidental double characters, and also shows that this is page name, but not describing text, and where page name begins/ends, so allow to make less mistakes in addressing links in wiki, especially in translated pages. So finnaly:

  • Correct: for page name - "A_new_method_for_creating_Shareaza_plugins" and for describing text - "A new method for creating Shareaza plugins
  • Incorrect: "ANewMethodForCreatingShareazaPlugins"
For the time being these inter-characters, joining characters, rules for page names apply only to new pages. There are a large number of pages in our wiki that do not conform to these rules, but please do not correct those at this time, as links could be broken. This will have to be corrected when whole wiki will be recovered and then only fixed together in one point of time. What generaly means we will have to do it somwhere in fututre.

Translated page

Translated page is named as English one followed by "/LanguageSufix":

  • Correct: "Main/pl"
  • Incorrect: "plMain" or "pl/Main

Sufixes are used by Template:Languages to generate box like this one:

for identification of page language and displaying link in box created by template on page.

Every language got own and unique sufix:

  • /de - German
  • /fr - French
  • /it - Italian
  • /nl - Dutch
  • /pl - Polish
  • /pt - Portuguese
  • /ru - Russian
  • /sp - Spanish
  • /zh-hunt - Chinese

>>>> there is ISO standard describing this names with 2 letters, all of them, we should follow it.

(this list ought to be completed)

Please note that in case you are creating a page with a unique title in a non-English language, this title should be in English and be followed by the correct language suffix in order to make translations possible at a later time.

Translation of page ought to be done translating from English page. In case of doubts in content English version prevails, and normally translated page should be corrected according to English one.

One-page articles

Content with a unique title

If you are adding an article or other content that only requires a single page in the wiki, simply use the name of that article as the page name.

For example, the page for a one-page article called "A new approach to Shareaza plugins" would be, simply A new approach to Shareaza plugins. So long as your content title is unique, this is the easiest and preferred approach, but please remember only in that case.

Content with a non-unique title

Wherever possible, you should try to create content with unique titles, in order to simplify the page naming as much as possible. If this is impossible, prefix the title with the topic, followed by a colon and no spaces.

For example, if I needed to add a page called "Optimization", simply calling the page "Optimization" would create a possible conflict as Optimization can apply to a wide variety of topics within the wiki. If my Optimization article was specifically about download, I would expand my title so it is unique (ie: download optimization).

It is a best-practice within this wiki to have unique article titles wherever possible.

Multiple-page content

If the content you are adding to the wiki requires multiple pages, use the following page naming method.

If you don't use the pathname-like hierarchy depicted here, your articles will all be located at the top of the hierarchy, instead of nested.

Comments

Added one necessary line. BTW, Oce, why don't you use Wiki formatting in here? Any special reason for that? Old death 21:41, 7 March 2010 (UTC)

Because I am lazy, should do it. Have you seen how list look like? Underscores in page names? 13:19, 8 March 2010 (UTC)
Underscores in page names: Shareaza Settings and Shareaza_Settings link to the same page... If you create a new page, use underscores; when linked from within the Wiki, these underscores are not needed however... BTW, to sign your comments, you can type 4 tides ('~') in a row. mfg, Old death 01:42, 8 March 2010 (UTC)
I think underscores force not to loose any character as it could lead to wrong linking. If they are transparent then it is good, and also they shows this is link address, not a text. If that works for searching so give the same search result then it is ok IMHO. Ocexyz 13:20, 8 March 2010 (UTC)

There is a question I can't find good rule. Example is name of "magnet link". Wheather "Magnetlink" or "MagnetLink" or just "Magnet". I am pretty sure there will be some cases when 2 or more words should be written together as describe something, a term or conception, just better.

As for whether this should be written in one or in two words, I think it should be written in two words separated by a space to allow to be found when either searching for "link", "magnet" and "magnet link".
In this case, "Magnet" is a proper name, so it should be capitalized. "link" however, is a normal English word that should be written small. The name should therefore be "Magnet link". But note that in the Wiki, this does not change anything, as the Wiki automatically capitalizes every page name.
mfg, Old death 11:52, 9 March 2010 (UTC)