Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Naming convention  (Read 4415 times)

0 Members and 1 Guest are viewing this topic.

Felsir

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 875
  • Last login:September 28, 2022, 01:21:47 pm
  • Creating cab artwork
    • Felsir's World
Naming convention
« on: March 31, 2006, 08:39:29 am »
As some who have edited articles might have noticed: the wiki is case sensitive. Not only that to add wikilinks in an article some titles aren't very convenient. Example:
The article "Arcade Monitors". While the capitalisation and use of plural does look nicer as title of an article it is very inconvenient if you want to wikilink to it. A wiki sentence would look like this: "Instead of a PC monitor you can also use an arcade monitor." To wikilink the "arcade monitor" part one would initially see this: "Instead of a PC monitor you can also use an [[Arcade Monitors]]." To correct the capitalisation and plural form of A.M. one can use this: [[Arcade Monitors|arcade monitor]]. The first part is the actual name of the article, the second part (after the 'pipe' character) is the text you wish to see in the sentence.
This might be tedious when wikifying a lot of text. The wiki itself has a few features:
* it automatically capitalises the first character of a wiki article. [[arcade monitor]] leads to the article "Arcade monitor".
* it expands the link with the characters immediatly after the last bracket: [[arcade monitor]]s shows up as arcade monitors in the wikitext but leads to "arcade monitor".
* the pipe method as described above to have alternative text "This software is [[cabinet friendly software|cabfriendly]]." produces "This software is cabfriendly" and the link points to the correct article.

Now, there already is a lot of content in the wiki, so it is too much work to change all that. The wiki also has one feature: redirects. With a redirect you can automatically point to the right article content. For example I added the redirect "arcade monitor" to point to "Arcade Monitors". This makes is far easier to use "arcade monitor" in wikitexts.
A redirect page can be made like this, create a page with the 'source' name like you would with any other article. The content of that artcile would be:
Code: [Select]
#REDIRECT [[article of your choice]]Now the page redirects to the article of your choice.

So when adding articles either keep the title in lowercase (except when uppercase is the convention like in "MAME" or a software title etc.) and singular. If you wish to make the article title different, in that case make a redirect to make life easier for other contributors.

Felsir

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 875
  • Last login:September 28, 2022, 01:21:47 pm
  • Creating cab artwork
    • Felsir's World
Re: Naming convention
« Reply #1 on: March 31, 2006, 08:42:18 am »
ps. not trying to lecture here, my aim is to make a high-quality wiki  ;D

saint

  • turned to the Dark Side
  • Supreme Chancellor
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6144
  • Last login:March 17, 2024, 07:49:54 am
  • I only work in cyberspace...
    • Build Your Own Arcade Controls
Re: Naming convention
« Reply #2 on: March 31, 2006, 09:13:44 am »
You have the mad wiki skills - please continue to point these things out :)

ps. not trying to lecture here, my aim is to make a high-quality wiki  ;D
--- John St.Clair
     Build Your Own Arcade Controls FAQ
     http://www.arcadecontrols.com/
     Project Arcade 2!
     http://www.projectarcade2.com/
     saint@arcadecontrols.com

Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1888
  • Last login:September 26, 2023, 11:32:13 am
  • Space Fractal
    • Space Fractal
Re: Naming convention
« Reply #3 on: March 31, 2006, 12:20:29 pm »
It would been great if url is automatisk translated to small lowercase (so we only bother if there is a s in the end or not (like "arcade monitor" or "arcade monitors").

Otherwice your are right, but Im are still not good to use all wiki system, wich Im are new to that (started when I made the jukebox section). So I may missing some things.
« Last Edit: March 31, 2006, 12:26:10 pm by Space Fractal / Denmark »
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.