Mhaque has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/386468 )
Change subject: init commit, change email
......................................................................
init commit, change email
Change-Id: Id4e0624af054fff9a87c44b64cd68abecece75a3
---
M Example/Example.hooks.php
1 file changed, 5 insertions(+), 5 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/examples
refs/changes/68/386468/1
diff --git a/Example/Example.hooks.php b/Example/Example.hooks.php
index 0e2b4f5..bb1d794 100644
--- a/Example/Example.hooks.php
+++ b/Example/Example.hooks.php
@@ -42,16 +42,16 @@
*/
public static function onParserFirstCallInit( &$parser ) {
// Add the following to a wiki page to see how it works:
- // <dump>test</dump>
- // <dump foo="bar" baz="quux">test content</dump>
+ <dump>test</dump>
+ <dump foo="bar" baz="quux">test content</dump>
$parser->setHook( 'dump', 'ExampleHooks::parserTagDump' );
// Add the following to a wiki page to see how it works:
- // {{#echo: hello }}
+ {{#echo: hello }}
$parser->setFunctionHook( 'echo',
'ExampleHooks::parserFunctionEcho' );
// Add the following to a wiki page to see how it works:
- // {{#showme: hello | hi | there }}
+ {{#showme: hello | hi | there }}
$parser->setFunctionHook( 'showme',
'ExampleHooks::parserFunctionShowme' );
return true;
@@ -59,7 +59,7 @@
public static function onRegisterMagicWords( &$magicWordsIds ) {
// Add the following to a wiki page to see how it works:
- // {{MYWORD}}
+ {{MYWORD}}
$magicWordsIds[] = 'myword';
return true;
--
To view, visit https://gerrit.wikimedia.org/r/386468
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id4e0624af054fff9a87c44b64cd68abecece75a3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/examples
Gerrit-Branch: master
Gerrit-Owner: Mhaque <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits