Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Talk:Main Page
(section)
Add topic
Main Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Add topic
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== PHP scripts in MediaWiki pages == Hey guys. I'm a sysop at a small wiki called "[[wikicities:c:N:Main Page|N at Wikicites]]" (InterWiki prefix: wikicities:c:N:). This wiki is about a game called N. It has 500 levels in 100 episodes and every level and episode has its own highscore. It's nearly impossible to manage this huge amount of highscores manually so I thought about a PHP script to read the highscores from a database server. I tried a small Hello World PHP script in the sandbox of the german Wikipedia but it didn't work. The code <?php echo "Hello World..." ?> was displayed instead of the expected output (Hello World...). A nowiki section didn't solve the problems. What can I do? -- [[wikicities:c:N:User:Lord of Destiny|Lord of Destiny]] -- [[User:80.184.190.34|80.184.190.34]] 18:39, 20 October 2005 (UTC) :Allowing execution of arbitrary PHP code from within a wiki page would be a major security hole, hence it isn't permitted. You might find it's possible to [[writing your own MediaWiki extension|write an extension]] to do what's needed, and persuade Wikia to install it for your wiki. [[User:Robchurch|Rob Church]] ([[User_talk:Robchurch|talk]]) 18:09, 10 April 2006 (UTC)
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Talk:Main Page
(section)
Add topic