This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-01-13 13:33:11

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Source code for Scratch Wiki

As the source code for the Scratch website and forums are available publicly, is there any way I could have access to the source code of the Wiki? There are a few code mods in it that I find quite useful and would like to borrow.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#2 2013-01-13 22:13:15

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Source code for Scratch Wiki

jvvg wrote:

As the source code for the Scratch website and forums are available publicly, is there any way I could have access to the source code of the Wiki? There are a few code mods in it that I find quite useful and would like to borrow.

Isn't the Scratch Wiki just a modified version of MediaWiki?


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#3 2013-01-14 13:07:40

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Source code for Scratch Wiki

nathanprocks wrote:

jvvg wrote:

As the source code for the Scratch website and forums are available publicly, is there any way I could have access to the source code of the Wiki? There are a few code mods in it that I find quite useful and would like to borrow.

Isn't the Scratch Wiki just a modified version of MediaWiki?

Yeah, but I want the code for the modifications.
Like how these forums are a modified version of PunBB or FluxBB (the code suggests both), but they're still open-source.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#4 2013-01-14 13:21:04

Devloper123
Scratcher
Registered: 2011-11-27
Posts: 100+

Re: Source code for Scratch Wiki

It's easy go to main page click the button "Source Code"  View it.Done!Are you doing Instanity Wiki?


http://i45.tinypic.com/2jafczs.gifAnd Dev! Sign up on this forum!i like the  tongue  emoticon

Offline

 

#5 2013-01-14 14:44:53

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Source code for Scratch Wiki

Devloper123 wrote:

It's easy go to main page click the button "Source Code"  View it.Done!Are you doing Instanity Wiki?

That lets me view the source code for the main page (the page source, written in Wiki markup), but not the source code for the whole Wiki app (written in PHP/MySQL).


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#6 2013-01-16 11:24:03

Devloper123
Scratcher
Registered: 2011-11-27
Posts: 100+

Re: Source code for Scratch Wiki

jvvg wrote:

Devloper123 wrote:

It's easy go to main page click the button "Source Code"  View it.Done!Are you doing Instanity Wiki?

That lets me view the source code for the main page (the page source, written in Wiki markup), but not the source code for the whole Wiki app (written in PHP/MySQL).

Incorrect just do page by page


http://i45.tinypic.com/2jafczs.gifAnd Dev! Sign up on this forum!i like the  tongue  emoticon

Offline

 

#7 2013-01-16 12:28:41

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Source code for Scratch Wiki

Devloper123 wrote:

jvvg wrote:

Devloper123 wrote:

It's easy go to main page click the button "Source Code"  View it.Done!Are you doing Instanity Wiki?

That lets me view the source code for the main page (the page source, written in Wiki markup), but not the source code for the whole Wiki app (written in PHP/MySQL).

Incorrect just do page by page

That gives me the XHTML code, which is not helpful if I need the PHP/MySQL code.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#8 2013-01-16 21:33:34

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Source code for Scratch Wiki

jvvg wrote:

Devloper123 wrote:

jvvg wrote:

That lets me view the source code for the main page (the page source, written in Wiki markup), but not the source code for the whole Wiki app (written in PHP/MySQL).

Incorrect just do page by page

That gives me the XHTML code, which is not helpful if I need the PHP/MySQL code.

Yep, as PHP is a server side language, so

Code:

echo "hi";

will only show up as

Code:

hi

.

It is not helpful to see just that.

Last edited by pwiter (2013-01-16 21:34:01)


http://i.imgur.com/YBeXc.png

Offline

 

#9 2013-01-29 06:13:19

Devloper123
Scratcher
Registered: 2011-11-27
Posts: 100+

Re: Source code for Scratch Wiki

Try this right clicking on the page then click view source and copy it and convert it to PHP


http://i45.tinypic.com/2jafczs.gifAnd Dev! Sign up on this forum!i like the  tongue  emoticon

Offline

 

#10 2013-01-29 07:17:23

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Source code for Scratch Wiki

PHP hides itself from the browser for security reasons, so you can't "convert" it.


I support the Free Software Foundation. Protect our digital rights!

Offline

 

Board footer