You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Add the following code at the bottom of your LocalSettings.php:
17
17
18
18
wfLoadExtension( 'CharacterEscapes' );
19
19
20
-
Yes Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
20
+
Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
21
21
22
22
23
23
##Example
@@ -37,7 +37,7 @@ produces the following:
37
37
* 3
38
38
* 4
39
39
40
-
Note that the example uses the [[Extension:VariablesExtension|variables]] and [[Extension:Control Structure Functions|control structure functions]] extensions.
40
+
Note that the example uses the [variables](https://www.mediawiki.org/wiki/Extension:VariablesExtension) and [control structure functions](https://www.mediawiki.org/wiki/Extension:Control_Structure_Functions) extensions.
41
41
42
42
##Limitations
43
43
MediaWiki does not support nested tags of the same type (see [[bugzilla:1310|bug #1310]]). Given the following:
@@ -59,4 +59,4 @@ A workaround is to explicitly write out the nested escape sequences:
59
59
Another solution is to apply the modification given in the discussion of [[bugzilla:1310|bug #1310]].
60
60
61
61
##Writing Extensions that Use Character Escapes
62
-
If you would like your extension to make use of character escapes, the class CharacterEscapes contains two static functions for replacing characters with escapes (<tt>CharacterEscapes::charEsc()</tt>) and replacing escapes with characters (<tt>CharacterEscapes::charUnesc()</tt>).
62
+
If you would like your extension to make use of character escapes, the class CharacterEscapes contains two static functions for replacing characters with escapes (`CharacterEscapesHooks::charEsc()`) and replacing escapes with characters (`CharacterEscapesHooks::charUnesc()`).
Copy file name to clipboardExpand all lines: README.wiki
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ A workaround is to explicitly write out the nested escape sequences:
72
72
Another solution is to apply the modification given in the discussion of [[bugzilla:1310|bug #1310]].
73
73
74
74
==Writing Extensions that Use Character Escapes==
75
-
If you would like your extension to make use of character escapes, the class CharacterEscapes contains two static functions for replacing characters with escapes (<tt>CharacterEscapes::charEsc()</tt>) and replacing escapes with characters (<tt>CharacterEscapes::charUnesc()</tt>).
75
+
If you would like your extension to make use of character escapes, the class CharacterEscapes contains two static functions for replacing characters with escapes (<tt>CharacterEscapesHooks::charEsc()</tt>) and replacing escapes with characters (<tt>CharacterEscapesHooks::charUnesc()</tt>).
0 commit comments