| Ladsgroup added a comment. |
Okay, We talked about this in our weekly meeting and this is the result:
It adds several layers of complexity specially in matter of cache. If we want to do anything that starts to add backlinks in any possible way. This is going to blow the templatelinks table (and probably the whole database). Also if someone updates the given message key it's going to stay there and not propagate through cache because message keys are designed to be unchangeable.
In a more technical level. I think we should have an extension that uses one of the registered hooks. We have several options: 1- Hooks before parsing the page such as ParserBeforeInternalParse which makes us amend stuff to the wikitext before it gets parsed to HTML so practically we were just making all pages a little bit longer 2- After parsing and we would inject the HTML so we would need to sanatize (escape), fix caching and so many other problems. 3- Use PageBeforeDisplay hook which is as the same as 2.
Cc: Ladsgroup, aaron, Shizhao, Scott_WUaS, Mr.Ajedrez, dgstranz, Liuxinyu970226, jeblad, Lydia_Pintscher, hoo, Addshore, thiemowmde, Agabi10, Platonides, -jem-, Ivanhercaz, Krenair, Sjoerddebruin, Aklapper, abian, Zppix, JakeTheDeveloper, D3r1ck01, MuhammadShuaib, Izno, Psychoslave, Wikidata-bugs, aude, Arrbee, KartikMistry, TheDJ, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
