callbacks.put("rfquote", callback);
callbacks.put("attention", callback);
callbacks.put("zh-attention", callback);
+ callbacks.put("top2", callback);
+ callbacks.put("mid2", callback);
+ callbacks.put("bottom", callback);
callback = new AppendName<T>();
callbacks.put("...", callback);
appendAndIndexWikiCallback.dispatch(f, null, null);
appendAndIndexWikiCallback.builder.append(" {f}");
}
+ final String m = namedArgs.remove("f");
+ if (m != null) {
+ appendAndIndexWikiCallback.builder.append(", ");
+ appendAndIndexWikiCallback.dispatch(m, null, null);
+ appendAndIndexWikiCallback.builder.append(" {m}");
+ }
parser.wordForms.add(singular);
parser.wordForms.add(plural);
if (!namedArgs.isEmpty() || args.size() > 4) {
final AppendAndIndexWikiCallback<EnParser> appendAndIndexWikiCallback = new AppendAndIndexCallback(this);
{
appendAndIndexWikiCallback.functionCallbacks.putAll(EnFunctionCallbacks.DEFAULT);
+ for (final String key : new ArrayList<String>(appendAndIndexWikiCallback.functionCallbacks.keySet())) {
+ // Don't handle the it-conj functions here.
+ if (key.startsWith("it-conj")) {
+ appendAndIndexWikiCallback.functionCallbacks.remove(key);
+ }
+ }
}
EnParser(final IndexBuilder enIndexBuilder, final IndexBuilder otherIndexBuilder, final Pattern langPattern, final Pattern langCodePattern, final boolean swap) {
+delete these entries:
+# {{conjugation of|abalienare||2|p|pres|ind|lang=it}}
+# {{conjugation of|abalienare||2|p|imp|lang=it}}
+# {{form of|[[feminine|Feminine]] plural|abalienato}}
+
+
HtmlEntry
- text inside functions doesn't get escaped properly.
- Skips Uebersetzung section (likewise in other langs), except maybe for the other lange of interest.