Last modified: 2009-03-20 17:53:29 UTC
Hello, I thought that both the <noinclude>s and the <includeonly>s are funcionality that complement each other, but I found one case where includeonly DOES work but noinclude DOES NOT. The problem occurs when I call a page with both noincludes and includeonlys via a preload (in Spanish precarga) from another page, e.g.: http://es.wikipedia.org/w/wiki.phtml?title=Wikipedia:Tabl%C3%B3n_de_anuncios_de_los_bibliotecarios/Portal/Plantillas/Reversor/Actual&action=edit§ion=new&preload=Wikipedia:Tabl%C3%B3n_de_anuncios_de_los_bibliotecarios/Portal/Plantillas/Reversor/precarga If the code of that proload page looks like: <includeonly>{{</includeonly>subst:Solicitud reversor|User name|2=Reason}} <noinclude>[[Category:Whatever]]</noinclude> the result will be: {{subst:Solicitud reversor|User name|2=Reason}} <noinclude>[[Category:Whatever]]</noinclude> instead of: {{subst:Solicitud reversor|User name|2=Reason}} Somehow the code within the includeonlys is considered but the code between the noicludes is not left out. Regards, SUL:Poco a poco
Please rewrite getPreloadedText() in EditPage.php to allow noinclude and other stuff. That is useful to allow cats or make it possible to add a explanation on that page which tell anybody what happen with that page. Thanks.
*** This bug has been marked as a duplicate of bug 5210 ***