r74929 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74928‎ | r74929 | r74930 >
Date:22:10, 17 October 2010
Author:siebrand
Status:ok
Tags:
Comment:
Rename wikibhasha to WikiBhasha
Modified paths:
  • /trunk/extensions/WikiBhasha/WikiBhasha_body.php (added) (history)

Diff [purge]

Index: trunk/extensions/WikiBhasha/wikibhasha_body.php
@@ -1,21 +0,0 @@
2 -<?php
3 -
4 -class wikibhasha extends SpecialPage {
5 - function __construct() {
6 - parent::__construct( 'Wikibhasha' );
7 - }
8 -
9 - function execute( $par ) {
10 - global $wgRequest, $wgOut;
11 -
12 - $this->setHeaders();
13 -
14 - # Get request data from, e.g.
15 - $param = $wgRequest->getText( 'param' );
16 -
17 - # Do stuff
18 - # ...
19 - $output = "WikiBhasha";
20 - $wgOut->addWikiText( $output );
21 - }
22 -}
Index: trunk/extensions/WikiBhasha/WikiBhasha_body.php
@@ -0,0 +1,21 @@
 2+<?php
 3+
 4+class wikibhasha extends SpecialPage {
 5+ function __construct() {
 6+ parent::__construct( 'Wikibhasha' );
 7+ }
 8+
 9+ function execute( $par ) {
 10+ global $wgRequest, $wgOut;
 11+
 12+ $this->setHeaders();
 13+
 14+ # Get request data from, e.g.
 15+ $param = $wgRequest->getText( 'param' );
 16+
 17+ # Do stuff
 18+ # ...
 19+ $output = "WikiBhasha";
 20+ $wgOut->addWikiText( $output );
 21+ }
 22+}
Property changes on: trunk/extensions/WikiBhasha/WikiBhasha_body.php
___________________________________________________________________
Added: svn:eol-style
123 + native

Status & tagging log