Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

User:MichaelH/Wiki Tips and Tricks

Special Pages

Linking to a section in another Codex Article

To link to specific section of an article, such as the Administrative Panels->Link Categories section you can use the # sign. The link in the previous sentence looks like this: [[Administration_Panels#Link Categories|Link Categories Administrative Panels->Link Categories section]]

Linking correctly to The Loop

  • The Loop [[The Loop]] is the correct way to link to The Loop article.
  • the loop [[the loop]] doesn't work, puts you in edit mode.
  • The loop [[The loop]] doesn't work, puts you in edit mode.
  • the Loop [[the Loop]] doesn't work, puts you in edit mode.
  • The_Loop [[The_Loop]] is another correct way to link to The Loop article.
  • the_loop [[the_loop]] doesn't work, puts you in edit mode.
  • The_loop [[The_loop]] doesn't work, puts you in edit mode.
  • the_Loop [[the_Loop]] doesn't work, puts you in edit mode.

Signature with User (talk) embedded

Codex Guidelines recommend a signature when making entries to User Talk pages. I saw Carthik's cool signature line, so, from WikiMedia Help, found you can customize how your signature gets rendered when you use the wiki text conversion "~~~~".

So, in my Preferences Nickname field I put:

MichaelH]] [[User_talk:MichaelH|(talk)

The wiki text conversion renders the ~~~~ to something like this:

[[User:MichaelH|MichaelH ]] [[User_talk:MichaelH|(talk)]] 16:15, 12 May 2005 (UTC)

And, in the User's Talk page it looks like this:

MichaelH (talk) 16:15, 12 May 2005 (UTC)

Database error

Seems like this error occurs when database is busy? Usually retrying solves...

Database error
From Codex
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

    (SQL query hidden)

from within function "MediaWikiBagOStuff:_doquery". MySQL returned error "1062: Duplicate entry 'codexwo_mw:messages:Sitenotice' for key 1 (localhost)".

Making <pre> do nicer wrapping

<pre style="white-space:normal;"> BOX Contents </pre>